CN102801643A - Method and system for displaying user update information - Google Patents

Method and system for displaying user update information Download PDF

Info

Publication number
CN102801643A
CN102801643A CN201110140222XA CN201110140222A CN102801643A CN 102801643 A CN102801643 A CN 102801643A CN 201110140222X A CN201110140222X A CN 201110140222XA CN 201110140222 A CN201110140222 A CN 201110140222A CN 102801643 A CN102801643 A CN 102801643A
Authority
CN
China
Prior art keywords
server
update
client
information
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201110140222XA
Other languages
Chinese (zh)
Inventor
郑志昊
梁柱
李英斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201110140222XA priority Critical patent/CN102801643A/en
Publication of CN102801643A publication Critical patent/CN102801643A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method and a system for displaying user update information. The system comprises an instant messaging (IM) client, an IM server and a database (DB) server. The IM client is used for receiving an update request from a local side user and forwarding the update request to the IM server, and the IM client is further used for receiving and displaying the update information fed back by the DB server; the IM server is used for transmitting an update command to the DB server according to the update request from the IM client; the DB server is used for storing the information updated by the user in the system, when receiving the update command, searching the update information of an opposite side user according to an identifier of the opposite side user in the update command, and transmitting the update information of the opposite side user to the IM client according to the address information of the IM client in the update command. The method and the system can display the update information of other users in an SNS (Social Network Software) system, at the IM client.

Description

