Method and apparatus for accessing a chat room
First Claim
Patent Images
1. A method for accessing a chat room comprising:
- when a voice client is installed on a user terminal, storing, in a terminal registry of the user terminal, a correspondence relationship between a protocol name information of a protocol used by the voice client and a process identification (PID) information of a process for running the voice client;
receiving, by the voice client, a user selection of a menu item associated with a chat room shown in the voice client, wherein the menu item triggers a shortcut creation operation of the chat room;
in response to the user selection for the shortcut creation operation made in the voice client,creating a shortcut of the chat room as a shortcut-type file on a desktop interface of a user terminal;
storing, in the shortcut-type file, the protocol name information of the protocol used by the voice client and a room identification of the chat room, wherein the protocol name information is used to identify the voice client installed on the user terminal, and to identify the PID information of the process for running the voice client;
extracting an icon used by the chat room in the voice client; and
using the extracted icon as an icon of the created shortcut-type file on the user terminal, wherein the icon is displayed on the desktop interface of the user terminal;
monitoring the shortcut of the chat room to be accessed;
when that a user clicks on the shortcut of the chat room to be accessed is detected, obtaining, from the shortcut of the chat room to be accessed, the room identification of the chat room to be accessed and the protocol name information of the protocol used by the voice client;
determining whether the voice client is running according to the protocol name information; and
when that the voice client is running is determined, accessing the chat room to be accessed according to the room identification of the chat room to be accessed and the protocol name information,wherein determining whether the voice client is running according to the protocol name information comprises;
obtaining the PID information from the correspondence relationship between the protocol name information and the PID information stored in the terminal registry, according to the protocol name information;
deciding whether the process used for running the voice client is running according to the obtained PID information;
when the process used for running the voice client is running, determining that the voice client is running; and
when the process used for running the voice client is not running, creating a process, setting the obtained PID information as the PID information of the created process, and using the created process for running the voice client.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods and apparatus for accessing a chat room are provided. A shortcut of the chat room to be accessed can be detected. When that a user clicks on the shortcut of the chat room to be accessed is detected, a room identification of the chat room to be accessed and protocol name information of a protocol used by a voice client can be obtained from the shortcut of the chat room to be accessed. The chat room to be accessed can then be accessed according to the room identification of the chat room to be accessed and the protocol name information.
22 Citations
13 Claims
-
1. A method for accessing a chat room comprising:
-
when a voice client is installed on a user terminal, storing, in a terminal registry of the user terminal, a correspondence relationship between a protocol name information of a protocol used by the voice client and a process identification (PID) information of a process for running the voice client; receiving, by the voice client, a user selection of a menu item associated with a chat room shown in the voice client, wherein the menu item triggers a shortcut creation operation of the chat room; in response to the user selection for the shortcut creation operation made in the voice client, creating a shortcut of the chat room as a shortcut-type file on a desktop interface of a user terminal; storing, in the shortcut-type file, the protocol name information of the protocol used by the voice client and a room identification of the chat room, wherein the protocol name information is used to identify the voice client installed on the user terminal, and to identify the PID information of the process for running the voice client; extracting an icon used by the chat room in the voice client; and using the extracted icon as an icon of the created shortcut-type file on the user terminal, wherein the icon is displayed on the desktop interface of the user terminal; monitoring the shortcut of the chat room to be accessed; when that a user clicks on the shortcut of the chat room to be accessed is detected, obtaining, from the shortcut of the chat room to be accessed, the room identification of the chat room to be accessed and the protocol name information of the protocol used by the voice client; determining whether the voice client is running according to the protocol name information; and when that the voice client is running is determined, accessing the chat room to be accessed according to the room identification of the chat room to be accessed and the protocol name information, wherein determining whether the voice client is running according to the protocol name information comprises; obtaining the PID information from the correspondence relationship between the protocol name information and the PID information stored in the terminal registry, according to the protocol name information; deciding whether the process used for running the voice client is running according to the obtained PID information; when the process used for running the voice client is running, determining that the voice client is running; and when the process used for running the voice client is not running, creating a process, setting the obtained PID information as the PID information of the created process, and using the created process for running the voice client. - View Dependent Claims (2, 3, 4, 5, 10, 11, 12, 13)
-
-
6. An apparatus for accessing a chat room comprising:
-
a memory; and one or more processors coupled to the memory, the one or more processors being configured to; when a voice client is installed on a user terminal, store, in a terminal registry of the user terminal, a correspondence relationship between a protocol name information of a protocol used by the voice client and a process identification (PID) information of a process for running the voice client; receive, by the voice client, a user selection of a menu item associated with a chat room shown in the voice client, wherein the menu item triggers a shortcut creation operation of the chat room; in response to the user selection for the shortcut creation operation made in the voice client, create a shortcut of the chat room as a shortcut-type file on a desktop interface of a user terminal; store, in the shortcut-type file, the protocol name information of the protocol used by the voice client and a room identification of the chat room, wherein the protocol name information is used to identify the voice client installed on the user terminal, and to identify the PID information of the process for running the voice client; extract an icon used by the chat room in the voice client; and use the extracted icon as an icon of the created shortcut-type file on the user terminal, wherein the icon is displayed on the desktop interface of the user terminal; monitor the shortcut of the chat room to be accessed; when that a user clicks on the shortcut of the chat room to be accessed is detected, obtain, from the shortcut of the chat room to be accessed, the room identification of the chat room to be accessed and the protocol name information of the protocol used by the voice client; determine whether the voice client is running according to the protocol name information; and when that the voice client is running is determined, access the chat room to be accessed according to the room identification of the chat room to be accessed and the protocol name information, wherein determining whether the voice client is running according to the protocol name information comprises; obtaining the PID information from the correspondence relationship between the protocol name information and the PID information stored in the terminal registry, according to the protocol name information; deciding whether the process used for running the voice client is running according to the obtained PID information; when the process used for running the voice client is running, determining that the voice client is running; and when the process used for running the voice client is not running, creating a process, setting the obtained PID information as the PID information of the created process, and using the created process for running the voice client. - View Dependent Claims (7, 8, 9)
-
Specification