×

Method and apparatus for accessing a chat room

  • US 10,133,442 B2
  • Filed: 08/04/2014
  • Issued: 11/20/2018
  • Est. Priority Date: 06/08/2013
  • Status: Active Grant
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.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×