Method and system for displaying user update information
Technical Field
The present invention relates to the field of Social Network Service (SNS) technologies, and in particular, to a method and system for displaying user update information.
Background
At present, SNS technology is rapidly developed and gradually becomes an important information carrier in the Internet; however, the SNS has not yet fused well with another mature information carrier, namely Instant Messaging (IM) technology. For example, when a user chats with other users using only the IM technique, the latest update information of the other users in the SNS system cannot be known in time.
Disclosure of Invention
The invention provides a system and a method for displaying user update information, which can display the update information of other users in an SNS (social networking service) system at an IM (instant messaging) client.
The technical scheme of the invention is realized as follows:
a system for displaying user update information, comprising: an IM client, an IM server, and a Database (DB) server; wherein,
the IM client is used for receiving an updating request from a local user and forwarding the updating request to the IM server; the updating request carries the identification of the opposite terminal user which is requested to be updated by the local terminal user; the server is also used for receiving and displaying the update information of the opposite-end user fed back by the DB server;
the IM server is used for sending an updating command to the DB server according to an updating request from an IM client, wherein the updating command carries the address information of the IM client and the identification of the opposite-end user;
the DB server is used for storing the updated information of all users in the system, and searching the updated information of the opposite-end user according to the identification of the opposite-end user in the update command when the update command is received; and sending the updating information of the opposite-end user to the IM client according to the address information of the IM client in the updating command.
In the system, the DB server is further used for sending the updating time stamp corresponding to the user to the IM server when receiving the updating information input by the user;
the IM server is also used for saving the update time stamp and saving the time of receiving the update request from the IM client at the last time; when an updating request from an IM client is received, judging whether the last receiving time is earlier than an updating timestamp corresponding to an opposite-end user, and if so, sending an updating command to a DB server; otherwise, indicating that the IM client does not need to update the information.
In the system, the IM client is used for displaying partial content of the update information of the opposite-end user when receiving the update information of the opposite-end user fed back by the DB server; and when receiving all display requests from the local terminal user, displaying all the contents of the updated information of the opposite terminal user.
A method of displaying user update information, comprising:
the IM client receives an updating request from a home terminal user and forwards the updating request to an IM server; the updating request carries the identification of the opposite terminal user which is requested to be updated by the local terminal user;
the IM server receives an update request from an IM client and sends an update command to a DB server, wherein the update command carries address information of the IM client and the identification of the opposite-end user;
the DB server receives the updating command, searches for pre-stored updating information of the opposite-end user according to the identification of the opposite-end user in the updating command, and sends the updating information of the opposite-end user to the IM client according to the address information of the IM client in the updating command;
and the IM client receives and displays the update information of the opposite-end user.
The method further comprises the following steps: when the DB server receives the updating information input by the user, the updating time stamp corresponding to the user is sent to the IM server;
the IM server also saves the time of last receiving the updating request from the IM client;
in the above method, after the IM server receives the update request and before sending the update command to the DB server, the method further includes: judging whether the last receiving time is earlier than the updating time stamp corresponding to the corresponding opposite terminal user, if so, continuing to execute the step of sending the updating command to the DB server; otherwise, indicating that the IM client does not need to update the information.
In the method, the mode of displaying the update information of the opposite-end user by the IM client is as follows: when receiving update information of an opposite-end user fed back by the DB server, displaying partial content of the update information of the opposite-end user; and when receiving all display requests from the local terminal user, displaying all the contents of the updated information of the opposite terminal user.
Therefore, the system and the method for displaying the user update information can send the update information of the opposite terminal user in the SNS to the IM client, so that the update information of the user in the SNS system is displayed in the IM system.
Drawings
FIG. 1 is a schematic diagram of a system for displaying user update information according to the present invention;
fig. 2 is a flowchart of a method for displaying user update information according to the present invention.
Detailed Description
The invention provides a system for displaying user update information, which can display the updated information of an opposite terminal user in an SNS system in an IM system. Fig. 1 is a schematic structural diagram of a system for displaying user update information according to the present invention, which includes: IM client 101, IM server 102, and DB server 103; wherein,
the IM client 101 is used for receiving an update request from a local user and forwarding the update request to the IM server 102; the updating request carries the identification of the opposite terminal user which is requested to be updated by the local terminal user; the server is also used for receiving and displaying the update information of the opposite-end user fed back by the DB server 103;
the IM server 102 is configured to send an update command to the DB server 103 according to an update request from an IM client, where the update command carries address information of the IM client and an identifier of the peer user;
the DB server 103 is used for storing updated information of all users in the system, and searching the updated information of an opposite-end user according to the identification of the opposite-end user in the update command when the update command is received; and sending the update information of the opposite-end user to the IM client 101 according to the address information of the IM client 101 in the update command.
In order to avoid repeated sending and displaying of the updating information, the IM server can be adopted to compare the sequence of the last request time and the updating time, and the updating information which is not requested by the IM client is sent to the IM client according to the comparison result. Specifically, each device in the system of the present invention may have the following functions to achieve the above-described effects:
the DB server 103 is used for sending an update time stamp corresponding to a user to the IM server 102 when receiving update information input by the user;
the IM server 102 saves the update timestamp and saves the time of last receiving the update request from the IM client 101; when receiving the current updating request from the IM client 101, judging whether the last receiving time is earlier than the updating timestamp corresponding to the corresponding opposite-end user, if so, sending an updating command to the DB server 103, and sending updating information to the IM client 101 by the DB server 103; otherwise, it indicates that the IM client 101 does not need to update information.
In addition, when the IM client initially displays the updated information of the opposite user, a part of the updated information can be selected in a summary form for display. Specifically, the IM client 101 is configured to, when receiving update information of a peer user fed back by the DB server 103, display a part of content of the update information of the peer user; and when receiving all display requests from the local terminal user, displaying all the contents of the updated information of the opposite terminal user.
Based on the above system, the present invention further provides a method for displaying user update information, for example, fig. 2 is a flowchart of the method for displaying user update information, which includes:
step 201: the IM client receives an updating request from a home terminal user and forwards the updating request to an IM server; the updating request carries the identification of the opposite terminal user which is requested to be updated by the local terminal user;
step 202: the IM server acquires two pieces of time information which are saved in advance, including: the time of the last time of receiving the update request from the home terminal user and for the opposite terminal user and the update timestamp corresponding to the opposite terminal user reported by the DB server, and determining the sequence of the two time information, if the former is earlier than the latter, it indicates that the latest update information of the opposite terminal user has not been requested by the home terminal user, and then the step 203 is continuously executed; otherwise, indicating that the IM client does not need to update the information of the opposite end user.
Step 203: the IM server sends an update command to the DB server, wherein the update command carries address information of an IM client and an identification of a requested opposite end user;
step 204: the DB server receives the updating command, searches for pre-stored updating information of the opposite-end user according to the identification of the opposite-end user in the updating command, and sends the updating information of the opposite-end user to the IM client according to the address information of the IM client in the updating command;
step 205: and the IM client receives and displays the update information of the opposite-end user.
In the method, step 202 is adopted to judge whether the update information needs to be transmitted, and when the update information needs to be transmitted, the IM server instructs the DB server to transmit the update information of the opposite-end user to the IM client, so that the repeated transmission and display of the update information can be avoided. In other embodiments of the present invention, step 202 may not be used for determination, and step 203 may be performed directly after step 201.
In addition, the DB server stores the update information of all users in the system in real time, and actively sends the update time stamp corresponding to the user to the IM server after storage.
When the IM client receives the update information of the opposite-end user fed back by the DB server, partial content of the update information of the opposite-end user can be displayed in an abstract mode; then, the home terminal user can click the abstract display area, so that all display requests are sent to the IM client; and when receiving all display requests of the local terminal user, the IM client displays all contents of the update information of the opposite terminal user.
The above describes a system and method for displaying updated information of users in an SNS community in an IM system according to the present invention. In the scheme, an IM client firstly receives an update request from a local user, and then forwards the update request to an IM server to trigger the extraction of update information of a peer user; here, the local user may send a separate update request, or may use an existing message or instruction in the existing flow as the update request, for example, when the local user opens the chat window of the opposite user for the first time, the instruction to open the chat window may be used as an update request.
In addition, the form of information in the SNS community is very diverse, including text information, picture information, video information, audio information, and the like. When the IM client displays partial content of the updated information in an abstract form, the first dozens of words of the text information can be selected to be displayed (the length can be set according to the actual situation) aiming at the text information; for picture information, a scaled down version of the picture may be displayed; for video information, an initial frame of the video may be displayed, and a "start" key may be displayed for the user to click. Upon receiving the command of the home user, the IM client may display the entire content of the update information. The specific mode for displaying the updated information abstract is not limited, and the updated information abstract can be displayed in different modes according to different information forms.
In summary, the method and the system provided by the present invention can actively Push (Push) the update information of the peer user in the SNS to the home user when the home user uses the IM technology, so as to directly display the update content of the peer user in the SNS community in the IM chat window.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (6)

