CN101686141B - Method and equipment for synchronizing read states - Google Patents
Method and equipment for synchronizing read states Download PDFInfo
- Publication number
- CN101686141B CN101686141B CN2008102232718A CN200810223271A CN101686141B CN 101686141 B CN101686141 B CN 101686141B CN 2008102232718 A CN2008102232718 A CN 2008102232718A CN 200810223271 A CN200810223271 A CN 200810223271A CN 101686141 B CN101686141 B CN 101686141B
- Authority
- CN
- China
- Prior art keywords
- message
- reading report
- equipment
- reading
- recipient
- 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.)
- Expired - Fee Related
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 protocol can be avoided, and the burden of the whole system can be reduced.
Description
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 through increasing request IMDN (instant message indication notice in the message of sending; Instant Message Disposition Notification); Come the request message recipient to receive to reply after the message message sender IMDN, situation about being processed with 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 of sending, 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 through in message, comprising value.
In addition, message sender need also will comprise the Message-ID header field in the message of sending when message receiver request IMDN, and this header field comprises a globally unique message identifier.When message sender is received an IMDN, the value of the value of Message-ID and < message-id>element among the IMDN is compared, with the IMDN that confirms to receive to 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 with the value of < message-id>element among the IMDN of value of above-mentioned Message-ID as this answer; When user A receives this IMDN of user B answer; The value of < message-id>element is wherein mated with the Message-ID value of sending out message of local storage, learn Message-ID value be 34jk324j send out message by user B reading, 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 through equipment 1 to user B, and core net is routed to the application server that user B belongs to the territory with this message, behind this this message header of application server inspection; 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 the equipment 1 and equipment 2 that message sends to user B respectively through 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, this condition of information also needs to be synchronously " reading " state on the miscellaneous equipment of user B so.
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 need carrying 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 said 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 said reading report request, and said reading report is to read the reading report that the equipment of this message sends according to the said reading report request in this message; Miscellaneous equipment in said recipient's equipment outside the equipment of the said reading report of transmission sends and is used for synchronous reading report, notifies said miscellaneous equipment to upgrade said 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 said 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; Said reading report is to read the reading report of the equipment of this message according to the said reading report request transmission in this message;
Second transmitting element; Behind the reading report that the equipment that has received the recipient at said second receiving element sends according to the said reading report request that said message comprises; In said recipient's equipment, send miscellaneous equipment outside the equipment of said reading report and send and be used for synchronous reading report, the notice miscellaneous equipment is used for synchronous reading report and upgrades said condition of information according to said.
A kind of message treatment method is applied to comprise in the recipient system of a plurality of receiving equipments, comprising:
Said a plurality of receiving equipment receives the message that comprises the reading report request that application server sends;
At least one receiving equipment in said a plurality of receiving equipment sends reading report to application server after reading said message;
Miscellaneous equipment outside the equipment of the said reading report of transmission in said a plurality of receiving equipment receives the reading report of the said message of said application server transmission, and upgrades the said condition of information that has received according to said 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 said message that said receiving element receives; After reading said message, send reading report to said application server;
Said receiving element also is used to receive the reading report of the said message that said application server sends;
Lock unit, the said reading report of the said message that is used for sending according to application server upgrades said condition of information.
A kind of synchronous system of read states that realizes comprises: application server and receiver equipment; Said 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 said receiver equipment;
Recipient's first equipment is used to receive the message that application server sends, and after reading said message, sends reading report to said application server;
Wherein, said application server, receive the reading report of the said message of reading that said recipient's first equipment sends after, send the reading report of said message to said recipient's second equipment;
Recipient's second equipment is used to receive the message that application server sends, and the said reading report that receives the said message of said application server transmission, and upgrades the said condition of information that has received according to the said reading report that application server sends.
Technical scheme by the embodiment of the invention described above provides can be found out; When at least two equipment of recipient are received same message through application server; Send the reading report of said message by the equipment of reading said message and give application server; Application server is transmitted to the miscellaneous equipment that this recipient receives said message with the reading report of said 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 sketch map that Fig. 1 provides for the embodiment of the invention;
Fig. 2 is the processing logic sketch map of application server in the embodiment of the invention;
Fig. 3 has the recipient's of at least two equipment method flow sketch map for the embodiment of the invention can being used to of providing;
The processing logic sketch map of the receiver equipment that Fig. 4 provides for the embodiment of the invention;
Fig. 5 is the handling process sketch map of the specific embodiment of the invention one;
Fig. 6 is the handling process sketch map of the specific embodiment of the invention two;
Fig. 7 is the handling process sketch map 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 sketch map 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 were received same message, if the recipient has read this message on an equipment therein, then this condition of information also needed to be synchronously " reading " state on recipient's miscellaneous equipment.
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 said 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 said reading report request, and said reading report is to read the reading report that the equipment of this message sends according to the said reading report request in this message; (comprise the miscellaneous equipment outside the equipment that sends said reading report in recipient's the equipment to said recipient's equipment; Can also comprise the equipment that sends said reading report) send and to be used for synchronous reading report, notify said recipient's equipment to upgrade said condition of information according to this reading report.Recipient's reception after the equipment of said message receives the reading report of said message; The identifying information of the message that this reading report is corresponding and the local identifying information coupling that has received message; When finding corresponding message; Said 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, will combine accompanying drawing that the method flow of the embodiment of the invention is described in detail below to the embodiment of the invention.
Fig. 1 is the method flow sketch map of the embodiment of the invention, and is as shown in Figure 1, and 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 said 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 and gives application server; Can comprise different value in the header field of said reading report is used to identify application server and whether need sends said 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 confirming not reply reading report after the said message through 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 said message, and the notice miscellaneous equipment upgrades corresponding condition of information based on this reading report; Application server can also be judged this reading report type based on the header field value of this reading report, and confirms to have received the miscellaneous equipment of said message except that reading report being sent to the recipient based on 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 said recipient's read messages based on the reading report request answer of the said transmit leg that comprises in this message; Then transmit this reading report to said transmit leg, and to said 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 said recipient's read messages is because the recipient confirms not reply reading report based on 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 said recipient reads the reading report request of the equipment of this message based on the application server increase; And the reading report that is used for state synchronized of structure then sends the reading report of this message to the miscellaneous equipment that said recipient has received this message.
After recipient's miscellaneous equipment is received the reading report of the said message that application server is transmitted; The identifying information of the message that reading report is corresponding and the local identifying information coupling that has received message; When finding corresponding said message; Said 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; Can find out; 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 sketch map of application server, and is as shown in Figure 2, and 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: inspection Content-Disposition header field value, and according to header field value judgement reading report type; 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 into " notification_sender " perhaps " notification_sync " in embodiments of the present invention; 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 " perhaps " notification_sync "; Then this message is reading report, otherwise is not reading report; Wherein, The answer of the reading report that Content-Disposition header field value is asked message sender for the IMDN information representing recipient of " notification_sender ", Content-Disposition header field value be the reading report that the IMDN representative of " notification_sync " sent 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: inspection 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 in message, comprise the Disposition-Notification header field 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 the request reading report that has defined 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 through 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; Can find out; 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 through 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: said a plurality of receiving equipments receive the message that comprises the reading report request that application server sends; At least one receiving equipment in said a plurality of receiving equipment sends reading report to application server after reading said message; Miscellaneous equipment in said a plurality of receiving equipment receives the reading report of the said message of said application server transmission, and upgrades the said condition of information that has received according to said reading report.
Concrete, if comprise the reading report request of the transmit leg of said message in the said message, read after the said 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 said message in the said message, but the recipient reads when confirming not reply reading report after the said 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 said message for the reading report request that state synchronized increases, then read said 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 describe.
Fig. 3 is recipient's the method flow sketch map that can be used to have at least two equipment of the embodiment of the invention, and is as shown in Figure 3, and 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 said message; Concrete, after an equipment at least two equipment of recipient is read said message, send reading report to application server; For example:
If comprise the reading report request of the transmit leg of said message in the said message, read after the said 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 said message in the said message, but the recipient reads when confirming not reply reading report after the said 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 said message for the reading report request that state synchronized increases, then read said 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 said message; Receive the reading report of the said message that application server sends; According to the header field value of said reading report judge that application server sends be reading report after, the said condition of information that this reading report is corresponding is updated to be read; Concrete; The recipient receives that the miscellaneous equipment of said message receives the reading report of the said message of application server transmission; The identifying information of the message that reading report is corresponding and the local identifying information coupling that has received message; Find corresponding said message, said condition of information is updated to reads.
Foregoing has been described the method flow when receiver equipment is realized state synchronized; Can find out; 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 said message of recipient's equipment inspection,, carry out 403 if comprise; If do not comprise, carry out 406;
403: inspection Content-Disposition header field value, if the header field value comprises " notification_sender ", then carry out 404; If the header field value comprises " notification_sync ", then carry out 405;
404: if the header field value of the said message of receiving comprises " notification_sender "; Then this is to the reading report that has initiated a message; Receiver equipment is with the identifying information of said message and the identifying information of local transmitted message (for example Message-ID value) coupling; When finding corresponding said message, said condition of information is updated to reads, realization message " is read " state synchronized;
405: if the header field value of the said message of receiving comprises " notification_sync "; Then said 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 (the for example Message-ID value) coupling that has received message of said message; When finding corresponding said message, said condition of information is updated to reads, realization message " is read " state synchronized;
406: receiver equipment checks whether comprise the Disposition-Notification header field in the said message: if comprise, then carry out 407;
407:, then carry out 408 if the Disposition-Notification header field value of said message comprises " read "; If the Disposition-Notification header field value of said message comprises " self-report ", then carry out 411;
408: it is the message sender request that the Disposition-Notification header field value of said message comprises the reading report that " read " explain this message: if the recipient has read said message through an equipment among at least two equipment; And be willing to purpose transmit leg answer reading report, then carry out 409; If confirm not reply reading report, then carry out 410 to transmit leg;
409: if the recipient has read said message through equipment; And confirm 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 said message through equipment; But confirm 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 said message comprises " self-report "; Then the reading report request of said 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 said message through equipment; Reading report is constructed in this reading report request according to 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; Can find out; In the embodiment of the invention, after recipient's equipment is received message, judge whether this message is reading report earlier; If reading report then matees 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 through 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, and therefore, the 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 having sent out message are mated, and that just can find correspondence sends out message, 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 to 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 to 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 to 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 concrete 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; Comprised the Disposition-Notification header field of header field value in this message of for example sending 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); The Content-Disposition header field of this reading report of application server inspection; 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; Inspection Content-Disposition header field; Find that the header field value comprises " notification_sync "; Just will be somebody's turn to do the value of the Message-ID of the value of < message-id>element in the reading report and transmitted message will be mated, just can find corresponding message, and the condition of information of correspondence will be 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; Inspection Content-Disposition header field; Find that the header field value comprises " notification_sync "; Just know that this is to receiving the synchronous reading report of condition of information, so value of < message-id>element in the reading report and the value that receives the Message-ID of message are mated, just can finding corresponding message; The condition of information of correspondence is updated to reads, realize message status synchronously.
To combine Fig. 5 below, the application process of present embodiment will be elaborated.Among Fig. 5, user A equipment is message sender equipment, and user B is message receiver and 2 receiving equipments are arranged, and 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 in message, comprise the Disposition-Notification header field and the header field value comprises " read "; After this message arrives the application server for user B service; Disposition-Notification header field in this message of application server inspection; 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 through equipment 1; And be willing to that purpose user A replys the message reading report; Equipment 1 is just constructed reading report based on the reading report request of transmit leg; And in the Content-Disposition of this reading report header field, comprise value " notification_sender ", and sending to user A then, this reading report at first arrives the application server of user B;
(5) application server inspection 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; Inspection Content-Disposition header field; Find that the header field value comprises " notification_sender "; Just will be somebody's turn to do value of < message-id>element in the reading report and the value of having sent out the Message-ID of message will be mated, just can find the message of correspondence, 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 was received reading report, inspection Content-Disposition header field found that the header field value comprises " notification_sync "; Value of < message-id>element in the reading report and the value that receives the Message-ID of message are mated; Just can find corresponding message, the condition of information of correspondence is updated to read, realize that message " reads " state synchronization.
Can know by foregoing description; 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 through 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, confirm 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; Comprised the Disposition-Notification header field of value in the message of for example sending for " read "; Receiver equipment is received this message; The recipient but confirms not send the reading report of this message after reading this message through an equipment at least two equipment of receiving this message.For realize message status on recipient's miscellaneous equipment synchronously; The recipient reads the equipment of said 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); Its Content-Disposition header field of application server inspection; Find that the header field value comprises " notification_sync "; Just received the reading report of this this message of miscellaneous equipment transmission of message respectively to the recipient, given message sender but do not transmit this reading report.
After the miscellaneous equipment of message receiver is received reading report; Inspection Content-Disposition header field; Find that the header field value comprises " notification_sync ",, just can find corresponding message so value of < message-id>element in the reading report and the value that receives the Message-ID of message are mated; The condition of information of correspondence is updated to reads, realize that message " reads " state synchronization.
To combine Fig. 6 below, the application process of present embodiment will be elaborated.Among Fig. 6, user A equipment is message sender equipment, and user B is message receiver and 2 receiving equipments are arranged, and 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 for user B service; Disposition-Notification header field in the application server inspection 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 through equipment 1; Find that Disposition-Notification header field value comprises " read "; Be that user A has asked the message reading report; But user B confirms not reply the message reading report to user A, then 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 inspection 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 that reading report is given user B; After equipment 2 is received reading report; Inspection Content-Disposition header field; Find that the header field value comprises " notification_sync ",, just can find corresponding message so value of < message-id>element in the reading report and the value that receives the Message-ID of message are mated; And the condition of information of correspondence is updated to reads, realize that message " reads " state synchronization.
Can know by foregoing description; Confirm not reply under the situation of reading report the recipient; Receiver equipment can be after the recipient reads said message; Replying Content-Disposition header field value is the reading report of " notification_sync ", and application server sends to recipient's miscellaneous equipment with the reading report of this message, 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 of sending; Then for realize message on each equipment of recipient read states synchronously; Application server just can increase the reading report request, for example transmitting message to before each equipment of recipient in this message; 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); Its Content-Disposition header field of application server inspection; Find that the header field value comprises " notification_sync "; Just this reading report is not transmitted to message sender, and has received the reading report of this message of miscellaneous equipment transmission of corresponding message to the recipient respectively.
After the miscellaneous equipment of message receiver is received reading report; Inspection Content-Disposition header field; Find that the header field value comprises " notification_sync ", value of < message-id>element in the reading report and the value that receives the Message-ID of message are mated, just can find corresponding message; And the condition of information of correspondence is updated to reads, realize that message " reads " state synchronization.
To combine Fig. 7 below, the application process of present embodiment will be elaborated.Among Fig. 7, user A equipment is message sender equipment, and user B is message receiver and 2 receiving equipments are arranged, and 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; Disposition-Notification header field in this message of application server inspection; 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, increasing 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 through 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, then the 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) the Content-Disposition header field of this reading report of application server inspection 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; Inspection Content-Disposition header field; Find that the header field value comprises " notification_sync ",, just can find corresponding message so value of < message-id>element in the reading report and the value that receives the Message-ID of message are mated; And the condition of information of correspondence be updated to read, realize message status synchronously.
Can know by foregoing description; In the message that transmit leg sends, do not comprise under the situation of reading report request; Application server can send this 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; Receiver equipment is after the recipient reads the said 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 is as shown in Figure 8, and concrete 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 said transmit leg that said first receiving element 81 receives sends is reading report, or other message; And the reading report request that whether comprises transmit leg in the said message;
First processing unit 83 is used for the testing result according to said first detecting unit 82, in the message of the reading report request that does not comprise transmit leg, increases the reading report request that is used for state synchronized; And the message that will comprise said 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; Said 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; Said reading report is to read the reading report of the equipment of this message according to the said 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 said second receiving element 85 receives is reading report; And judge the type of said reading report according to the header field value of said reading report; And judged result passed to said second transmitting element; The type of said 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 said recipient's read messages according to the reading report request answer of the said 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 said recipient's read messages according to the said transmit leg that comprises in this message; Or the equipment of said recipient's read messages is according to the reading report request that is used for state synchronized that increases in the said message, and the reading report that is used for state synchronized of structure;
Second transmitting element 87; After said second receiving element 85 has received the reading report that said reading report request that recipient's equipment comprises according to said message sends; Miscellaneous equipment in said recipient's equipment outside the equipment of the said reading report of transmission sends and is used for synchronous reading report, notifies other equipment to upgrade said condition of information according to said 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 said reading report when said judging unit 86 is when replying the reading report of transmit leg, to send this reading report to said transmit leg.
The embodiment of the invention also provides a kind of receiver equipment of realizing state synchronized, and its structure is as shown in Figure 9, and concrete 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 said message that said application server sends;
Read processing unit 92, be used to read the said message that said receiving element receives; After reading said message, send reading report to said application server; Specifically comprise:
Judging unit 921 is used for judging that according to the header field value of said message the reading report request that said 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 said reading report whether the said reading report that said receiving element receives is the reading report of said message; Promptly this reading report be to transmitted message or to having received message; For example, judge according to the header field value of message whether the header field value of said message comprises header field value " notification_sync "; And judged result passed to lock unit 93;
Read unit 922 is used to read said message; And when in the said message of said judgment unit judges, comprising the reading report request of transmit leg,, send to be provided with and be used to represent that the reading report of replying the header field value of transmit leg gives said application server according to this reading report request; For example, settings " 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 said message, but the recipient is when confirming 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 said 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 said increase in the said 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 said application server; For example, make the Content-Disposition header field value in this reading report comprise " notification_sync ", send it to application server then;
Updating block 932 is used for said 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 is shown in figure 10, comprises application server and receiver equipment; Said receiver equipment comprises at least one recipient's first equipment, and at least one recipient's second equipment;
Recipient's first equipment 102 is used to receive the message that application server 101 sends, and after reading said message, sends reading report to said application server; 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 said reading report that receives the said message of said application server transmission, and the said reading report that sends according to application server upgrades said 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 through expanding current mechanism; Just can realize using less information flow-rate to realize that the message between each equipment of recipient " reads " state synchronized, avoid owing to use the data sync agreement to carry out a large amount of interacting messages in the synchronizing process, thereby alleviated the burden of whole system.
The above; Be merely the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, any technical staff who is familiar with the present technique field is 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 (12)
1. realize the synchronous method of read states for one kind, it is characterized in that, comprising:
After application server is received the message of transmit leg transmission, comprise the message of reading report request at least to each equipment transmission of two equipment of recipient;
Said application server is received the reading report that said recipient's equipment sends; This equipment is to receive the equipment of reading this message at least in two equipment of the message that comprises said reading report request, and said reading report is to read the reading report that the equipment of this message sends based on the said reading report request in this message;
Said application server sends miscellaneous equipment outside the equipment of said reading report and sends and be used for synchronous reading report in said recipient's equipment; Notify said miscellaneous equipment to upgrade said condition of information based on this reading report; This step comprises: the header field value of the reading report that sends based on the said equipment of receiving said recipient is judged this reading report type, and sends based on 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 said recipient's read messages according to the reading report request answer of the said transmit leg that comprises in this message; Then the said miscellaneous equipment transmission to said 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 said recipient's read messages based on the said transmit leg that comprises in this message; Or the equipment of said recipient's read messages is based on the reading report request that is used for state synchronized that increases in the said message, and the reading report that is used for state synchronized of structure; Then the said miscellaneous equipment transmission to said recipient is used for synchronous reading report.
2. method according to claim 1 is characterized in that, said 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; This reading report of said judgement be the equipment of said recipient's read messages reply according to the reading report request of the said transmit leg that comprises in this message reading report the time, also send this reading report to said transmit leg.
4. according to claim 1 or 2 or 3 described methods, it is characterized in that said method also comprises:
Said miscellaneous equipment receive said be used for synchronous reading report after, the identifying information of the message that this reading report is corresponding and the local identifying information coupling that has received message find corresponding message, the condition of information that this is corresponding is updated to be read.
5. method according to claim 1 is characterized in that, said method also comprises: judge that according to said header field value the said message of receiving is reading report after receiving message.
6. realize the synchronous application server of read states for one kind, it 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 at least two equipment of recipient;
Second receiving element is used to receive the reading report that recipient's equipment sends, and said 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; Said reading report is to read the reading report of the equipment of this message according to the said reading report request transmission in this message;
Second transmitting element; Behind the reading report that the equipment that has received the recipient at said second receiving element sends according to the said reading report request that said message comprises; In said recipient's equipment, send miscellaneous equipment outside the equipment of said reading report and send and be used for synchronous reading report, the notice miscellaneous equipment is used for synchronous reading report and upgrades said condition of information according to said;
Judging unit, the header field value of the message that is used for receiving according to said second receiving element judge that this message is reading report; And judge the type of said reading report according to the header field value of said reading report; And judged result passed to said second transmitting element; The type of said 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 said reading report of said judgment unit judges is when replying the reading report of transmit leg, to send this reading report to said transmit leg.
7. application server according to claim 6 is characterized in that, said application server also comprises:
First detecting unit is used for detecting the message that said transmit leg that said 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 said first detecting unit, in the message of the reading report request that does not comprise transmit leg, increases the reading report request that is used for state synchronized; And the message that will comprise said reading report request passes to said first transmitting element.
8. a message treatment method is applied to comprise in the recipient system of a plurality of receiving equipments, it is characterized in that, comprising:
Said a plurality of receiving equipment receives the message that comprises the reading report request that application server sends;
At least one receiving equipment in said a plurality of receiving equipment sends reading report to application server after reading said message;
Miscellaneous equipment outside the equipment of the said reading report of transmission in said a plurality of receiving equipment receives the reading report of the said message of said application server transmission, and upgrades the said condition of information that has received according to said reading report;
Send reading report to application server after the said message of said reading, specifically comprise:
If comprise the reading report request of the transmit leg of said message in the said message, read after the said 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 said message in the said message, but the recipient reads when confirming not reply reading report after the said 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 said message for the reading report request that state synchronized increases, then read said 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.
9. method according to claim 8 is characterized in that, the said said condition of information that has received according to said reading report renewal comprises:
The identifying information of the message that said reading report is corresponding and the local identifying information coupling that has received message find corresponding said message, said condition of information is updated to reads.
10. realize the synchronous receiver equipment of read states for one kind, it is characterized in that said 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 said message that said receiving element receives; After reading said message, send reading report to said application server;
Said receiving element also is used to receive the reading report of the said message that said application server sends;
Lock unit, the said reading report of the said message that is used for sending according to application server upgrades said condition of information;
Said reading processing unit comprises:
Judging unit is used for judging that according to the header field value of said message the reading report request that said 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 said message; And when in the said message of said judgment unit judges, comprising the reading report request of transmit leg,, send to be provided with and be used to represent that the reading report of replying the header field value of transmit leg gives said application server according to this reading report request; Perhaps, judge the reading report request that comprises transmit leg in the said message, but the recipient is when confirming 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 said application server; Perhaps, judge the reading report request that is used for state synchronized that comprises said increase in the said 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 said application server.
11. receiver equipment according to claim 10 is characterized in that, said lock unit comprises:
Recognition unit, the identifying information that is used for the message that said reading report is corresponding matees with the local identifying information that has received message, finds corresponding said message;
Updating block is used for said condition of information with correspondence and is updated to and reads.
12. realize the synchronous system of read states for one kind, it is characterized in that, comprising: application server and receiver equipment; Said 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 said receiver equipment;
Recipient's first equipment is used to receive the message that application server sends, and after reading said message, sends reading report to said application server;
Wherein, Said application server; The header field value of the reading report that sends according to the said equipment of receiving said recipient is judged this reading report type; And in said recipient's equipment, send miscellaneous equipment outside the equipment of said reading report according to judged result and send and be used for synchronous reading report, notify said miscellaneous equipment to upgrade said condition of information according to this reading report; Specifically be used for:
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 said recipient's read messages according to the reading report request answer of the said transmit leg that comprises in this message; Then the said miscellaneous equipment transmission to said 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 said recipient's read messages based on the said transmit leg that comprises in this message; Or the equipment of said recipient's read messages is based on the reading report request that is used for state synchronized that increases in the said message, and the reading report that is used for state synchronized of structure; Then the said miscellaneous equipment transmission to said recipient is used for synchronous reading report;
Recipient's second equipment is used to receive the message that application server sends, and the said reading report that receives the said message of said application server transmission, and upgrades the said condition of information that has received according to the said reading report that application server sends.
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 CN101686141A (en) | 2010-03-31 |
CN101686141B true 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) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102355635A (en) * | 2011-06-29 | 2012-02-15 | 莫雅静 | Communication method and communication apparatus |
CN103457827B (en) * | 2012-06-04 | 2016-12-14 | 联想(北京)有限公司 | A kind of method of information processing and a kind of electronic equipment |
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 |
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 |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1194755A (en) * | 1995-08-31 | 1998-09-30 | 摩托罗拉公司 | Multiple pager status synchronization system and method |
CN1245314A (en) * | 1998-07-15 | 2000-02-23 | 阿尔卡塔尔公司 | Global observing method for determining status unification of distributed computer network system |
-
2008
- 2008-09-28 CN CN2008102232718A patent/CN101686141B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1194755A (en) * | 1995-08-31 | 1998-09-30 | 摩托罗拉公司 | Multiple pager status synchronization system and method |
CN1245314A (en) * | 1998-07-15 | 2000-02-23 | 阿尔卡塔尔公司 | Global observing method for determining status unification of distributed computer network system |
Also Published As
Publication number | Publication date |
---|---|
CN101686141A (en) | 2010-03-31 |
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 | |
CN101136943B (en) | System and method for implementing extended Diameter protocol application | |
CN101919215B (en) | Communications router | |
EP3160172A1 (en) | Method and device for short messaging service intercommunication | |
CN102948120A (en) | Apparatus and method for configuring personal network using PN routing table | |
CN102130845A (en) | Method for transmitting return receipt report and processing system | |
CN101188618B (en) | Method, system, server and terminal for canceling push message | |
CN101771604A (en) | Routing detection method, system and intermediate routing device | |
CN116846959A (en) | Message receiving and transmitting method and device based on MQTT protocol | |
KR101946173B1 (en) | Communication device, communication system and communication method | |
CN103139041A (en) | Method for filtering information and method, device and system for processing forwarded information | |
CN102158926B (en) | Method and device for processing SDP (Session Description Protocol) request in media path optimizing process | |
CN104753761A (en) | Method, server and system for processing messages | |
CN103973648A (en) | Application data push method, device and system | |
KR101278282B1 (en) | Apparatus for transmitting and receiving device management messages in broadband wireless network, and method thereof | |
CN102857574B (en) | Information processing method and apparatus for Internet of Things | |
JP2016178494A (en) | Gateway device and communication method | |
CN100562147C (en) | A kind of message forwarding method | |
CN101166129A (en) | Method, terminal, device and system for obtaining application server identifier information | |
CN101548514A (en) | Method for exchanging messages in a mobile radio network | |
CN115766829A (en) | Communication processing method and communication node | |
JP2006173768A (en) | Telephone system, exchange system and terminal |
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 |