The present invention relates to instant messaging (IM), and more particularly to a method and apparatus for peer-to-peer (P2P) instant messaging in the radio networks.
Instant messaging systems are used for enabling users in the network to chat or transfer information in the manner of words or other information in real time, and the network could be the Internet or other mobile radio networks such as GSM, CDMA, etc. Meanwhile, the instant messaging system could timely inform each of the on-line users of the on-line/off-line status of the users in his contact list.
The conventional instant messaging systems use the Client/Server structural mode, while under said peer-to-peer communication mode, real time chatting or information transferring could be directly performed between two or more mobile terminals without the involvement of a base station. As for the establishing of peer-to-peer instant messaging between two mobile terminals, the US Patent Publication No. 2003/0182428A1 (whose inventors are Jiang Li, Keman Yu, Kaibo Wang, Yong Li and Shipeng Li) has disclosed a relevant method. According to said method, firstly, the client terminal is connected to the IM server; the client terminal sends its device address and access code to the IM server; the client terminal searches for other on-line client terminals in the IM server; the client terminal receives the information of other on-line client terminals transmitted from the IM server; the client terminal analyzes the information of other client terminals to determine if they are in the same network, if so, a peer-to-peer connection will be established; the client terminal transmits information to the opponent client terminal to start the peer-to-peer communication. By means of said method, peer-to-peer instant messaging could be established between two client terminals. Since the TD-SCDMA system under the TDD (Time Division Duplex) mode could perform uplink and downlink transmission on the same carrier without using the up and down symmetrical frequency spectrum as needed by the FDD (Frequency Division Duplex) system, it becomes the CDMA system suitable for peer-to-peer communication.
The problem of said prior art is that under the premise of peer-to-peer instant messaging, the user of a mobile terminal could only perform instant messaging with other mobile terminals that could establish peer-to-peer connection with it, meanwhile, the user of a mobile terminal usually performs on-line instant messaging only with some fixed particular users (such as friends or business partners, customers, etc.) instead of with all the users in the contact list. Therefore, the user needs to keep a list of these particular users in the mobile terminal. In addition, when the user wants to establish connection with these particular users, he needs to know if these users are on-line and meet the demand for establishing peer-to-peer connection, that is, the user needs the connection status information of these particular users that is updated timely. However, during the practical application of said prior art, said list of particular users and the connection status information are usually maintained and managed by the network, and this will occupy some network resources which are more precious than the mobile terminal resources; moreover, the network load will accordingly become too heavy.
Therefore, there exists a need to provide a method and apparatus for peer-to-peer instant messaging that could enable the user to use the network resources more effectively and occupy less network resources.
An object of the present invention is to provide a method of peer-to-peer instant messaging in the radio networks, which could make the mobile terminal establish and store the list of particular users and could timely update the connection status information of these particular users.
Another object of the present invention is to provide a mobile terminal which could perform peer-to-peer instant messaging, make the mobile terminal establish and store the list of particular users and timely update the connection status information of these particular users, so that the mobile terminal could establish peer-to-peer instant messaging with these particular users according to the updated connection status information.
A method of peer-to-peer instant messaging used for a mobile terminal is provided according to the present invention, said mobile terminal comprising a pre-stored contact list which includes at least one list of particular users, said method comprising the following steps: receiving the list of on-line users that have the capability of peer-to-peer instant messaging which is sent by the radio network; comparing said list of particular users with said received list of on-line users; updating, according to said comparison result, the connection status record of each user in said list of particular users so that the mobile terminal could establish peer-to-peer instant messaging with at least one user mobile terminal in said list of particular users according to said updated connection status record.
A method of peer-to-peer instant messaging used for a mobile terminal is provided according to the present invention, said mobile terminal comprising a pre-stored contact list which includes at least a list of particular users, said method comprising the following steps: reporting to other mobile terminals capability of peer-to-peer instant messaging; receiving identification information feedback sent by said other mobile terminals respectively; comparing said list of particular users with the received said identification information feedback; updating, according to said comparison result, the connection status record of each user in said list of particular users, to make said mobile terminal to establish peer-to-peer instant messaging with at least one user mobile terminal in said list of particular users according to said updated connection status record.
A mobile terminal is provided according to the present invention which can perform peer-to-peer instant messaging, comprising: a receiving means for receiving a list of the on-line users that have capability of peer-to-peer instant messaging transmitted by the radio network; a user list recording means for storing a contact list which comprises at least one list of particular users; a status recording means for recording the connection status of each user in said list of particular users; and a controller for comparing said received list of on-line users with said list of particular users.
In summary, the present invention provides the method of peer-to-peer instant messaging and the mobile terminal, said mobile terminal comprising a user list recording means and a user status recording means which could store the list of particular users and the connection status thereof. When the user turns on the mobile terminal and registers with the radio network, the radio network will send the list of on-line mobile users to said mobile terminal, after comparison, the mobile terminal could obtain the on-line contact list, and the user could send a request for connection according to said list, so that he could establish a peer-to-peer connection more effectively and perform instant messaging while occupying less network resources.
Other objects and achievements together with a fuller understanding of the invention will become apparent and appreciated by referring to the following description and appended claims taken in conjunction with the accompanying drawings.
In all the above-mentioned figures, having the same reference sign represents having the same, similar or corresponding feature/function.
If the user terminal UE A wants to establish peer-to-peer communication with the user terminal UE B, the calling user terminal UE A that requests the peer-to-peer communication first sends a peer-to-peer calling request to the UTRAN through the uplink control channel, and in the invention of the application number 03119895.3 titled “Method and apparatus for establishing and maintaining radio link of peer-to-peer communication in radio communication network” which was filed with the Chinese Patent Office by Koninklijke Philips Electronics N. V. on Mar. 7, 2003, a method of establishing and maintaining a peer-to-peer communication radio link is described in detail, and the disclosure of said application will be incorporated in the present application.
After UE A receives said list of on-line users, the controller will compare the list of particular users stored in UE A with the received lists of on-line users one by one to see if the list of particular users of said UE A exists in the received list of on-line users (step S270). Similarly, other mobile terminals (such as UE B) also perform step S270. The contents that are compared could be the peer-to-peer communication identification code of each user, and said identification code may be either the fixed identity recognition information obtained from the network by each user having the capability of peer-to-peer communication or the temporary identity recognition information of the user that is valid during a certain period of time. As for step S270, the controller could also compare the contact list stored in UE A with the received lists of on-line users one by one to see if the contact list of said UE A exists in the received list of on-line users.
The mobile terminal UE A updates the connection status record of each particular user in the status recording means according to said comparison result, that is, updating the user status of the portion of the list of particular users in the user list recording means that is overlapped with said received list of on-line users into on-line (step S280), and updating the user status of the portion of the list of particular users in the user list recording means that is not overlapped with said received list of on-line users into off-line (step S290).
According to another embodiment of the flow of updating the user status of the present invention, the mobile terminal UE A could directly report its capability of peer-to-peer instant messaging to the surrounding mobile terminals (such as UE B); mobile terminal UE B receives said report and then sends an identification information feedback to said mobile terminal UE A; mobile terminal UE A compares the received identification information feedback of other mobile terminals with the list of particular users in the user list recording means thereof; mobile terminal UE A updates the friend connection status records in its status recording means according to the comparison result; finally, mobile terminal UE A could establish a peer-to-peer connection with one of the friend users, such as UE B, according to the friend connection status record and start the instant messaging.
When the user is in the process of peer-to-peer instant messaging, each mobile terminal includes two statuses, i.e., sending information to the opponent mobile terminal and waiting for the response from the opponent mobile terminal. When the mobile terminal is in the status of waiting for the response from the opponent mobile terminal, said mobile terminal only sends necessary signaling to maintain peer-to-peer instant messaging connection, such as the transmit power control (TPC) for managing and adjusting the transmit powers of the base station and the mobile terminal, the dynamic channel allocation (DCA) and the synchronization shift (SS). On the other hand, in order to reduce interference to signals of other mobile terminals, when being in the status of waiting for the response from the opponent mobile terminals, only necessary signaling needs to be sent.
Firstly, UE A sends a request for instant messaging to UE B (step D310), and said step has been described in detail in the patent application No. 03119895.3, so the contents of said invention are inserted herein by reference. The UE A sends a peer-to-peer link request to the UTRAN via the uplink control channel; after receiving said peer-to-peer link request, the UTRAN transmits paging information to the mobile terminal UE B via the paging channel to inform it that the mobile terminal UE A wants to perform peer-to-peer communication with it; the UTRAN allocates channel resources relevant to peer-to-peer communication to mobile terminals UE A and UE B through the downlink control channel; after obtaining said allocated channel resources, mobile terminals UE A and UE B respectively sends to the UTRAN the confirmation information about having obtained the corresponding peer-to-peer resources and said peer-to-peer resources having been activated; meanwhile, the mobile terminals UE A and UE B transmit the UE capability information needed in the peer-to-peer session, such as the sensitivity of the receivers thereof, the receiving power level values of the receivers, etc., to another corresponding mobile terminal in said peer-to-peer communication through the node B in UTRAN; and mobile terminals UE A and UE B enter the direct communication mode.
Then, UE A and UE B establish a peer-to-peer connection (step S320), and this step has also been described in detail in the patent application No. 03119895.3. After entering the direct communication mode, mobile terminals UE A and UE B will enter the status of radio link detection; if the link detection is successful, the mobile terminals UE A and UE B transmit confirmation messages to the node B in UTRAN through the control channel between UE A and node B and the control channel between UE B and node B, respectively, meanwhile, UE A ad UE B start to talk through the channel P2P-DCH.
UE A determines if the peer-to-peer connection is successful (step S330). If it is successful, UE A starts peer-to-peer chatting with UE B (step S340), after the connection is detected to be successful and the terminals UE A and UE B enter the peer-to-peer communication, UE A and UE B still need to continuously monitor the performance of the peer-to-peer communication link during the process of peer-to-peer communication so as to maintain the peer-to-peer radio link; if the peer-to-peer connection is unsuccessful, UE A releases the corresponding peer-to-peer resources and updates the status of UE B in its status recording means 15 (step S350).
The method for peer-to-peer instant messaging and the mobile terminal provided by the present invention could also support the one point-to-multipoint and multipoint-to-multipoint instant messaging, that is, a mobile terminal could perform peer-to-peer instant messaging with many mobile terminals simultaneously.
Those skilled in the art shall understand that various improvements could be made to the method for peer-to-peer instant messaging and the mobile terminal thereof as disclosed in the present invention without departing from the contents of the present invention, so the protection scope of the present invention should be defined by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
200410011522.8 | Dec 2004 | CN | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/IB05/54254 | 12/15/2005 | WO | 6/28/2007 |