CN101686141A - Method and equipment for synchronizing read states - Google Patents

Method and equipment for synchronizing read states Download PDF

Info

Publication number
CN101686141A
CN101686141A CN200810223271A CN200810223271A CN101686141A CN 101686141 A CN101686141 A CN 101686141A CN 200810223271 A CN200810223271 A CN 200810223271A CN 200810223271 A CN200810223271 A CN 200810223271A CN 101686141 A CN101686141 A CN 101686141A
Authority
CN
China
Prior art keywords
message
reading report
equipment
reading
application server
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.)
Granted
Application number
CN200810223271A
Other languages
Chinese (zh)
Other versions
CN101686141B (en
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.)
Huawei Technologies Co Ltd
Beijing University of Posts and Telecommunications
Original Assignee
Huawei Technologies Co Ltd
Beijing University of Posts and Telecommunications
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 Huawei Technologies Co Ltd, Beijing University of Posts and Telecommunications filed Critical Huawei Technologies Co Ltd
Priority to CN2008102232718A priority Critical patent/CN101686141B/en
Publication of CN101686141A publication Critical patent/CN101686141A/en
Application granted granted Critical
Publication of CN101686141B publication Critical patent/CN101686141B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a method and equipment for synchronizing read states. The method for synchronizing the read states comprises the following steps: the information which comprises the reading report request is sent to each equipment of a receiving party after the information sent by a sending party is received; a reading report which sent by one equipment of the receiving party is received,wherein the equipment is one of the at least two equipment which are used for receiving the information comprising the reading report request, the equipment is used for reading the information comprising the reading report request, and the reading report is sent by the equipment which reads the information comprising the reading report request according to the reading report request in the information; other equipment except the equipment which is used for sending the reading report to the equipment of the receiving party is used for sending the synchronizing reading report, and the other equipment is informed of updating the state of the information according to the reading report. In the embodiment of the invention, the read states of the information between at least two equipment of the receiving party can be synchronized with less information flow, the interaction of a large amount of information in the process of synchronizing the read states with the data synchronizing protocolcan be avoided, and the burden of the whole system can be reduced.

Description

