Message synchronization method, system, server and client end

A client and server technology, applied in the transmission system, digital transmission system, electrical components, etc., can solve the problems that affect the user's reading experience of messages, achieve the effect of improving message reading experience, avoiding unread reminders, and improving intelligence

Inactive Publication Date: 2014-09-03
TENCENT TECH (SHENZHEN) CO LTD
4 Cites 29 Cited by

AI-Extracted Technical Summary

Problems solved by technology

When multiple clients log in with the same communication account in the traditional way, the message status of each client is usually asynchronous, and there is often a p...
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Method used

[0048] In this step, the server sends the shared message provided with an unread mark to each client in the at least one client, so that any client in the at least one client A reading reminder can be output according to the shared message with the unread mark, so as to remind the user to read the shared message with the unread mark in time. This step can maintain the consistency of messages among the clients logged in with the first communication account, and realize the synchronization of messages among the logged-in clients under the same communication account.
[0062] In this step, the server sends the read shared message to each client in the at least one client, so that any client in the at least one client A client can output a reading reminder according to the shared message with the unread mark, so as to remind the user to read the shared message with the unread mark in time. This step can maintain the consistency of messages among the clients logged in with the first communication account, and realize the synchronization of messages among the logged-in clients under the same communication account.
[0143] The server of the sharing module 102 sends the shared message provided with an unread mark to each client in the...
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Abstract

A message synchronizing method, a message synchronizing system, a server and a client device are disclosed. In the method, a server acquires a shared message with an unread mark corresponding to a first communication account after at least one client device logs into the first communication account; the server sends the shared message with the unread mark to each of the at least one client device; if the server receives a read mark reported by any of the at least one client device after the shared message with the unread mark is read by the any of the at least one client device, the server performs synchronization, for the read mark, on each of the at the least one client device except the client device reporting the read mark. Message reading states among client devices for same communication account are synchronized.

Application Domain

Technology Topic

Image

  • Message synchronization method, system, server and client end
  • Message synchronization method, system, server and client end
  • Message synchronization method, system, server and client end

Examples

  • Experimental program(1)

Example Embodiment