1. A system for displaying user updated information, the system comprising: the system comprises an Instant Messaging (IM) client, an IM server and a database DB server; wherein,
the IM client is used for receiving an update request from a local user and forwarding the update request to the IM server; the updating request carries the identification of the opposite terminal user which is requested to be updated by the local terminal user; the server is also used for receiving and displaying the update information of the opposite-end user fed back by the DB server;
the IM server is used for sending an update command to a DB server according to an update request from an IM client, wherein the update command carries address information of the IM client and the identifier of the opposite-end user;
the DB server is used for storing the updated information of all users in the system, and searching the updated information of the opposite-end user according to the identification of the opposite-end user in the update command when receiving the update command; and sending the updating information of the opposite-end user to the IM client according to the address information of the IM client in the updating command.
2. The method according to claim 1, wherein the DB server is further configured to, when receiving the update information input by the user, send an update timestamp corresponding to the user to the IM server;
the IM server is also used for saving the updating time stamp and saving the time of receiving the updating request from the IM client at the last time; when an updating request from an IM client is received, judging whether the last receiving time is earlier than an updating timestamp corresponding to an opposite-end user, and if so, sending an updating command to a DB server; otherwise, indicating that the IM client does not need to update the information.
3. The system according to claim 1 or 2, wherein the IM client is configured to, when receiving the update information of the peer user fed back by the DB server, display a part of the content of the update information of the peer user; and when receiving all display requests from the local terminal user, displaying all the contents of the updated information of the opposite terminal user.
4. A method for displaying user updated information, applied to the system of claim 1, the method comprising:
the IM client receives an updating request from a home terminal user and forwards the updating request to an IM server; the updating request carries the identification of the opposite terminal user which is requested to be updated by the local terminal user;
the IM server receives an update request from an IM client and sends an update command to a DB server, wherein the update command carries address information of the IM client and the identification of the opposite-end user;
the DB server receives the updating command, searches for pre-stored updating information of the opposite-end user according to the identification of the opposite-end user in the updating command, and sends the updating information of the opposite-end user to the IM client according to the address information of the IM client in the updating command;
and the IM client receives and displays the update information of the opposite-end user.
5. The method of claim 4, further comprising: when the DB server receives the updating information input by the user, the updating time stamp corresponding to the user is sent to the IM server;
the IM server also saves the time of last receiving the updating request from the IM client;
after the IM server receives the update request and before sending the update command to the DB server, the method further includes: judging whether the last receiving time is earlier than the updating time stamp corresponding to the corresponding opposite terminal user, if so, continuing to execute the step of sending the updating command to the DB server; otherwise, indicating that the IM client does not need to update the information.
6. The method according to claim 4 or 5, wherein the IM client displays the update information of the peer user in a manner that: when receiving update information of an opposite-end user fed back by the DB server, displaying partial content of the update information of the opposite-end user; and when receiving all display requests from the local terminal user, displaying all the contents of the updated information of the opposite terminal user.
CN201110140222XA 2011-05-27 2011-05-27 Method and system for displaying user update information Pending CN102801643A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110140222XA CN102801643A (en) 2011-05-27 2011-05-27 Method and system for displaying user update information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110140222XA CN102801643A (en) 2011-05-27 2011-05-27 Method and system for displaying user update information