A kind of synchronous method and apparatus of read states of realizing
Technical field
The present invention relates to communication technical field, relate in particular in the communication system between a plurality of equipment of recipient the message synchronous method and apparatus of read states.
Background technology
In the interacting message of communication system, the transmit leg of message can be by increasing request IMDN (instant message indication notice in the message that sends, Instant Message Disposition Notification), reply message sender IMDN after coming the request message recipient to receive message, with the processed situation of notification message transmit leg message.
IMDN is a kind of message disposition notification, comprises the processing notice of three types: delivery, processing, read, wherein whether the read notification type is used to indicate message receiver message-submission to be read to the user and by the user.The read notification type comprises three kinds of states " read " (reading), " forbidden " (forbidding), " error " (makeing mistakes).
When message sender need be to message receiver request IMDN, just in the message that sends, comprise the Disposition-Notification header field, and in the Disposition-Notification header field, specify the notification type (for example one or more among read, forbidden, the error) want, thereby be that the Disposition-Notification header field of " read " comes the request message recipient to reply reading report by in message, comprising value.
In addition, message sender need also will comprise the Message-ID header field in the message that sends when message receiver request IMDN, and this header field comprises a globally unique message identifier.When message sender is received an IMDN, with among the value of Message-ID and the IMDN<message-id the value of element compares, with the IMDN that determines to receive at the issued message of which bar.
For example, user A comprises the header field value in the message of issuing user B asks user B answer reading report for the Disposition-Notification header field of " read ", and the Message-ID value of this message is 34jk324j; User B receives that this message rear line A replys IMDN, and among the IMDN of value as this answer with above-mentioned Message-ID<message-id〉value of element, when user A receives this IMDN of user B answer, will be wherein<message-id〉value and the Message-ID value of sending out message of local storage of element mate, learn that the Message-ID value read by user B for the message of sending out of 34jk324j, so user A is updated to " reading " with this condition of information.
Foregoing description be the situation that a user has equipment to receive message and reply IMDN, can receive message when a user has at least two equipment, the message that application server just needs to send to this user sends on two equipment of this user at least.
For example, user A sends message by equipment 1 to user B, core net is routed to this message the application server in territory, user B place, after this application server is checked this message header, obtain the services addresses of user B, learn that user B has two equipment can be used to receive this message behind the inquiry local data base,, will go into equipment 1 and the equipment 2 that message sends to user B respectively by core net so this application server is rewritten the destination address of this message.In this case, as user A during to user B request IMDN, if the equipment of user B has been read the message that user A sends, so on the miscellaneous equipment of user B this condition of information also to need be " reading " state synchronously.
At present, adopt the data sync agreement can be implemented in message status at least two equipment of a user synchronously.The data sync agreement is carried out synchronous flow process, comprises establishment of connection, carries out synchronously and finishes synchronously.
The inventor finds that there are the following problems at least in the prior art in realizing process of the present invention:
Application server and receiver equipment all must be supported the data synchronous protocol, if there is a side not support the data synchronous protocol, just can't realize message read states synchronous by this method; And adopt the data sync agreement to carry out needing to carry out a large amount of interacting messages in the process of state synchronized, and increase system burden, take Internet resources.
Summary of the invention
Embodiments of the invention provide a kind of synchronous method, equipment and system of read states that realize, can use less information flow-rate to realize that the message between at least two equipment of recipient " reads " state synchronized.
A kind of synchronous method of read states that realizes comprises:
After receiving the message of transmit leg transmission, comprise the message of reading report request to each equipment transmission of recipient; Receive the reading report of described recipient's equipment transmission, this equipment is to receive the equipment of reading this message at least in two equipment of the message that comprises described reading report request, and described reading report is to read the reading report that the equipment of this message sends according to the described reading report request in this message; Miscellaneous equipment in described recipient's equipment outside the equipment of the described reading report of transmission sends and is used for synchronous reading report, notifies described miscellaneous equipment to upgrade described condition of information according to this reading report.
A kind of synchronous application server of read states of realizing comprises:
First receiving element is used to receive the message that transmit leg sends;
First transmitting element is used for sending the message that comprises the reading report request to each equipment of recipient;
Second receiving element is used to receive the reading report that recipient's equipment sends, and described equipment is the equipment of reading this message at least in two equipment of receiving of the recipient message that comprises the reading report request; Described reading report is to read the reading report of the equipment of this message according to the described reading report request transmission in this message;
Second transmitting element, behind the reading report that the described reading report request that the equipment that has received the recipient at described second receiving element comprises according to described message sends, send miscellaneous equipment outside the equipment of described reading report and send and be used for synchronous reading report in described recipient's equipment, the notice miscellaneous equipment is used for synchronous reading report and upgrades described condition of information according to described.
A kind of message treatment method is applied to comprise in the recipient system of a plurality of receiving equipments, comprising:
Described a plurality of receiving equipment receives the message that comprises the reading report request that application server sends;
At least one receiving equipment in described a plurality of receiving equipment sends reading report to application server after reading described message;
Miscellaneous equipment outside the equipment of the described reading report of transmission in described a plurality of receiving equipment receives the reading report of the described message of described application server transmission, and upgrades the described condition of information that has received according to described reading report.
A kind of synchronous receiver equipment of read states of realizing comprises:
Receiving element is used to receive the message that comprises the reading report request that application server sends;
Read processing unit, be used to read the described message that described receiving element receives; After reading described message, send reading report to described application server;
Described receiving element also is used to receive the reading report of the described message that described application server sends;
Lock unit, the described reading report that is used for the described message that sends according to application server upgrades described condition of information.
A kind of synchronous system of read states that realizes comprises: application server and receiver equipment; Described receiver equipment comprises at least one recipient's first equipment, and at least one recipient's second equipment;
Application server after being used to receive the message of transmit leg transmission, sends the message that comprises the reading report request to described receiver equipment;
Recipient's first equipment is used to receive the message that application server sends, and sends reading report to described application server after reading described message;
Wherein, described application server, receive the reading report of the described message of reading that described recipient's first equipment sends after, send the reading report of described message to described recipient's second equipment;
Recipient's second equipment is used to receive the message that application server sends, and the described reading report that receives the described message of described application server transmission, and upgrades the described condition of information that has received according to the described reading report that application server sends.
The technical scheme that is provided by the embodiment of the invention described above as can be seen, when at least two equipment of recipient are received same message by application server, send the reading report of described message to application server by the equipment of reading described message, application server is transmitted to the miscellaneous equipment that this recipient receives described message with the reading report of described message, thereby the message between at least two equipment of realization recipient " is read " state synchronization.Therefore, the embodiment of the invention can use less information flow-rate to realize that the message between at least two equipment of recipient " reads " state synchronized, can avoid because use data sync agreement is carried out a large amount of interacting messages in the synchronizing process, thereby alleviate the burden of whole system.
Description of drawings
The method flow schematic diagram that Fig. 1 provides for the embodiment of the invention;
Fig. 2 is the processing logic schematic diagram of application server in the embodiment of the invention;
The recipient's of at least two equipment method flow schematic diagram was provided for the embodiment of the invention can being used to of providing Fig. 3;
The processing logic schematic diagram of the receiver equipment that Fig. 4 provides for the embodiment of the invention;
Fig. 5 is the handling process schematic diagram of the specific embodiment of the invention one;
Fig. 6 is the handling process schematic diagram of the specific embodiment of the invention two;
Fig. 7 is the handling process schematic diagram of the specific embodiment of the invention three;
The structural representation of the application server that Fig. 8 provides for the embodiment of the invention;
The structural representation of the receiver equipment that Fig. 9 provides for the embodiment of the invention;
The system configuration schematic diagram that Figure 10 provides for the embodiment of the invention.
Embodiment
In the message communicating under the multi-equipment environment, when message receiver has at least two equipment, the message that transmit leg is issued the recipient will be forwarded on two equipment of recipient at least.After at least two equipment of recipient are received same message, if the recipient read this message on an equipment therein, then on recipient's miscellaneous equipment this condition of information also to need be " reading " state synchronously.
The embodiment of the invention provides a kind of method that realizes state synchronized, can be used for the synchronous of application server realizing message status, specifically can comprise: after receiving the message of transmit leg transmission, comprise the message of reading report request to each equipment transmission of recipient; Receive the reading report of described recipient's equipment transmission, this equipment is to receive the equipment of reading this message at least in two equipment of the message that comprises described reading report request, and described reading report is to read the reading report that the equipment of this message sends according to the described reading report request in this message; (comprise the miscellaneous equipment outside the equipment that sends described reading report in recipient's the equipment to described recipient's equipment, can also comprise the equipment that sends described reading report) send and to be used for synchronous reading report, notify described recipient's equipment to upgrade described condition of information according to this reading report.Recipient's reception after the equipment of described message receives the reading report of described message, identifying information and the local identifying information coupling that has received message with the message of this reading report correspondence, when finding corresponding message, described condition of information is updated to reads, thereby the message that has realized at least two equipment of recipient " is read " state synchronization.
For ease of understanding, be described in detail below in conjunction with the method flow of accompanying drawing to the embodiment of the invention to the embodiment of the invention.
Fig. 1 is the method flow schematic diagram of the embodiment of the invention, and as shown in Figure 1, corresponding idiographic flow can comprise:
11: application server is received the message that sends to the recipient, and this recipient has at least two equipment, after guaranteeing to comprise the reading report request in the described message, sends it to each equipment of recipient; For example, after application server receives that transmit leg sends to recipient's message, after judging that according to the header field value of this message this message of receiving is reading report, can check the reading report request that whether comprises message sender in this message, if do not comprise the reading report request of message sender, send it to the recipient after then in this message, increasing the reading report request that is used for state synchronized, then directly this message is sent to the recipient if comprise the reading report request;
12: after each equipment of recipient was received the message that comprises the reading report request, the equipment of reading this message sent reading report to application server; Whether can comprise different value in the header field of described reading report is used to identify application server and needs to send described reading report to transmit leg; For example: if comprise the reading report request of the transmit leg of this message in the message that receiver equipment is received, the device replied of then reading this message is provided with the reading report of the header field value of representing the answer transmit leg and gives application server; Perhaps, if comprise the reading report request of the transmit leg of message in the message, but the recipient reads when determining not reply reading report after the described message by one of them equipment, and the equipment structure of reading this message is provided with the reading report of the header field value that is used for state synchronized and sends to application server; Perhaps, if do not comprise the reading report request of the transmit leg of message in the message, but comprise the reading report request that is used for state synchronized that application server increases, the equipment structure of then reading this message is provided with the reading report of the header field value that is used for state synchronized and sends to application server;
13: after application server receives that the recipient has read the reading report that the equipment of the message that comprises the reading report request sends, reading report is sent to the miscellaneous equipment that the recipient has received described message, and the notice miscellaneous equipment upgrades corresponding condition of information according to this reading report; Application server can also be judged this reading report type according to the header field value of this reading report, and determines to have received the miscellaneous equipment of described message except that reading report being sent to the recipient according to judged result, whether this reading report is sent to transmit leg; For example, concrete can comprising:
If comprised the header field value that is used to represent to reply transmit leg in this reading report, judge that then this reading report is the reading report of the equipment of described recipient's read messages according to the reading report request answer of the described transmit leg that comprises in this message; Then transmit this reading report to described transmit leg, and to described recipient's reception the miscellaneous equipment of this message send the reading report of this message;
If comprised the header field value that is used for state synchronized in this reading report, judge that then this reading report is that the equipment of described recipient's read messages is because the recipient determines not reply reading report according to the reading report request of the transmit leg that comprises in this message and the reading report that is used for state synchronized of structure; Perhaps this reading report is that described recipient reads the reading report request of the equipment of this message according to the application server increase, and the reading report that is used for state synchronized of structure, then the miscellaneous equipment that has received this message to described recipient sends the reading report of this message.
After recipient's miscellaneous equipment is received the reading report of the described message that application server is transmitted, identifying information and the local identifying information coupling that has received message with the message of reading report correspondence, when finding corresponding described message, described condition of information is updated to reads, thereby realized that message " is read " state synchronization at least two equipment of recipient.
Foregoing has been described application server at the method flow that carries out when synchronous, as can be seen, the embodiment of the invention can use less information flow-rate to realize that the message between at least two equipment of recipient " reads " state synchronization, can avoid because use data sync agreement is carried out a large amount of interacting messages in the synchronizing process, thus the burden of mitigation system.
Processing logic below in conjunction with application server in 2 pairs of embodiment of the invention of accompanying drawing is described in detail.
Fig. 2 is the processing logic schematic diagram of application server, and as shown in Figure 2, corresponding concrete processing logic can comprise:
201: after application server is received message, this message is checked;
202: application server judges that according to the header field value of this message this message is reading report; Because the reading report that the recipient sends also is a message, therefore, application server judges whether this message contains the Content-Disposition header field earlier; If contain the Content-Disposition header field, then carry out 203; If do not contain the Content-Disposition header field, then carry out 207;
203: check Content-Disposition header field value, and judge the reading report type according to the header field value; The reading report type can comprise the reading report of transmit leg request and the reading report of state synchronized; For example in IMDN (instant message indication notice, Instant Message Disposition Notification) in the mechanism, if this message contains the Content-Disposition header field of header field value for " notification ", think that then this message is the IMDN that message receiver is replied, i.e. reading report; " notification " header field value of Content-Disposition header field is expanded in embodiments of the present invention and is " notification_sender " or " notification_sync "; When therefore application server is judged type of message according to Content-Disposition header field value, if the header field value of this message is " notification_sender " or " notification_sync ", then this message is reading report, otherwise is not reading report; Wherein, Content-Disposition header field value represent the answer of the reading report that message receiver asks message sender for the IMDN of " notification_sender ", and Content-Disposition header field value be that the IMDN of " notification_sync " represents the reading report that send for the state synchronized needs; According to judged result, if the header field value of this message that application server is received then carries out 204 for " notification_sender "; If the header field value of this message that application server is received then carries out 206 for " notification_sync "; If other header field value then carries out 205;
204: if the header field value of this message that application server is received comprises " notification_sender ", then this message is the reading report that the recipient replys transmit leg, so, application server is transmitted to message sender with this reading report, and change the Content-Disposition header field value of reading report into " notification_sync ", and send to the miscellaneous equipment that the recipient receives corresponding message respectively, with the message of notice miscellaneous equipment read states synchronously;
205:, then directly transmit this message if the Content-Disposition header field value of this message is other value;
206: if the header field value of this message that application server is received comprises " notification_sync ", then this message is for synchronously and the reading report that sends, so application server sends the reading report of this message respectively to the recipient's who has received corresponding message miscellaneous equipment, and can not transmit this reading report and give message sender;
207: judge whether comprise the Disposition-Notification header field in this message; If comprise the Disposition-Notification header field in this message, then carry out 208; If do not comprise the Disposition-Notification header field in this message, then carry out 211:
208: check Disposition-Notification header field value, judge whether this Disposition-Notification comprises " read "; If comprise " read ", then carry out 209; If do not comprise " read ", then carry out 210;
209: if the Disposition-Notification header field value of this message comprises " read ", because the transmit leg of message is if will ask IMDN just need comprise the Disposition-Notification header field in message to the recipient of message, in the Disposition-Notification header field, specify the type of the processing notice of wanting simultaneously, the Disposition-Notification header field value of defined request reading report is " read ", and application server is transmitted this message to the recipient after receiving this message;
210: if the Disposition-Notification header field value of this message does not comprise " read ", then need in this message, increase and be used for synchronous reading report request, owing to message receiver need to discern the reading report of asking in the message of receiving be the message sender request or application server ask synchronously in order to realize recipient's message status, and can't realize this differentiation in the current mechanism, therefore the embodiment of the invention is by expanding Disposition-Notification header field value, increase " self-report " header field value, represent that the application server under the multi-equipment environment asks reading report for message " reads " state synchronization, application server increases header field value " self-report " in the Disposition-Notification of this message header field after, send it to each equipment of recipient;
211: if this message does not comprise the Disposition-Notification header field, then application server increases the Disposition-Notification header field in message, the header field value is " self-report ", and after in this message, increasing the Message-ID header field, this message is sent at least two equipment of recipient.
The foregoing description content introduction at least two equipment messages of application server realizing recipient processing logics when " reading " state synchronized, as can be seen, the embodiment of the invention will have that " notification " header field value expands to " notification_sender " and " notification_sync " just can distinguish now: the answer of the reading report that message receiver is asked message sender, and the reading report that sends in order to need synchronously; And the embodiment of the invention is also by expanding Disposition-Notification header field value, promptly this header field is increased " self-report " header field value, represent that the application server under the multi-equipment environment asks reading report for message " reads " state synchronization, thereby the reading report that makes each equipment of message receiver can discern the message request of receiving is the message sender request, or application server " is read " state synchronized and asked in order to realize recipient's message.
The embodiment of the invention also provides a kind of message treatment method, can be applied to comprise in the recipient system of a plurality of receiving equipments, specifically comprises: described a plurality of receiving equipments receive the message that comprises the reading report request that application server sends; At least one receiving equipment in described a plurality of receiving equipment sends reading report to application server after reading described message; Miscellaneous equipment in described a plurality of receiving equipment receives the reading report of the described message of described application server transmission, and upgrades the described condition of information that has received according to described reading report.
Concrete, if comprise the reading report request of the transmit leg of described message in the described message, read after the described message to send and be provided with the reading report that is used to represent reply the header field value of transmit leg to application server; Perhaps, if comprise the reading report request of the transmit leg of described message in the described message, but the recipient reads when determining not reply reading report after the described message, and structure is provided with the reading report of the header field value that is used for state synchronized and sends to application server; Perhaps, if comprise application server in the described message for the reading report request that state synchronized increases, then read described message after, structure is provided with the reading report of the header field value that is used for state synchronized and sends to application server.
The recipient system that comprises a plurality of receiving equipments below in conjunction with 3 pairs of embodiment of the invention of accompanying drawing can being used to of providing realizes that message " reads " method flow of state synchronized and will be described.
Fig. 3 is recipient's the method flow schematic diagram that can be used to have at least two equipment of the embodiment of the invention, and as shown in Figure 3, corresponding idiographic flow can comprise:
31: receive the message that comprises the reading report request that application server sends; Concrete: at least two equipment of recipient are received same the message that application server sends; This message can comprise the reading report request of message sender or the reading report request that is used for state synchronized that application server increases;
32: send reading report to application server after reading described message; Concrete, after an equipment at least two equipment of recipient is read described message, send reading report to application server; For example:
If comprise the reading report request of the transmit leg of described message in the described message, read after the described message to send and be provided with the reading report that is used to represent reply the header field value of transmit leg to application server;
Perhaps, if comprise the reading report request of the transmit leg of described message in the described message, but the recipient reads when determining not reply reading report after the described message, and structure is provided with the reading report of the header field value that is used for state synchronized and sends to application server;
Perhaps, if comprise application server in the described message for the reading report request that state synchronized increases, then read described message after, structure is provided with the reading report of the header field value that is used for state synchronized and sends to application server;
33: the recipient receives the miscellaneous equipment of described message, receive the reading report of the described message that application server sends, according to the header field value of described reading report judge that application server sends be reading report after, the described condition of information of this reading report correspondence is updated to reads; Concrete, the recipient receives that the miscellaneous equipment of described message receives the reading report of the described message of application server transmission, identifying information and the local identifying information coupling that has received message with the message of reading report correspondence, find corresponding described message, described condition of information is updated to reads.
Foregoing has been described the method flow when receiver equipment is realized state synchronized, as can be seen, the embodiment of the invention can use less information flow-rate to realize that the message between at least two equipment of recipient " reads " state synchronization, can avoid because use data sync agreement is carried out a large amount of interacting messages in the synchronizing process, thus the burden of mitigation system.
Processing logic below in conjunction with 4 pairs of embodiment of the invention receiver equipments of accompanying drawing is described in detail.As shown in Figure 4, corresponding concrete processing logic can comprise:
401: at least two equipment of recipient are received the message that application server sends;
402: whether comprise the Content-Disposition header field in the described message of recipient's equipment inspection,, carry out 403 if comprise; If do not comprise, carry out 406;
403: check Content-Disposition header field value,, then carry out 404 if the header field value comprises " notification_sender "; If the header field value comprises " notification_sync ", then carry out 405;
404: if the header field value of the described message of receiving comprises " notification_sender ", then this is at the reading report that has initiated a message, receiver equipment is with the identifying information of described message and the identifying information of local transmitted message (for example Message-ID value) coupling, when finding corresponding described message, described condition of information is updated to reads, realize that message " reads " state synchronized;
405: if the header field value of the described message of receiving comprises " notification_sync ", then described message is the reading report that application server sends in order to realize message between two equipment " to read " state synchronized at least, receiver equipment is with the identifying information and local identifying information (for example Message-ID value) coupling that has received message of described message, when finding corresponding described message, described condition of information is updated to reads, realize that message " reads " state synchronized;
406: receiver equipment checks whether comprise the Disposition-Notification header field in the described message: if comprise, then carry out 407;
407:, then carry out 408 if the Disposition-Notification header field value of described message comprises " read "; If the Disposition-Notification header field value of described message comprises " self-report ", then carry out 411;
408: it is the message sender request that the Disposition-Notification header field value of described message comprises the reading report that " read " illustrate this message: if the recipient has read described message by an equipment among at least two equipment, and be willing to purpose transmit leg answer reading report, then carry out 409; If determine not reply reading report, then carry out 410 to transmit leg;
409: if the recipient has read described message by equipment, and determine to reply reading report to transmit leg, then construct reading report, the Content-Disposition header field value of this reading report is made as " notification_sender ", send it to message sender then;
410: if the recipient has read described message by equipment, but determine not reply reading report to transmit leg, then still construct reading report, and the Content-Disposition header field value of this reading report is made as " notification_sync ", send it to message sender (in fact this reading report can not arrive message sender) then;
411: if the Disposition-Notification header field value of described message comprises " self-report ", then the reading report request of described message is that application server is in order to realize that message " is read " state synchronization and initiated (transmit leg that is message is not asked reading report) between at least two equipment of recipient, after the recipient has read described message by equipment, construct reading report according to this reading report request that application server is initiated, and Content-Disposition header field value is made as " notification_sync ", then this reading report is sent to application server.
The foregoing description content introduction recipient's equipment realize that at least two equipment messages " read " processing logic of state synchronized, as can be seen, in the embodiment of the invention, after recipient's equipment is received message, earlier judge whether this message is reading report, if reading report then mates reading report according to Content-Disposition header field value, to realize synchronously; If not being reading report, this message then do not realize synchronously according to Disposition-Notification header field value and user's wish structure reading report.And, the embodiment of the invention will have that " notification " header field value expands to " notification_sender " and " notification_sync " just can distinguish now: the answer of the reading report that message receiver is asked message sender, and the reading report that sends in order to need synchronously; And the embodiment of the invention is also by expanding Disposition-Notification header field value, promptly this header field is increased " self-report " header field value, represent that the application server under the multi-equipment environment asks reading report for message " reads " state synchronization, thus the reading report message sender request that each equipment of message receiver can be discerned ask in the message of receiving or application server " read " state synchronized and ask in order to realize recipient's message.
Transmit leg equipment in the embodiment of the invention is after the header field value of receiving the application server transmission is the reading report of " notification_sender ", the value of the Message-ID element in this reading report and the Message-ID value of sending out message are mated, just can find the corresponding message of sending out, and correspondence sent out information updating for reading.
Need to prove, in the actual communication interaction process, a receiver equipment also can be a transmit leg equipment simultaneously, therefore, receiver equipment in the embodiment of the invention also has the function of transmit leg equipment, the header field value of promptly receiving the application server transmission is for behind the reading report of " notification_sender ", the value of the Message-ID element in this reading report and the Message-ID value of sending out message are mated, just can find the corresponding message of sending out, and correspondence sent out information updating for reading.Like this, receiver equipment in the embodiment of the invention (also being transmit leg equipment simultaneously) is after receiving that a stature thresholding is for the reading report of " notification_sender ", can judge and learn this reading message, only need in transmitted message, to search corresponding message then at transmitted message; Or receiving that a stature thresholding is for behind the reading report of " notification_sync ", can judge and learn that this reading message is at receiving message, only need then to search corresponding message in the message receiving, like this with regard to having removed from since do not know this reading report be at transmitted message or received message and at transmitted message with received searching of carrying out in the message, thereby reduced the workload of half.
For ease of understanding, be described in detail below in conjunction with the specific implementation of accompanying drawing to the embodiment of the invention to the embodiment of the invention.
Specific embodiment one
Among this embodiment, reply to transmit leg under the situation of reading report, realize that message " is read " state synchronization between at least two equipment of recipient at receiver equipment.
If comprised the reading report request in the message that message sender sends, for example comprised the Disposition-Notification header field of header field value in this message of Fa Songing for " read ", after having read this message on the equipment of recipient in a plurality of equipment that receive this message, this equipment is according to the reading report request structure reading report of transmit leg, and Content-Disposition header field value is made as " notification_sender ", send this reading report to message sender then.This reading report at first arrives the application server of message receiver (being the transmit leg of reading report), application server is checked the Content-Disposition header field of this reading report, find that the header field value comprises " notification_sender ", just know that this reading report is the reading report that message receiver is replied according to the reading report request of transmit leg, so this reading report is transmitted to message sender, then for the reception that makes message receiver the miscellaneous equipment of same message also this condition of information is " reading " synchronously, application server changes the Content-Disposition header field value " notification_sender " in this reading report into " notification_sync ", and sends to the miscellaneous equipment that the recipient has received same message respectively.
After message sender equipment is received reading report, check the Content-Disposition header field, find that the header field value comprises " notification_sync ", just will be somebody's turn to do with in the reading report<message-id the value of the value of element and the Message-ID of transmitted message mates, just can find corresponding message, the condition of information of correspondence is updated to read then.
After the miscellaneous equipment that message receiver has received same message receives that application server has been revised the reading report of header field value, check the Content-Disposition header field, find that the header field value comprises " notification_sync ", just know that this is at receiving the synchronous reading report of condition of information, so with in the reading report<message-id the value and the value that has received the Message-ID of message of element mate, just can find corresponding message, the condition of information of correspondence is updated to reads, realize message status synchronously.
Below in conjunction with Fig. 5, the application process of present embodiment is elaborated.Among Fig. 5, user A equipment is message sender equipment, and user B is message receiver and 2 receiving equipments are arranged, is respectively equipment 1 and equipment 2; Application server among the figure is the application server of user B.As shown in Figure 5, concrete processing can comprise:
(1) user A sends message to user B, comprises the reading report request in this message, and is for example concrete, can comprise the Disposition-Notification header field in message and the header field value comprises " read "; After this message arrives the application server of serving for user B, application server is checked the Disposition-Notification header field in this message, find that Disposition-Notification header field value comprises " read ", then this header field is not revised, application server is inquired about local data base simultaneously, finds that user B has two equipment can receive this message;
(2) application server is transmitted the equipment 1 that this message that comprises the request of transmit leg reading report is given user B;
(3) application server is transmitted the equipment 2 that this message that comprises the request of transmit leg reading report is given user B;
(4) user B has read the above-mentioned message that application server is transmitted by equipment 1, and be willing to that purpose user A replys the message reading report, equipment 1 is just constructed reading report according to the reading report request of transmit leg, and in the Content-Disposition of this reading report header field, comprise value " notification_sender ", send to user A then, this reading report at first arrives the application server of user B;
(5) application server is checked the Content-Disposition header field, finds that the header field value comprises " notification_sender ", so transmit this reading report to user A; After user A receives reading report, check the Content-Disposition header field, find that the header field value comprises " notification_sender ", just will be somebody's turn to do with in the reading report<message-id the value and the value of having sent out the Message-ID of message of element mate, just can find corresponding message, and the condition of information of correspondence is updated to reads.
(6) after application server changes the Content-Disposition header field value " notification_sender " in the reading report into " notification_sync ", send to the equipment 2 of user B, after equipment 2 is received reading report, check the Content-Disposition header field, find that the header field value comprises " notification_sync ", with in the reading report<message-id the value and the value that has received the Message-ID of message of element mate, just can find corresponding message, the condition of information of correspondence is updated to reads, realize that message " reads " state synchronization.
By foregoing description as can be known, after application server receives that the recipient receives the reading report of a device replied transmit leg at least two equipment of same message, this reading report is transmitted to message sender, simultaneously by changing the Content-Disposition header field value " notification_sender " in this reading report into " notification_sync ", and send to the miscellaneous equipment that the recipient has received same message respectively, can realize that at least two of recipients receive that the message of the equipment of same message " reads " state synchronized.Thereby use less information flow-rate to realize that the message between at least two equipment of recipient " reads " state synchronized, can avoid having alleviated the burden of whole system owing to use the data sync agreement to carry out a large amount of interacting messages in the synchronizing process.
Specific embodiment two
Among this embodiment, determine not reply under the situation of reading report, realize that message " is read " state synchronization between at least two equipment of recipient the recipient.
If comprised the reading report request in the message that message sender sends, for example comprised the Disposition-Notification header field of value in the message of Fa Songing for " read ", receiver equipment is received this message, after the recipient reads this message by an equipment at least two equipment of receiving this message, but determine not send the reading report of this message.For realize message status on recipient's miscellaneous equipment synchronously, the recipient reads the equipment of described message and still constructs reading report, and in the Content-Disposition of this reading report header field, comprise value " notification_sync ", send to message sender (in fact this reading report can not arrive message sender) then.
This reading report at first arrives the application server of message receiver (being the transmit leg of reading report), application server is checked its Content-Disposition header field, find that the header field value comprises " notification_sync ", just the miscellaneous equipment that has received message to the recipient respectively sends the reading report of this this message, gives message sender but do not transmit this reading report.
After the miscellaneous equipment of message receiver is received reading report, check the Content-Disposition header field, find that the header field value comprises " notification_sync ", so with in the reading report<message-id the value and the value that has received the Message-ID of message of element mate, just can find corresponding message, the condition of information of correspondence is updated to reads, realize that message " reads " state synchronization.
Below in conjunction with Fig. 6, the application process of present embodiment is elaborated.Among Fig. 6, user A equipment is message sender equipment, and user B is message receiver and 2 receiving equipments are arranged, is respectively equipment 1 and equipment 2; Application server among the figure is the application server of user B.As shown in Figure 6, concrete processing can comprise:
(1) user A sends message to user B, has comprised the reading report request in the message of transmission, for example comprises the Disposition-Notification header field in the message and the header field value comprises " read "; After this message arrives the application server of serving for user B, application server is checked the Disposition-Notification header field in the message, find that Disposition-Notification header field value comprises " read ", then not to this message correct, application server is inquired about local data base simultaneously, finds that user B has two equipment can receive this and goes into message;
(2) application server is transmitted the equipment 1 that this message is given user B;
(3) application server is transmitted the equipment 2 that this message is given user B;
(4) user B has read the above-mentioned message that application server is transmitted by equipment 1, find that Disposition-Notification header field value comprises " read ", be that user A has asked the message reading report, but user B determines not reply the message reading report to user A, so equipment 1 structure reading report, and make the Content-Disposition header field value of this reading report comprise " notification_sync ", then this reading report is sent to user A (in fact this reading report can not arrive user A), this message reading report at first arrives the application server of user B;
(5) application server is checked the Content-Disposition header field, finds that the header field value comprises " notification_sync ", so application server is not transmitted this reading report to user A, but sends the equipment 2 of reading report to user B; After equipment 2 is received reading report, check the Content-Disposition header field, find that the header field value comprises " notification_sync ", so with in the reading report<message-id the value and the value that has received the Message-ID of message of element mate, just can find corresponding message, and the condition of information of correspondence is updated to reads, realize that message " reads " state synchronization.
By foregoing description as can be known, determine not reply under the situation of reading report the recipient, receiver equipment can be after the recipient reads described message, replying Content-Disposition header field value is the reading report of " notification_sync ", application server sends to the reading report of this message recipient's miscellaneous equipment, just can realize using less information flow-rate to realize that the message between at least two equipment of recipient " reads " state synchronized, avoided because use data sync agreement is carried out a large amount of interacting messages in the synchronizing process, thereby alleviated the burden of whole system.
Specific embodiment three
Among this embodiment, in the message that transmit leg sends, do not comprise under the situation of reading report request, realize that message " is read " state synchronization between at least two equipment of recipient.
If transmit leg is not asked reading report in the message that sends, then for realize message on each equipment of recipient read states synchronously, application server just can transmitted message to before each equipment of recipient, in this message, increase the reading report request, for example, increase Disposition-Notification header field value " self-report " can for this message, concrete, if in this message the Disposition-Notification header field has been arranged, then this header field is increased header field value " self-report "; If do not contain the Disposition-Notification header field in this message, then in message, increase the Disposition-Notification header field, and establish the header field value for " self-report ", in message, increase the Message-ID header field simultaneously, and then send a message at least two equipment of recipient.
When at least two equipment of recipient receive that application server has increased the message of reading report request, " self-report " that comprises according to Disposition-Notification header field value, the reading report request to this message of just can identifying is that application server is to realize between the many equipment of recipient that message " reads " state synchronization and initiate, and transmit leg is not asked reading report.When the recipient has read this message on equipment therein, this receiver equipment structure reading report, and in this reading report, increase Content-Disposition header field value " notification_sync ", send it to message sender (in fact this reading report can not arrive message sender) then.
This reading report at first arrives the application server of message receiver (being the transmit leg of reading report), application server is checked its Content-Disposition header field, find that the header field value comprises " notification_sync ", just this reading report is not transmitted to message sender, and the miscellaneous equipment that has received corresponding message to the recipient respectively sends the reading report of this message.
After the miscellaneous equipment of message receiver is received reading report, check the Content-Disposition header field, find that the header field value comprises " notification_sync ", with in the reading report<message-id the value and the value that has received the Message-ID of message of element mate, just can find corresponding message, and the condition of information of correspondence is updated to reads, realize that message " reads " state synchronization.
Below in conjunction with Fig. 7, the application process of present embodiment is elaborated.Among Fig. 7, user A equipment is message sender equipment, and user B is message receiver and 2 receiving equipments are arranged, is respectively equipment 1 and equipment 2; Application server among the figure is the application server of user B.As shown in Figure 7, concrete processing can comprise:
(1) user A sends message to user B, does not comprise the reading report request in the message; After this message arrives the application server of user B, application server is checked the Disposition-Notification header field in this message, if Disposition-Notification header field value does not comprise " read ", then this header field is increased header field value " self-report "; If do not contain the Disposition-Notification header field in this message, then in this message, increase the Disposition-Notification header field, the header field value is " self-report ", and in this message, increase the Message-ID header field, application server is inquired about local data base simultaneously, finds that user B has two equipment can receive this message;
(2) application server is transmitted the equipment 1 that this message is given user B;
(3) application server is transmitted the equipment 2 that this message is given user B;
(4) user B has read this message by equipment 1, find that Disposition-Notification header field value comprises " self-report ", know that promptly user A does not have the request message reading report, the information of " reading " state synchronized but user B need give information to application server, so structure reading report, and make and comprise Content-Disposition header field value " notification_sync " in this reading report, send it to user A (in fact this reading report can not arrive user A) then, the message reading report at first arrives the application server of user B;
(5) application server is checked the Content-Disposition header field of this reading report, finds that the header field value comprises " notification_sync ", and promptly knowing does not need to transmit this reading report to user A, so only be transmitted to the equipment 2 of user B; After equipment 2 is received this reading report, check the Content-Disposition header field, find that the header field value comprises " notification_sync ", so with in the reading report<message-id the value and the value that has received the Message-ID of message of element mate, just can find corresponding message, and the condition of information of correspondence be updated to read, realize message status synchronously.
By foregoing description as can be known, in the message that transmit leg sends, do not comprise under the situation of reading report request, application server can be before this message of transmission be to each equipment of recipient, in this message, increase the reading report request, for example, increase Disposition-Notification header field value " self-report " can for this message; Receiver equipment is after the recipient reads the described message that increases the reading report request, replying Content-Disposition header field value is the reading report of " notification_sync ", application server is transmitted to this reading report recipient's miscellaneous equipment again, just can realize using less information flow-rate to realize that the message between at least two equipment of recipient " reads " state synchronized, avoided because use data sync agreement is carried out a large amount of interacting messages in the synchronizing process, thereby alleviated the burden of whole system.
The embodiment of the invention also provides a kind of synchronous application server of read states of realizing, its structure as shown in Figure 8, the specific implementation structure can comprise:
First receiving element 81 is used to receive the message that transmit leg sends; Comprise reading report and the message that sends to the recipient;
First detecting unit 82, being used to detect the message that described transmit leg that described first receiving element 81 receives sends is reading report, or other message; And the reading report request that whether comprises transmit leg in the described message;
First processing unit 83 is used for the testing result according to described first detecting unit 82, increases the reading report request that is used for state synchronized in the message of the reading report request that does not comprise transmit leg; And the message that will comprise described reading report request passes to first transmitting element 84; For example, increase when being used for the reading report request of state synchronized, can increase Disposition-Notification header field value " self-report " to message, concrete, if in this message the Disposition-Notification header field has been arranged, then this header field is increased header field value " self-report "; If do not contain the Disposition-Notification header field in this message, then in message, increase the Disposition-Notification header field, and establish the header field value and be " self-report ", and in this message, increase the Message-ID header field; Message to the reading report request that comprises transmit leg no longer increases the reading report request that is used for state synchronized;
First transmitting element 84 is used for the result according to first processing unit, comprises the message of reading report request to each equipment transmission of recipient;
Second receiving element 85 is used to receive the reading report that recipient's equipment sends; Described equipment is the equipment of reading this message at least in two equipment of receiving of the recipient message that comprises the reading report request; Described reading report is to read the reading report of the equipment of this message according to the described reading report request transmission in this message;
Judging unit 86 is used for judging that according to the header field value of message the message that described second receiving element 85 receives is reading report; And judge the type of described reading report according to the header field value of described reading report; And judged result passed to described second transmitting element; The type of described reading report comprises reading report of replying transmit leg and the reading report that is used for state synchronized; Concrete, if comprised the header field value that is used to represent to reply transmit leg in this reading report, for example the header field value of Content-Disposition comprises " notification_sender ", judges that then this reading report is the reading report of the equipment of described recipient's read messages according to the reading report request answer of the described transmit leg that comprises in this message; If comprised the header field value that is used for state synchronized in this reading report, for example the header field value of Content-Disposition comprises " notification_sync ", judge that then this reading report is the reading report request of the equipment of described recipient's read messages according to the described transmit leg that comprises in this message, or the equipment of described recipient's read messages is according to the reading report request that is used for state synchronized that increases in the described message, and the reading report that is used for state synchronized of structure;
Second transmitting element 87, after described second receiving element 85 has received the reading report that described reading report request that recipient's equipment comprises according to described message sends, miscellaneous equipment in described recipient's equipment outside the equipment of the described reading report of transmission sends and is used for synchronous reading report, notifies other equipment to upgrade described condition of information according to described reading report; For example, judge that according to judging unit 86 type of reading report is when replying the reading report of transmit leg, change the Content-Disposition header field value " notification_sender " in the reading report into " notification_sync ", and send to the miscellaneous equipment that the recipient has received same message respectively;
The 3rd transmitting element 88, being used for judging the type of described reading report when described judging unit 86 is when replying the reading report of transmit leg, to send this reading report to described transmit leg.
The embodiment of the invention also provides a kind of receiver equipment of realizing state synchronized, its structure as shown in Figure 9, the specific implementation structure can comprise:
Receiving element 91 is used to receive the message that comprises the reading report request that application server sends; Also be used to receive the reading report of the described message that described application server sends;
Read processing unit 92, be used to read the described message that described receiving element receives; After reading described message, send reading report to described application server; Specifically comprise:
Judging unit 921 is used for judging that according to the header field value of described message the reading report request that described message comprises is the reading report request of transmit leg, or application server is for the reading report request of state synchronized increase; For example, judge in message, whether to comprise the Disposition-Notification header field, and the header field value is " read ", perhaps whether comprise the Disposition-Notification header field in this message, and the header field value is " self-report "; Also be used for judging according to the header field value of described reading report whether the described reading report that described receiving element receives is the reading report of described message; Promptly this reading report be at transmitted message or at receiving message; For example, judge according to the header field value of message whether the header field value of described message comprises header field value " notification_sync "; And judged result passed to lock unit 93;
Read unit 922 is used to read described message; And when in the described message of described judgment unit judges, comprising the reading report request of transmit leg, according to this reading report request, send be provided with the header field value that is used to represent to reply transmit leg reading report to described application server; For example, the value of setting " notification_sender " sends to application server then in the Content-Disposition of this reading report header field; Perhaps, judge the reading report request that comprises transmit leg in the described message, but the recipient is when determining not reply reading report, structure is provided with the reading report of the header field value that is used for state synchronized and sends to described application server; For example, make the Content-Disposition header field value of this reading report comprise " notification_sync ", send it to application server then; Perhaps, judge the reading report request that is used for state synchronized that comprises described increase in the described message, then according to this reading report request, structure is provided with the reading report of the header field value that is used for state synchronized and sends to described application server; For example, make the Content-Disposition header field value in this reading report comprise " notification_sync ", send it to application server then;
Lock unit 93 is used for the described reading report according to the described message of application server transmission, upgrades described condition of information; Concrete, can judge that message are results of the described reading report of the described message that sends of application server, upgrade described condition of information according to judging unit 921; Described lock unit 93 comprises:
Recognition unit 931 is used for identifying information and the local identifying information coupling that has received message with the message of described reading report correspondence, finds corresponding described message;
Updating block 932 is used for described condition of information with correspondence and is updated to and reads.
The embodiment of the invention also provides a kind of system that realizes state synchronized, and its structure comprises application server and receiver equipment as shown in figure 10; Described receiver equipment comprises at least one recipient's first equipment, and at least one recipient's second equipment;
Application server 101 after being used to receive the message of transmit leg transmission, sends the message that comprises the reading report request to described receiver equipment; Behind the reading report of the described message of reading that reception recipient first equipment 102 sends, send the reading report of described message to recipient's second equipment 103; The unit that application server in this system comprises is identical with the unit that above-mentioned application server comprises, repeats no more here;
Recipient's first equipment 102 is used to receive the message that application server 101 sends, and sends reading report to described application server after reading described message; The unit that recipient's first equipment 102 in this system comprises is identical with the unit that above-mentioned receiver equipment comprises, repeats no more here;
Recipient's second equipment 103 is used to receive the message that application server sends, and the described reading report that receives the described message of described application server transmission, and the described reading report that sends according to application server upgrades described condition of information; The unit that recipient's second equipment 103 in this system comprises is identical with the unit that above-mentioned receiver equipment comprises, repeats no more here.
The equipment of the realization state synchronized in the embodiment of the invention, unit can be arranged in the terminal equipment, perhaps, also can be arranged in the network equipment.
In sum, compare in various embodiments of the present invention and the prior art, the embodiment of the invention is by expanding current mechanism, just can realize using less information flow-rate to realize that the message between each equipment of recipient " reads " state synchronized, avoided because use data sync agreement is carried out a large amount of interacting messages in the synchronizing process, thereby alleviated the burden of whole system.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (16)

