×

Method and apparatus for establishing chat group

  • US 9,794,080 B2
  • Filed: 04/28/2013
  • Issued: 10/17/2017
  • Est. Priority Date: 04/28/2013
  • Status: Active Grant
First Claim
Patent Images

1. A method for establishing a chat group, comprising:

  • obtaining, by a server, an identifier of a user of a first client terminal, an identifier of a chat group to be established and a geographic position of the first client terminal after receiving a request for establishing a chat group from the first client terminal;

    establishing, by the server, a chat group entry and storing the entry on the server according to the identifier of the user of the first client terminal, the identifier of the chat group to be established and the geographic position of the first client terminal;

    receiving, by the server, a request from a second client terminal to obtain information of other client terminals located around the second client terminal, wherein the request from the second client terminal includes a geographic position of the second client terminal;

    in response to the request from the second client terminal, determining a distance between the geographic position of the second client terminal and the geographic position of the first client terminal;

    in accordance with a determination that the distance between the geographic position of the second client terminal and the geographic position of the first client terminal is shorter than a preset value, sending an invitation message to join the chat group to the second client terminal, wherein, in response to the invitation message, the second client terminal is configured to display, to a user of the second client terminal, an indication of the chat group to be established including the identifier of the user of the first client terminal and an instruction of inputting authentication information via the second client terminal;

    receiving, by the server and from the second client terminal, a response of joining the chat group, the response including authentication information provided by the user of the second client terminal, wherein the authentication information was obtained by the user of the second client terminal from the user of the first client terminal independently of the server;

    performing authentication by determining whether the authentication information provided by the user of the second client terminal is identical with the identifier of the chat group to be established;

    in accordance with a determination that the authentication information provided by the user of the second client terminal is identical with the identifier of the chat group to be established, allowing access of the user of the second client terminal to the chat group to be established, and sending information of the user of the second client terminal to the first client terminal; and

    in response to receiving a finish request from the first client terminal, establishing, by the server, the chat group including the first client terminal and the second client terminal.

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