Publications (1)

Publication Number Publication Date
CN102801643A true CN102801643A (en) 2012-11-28

Family

ID=47200611

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110140222XA Pending CN102801643A (en) 2011-05-27 2011-05-27 Method and system for displaying user update information

Country Status (1)

Country Link
CN (1) CN102801643A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1885786A (en) * 2005-06-23 2006-12-27 腾讯科技(深圳)有限公司 Data updating system and method
CN101026592A (en) * 2006-02-23 2007-08-29 腾讯科技(深圳)有限公司 Community information update notification method and system
CN101931647A (en) * 2010-08-09 2010-12-29 福州星网视易信息系统有限公司 Three-tier architecture based method for optimizing incremental update of system data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1885786A (en) * 2005-06-23 2006-12-27 腾讯科技(深圳)有限公司 Data updating system and method
CN101026592A (en) * 2006-02-23 2007-08-29 腾讯科技(深圳)有限公司 Community information update notification method and system
CN101931647A (en) * 2010-08-09 2010-12-29 福州星网视易信息系统有限公司 Three-tier architecture based method for optimizing incremental update of system data

Similar Documents

Publication Publication Date Title
US9712632B2 (en) Method for receiving data, method for sending data, mobile terminal, and server
TWI360330B (en)
CN106921554B (en) Message transmission method and device
CN102624650B (en) Discussion group creating method, and communication method, server and system based on discussion group
US10735498B2 (en) Method and device for interworking between different OTTs
US20140372330A1 (en) Social network user information association method and device
US10404638B2 (en) Content sharing scheme
WO2013056558A1 (en) Method and device for displaying link digest information
US20050271004A1 (en) Method for synchronizing status information of IMPS client
US8131278B2 (en) Method, apparatus, and computer program product for application-based communications
CN101969463A (en) Method for realizing whiteboard full-screen synchronization on web page
CN101977209A (en) Method for realizing page-turning synchronization on web page
US9009245B2 (en) Messenger client and method for updating messages in messenger client
US8719357B2 (en) Method and apparatus for managing message
CN110768895A (en) Message prompting method and device, electronic equipment and storage medium
RU2012113876A (en) METHOD AND SYSTEM FOR IMPLEMENTING MEDIATION BETWEEN A CONTENT PROVIDER'S WEB SITE AND A MOBILE DEVICE
US9332406B2 (en) Method, apparatus, and system for updating contact information
CN103327043B (en) A kind of information push method and system, relation chain platform server
CN103095748A (en) Method, server and system capable of sending updated microblog information of friend
WO2012031497A1 (en) Method and system for service message transmission based on matching rule
CN104283762A (en) Method, system, client-side and server for transmitting instant messaging conversation content
WO2011153772A1 (en) Method and system for obtaining multiple instant information
CN102801643A (en) Method and system for displaying user update information
EP2712162A1 (en) Method and system for inputting information to mobile terminal as well as mobile terminal
JP6195509B2 (en) Terminal apparatus, server apparatus, distribution method, and distribution program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20121128