1, a kind of synchronous method of read states that realizes is characterized in that, comprising:
After receiving the message of transmit leg transmission, comprise the message of reading report request to each equipment transmission of recipient;
Receive the reading report of described recipient's equipment transmission, this equipment is to receive the equipment of reading this message at least in two equipment of the message that comprises described reading report request, and described reading report is to read the reading report that the equipment of this message sends according to the described reading report request in this message;
Miscellaneous equipment in described recipient's equipment outside the equipment of the described reading report of transmission sends and is used for synchronous reading report, notifies described miscellaneous equipment to upgrade described condition of information according to this reading report.
2, method according to claim 1 is characterized in that, described each equipment to the recipient sends the message that comprises the reading report request, comprising:
If do not comprise the reading report request of transmit leg in the message that the transmit leg of receiving sends, after then increase is used for the reading report request of state synchronized in this message, send to each equipment of recipient; If comprise the reading report request of transmit leg, then this message is directly sent to each equipment of recipient.
3, method according to claim 2, it is characterized in that, miscellaneous equipment outside the described equipment that sends described reading report in described recipient's equipment sends and is used for synchronous reading report, notifies described miscellaneous equipment to upgrade described condition of information according to this reading report, comprising:
The header field value of the reading report that sends according to the described equipment of receiving described recipient is judged this reading report type, and sends according to judged result; Specifically comprise:
If comprised the header field value that is used to represent to reply transmit leg in this reading report, judge that then this reading report is the reading report of the equipment of described recipient's read messages according to the reading report request answer of the described transmit leg that comprises in this message; Then the described miscellaneous equipment transmission to described recipient is used for synchronous reading report;
If comprised the header field value that is used for state synchronized in this reading report, judge that then this reading report is the reading report request of the equipment of described recipient's read messages according to the described transmit leg that comprises in this message, or the equipment of described recipient's read messages is according to the reading report request that is used for state synchronized that increases in the described message, and the reading report that is used for state synchronized of structure; Then the described miscellaneous equipment transmission to described recipient is used for synchronous reading report.
4, method according to claim 3, it is characterized in that, this reading report of described judgement be the equipment of described recipient's read messages reply according to the reading report request of the described transmit leg that comprises in this message reading report the time, also send this reading report to described transmit leg.
5, according to claim 1 or 2 or 3 described methods, it is characterized in that described method also comprises:
Described miscellaneous equipment receive described be used for synchronous reading report after, identifying information and the local identifying information coupling that has received message with the message of this reading report correspondence find corresponding message, the condition of information that this is corresponding is updated to be read.
6, method according to claim 3 is characterized in that, described method also comprises: judge that according to described header field value the described message of receiving is reading report after receiving message.
7, a kind of synchronous application server of read states of realizing is characterized in that, comprising:
First receiving element is used to receive the message that transmit leg sends;
First transmitting element is used for sending the message that comprises the reading report request to each equipment of recipient;
Second receiving element is used to receive the reading report that recipient's equipment sends, and described equipment is the equipment of reading this message at least in two equipment of receiving of the recipient message that comprises the reading report request; Described reading report is to read the reading report of the equipment of this message according to the described reading report request transmission in this message;
Second transmitting element, behind the reading report that the described reading report request that the equipment that has received the recipient at described second receiving element comprises according to described message sends, send miscellaneous equipment outside the equipment of described reading report and send and be used for synchronous reading report in described recipient's equipment, the notice miscellaneous equipment is used for synchronous reading report and upgrades described condition of information according to described.
8, application server according to claim 7 is characterized in that, described application server also comprises:
First detecting unit is used for detecting the message that described transmit leg that described first receiving element receives sends, and whether comprises the reading report request of transmit leg;
First processing unit is used for the testing result according to described first detecting unit, increases the reading report request that is used for state synchronized in the message of the reading report request that does not comprise transmit leg; And the message that will comprise described reading report request passes to described first transmitting element.
9, application server according to claim 7 is characterized in that, described application server also comprises:
Judging unit, the header field value that is used for the message that receives according to described second receiving element judges that this message is reading report; And judge the type of described reading report according to the header field value of described reading report; And judged result passed to described second transmitting element; The type of described reading report comprises reading report of replying transmit leg and the reading report that is used for state synchronized;
The 3rd transmitting element, the type that is used for when the described reading report of described judgment unit judges is when replying the reading report of transmit leg, to send this reading report to described transmit leg.
10, a kind of message treatment method is applied to comprise in the recipient system of a plurality of receiving equipments, it is characterized in that, comprising:
Described a plurality of receiving equipment receives the message that comprises the reading report request that application server sends;
At least one receiving equipment in described a plurality of receiving equipment sends reading report to application server after reading described message;
Miscellaneous equipment outside the equipment of the described reading report of transmission in described a plurality of receiving equipment receives the reading report of the described message of described application server transmission, and upgrades the described condition of information that has received according to described reading report.
11, method according to claim 10 is characterized in that, sends reading report to application server after the described message of described reading, specifically comprises:
If comprise the reading report request of the transmit leg of described message in the described message, read after the described message to send and be provided with the reading report that is used to represent reply the header field value of transmit leg to application server;
Perhaps, if comprise the reading report request of the transmit leg of described message in the described message, but the recipient reads when determining not reply reading report after the described message, and structure is provided with the reading report of the header field value that is used for state synchronized and sends to application server;
Perhaps, if comprise application server in the described message for the reading report request that state synchronized increases, then read described message after, structure is provided with the reading report of the header field value that is used for state synchronized and sends to application server.
12, method according to claim 10 is characterized in that, the described described condition of information that has received according to described reading report renewal comprises:
Identifying information and the local identifying information coupling that has received message with the message of described reading report correspondence find corresponding described message, described condition of information is updated to reads.
13, a kind of synchronous receiver equipment of read states of realizing is characterized in that described receiver equipment comprises:
Receiving element is used to receive the message that comprises the reading report request that application server sends;
Read processing unit, be used to read the described message that described receiving element receives; After reading described message, send reading report to described application server;
Described receiving element also is used to receive the reading report of the described message that described application server sends;
Lock unit, the described reading report that is used for the described message that sends according to application server upgrades described condition of information.
14, receiver equipment according to claim 13 is characterized in that, described reading processing unit comprises:
Judging unit is used for judging that according to the header field value of described message the reading report request that described message comprises is the reading report request of transmit leg, or application server is for the reading report request of state synchronized increase;
Read unit is used to read described message; And when in the described message of described judgment unit judges, comprising the reading report request of transmit leg, according to this reading report request, send be provided with the header field value that is used to represent to reply transmit leg reading report to described application server; Perhaps, judge the reading report request that comprises transmit leg in the described message, but the recipient is when determining not reply reading report, structure is provided with the reading report of the header field value that is used for state synchronized and sends to described application server; Perhaps, judge the reading report request that is used for state synchronized that comprises described increase in the described message, then according to this reading report request, structure is provided with the reading report of the header field value that is used for state synchronized and sends to described application server.
15, receiver equipment according to claim 13 is characterized in that, described lock unit comprises:
Recognition unit is used for identifying information and the local identifying information coupling that has received message with the message of described reading report correspondence, finds corresponding described message;
Updating block is used for described condition of information with correspondence and is updated to and reads.
16, a kind of synchronous system of read states that realizes is characterized in that, comprising: application server and receiver equipment; Described receiver equipment comprises at least one recipient's first equipment, and at least one recipient's second equipment;
Application server after being used to receive the message of transmit leg transmission, sends the message that comprises the reading report request to described receiver equipment;
Recipient's first equipment is used to receive the message that application server sends, and sends reading report to described application server after reading described message;
Wherein, described application server, receive the reading report of the described message of reading that described recipient's first equipment sends after, send the reading report of described message to described recipient's second equipment;
Recipient's second equipment is used to receive the message that application server sends, and the described reading report that receives the described message of described application server transmission, and upgrades the described condition of information that has received according to the described reading report that application server sends.
CN2008102232718A 2008-09-28 2008-09-28 Method and equipment for synchronizing read states Expired - Fee Related CN101686141B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008102232718A CN101686141B (en) 2008-09-28 2008-09-28 Method and equipment for synchronizing read states

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008102232718A CN101686141B (en) 2008-09-28 2008-09-28 Method and equipment for synchronizing read states