[0040] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0041] In this embodiment of the present invention, the client may be any one of a PC, a mobile phone, a smart phone, a tablet computer, an electronic reader, a notebook computer, and the like.
[0042] The following will be combined with the figure 1 -Attached Figure 8 , the message synchronization method provided by the embodiment of the present invention is introduced in detail.
[0043] See figure 1 , is a flowchart of a message synchronization method provided by an embodiment of the present invention; this embodiment describes the flow of the message synchronization method from the server side; the method may include the following steps S101-S103.
[0044] S101: After the first communication account logs in at least one client, the server acquires the shared message with the unread mark corresponding to the first communication account.
[0045] Wherein, logging in the first communication account at the client may include logging in the instant messaging application of the first communication account at the client, and the first communication account is any instant messaging account in the instant messaging application; or, the first communication The login of the account at the client terminal may also include the login of the first communication account in the browser application of the client, then the first communication account is any communication account in the browser application; or, the first communication account is logged in at the client It may also include that the first communication account is logged in an SNS (Social Networking Services, social network service) application of the client, and the first communication account is any SNS communication account in the SNS application. A communication account can perform single sign-on in a client. For example, if communication account A can log in to the instant messaging application on the PC side, then user A corresponding to the communication account A can use the instant messaging application on the PC side to communicate with other users. comminicate. A communication account can also perform multi-point login in multiple clients. For example, if communication account A can log in to the instant messaging application on the PC side, and can log in to the instant messaging application on the mobile phone, then user A corresponding to the communication account A can log in. Use instant messaging applications on PCs and mobiles to communicate with other users.
[0046]In this embodiment of the present invention, the server manages all the shared messages under the same communication account. For example, when the first communication account performs multi-point login on the instant messaging application on the PC side and the instant messaging application on the mobile phone, the server uniformly manages the corresponding messages of the communication account. The user uses all the instant messaging messages of the instant messaging application on the PC terminal and the mobile phone terminal, including all the read instant messaging messages and all unread instant messaging messages corresponding to the communication account. In this step, after the first communication account logs in at least one client, the server obtains the shared message corresponding to the first communication account with the unread mark, that is, the server obtains the unread message corresponding to the first communication account.
[0047] S102, the server sends the shared message with the unread mark to each of the at least one client.
[0048] In this step, the server sends the shared message with the unread mark to each of the at least one client, so that any client of the at least one client can A reading reminder is output for the shared message with the unread mark, so as to remind the user to read the shared message with the unread mark in time. In this step, the message consistency among the clients logged in by the first communication account can be maintained, and the message synchronization among the logged-in clients under the same communication account can be realized.
[0049] S103, if receiving a read mark reported by any of the at least one client after reading the shared message with an unread mark, the server synchronizes the read mark to the at least one Each of the clients except the client that reported the read flag.
[0050] In this step, if the server receives the read mark reported by any of the at least one client after reading the shared message with the unread mark, it indicates that the shared message with the unread mark is set It has been read in the reported client, and the read status of the shared message with the unread mark has changed from the unread state to the read state. Further, in this step, the server synchronizes the received read mark to each client in the at least one client except the client that reports the read mark, and can notify the at least one client Except for the client that reported the read mark, the read status of the shared message with the unread mark has changed from the unread state to the read state, and there is no need to read reminders, which can avoid Repeat reminders on each client for the same unread message to improve user experience. This step can maintain the consistency of the reading states of the messages among the clients logged in by the first communication account, and realize the synchronization of the reading states of the messages among the logged-in clients under the same communication account.
[0051] In the embodiment of the present invention, after the first communication account logs in at least one client, the server acquires a shared message with an unread mark corresponding to the first communication account and sends it to each of the at least one client ; By sending the same unread message to each client through the server, the message synchronization between the clients logged in with the same communication account can be guaranteed. In addition, if receiving a read mark reported by any of the at least one client after reading the shared message with an unread mark, the server synchronizes the read mark to the at least one Each client in the client; the read mark can ensure the synchronization of the reading status of the messages between the clients, avoid the problem of repeated unread reminders for the same message on each client to a certain extent, and improve the client's The intelligence improves the user's message reading experience.
[0052] See figure 2 , is a flowchart of another message synchronization method provided by the embodiment of the present invention; this embodiment describes the flow of the message synchronization method from the server side; the method may include the following steps S201-S208.
[0053] S201: Before the first communication account logs in at least one client, if a shared message sent by the second communication account to the first communication account is detected, the server sets an unread mark for the shared message.
[0054] In this embodiment, logging in the first communication account at the client may include logging in the instant messaging application of the first communication account at the client, then the first communication account is any instant messaging account in the instant messaging application, and the The second communication account is any instant messaging account other than the first communication account in the instant messaging application; alternatively, logging in the first communication account at the client terminal may also include a browser application of the first communication account at the client terminal Log in, then the first communication account is any communication account in the browser application, and the second communication account is any communication account in the browser application except the first communication account; Alternatively, logging in the first communication account at the client may also include logging in the first communication account in the SNS application of the client, then the first communication account is any SNS communication account in the SNS application, and the second communication account It is any SNS communication account in the SNS application except the first communication account.
[0055] The unread mark carries a first ID (Identity, identification number), and a first ID can be used to uniquely identify a shared message. In this step, after the server sets an unread mark for the shared message sent by the second communication account, it indicates that the shared message is an unread message corresponding to the first communication account; Before the communication application logs in, if the server detects that the user B corresponding to the communication account B sends the shared message a1 to the communication account A through any terminal (such as a PC terminal, a mobile phone or a tablet computer), the server is a shared message a1 assigns the first ID (for example, represented by ID-a1), sets the unread mark A1 for the shared message a1, and carries the ID-a1 in the unread mark A1, and the shared message a1 is the one corresponding to the communication account A. Unread messages.
[0056] S202, the server stores the shared message with the unread mark in an unread message list corresponding to the first communication account.
[0057] In this embodiment of the present invention, the server may store unread messages corresponding to the communication account in the form of a list, and form a list of unread messages corresponding to the communication account. According to the example in the above step S201, suppose that after the above step S201, there are two unread messages in the communication account A, including: the shared message a1 with the unread mark A1 and the shared message a2 with the unread mark A2; then In this step, the server stores the two unread messages in the unread message list corresponding to the communication account A.
[0058] S203: After the first communication account logs in at least one client, the server queries, according to the first communication account, an unread message list corresponding to the first communication account.
[0059] S204, the server reads the shared message with the unread mark from the unread message list corresponding to the first communication account.
[0060] In steps S203-S204, after the first communication account is logged in at least one client, the server can query the unread message list corresponding to the first communication account according to the first communication account, and read the settings from the unread message list. There is a shared message with an unread mark; according to the example in the above steps S201-S202: after the communication account A logs in at least one client, steps S203-S204 can read the unread mark from the unread message list corresponding to the communication account A The shared message a1 of A1 and the shared message a2 with the unread mark A2 are two shared messages with the unread mark.
[0061] S205, the server sends the read shared message with an unread mark to each of the at least one client.
[0062] In this step, the server sends the read shared message with the unread mark to each of the at least one client, so that any one of the at least one client can be A reading reminder can be output according to the shared message with the unread mark, so as to remind the user to read the shared message with the unread mark in time. In this step, the message consistency among the clients logged in by the first communication account can be maintained, and the message synchronization among the logged-in clients under the same communication account can be realized.
[0063] It should be noted that, after each client in the at least one client receives the shared message with the unread mark sent by the server, it can perform message deduplication filtering locally to delete duplicate shared messages, such as : Suppose that after the communication account A logged in the PC end last time, the server sends the shared message a1 with the unread mark A1 to the PC end, and the PC end has not output the reading reminder information for the shared message a1 after the last login, and the communication User A corresponding to account A logs out from the PC; or after the last login, although the PC outputs a reading reminder for the shared message a1, the user A corresponding to the communication account A does not read the shared message a1, that is, from the PC. Log out; after the last communication account A logs out from the PC, the shared message a1 still belongs to an unread message of the communication account A, and exists in the unread message list corresponding to the communication account A. In this embodiment, after the communication account A logs in on the PC, the server reads the unread shared message a1 from the unread message list of the communication account A, and sends the shared message a1 to the PC. Since the shared message a1 is in the communication account A has already received the shared message a1 after logging in to the PC last time, so after receiving the shared message a1 this time, the PC needs to deduplicate and delete the shared message a1 received repeatedly this time; after that, the PC can remind according to its own message mechanism, output reading reminder information for the unread shared message a1 to remind user A to read the shared message a1 in time.
[0064] S206, if receiving a read mark reported by any of the at least one client after reading the shared message with an unread mark, the server synchronizes the read mark to the at least one Each of the clients except the client that reported the read flag.
[0065] For step S206 in this embodiment, please refer to figure 1 Step S103 in the illustrated embodiment will not be repeated here.
[0066] It should be noted that, in this embodiment, the read tag carries a second ID, and a second ID can be used to uniquely identify a shared message; The terminal sends a shared message a1 with an unread mark A1 and a shared message a2 with an unread mark A2, a total of two shared messages with an unread mark, wherein the unread mark A1 carries ID-a1 for unique identification Shared message a1; ID-a2 is carried in the unread mark A2 to uniquely identify the shared message a2. After the local message deduplication filtering on the PC side, the PC side outputs the reading reminder information for the shared message a1 and the shared message a2. If the user A on the PC side only reads the shared message a2, the PC side extracts ID-a2 as the second ID, and A read mark b1 is generated, and ID-a2 is carried in the read mark b1; the PC side reports the read mark b1 to the server, and in step S206, the server synchronizes the read mark b1 to other login clients, the server and other synchronized clients can know that the shared message a2 identified by the ID-a2 has been read according to the ID-a2 carried in the read flag b1.
[0067] S207, the server searches the unread message list corresponding to the first communication account for a shared message in which the first ID carried in the unread mark is the same as the second ID carried in the read mark.
[0068] S208, the server deletes the found shared message from the unread message list corresponding to the first communication account.
[0069]According to the above example, if the PC side reports the read mark b1 to the server, the read mark b1 carries ID-a2, because the server knows the ID-a2 carried in the read mark b1 reported by the PC side according to the ID-a2 identified by ID-a2. The shared message a2 has been read, in steps S207-S208, the server can find the unread mark A2 in the unread message list corresponding to the communication account A. Carry ID-a2, and further find the shared message a2, the server from the communication If the found shared message a2 is deleted from the unread message list corresponding to the account A, after the communication account A logs in to at least one client again, the server will no longer deliver the shared message a2 to the logged in client. Through steps S207-S208, the content included in the unread message list corresponding to the first communication account can be updated in time, so as to ensure the accuracy of the next message synchronization.
[0070] In the embodiment of the present invention, after the first communication account logs in at least one client, the server acquires a shared message with an unread mark corresponding to the first communication account and sends it to each of the at least one client ; By sending the same unread message to each client through the server, the message synchronization between the clients logged in with the same communication account can be guaranteed. In addition, if receiving a read mark reported by any of the at least one client after reading the shared message with an unread mark, the server synchronizes the read mark to the at least one Each client in the client; the read mark can ensure the synchronization of the reading status of the messages between the clients, avoid the problem of repeated unread reminders for the same message on each client to a certain extent, and improve the client's The intelligence improves the user's message reading experience.
[0071] See image 3 , is a flowchart of another message synchronization method provided by the embodiment of the present invention; this embodiment describes the flow of the message synchronization method from the server side; the method may include the following steps S301-S306.
[0072] S301: Before the first communication account logs in at least one client, if a shared message sent by the second communication account to the first communication account is detected, the server sets an unread mark for the shared message.
[0073] S302, the server stores the shared message with the unread mark in an unread message list corresponding to the first communication account.
[0074] S303: After the first communication account logs in at least one client, the server queries the unread message list corresponding to the first communication account according to the first communication account.
[0075] S304, the server reads the shared message with the unread mark from the unread message list corresponding to the first communication account.
[0076] S305, the server sends the read shared message with an unread mark to each of the at least one client.
[0077] S306, if receiving a read mark reported by any of the at least one client after reading the shared message with an unread mark, the server synchronizes the read mark to the at least one Each of the clients except the client that reported the read flag.
[0078] For steps S301-S306 of this embodiment, please refer to figure 2 Steps S201-S206 in the illustrated embodiment are not repeated here.
[0079] It should be noted that, in this embodiment, the unread mark carries a first ID and a first timestamp, a first ID is used to uniquely identify a shared message, and a first timestamp is used to indicate a shared message. Generation time; for example: ID-c1 and timestamp T-c1 are carried in the unread mark C1 of the shared message c1, where ID-c1 is used to uniquely identify the shared message c1, and the timestamp T-c1 represents the generation timestamp of the shared message c1 Another example: the unread mark C2 of the shared message c2 carries ID-c2 and a timestamp T-c2, where ID-a2 is used to uniquely identify the shared message c2, and the timestamp T-c2 represents the generation timestamp of the shared message c2. It can be understood that the values ​​of T-c1 and T-c2 can be equal, indicating that the shared message c1 and the shared message c2 are generated at the same time; the values ​​of T-c1 and T-c2 can also be unequal, indicating that the shared message c1 and the shared message c2 generation time is different.
[0080] The read mark carries a second time stamp, and a second time stamp can be used to identify the generation time of a shared message; for example: suppose that after the communication account A logs in on the PC, the server sends an unread mark to the PC. The shared message c1 of C1 and the shared message c2 with the unread mark C2 are two shared messages with the unread mark, wherein the unread mark C1 carries the ID-c1 and the time stamp T-c1, and the unread mark C2 contains Carry ID-c2 and timestamp T-c2, and the value of T-c1 is smaller than T-c2. After the local message deduplication filtering on the PC side, the PC side outputs the reading reminder information for the shared message c1 and the shared message c2. If the user C on the PC side reads the shared message c1 and the shared message c2, the PC side extracts T-c2 as the second message. timestamp, and generate a read mark d1, which carries T-c2 in the read mark d1; the PC side reports the read mark d1 to the server, and in step S306, the server synchronizes the read mark d1 to the report Clients other than the PC with the read mark d1, the server and other synchronized clients can learn that all unread shared messages with a timestamp less than or equal to T-c2 are based on the T-c2 carried in the read mark d1. Having been read, in this example, it can be known that the shared message c1 corresponding to the time stamp T-c1 and the shared message c2 corresponding to the time stamp T-c2 have both been read.
[0081] S307, the server searches the unread message list corresponding to the first communication account for a shared message whose first timestamp carried in the unread mark is less than or equal to the second timestamp carried in the read mark.
[0082] S308, the server deletes the found shared message from the unread message list corresponding to the first communication account.
[0083] According to the above example, if the PC reports the read mark d1 to the server, the read mark d1 carries the timestamp T-c2, because the server knows the time according to the time stamp T-c2 carried in the read mark d1 reported by the PC. All unread shared messages with stamps less than or equal to T-c2 have been read. In steps S307-S308, the server can find unread messages with T-c1 less than T-c2 in the unread message list corresponding to communication account C. Mark C1, and further find the shared message c1; and find the unread mark C2 of the carried T-c2, and further find the shared message c2. The server deletes the found shared message c1 and shared message c2 from the unread message list corresponding to the communication account C. After the communication account A logs in to at least one client again, the server will no longer send the shared message to the logged in client. c1 and c2. Through steps S307-S308, the content included in the unread message list corresponding to the first communication account can be updated in time, so as to ensure the accuracy of the next message synchronization.
[0084] In the embodiment of the present invention, after the first communication account logs in at least one client, the server acquires a shared message with an unread mark corresponding to the first communication account and sends it to each of the at least one client ; By sending the same unread message to each client through the server, the message synchronization between the clients logged in with the same communication account can be guaranteed. In addition, if receiving a read mark reported by any of the at least one client after reading the shared message with an unread mark, the server synchronizes the read mark to the at least one Each client in the client; the read mark can ensure the synchronization of the reading status of the messages between the clients, avoid the problem of repeated unread reminders for the same message on each client to a certain extent, and improve the client's The intelligence improves the user's message reading experience.
[0085] See Figure 4 , is a flowchart of another message synchronization method provided by the embodiment of the present invention; this embodiment describes the flow of the message synchronization method from the server side; the method may include the following steps S401-S406.
[0086] S401: After the first communication account logs in at least one client, if a shared message sent by the second communication account to the first communication account is detected, the server sets an unread mark for the shared message.
[0087] S402, the server stores the shared message with the unread mark in an unread message list corresponding to the first communication account.
[0088] S403, the server sends the shared message with the unread mark to each of the at least one client.
[0089] Steps S402 and S403 in this embodiment may not be sequenced in sequence, that is, step S403 may be performed first, and then step S402 may be performed; or steps S402 and S403 may be performed simultaneously.
[0090] S404, if receiving a read mark reported by any of the at least one client after reading the shared message with an unread mark, the server synchronizes the read mark to the at least one Each of the clients except the client that reported the read flag.
[0091] S405, the server searches the unread message list corresponding to the first communication account for a shared message in which the first ID carried in the unread mark is the same as the second ID carried in the read mark.
[0092] S406, the server deletes the found shared message from the unread message list corresponding to the first communication account.
[0093] For steps S404-S406 of this embodiment, please refer to figure 2 The steps S206-S208 shown are not repeated here.
[0094] Figure 4 The embodiment shown with figure 2 The embodiment shown differs in that: figure 2 In the illustrated embodiment, the server reads the unread message corresponding to the first communication account generated before the first communication account logs in at least one client, from the unread message list of the first communication account. The unread messages corresponding to the first communication account are synchronized to the at least one client logged in by the first communication account. Figure 4 In the illustrated embodiment, after the unread message corresponding to the first communication account generated by the first communication account after logging in at least one client, the server directly synchronizes to the unread message after setting the unread mark on the unread message. The at least one client logged in by the first communication account.
[0095] In the embodiment of the present invention, after the first communication account logs in at least one client, the server acquires a shared message with an unread mark corresponding to the first communication account and sends it to each of the at least one client ; By sending the same unread message to each client through the server, the message synchronization between the clients logged in with the same communication account can be guaranteed. In addition, if receiving a read mark reported by any of the at least one client after reading the shared message with an unread mark, the server synchronizes the read mark to the at least one Each client in the client; the read mark can ensure the synchronization of the reading status of the messages between the clients, avoid the problem of repeated unread reminders for the same message on each client to a certain extent, and improve the client's The intelligence improves the user's message reading experience.
[0096] See Figure 5 , is a flowchart of another message synchronization method provided by the embodiment of the present invention; this embodiment describes the flow of the message synchronization method from the server side; the method may include the following steps S501-S506.
[0097]S501: After the first communication account logs in at least one client, if a shared message sent by the second communication account to the first communication account is detected, the server sets an unread mark for the shared message.
[0098] S502, the server stores the shared message with the unread mark in an unread message list corresponding to the first communication account.
[0099] S503, the server sends the shared message with the unread mark to each of the at least one client.
[0100] Steps S502 and S503 in this embodiment may not be sequenced in sequence, that is, step S503 may be performed first, and then step S502 may be performed; or steps S502 and S503 may be performed simultaneously.
[0101] S504, if receiving a read mark reported by any of the at least one client after reading the shared message with an unread mark, the server synchronizes the read mark to the at least one Each of the clients except the client that reported the read flag.
[0102] S505, the server searches the unread message list corresponding to the first communication account for a shared message whose first timestamp carried in the unread mark is less than or equal to the second timestamp carried in the read mark.
[0103] S506, the server deletes the found shared message from the unread message list corresponding to the first communication account.
[0104] For steps S504-S506 of this embodiment, please refer to image 3 The steps S306-S308 shown are not repeated here.
[0105] Figure 5 The embodiment shown with image 3 The embodiment shown differs in that: image 3 In the illustrated embodiment, the server reads the unread message corresponding to the first communication account generated before the first communication account logs in at least one client, from the unread message list of the first communication account. The unread messages corresponding to the first communication account are synchronized to the at least one client logged in by the first communication account. Figure 5 In the illustrated embodiment, after the unread message corresponding to the first communication account generated by the first communication account after logging in at least one client, the server directly synchronizes to the unread message after setting the unread mark on the unread message. The at least one client logged in by the first communication account.
[0106] In the embodiment of the present invention, after the first communication account logs in at least one client, the server acquires a shared message with an unread mark corresponding to the first communication account and sends it to each of the at least one client ; By sending the same unread message to each client through the server, the message synchronization between the clients logged in with the same communication account can be guaranteed. In addition, if receiving a read mark reported by any of the at least one client after reading the shared message with an unread mark, the server synchronizes the read mark to the at least one Each client in the client; the read mark can ensure the synchronization of the reading status of the messages between the clients, avoid the problem of repeated unread reminders for the same message on each client to a certain extent, and improve the client's The intelligence improves the user's message reading experience.
[0107] See Image 6 , is a flowchart of another message synchronization method provided by the embodiment of the present invention; this embodiment describes the process of the message synchronization method from the client side, and the client terminal of this embodiment can be any client logged in by the communication account; The method may include the following steps S601-S604.
[0108] S601 , after the first communication account is logged in by the client, the client receives the shared message with the unread mark corresponding to the first communication account and sent by the server.
[0109] In this embodiment of the present invention, the server manages all the shared messages under the same communication account. For example, when the first communication account performs multi-point login on the instant messaging application on the PC side and the instant messaging application on the mobile phone, the server uniformly manages the corresponding messages of the communication account. The user uses all the instant messaging messages of the instant messaging application on the PC terminal and the mobile phone terminal, including all the read instant messaging messages and all unread instant messaging messages corresponding to the communication account. In this step, after the first communication account is logged in at the client, the client receives the shared message with the unread mark corresponding to the first communication account sent by the server, that is, receives the first communication sent by the server. Unread messages corresponding to the communication account. In this step, the message consistency among the clients logged in by the first communication account can be maintained, and the message synchronization among the logged-in clients under the same communication account can be realized.
[0110] S602, the client outputs reading reminder information according to the shared message with the unread mark.
[0111] The reading reminder information can be used to remind the user to read the shared messages marked as unread in time. For example, the reading reminder information can be "You have an unread message, please check it!" or "You have 3 unread messages." News, please check in time!" and so on. It can be understood that when the same communication account performs multi-point login on multiple clients, each client can read and remind according to its own reminder mechanism. 3-day reminder", the unread message reminder mechanism on the PC side is "login reminder", then after the communication account A logs in on the mobile phone and the PC, the mobile phone and the PC will read the unread messages according to their respective reminder mechanisms. .
[0112] S603, when detecting that the user performs a reading operation on the shared message with an unread mark according to the reading reminder information, the client generates a read mark.
[0113] S604, the client reports the read mark to the server, so that the server synchronizes the read mark to other clients logged in by the first communication account.
[0114] In steps S603-S604, when it is detected that the user performs a reading operation on the shared message with the unread mark according to the reading reminder information, the client generates a read mark, and the read mark indicates that the shared message has an unread mark. The shared message marked as unread has been read, and the read status of the shared message with the unread mark has changed from the unread state to the read state. Further, the client reports the read mark to the server, and the server can synchronize the received read mark to other clients that log in with the first communication account, and can notify the other clients that there is an unread mark. The reading status of the shared messages has been changed from unread to read, and there is no need to read reminders, which can avoid repeated reminders on each client for the same unread message and improve the user experience. Step S604 can maintain the consistency of the reading states of the messages among the clients logged in by the first communication account, and realize the synchronization of the reading states of the messages among the logged-in clients under the same communication account.
[0115] In the embodiment of the present invention, after the communication account is logged in at least one client, the client receives the shared message with the unread mark corresponding to the communication account issued by the server, so as to ensure that each client logged in with the communication account has a shared message with an unread mark. message synchronization between. In addition, the client outputs reading reminder information, and when detecting the user's reading operation, generates a read mark and reports it to the server, so that the server can synchronize the read mark to the account logged in by the communication account. Other clients, so as to ensure the synchronization of the reading status of the messages between each client, avoid the problem of repeated reminders of the same message on each client to a certain extent, improve the intelligence of the client, and improve the user's message reading experience.
[0116] See Figure 7 , is a flowchart of another message synchronization method provided by the embodiment of the present invention; this embodiment describes the process of the message synchronization method from the client side, and the client terminal of this embodiment can be any client logged in by the communication account; The method may include the following steps S701-S705.
[0117] S701, after the first communication account is logged in at the client, the client receives the shared message with the unread mark corresponding to the communication account and sent by the server.
[0118] It should be noted that after receiving the shared message with the unread mark sent by the server, the client can perform message deduplication filtering locally to delete duplicate shared messages. After the PC side logs in, the server sends the shared message a1 with the unread mark A1 to the PC side, and the PC side has not output reading reminder information for the shared message a1 after the last login, and the user A corresponding to the communication account A is The PC side logs out; or after the last login, although the PC side outputs reading reminder information for the shared message a1, but the user A corresponding to the communication account A does not read the shared message a1, that is, logs out from the PC side; then the last communication account After A logs out from the PC, the shared message a1 still belongs to an unread message of the communication account A, and exists in the unread message list corresponding to the communication account A. In this step, after the communication account A logs in on the PC, the server reads the unread shared message a1 from the unread message list of the communication account A, and sends the shared message a1 to the PC. Since the shared message a1 is in the communication account A It has been received after logging in to the PC last time, so after receiving the shared message a1 this time, the PC needs to deduplicate and delete the shared message a1 received repeatedly this time; after that, the PC can remind the mechanism according to its own message. , output reading reminder information for the unread shared message a1 to remind user A to read the shared message a1 in time.
[0119] S702, the client outputs reading reminder information according to the shared message with the unread mark.
[0120] For steps S701-S702 of this embodiment, please refer to Image 6 Steps S601-S602 in the illustrated embodiment are not repeated here.
[0121] S703, when it is detected that the user performs a reading operation on the shared message with the unread mark according to the reading reminder information, the client reads the first unread mark from the unread mark of the shared message operated by the reading operation. an ID.
[0122] S704, the client uses the read first ID as a second ID, and encapsulates the second ID to generate a read mark.
[0123] In this embodiment, steps S703-S704 may be Image 6 The specific refinement process of step S603 in the illustrated embodiment. In this embodiment, the unread mark carries a first ID, and a first ID can be used to uniquely identify a shared message. The read tag carries a second ID, and a second ID can be used to uniquely identify a shared message. Steps S703-S704 are described with a specific example, assuming that the PC side receives the shared message a1 of the unread mark A1 sent by the server and the shared message a2 with the unread mark A2, a total of two shared messages with the unread mark , wherein the unread mark A1 carries ID-a1 to uniquely identify the shared message a1; the unread mark A2 carries ID-a2 to uniquely identify the shared message a2. After the local message is deduplicated and filtered, the PC side outputs the reading reminder information for the shared message a1 and the shared message a2, and in steps S703-S704, if the user A of the PC side has only read the shared message a2 according to the reading reminder information, the PC side then extracts the ID -a2 as the second ID and generate a read tag b1 in which ID-a2 is carried.
[0124] S705, the client reports the read mark to the server, so that the server synchronizes the read mark to other clients logged in by the first communication account.
[0125] For this step, see Image 6Step S604 of the illustrated embodiment. According to the above example, the PC side reports the read mark b1 to the server, so that the server synchronizes the read mark b1 to other clients logged in with the communication account A, and the server and other synchronized clients can carry the read mark b1 according to the read mark b1. ID-a2, learns that the shared message a2 identified by ID-a2 has been read.
[0126] In the embodiment of the present invention, after the communication account is logged in at least one client, the client receives the shared message with the unread mark corresponding to the communication account issued by the server, so as to ensure that each client logged in with the communication account has a shared message with an unread mark. message synchronization between. In addition, the client outputs reading reminder information, and when detecting the user's reading operation, generates a read mark and reports it to the server, so that the server can synchronize the read mark to the account logged in by the communication account. Other clients, so as to ensure the synchronization of the reading status of the messages between each client, avoid the problem of repeated reminders of the same message on each client to a certain extent, improve the intelligence of the client, and improve the user's message reading experience.
[0127] See Figure 8 , is a flowchart of another message synchronization method provided by the embodiment of the present invention; this embodiment describes the process of the message synchronization method from the client side, and the client terminal of this embodiment can be any client logged in by the communication account; The method may include the following steps S801-S805.
[0128] S801, after the first communication account is logged in at the client, the client receives the shared message with the unread mark corresponding to the first communication account and sent by the server.
[0129] S802, the client outputs reading reminder information according to the shared message with the unread mark.
[0130] For steps S801-S802 of this embodiment, please refer to Figure 7 Steps S701-S702 in the illustrated embodiment are not repeated here.
[0131] S803, when detecting that the user performs a reading operation on the shared message with the unread mark according to the reading reminder information, the client reads from the unread marks of all the shared messages operated by the reading operation The maximum value of the first timestamp.
[0132] S804, the client determines the maximum value of the read first timestamp as a second timestamp, and encapsulates the second timestamp to generate a read mark.
[0133] In this embodiment, steps S803-S804 may be Image 6 The specific refinement process of step S803 in the illustrated embodiment. In this embodiment, the unread mark carries a first ID and a first time stamp, a first ID is used to uniquely identify a shared message, and a first time stamp is used to indicate the generation time of a shared message. The read mark carries a second time stamp, and a second time stamp may be used to identify the generation time of a shared message. Steps S803-S804 are described with a specific example. After the communication account A logs in at the PC end, it is assumed that the PC end receives the shared message c1 with the unread mark C1 and the shared message c2 with the unread mark C2 issued by the server. A shared message with an unread mark, wherein the unread mark C1 carries ID-c1 and T-c1, the unread mark C2 carries ID-c2 and T-c2, and the value of T-c1 is smaller than T-c2. After the local message is deduplicated and filtered, the PC side outputs reading reminder information for the shared message c1 and the shared message c2. In steps S803-S804, if the user C on the PC side reads the shared message c1 and the shared message c2, the PC side extracts the T- c2 is used as the second timestamp, and a read mark d1 is generated, and T-c2 is carried in the read mark d1.
[0134] S805, the client reports the read mark to the server, so that the server synchronizes the read mark to other clients logged in by the first communication account.
[0135] For this step, see Image 6 Step S604 of the illustrated embodiment. According to the above example, the PC side reports the read mark d1 to the server, so that the server synchronizes the read mark d1 to other clients logged in with the communication account A, and the server and other synchronized clients can record the read mark d1 according to the read mark d1. Carrying T-c2, it is known that all unread shared messages with timestamps less than or equal to T-c2 have been read. In this example, the shared message c1 and timestamp T-c2 corresponding to timestamp T-c1 can be known. The corresponding shared messages c2 have all been read.
[0136] In the embodiment of the present invention, after the communication account is logged in at least one client, the client receives the shared message with the unread mark corresponding to the communication account issued by the server, so as to ensure that each client logged in with the communication account has a shared message with an unread mark. message synchronization between. In addition, the client outputs reading reminder information, and when detecting the user's reading operation, generates a read mark and reports it to the server, so that the server can synchronize the read mark to the account logged in by the communication account. Other clients, so as to ensure the synchronization of the reading status of the messages between each client, avoid the problem of repeated reminders of the same message on each client to a certain extent, improve the intelligence of the client, and improve the user's message reading experience.
[0137] The following will be combined with the Figure 9 -Attached Figure 12 , the structure of the server provided by the embodiment of the present invention is introduced in detail. It should be noted that the following server can be applied to the above method.
[0138] See Figure 9 , is a schematic structural diagram of a server provided by an embodiment of the present invention; the server may include: an acquisition module 101 , a sharing module 102 , and a synchronization module 103 .
[0139] The obtaining module 101 is configured to obtain a shared message with an unread mark corresponding to the first communication account after the first communication account is logged in at at least one client.
[0140] Wherein, logging in the first communication account at the client may include logging in the instant messaging application of the first communication account at the client, and the first communication account is any instant messaging account in the instant messaging application; or, the first communication The login of the account at the client terminal may also include the login of the first communication account in the browser application of the client, then the first communication account is any communication account in the browser application; or, the first communication account is logged in at the client It may also include that the first communication account is logged in the SNS application of the client, and the first communication account is any SNS communication account in the SNS application. A communication account can perform single sign-on in a client. For example, if communication account A can log in to the instant messaging application on the PC side, then user A corresponding to the communication account A can use the instant messaging application on the PC side to communicate with other users. comminicate. A communication account can also perform multi-point login in multiple clients. For example, if communication account A can log in to the instant messaging application on the PC side, and can log in to the instant messaging application on the mobile phone, then user A corresponding to the communication account A can log in. Use instant messaging applications on PCs and mobiles to communicate with other users.
[0141] In this embodiment of the present invention, the server manages all the shared messages under the same communication account. For example, when the first communication account performs multi-point login on the instant messaging application on the PC side and the instant messaging application on the mobile phone, the server uniformly manages the corresponding messages of the communication account. The user uses all the instant messaging messages of the instant messaging application on the PC terminal and the mobile phone terminal, including all the read instant messaging messages and all unread instant messaging messages corresponding to the communication account. After the first communication account is logged in at least one client, the obtaining module 101 obtains the shared message corresponding to the first communication account with the unread mark, that is, obtains the unread message corresponding to the first communication account.
[0142] The sharing module 102 is configured to send the shared message with the unread mark to each of the at least one client.
[0143] The sharing module 102, the server sends the sharing message with the unread mark to each of the at least one client, so that any one of the at least one client can The shared message with the unread mark outputs a reading reminder to remind the user to read the shared message with the unread mark in time. The sharing module 102 can maintain the message consistency among the clients logged in by the first communication account, and realize the synchronization of messages among the logged-in clients under the same communication account.
[0144] The synchronization module 103 is configured to synchronize the read mark to the Each of the at least one client except the client reporting the read flag.
[0145] If the read mark reported by any of the at least one client after reading the shared message with the unread mark is received, it indicates that the shared message with the unread mark has been reported to the client The read status of the shared message with the unread mark has changed from the unread state to the read state. Further, the synchronization module 103 synchronizes the received read mark to each client in the at least one client except the client that reports the read mark, and can notify the at least one client The read status of the shared message with the unread mark has been changed from the unread status to the read status of each client except the client that reported the read mark, and there is no need for a reading reminder, so that it can be Avoid repeated reminders on each client for the same unread message to improve user experience. This step can maintain the consistency of the reading states of the messages among the clients logged in by the first communication account, and realize the synchronization of the reading states of the messages among the logged-in clients under the same communication account.
[0146] In the embodiment of the present invention, after the first communication account logs in at least one client, the server acquires a shared message with an unread mark corresponding to the first communication account and sends it to each of the at least one client ; By sending the same unread message to each client through the server, the message synchronization between the clients logged in with the same communication account can be guaranteed. In addition, if receiving a read mark reported by any of the at least one client after reading the shared message with an unread mark, the server synchronizes the read mark to the at least one Each client in the client; the read mark can ensure the synchronization of the reading status of the messages between the clients, avoid the problem of repeated unread reminders for the same message on each client to a certain extent, and improve the client's The intelligence improves the user's message reading experience.
[0147] See Figure 10 , is a schematic structural diagram of another server provided by an embodiment of the present invention; the server may include: an acquisition module 101, a sharing module 102, a synchronization module 103, a first tag setting module 104, a first storage module 105, a search module 106 and List update module 107 . The structures of the acquisition module 101, the sharing module 102 and the synchronization module 103 can be found in Figure 9 Relevant descriptions of the illustrated embodiments are not repeated here.
[0148] The first mark setting module 104 is configured to set an unread mark for the shared message if a shared message sent by the second communication account to the first communication account is detected before the first communication account logs in at least one client .
[0149]The login of the first communication account at the client terminal may include the login of the first communication account in the instant messaging application of the client, then the first communication account is any instant messaging account in the instant messaging application, and the second communication account is Any instant messaging account other than the first communication account in the instant messaging application; alternatively, logging in the first communication account at the client terminal may also include logging in the first communication account at the browser application of the client terminal, then the The first communication account is any communication account in the browser application, and the second communication account is any communication account in the browser application except the first communication account; or, the first communication account The login of the account at the client terminal may also include the login of the first communication account in the SNS application of the client, then the first communication account is any SNS communication account in the SNS application, and the second communication account is the SNS application. Any SNS communication account other than the first communication account in .
[0150] The unread mark carries a first ID (Identity, identification number), and a first ID can be used to uniquely identify a shared message. After the first mark setting module 104 sets an unread mark for the shared message sent by the second communication account, it indicates that the shared message is an unread message corresponding to the first communication account; Before the instant messaging application of the client is logged in, if the first tag setting module 104 detects that the user B corresponding to the communication account B sends the shared information to the communication account A through any terminal (for example, a terminal such as a PC terminal, a mobile phone or a tablet computer) message a1, the first mark setting module 104 allocates a first ID (eg, represented by ID-a1) for the shared message a1, sets an unread mark A1 for the shared message a1, and carries the unread mark A1 in the unread mark A1 ID-a1, the shared message a1 is an unread message corresponding to the communication account A.
[0151] The first storage module 105 is configured to store the shared message with the unread mark set by the first mark setting module in the unread message list corresponding to the first communication account.
[0152] In this embodiment of the present invention, the first storage module 105 may store unread messages corresponding to the communication account in the form of a list, so as to form a list of unread messages corresponding to the communication account. According to the above example, it is assumed that there are two unread messages in the communication account A, including: a shared message a1 with an unread mark A1 and a shared message a2 with an unread mark A2; then the first storage module 105 will The two unread messages are stored in the unread message list corresponding to the communication account A.
[0153] The search module 106 is configured to, after receiving the read mark reported by any client in the at least one client after reading the shared message with the unread mark, retrieve the unread mark corresponding to the first communication account from the unread mark. Find the shared message in the read message list with the same first ID carried in the unread mark and the second ID carried in the read mark, or search for unread messages from the unread message list corresponding to the first communication account A shared message in which the first timestamp carried in the tag is less than or equal to the second timestamp carried in the read tag.
[0154] The list updating module 107 is configured to delete the found shared message from the unread message list corresponding to the first communication account.
[0155] The list updating module 108 can enable the content included in the unread message list corresponding to the first communication account to be updated in time, so as to ensure the accuracy of the next message synchronization.
[0156] In the embodiment of the present invention, after the first communication account logs in at least one client, the server acquires a shared message with an unread mark corresponding to the first communication account and sends it to each of the at least one client ; By sending the same unread message to each client through the server, the message synchronization between the clients logged in with the same communication account can be guaranteed. In addition, if receiving a read mark reported by any of the at least one client after reading the shared message with an unread mark, the server synchronizes the read mark to the at least one Each client in the client; the read mark can ensure the synchronization of the reading status of the messages between the clients, avoid the problem of repeated unread reminders for the same message on each client to a certain extent, and improve the client's The intelligence improves the user's message reading experience.
[0157] See Figure 11 , is a schematic structural diagram of another server provided by an embodiment of the present invention; the server may include: an acquisition module 101, a sharing module 102, a synchronization module 103, a second mark setting module 108, a second storage module 109, a sending module 110, Lookup module 106 and list update module 107. The structures of the acquisition module 101 , the sharing module 102 , the synchronization module 103 , the search module 106 and the list update module 107 can be found in Figure 10 Relevant descriptions of the illustrated embodiments are not repeated here.
[0158] The second mark setting module 108 is configured to set an unread mark for the shared message if a shared message sent by the second communication account to the first communication account is detected after the first communication account is logged in at least one client. .
[0159] The second storage module 109 is configured to store the shared message with the unread mark set by the second mark setting module in the unread message list corresponding to the first communication account.
[0160] The sending module 110 is configured to send the shared message with the unread mark set by the second mark setting module to each of the at least one client.
[0161] It should be noted that after each client in the at least one client receives the shared message sent by the server, it can perform message deduplication filtering locally, and can perform message deduplication filtering according to its own message reminder mechanism. The following shared messages with an unread mark output reading reminder information.
[0162] In the embodiment of the present invention, after the first communication account logs in at least one client, the server acquires a shared message with an unread mark corresponding to the first communication account and sends it to each of the at least one client ; By sending the same unread message to each client through the server, the message synchronization between the clients logged in with the same communication account can be guaranteed. In addition, if receiving a read mark reported by any of the at least one client after reading the shared message with an unread mark, the server synchronizes the read mark to the at least one Each client in the client; the read mark can ensure the synchronization of the reading status of the messages between the clients, avoid the problem of repeated unread reminders for the same message on each client to a certain extent, and improve the client's The intelligence improves the user's message reading experience.
[0163] See Figure 12 , is a schematic structural diagram of a reading module of a server provided by an embodiment of the present invention; the obtaining module 101 may include: a query unit 1101 and a reading unit 1102 .
[0164] The query unit 1101 is configured to query the unread message list corresponding to the first communication account according to the communication account after the first communication account is logged in at least one client.
[0165] The reading unit 1102 is configured to read the shared message with the unread mark from the unread message list corresponding to the first communication account.
[0166] Since the server can store all unread messages corresponding to the first communication account in the form of an unread message list, when the first communication account is logged in at least one client, the query unit 1101 can , query the unread message list corresponding to the first communication account, and the reading unit 1102 reads the shared message with the unread mark from the unread message list.
[0167] It should be noted, Figure 9-Figure 12 The structure and function of the server in the illustrated embodiment can be found in Figure 1-Figure 5 The method in the illustrated embodiment is specifically implemented. For the specific implementation process, reference may be made to the relevant description of the foregoing method embodiment, which is not repeated here.
[0168] In the embodiment of the present invention, after the first communication account logs in at least one client, the server acquires a shared message with an unread mark corresponding to the first communication account and sends it to each of the at least one client ; By sending the same unread message to each client through the server, the message synchronization between the clients logged in with the same communication account can be guaranteed. In addition, if receiving a read mark reported by any of the at least one client after reading the shared message with an unread mark, the server synchronizes the read mark to the at least one Each client in the client; the read mark can ensure the synchronization of the reading status of the messages between the clients, avoid the problem of repeated unread reminders for the same message on each client to a certain extent, and improve the client's The intelligence improves the user's message reading experience.
[0169] The following will be combined with the Figure 13 -Attached Figure 15 , the structure of the client provided by the embodiment of the present invention is introduced in detail. It should be noted that the following client can be any client logged in by the communication account, and the following client can be applied to the above method.
[0170] See Figure 13 , is a schematic structural diagram of a client provided by an embodiment of the present invention; the client may include: a message receiving module 201 , a reminder module 202 , a marking module 203 , and a synchronization module 204 .
[0171] The message receiving module 201 is configured to receive a shared message with an unread mark corresponding to the first communication account and sent by the server after the first communication account is logged in the client.
[0172] In this embodiment of the present invention, the server manages all the shared messages under the same communication account. For example, when the first communication account performs multi-point login on the instant messaging application on the PC side and the instant messaging application on the mobile phone, the server uniformly manages the corresponding messages of the communication account. The user uses all the instant messaging messages of the instant messaging application on the PC terminal and the mobile phone terminal, including all the read instant messaging messages and all unread instant messaging messages corresponding to the communication account. After the first communication account is logged in at the client, the message receiving module 201 in the client receives the shared message with the unread mark corresponding to the first communication account sent by the server, that is, receives all the messages sent by the server. the unread message corresponding to the first communication account. The message receiving module 201 can maintain the message consistency among the clients logged in by the first communication account, and realize the synchronization of messages among the logged-in clients under the same communication account.
[0173] The reminder module 202 is configured to output reading reminder information according to the shared message with the unread mark.
[0174] The reading reminder information can be used to remind the user to read the shared messages marked as unread in time. For example, the reading reminder information can be "You have an unread message, please check it!" or "You have 3 unread messages." News, please check in time!" and so on. It can be understood that when the same communication account performs multi-point login on multiple clients, each client can read and remind according to its own reminder mechanism. 3-day reminder", the unread message reminder mechanism on the PC side is "login reminder", then after the communication account A logs in on the mobile phone and the PC, the mobile phone and the PC will read the unread messages according to their respective reminder mechanisms. .
[0175] The marking module 203 is configured to generate a read mark when it is detected that the user performs a reading operation on the shared message with the unread mark according to the reading reminder information.
[0176]When detecting that the user performs a reading operation on the shared message with the unread mark according to the reading reminder information, the mark module 203 generates a read mark, and the read mark indicates the shared message with the unread mark. The message has been read, and the read status of the shared message with the unread flag has changed from unread to read.
[0177] The synchronization module 204 is configured to report the read mark to the server, so that the server synchronizes the read mark to other clients logged in by the first communication account.
[0178] The synchronization module 204 reports the read mark to the server, and the server can synchronize the received read mark to other clients logged in with the first communication account, and can notify the other clients that the unread mark is set. The reading status of the shared messages has been changed from unread to read, and there is no need to read reminders, which can avoid repeated reminders on each client for the same unread message and improve the user experience. The synchronization module 204 can maintain the consistency of the reading states of messages among the clients logged in by the first communication account, and realize the synchronization of the reading states of messages among the logged-in clients under the same communication account.
[0179] In the embodiment of the present invention, after the first communication account is logged in at least one client, the client receives the shared message with the unread mark corresponding to the first communication account issued by the server, so as to ensure that the first communication account is connected with the first communication account. Message synchronization between logged in clients. In addition, the client outputs reading reminder information, and when detecting the user's reading operation, generates a read mark and reports it to the server, so that the server synchronizes the read mark to the first communication account. Log in to other clients, so as to ensure the synchronization of the reading status of messages between clients, avoid the problem of repeated reminders of the same message on each client to a certain extent, improve the intelligence of the client, and improve the user's message reading. experience.
[0180] See Figure 14 , is a schematic structural diagram of an embodiment of a tagging module of a client provided by an embodiment of the present invention; the tagging module 203 may include: an ID reading unit 2301 and a first tag generating unit 2302 .
[0181] The ID reading unit 2301 is configured to read from the unread mark of the shared message operated by the reading operation when it is detected that the user performs a reading operation on the shared message with the unread mark according to the reading reminder information Take the first ID.
[0182] The first mark generating unit 2302 is configured to use the read first ID as a second ID, and encapsulate the second ID to generate a read mark.
[0183] In this embodiment, the unread mark carries a first ID, and a first ID can be used to uniquely identify a shared message. The read tag carries a second ID, and a second ID can be used to uniquely identify a shared message. To illustrate with a specific example, it is assumed that the PC side receives a total of two shared messages with an unread mark, a shared message a1 with an unread mark A1 sent by the server, and a shared message a2 with an unread mark A2. The read tag A1 carries ID-a1 to uniquely identify the shared message a1; the unread tag A2 carries ID-a2 to uniquely identify the shared message a2. After the local message deduplication filtering, the PC side outputs the reading reminder information for the shared message a1 and the shared message a2. If the user A of the PC side has only read the shared message a2 according to the reading reminder information, the ID reading unit 2301 of the PC side extracts. ID-a2. The first tag generating unit 2302 on the PC side takes ID-a2 as the second ID, and generates a read tag b1 that carries ID-a2 in the read tag b1.
[0184] In the embodiment of the present invention, after the first communication account is logged in at least one client, the client receives the shared message with the unread mark corresponding to the first communication account issued by the server, so as to ensure that the first communication account is connected with the first communication account. Message synchronization between logged in clients. In addition, the client outputs reading reminder information, and when detecting the user's reading operation, generates a read mark and reports it to the server, so that the server synchronizes the read mark to the first communication account. Log in to other clients, so as to ensure the synchronization of the reading status of messages between clients, avoid the problem of repeated reminders of the same message on each client to a certain extent, improve the intelligence of the client, and improve the user's message reading. experience.
[0185] See Figure 15 , is a schematic structural diagram of another embodiment of the marking module of the client provided by the embodiment of the present invention; the marking module 203 may include: a time reading unit 2311 and a second marking generating unit 2312 .
[0186] The time reading unit 2311 is configured to, when it is detected that the user performs a reading operation on the shared message with the unread mark according to the reading reminder information, from the unread marks of all the shared messages operated by the reading operation Read the maximum value of the first timestamp.
[0187] The second mark generating unit 2312 is configured to determine the maximum value of the read first time stamp as a second time stamp, and encapsulate the second time stamp to generate a read mark.
[0188] In this embodiment, the unread mark carries a first ID and a first time stamp, a first ID is used to uniquely identify a shared message, and a first time stamp is used to indicate the generation time of a shared message. The read mark carries a second time stamp, and a second time stamp may be used to identify the generation time of a shared message. Taking a specific example to illustrate, after the communication account A logs in on the PC, it is assumed that the PC receives the shared message c1 with the unread mark C1 and the shared message c2 with the unread mark C2 sent by the server. The shared message of the read tag, wherein the unread tag C1 carries ID-c1 and T-c1, the unread tag C2 carries ID-c2 and T-c2, and the value of T-c1 is less than T-c2. After the local message deduplication filtering, the PC side outputs reading reminder information for the shared message c1 and the shared message c2, if the user C of the PC side has read the shared message c1 and the shared message c2, the time extraction unit 2311 of the PC side extracts T- c2. The second tag generating unit 2312 on the PC side uses T-c2 as the second time stamp, and generates a read tag d1 that carries T-c2 in the read tag d1.
[0189] It should be noted, Figure 13-Figure 15 The structure and functionality of the client shown can be obtained from the above Figure 6-Figure 8 The method in the illustrated embodiment is specifically implemented. For the specific implementation process, reference may be made to the relevant description of the foregoing method embodiment, which is not repeated here.
[0190] In the embodiment of the present invention, after the first communication account is logged in at least one client, the client receives the shared message with the unread mark corresponding to the first communication account issued by the server, so as to ensure that the first communication account is connected with the first communication account. Message synchronization between logged in clients. In addition, the client outputs reading reminder information, and when detecting the user's reading operation, generates a read mark and reports it to the server, so that the server synchronizes the read mark to the first communication account. Log in to other clients, so as to ensure the synchronization of the reading status of messages between clients, avoid the problem of repeated reminders of the same message on each client to a certain extent, improve the intelligence of the client, and improve the user's message reading. experience.
[0191] The embodiment of the present invention discloses a message synchronization system, the system may include Figure 9-Figure 12 the server of the illustrated embodiment, and at least one Figure 13-Figure 15 client of the illustrated embodiment. For the structures of the server and the client, reference may be made to the relevant descriptions of the foregoing embodiments, and details are not described herein.
[0192] In the embodiment of the present invention, after the first communication account logs in at least one client, the server acquires a shared message with an unread mark corresponding to the first communication account and sends it to each of the at least one client ; By sending the same unread message to each client through the server, the message synchronization between the clients logged in with the same communication account can be guaranteed. In addition, if receiving a read mark reported by any of the at least one client after reading the shared message with an unread mark, the server synchronizes the read mark to the at least one Each client in the client; the read mark can ensure the synchronization of the reading status of the messages between the clients, avoid the problem of repeated unread reminders for the same message on each client to a certain extent, and improve the client's The intelligence improves the user's message reading experience.
[0193] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. During execution, the processes of the embodiments of the above-mentioned methods may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM) or the like.
[0194] The above disclosures are only preferred embodiments of the present invention, and of course, the scope of the rights of the present invention cannot be limited by this. Therefore, equivalent changes made according to the claims of the present invention are still within the scope of the present invention.
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

no PUM

Description & Claims & Application Information

We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Similar technology patents

Method for guiding to photograph and mobile terminal

ActiveCN103401994AResolve problems presented by the inability to articulate compositional ideas to othersImprove intelligenceTelevision system detailsDigital data processing detailsComputer engineeringMultimedia
Owner:GUANGDONG OPPO MOBILE TELECOMM CORP LTD

Classification and recommendation of technical efficacy words

Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products