Publications (2)

Publication Number Publication Date
CN101686141A true CN101686141A (en) 2010-03-31
CN101686141B CN101686141B (en) 2012-01-04

Family

ID=42049127

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008102232718A Expired - Fee Related CN101686141B (en) 2008-09-28 2008-09-28 Method and equipment for synchronizing read states

Country Status (1)

Country Link
CN (1) CN101686141B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102355635A (en) * 2011-06-29 2012-02-15 莫雅静 Communication method and communication apparatus
CN103457827A (en) * 2012-06-04 2013-12-18 联想(北京)有限公司 Information processing method and electronic equipment
CN105991418A (en) * 2015-02-16 2016-10-05 阿里巴巴集团控股有限公司 Communication method, device, server and electronic device
CN106533897A (en) * 2015-09-15 2017-03-22 北大方正集团有限公司 Method and device for judging read IM message
CN106775262A (en) * 2017-02-06 2017-05-31 腾讯科技(深圳)有限公司 A kind of method and system of mark display management of not interpreting blueprints
CN106899479A (en) * 2015-12-17 2017-06-27 北京奇虎科技有限公司 Message treatment method and device
CN107342965A (en) * 2016-04-28 2017-11-10 华为技术有限公司 Rich media communications method, system and server
CN109194565A (en) * 2018-08-23 2019-01-11 广东五科技股份有限公司 A kind of message read states reminding method and device
CN112449221A (en) * 2019-08-29 2021-03-05 阿尔派株式会社 Vehicle-mounted device, information playback control method, and information playback control system
CN116708470A (en) * 2022-09-23 2023-09-05 荣耀终端有限公司 Notification management method and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5754119A (en) * 1995-08-31 1998-05-19 Motorola, Inc. Multiple pager status synchronization system and method
DE19831720A1 (en) * 1998-07-15 2000-01-20 Alcatel Sa Method for determining a uniform global view of the system status of a distributed computer network

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102355635A (en) * 2011-06-29 2012-02-15 莫雅静 Communication method and communication apparatus
CN103457827A (en) * 2012-06-04 2013-12-18 联想(北京)有限公司 Information processing method and electronic equipment
CN105991418A (en) * 2015-02-16 2016-10-05 阿里巴巴集团控股有限公司 Communication method, device, server and electronic device
CN105991418B (en) * 2015-02-16 2020-09-08 钉钉控股(开曼)有限公司 Communication method, device and server
CN106533897A (en) * 2015-09-15 2017-03-22 北大方正集团有限公司 Method and device for judging read IM message
CN106899479A (en) * 2015-12-17 2017-06-27 北京奇虎科技有限公司 Message treatment method and device
CN107342965A (en) * 2016-04-28 2017-11-10 华为技术有限公司 Rich media communications method, system and server
CN106775262A (en) * 2017-02-06 2017-05-31 腾讯科技(深圳)有限公司 A kind of method and system of mark display management of not interpreting blueprints
CN109194565A (en) * 2018-08-23 2019-01-11 广东五科技股份有限公司 A kind of message read states reminding method and device
CN112449221A (en) * 2019-08-29 2021-03-05 阿尔派株式会社 Vehicle-mounted device, information playback control method, and information playback control system
CN112449221B (en) * 2019-08-29 2024-02-27 阿尔派株式会社 Vehicle-mounted device, information playback control method, and information playback control system
CN116708470A (en) * 2022-09-23 2023-09-05 荣耀终端有限公司 Notification management method and electronic equipment

Also Published As

Publication number Publication date
CN101686141B (en) 2012-01-04

Similar Documents

Publication Publication Date Title
CN101686141B (en) Method and equipment for synchronizing read states
CN101355524B (en) Method, system, server and terminal for processing information
CN101247321B (en) Method, device and system for routing diagnosis in network based on diameter protocol
US8769262B2 (en) VPN connection system and VPN connection method
RU2010107791A (en) NETWORK SCANNING AND MANAGEMENT ORGANIZATION IN THE DEVICE TYPE MANAGER
JPH0879290A (en) Method for detecting communication network construction and generating line information table
EP3160172A1 (en) Method and device for short messaging service intercommunication
US6654350B1 (en) Method and apparatus for tracking a transaction across a multi-hop network
CN102130845A (en) Method for transmitting return receipt report and processing system
CN107634975A (en) A kind of method of data synchronization, equipment and system
EP2372991B1 (en) Call control system, call control apparatus, terminal apparatus, and call control method
KR101946173B1 (en) Communication device, communication system and communication method
CN103139041A (en) Method for filtering information and method, device and system for processing forwarded information
KR20060112350A (en) Notification system and method using messenger
KR101278282B1 (en) Apparatus for transmitting and receiving device management messages in broadband wireless network, and method thereof
JP2016178494A (en) Gateway device and communication method
CN100562147C (en) A kind of message forwarding method
CN116846959A (en) Message receiving and transmitting method and device based on MQTT protocol
CN103152495A (en) Method, device and system for media transferring
CN101166129A (en) Method, terminal, device and system for obtaining application server identifier information
US7453812B1 (en) Method for detecting and correcting publish-subscribe looping in a messaging network
CN115766829A (en) Communication processing method and communication node
JP2006173768A (en) Telephone system, exchange system and terminal
CN101534328B (en) Relay agent generation method, single boards and network equipment
JP2008301159A (en) Inter-network mediating device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120104

Termination date: 20150928

EXPY Termination of patent right or utility model