Nothing Special   »   [go: up one dir, main page]

CN103139259A - Method and server of achieving low-flux synchronous message logging - Google Patents

Method and server of achieving low-flux synchronous message logging Download PDF

Info

Publication number
CN103139259A
CN103139259A CN2011103909879A CN201110390987A CN103139259A CN 103139259 A CN103139259 A CN 103139259A CN 2011103909879 A CN2011103909879 A CN 2011103909879A CN 201110390987 A CN201110390987 A CN 201110390987A CN 103139259 A CN103139259 A CN 103139259A
Authority
CN
China
Prior art keywords
message record
identifiers
current terminal
terminal
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2011103909879A
Other languages
Chinese (zh)
Inventor
付遥
冯学青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN2011103909879A priority Critical patent/CN103139259A/en
Publication of CN103139259A publication Critical patent/CN103139259A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method of achieving low-flux synchronous message logging. The method comprises storing the message logging of a first user which is communicated with one second user or more second users through different terminals, receiving data synchronization requests sent by the first user through the current terminal, and sending the message logging which meets the data synchronization requests and is not located on the current terminal to the current terminal. Accordingly, the invention further provides a server of achieving the low-flux synchronous message logging. In the process of the message logging synchronization of the terminal and the server, the method and the server of achieving the low-flux synchronous message logging can effectively reduce data transmission flux, improve data transmission efficiency and improve user experience.

Description

A kind of method and server of realizing low discharge synchronization message record
Technical field
The present invention relates to development of Mobile Internet technology, relate in particular to a kind of method and server of realizing low discharge synchronization message record.
Background technology
The interchange that appears as the user of instant messaging brings great convenience, and the user is linked up with other people whenever and wherever possible by the Internet.And along with the development of mobile Internet communication, the user can also carry out instant messaging by the mobile phone accessing Internet at present, thereby makes communication become more convenient.The Message Record of user in communication process often is stored in the terminal the inside that the user uses, and when the user need to obtain some information in previous communication, only needs inquire about from the Message Record that is kept at lane terminal getting final product.
But, in actual applications, the user uses same terminal and other people family to communicate always, but use different terminals to communicate in different places, for example, in the time of working, the user can contact with other people by the computer of company, and the user tends to use mobile phone on the way home, and the middle user that goes back home is at the enterprising line operate of PC.In this case, user's Message Record will be kept at respectively in a plurality of different terminals.When the user wishes to search some information from Message Record, if those information are not present on the presently used terminal of user, the user need to arrive on the terminal that has those information and search, and thus, has brought certain inconvenience to the user.
In the prior art, usually use synchronous method to address the above problem, that is, when using terminal and other people to chat, the user backs up in the Message Record on this terminal can being uploaded onto the server.After the user changes terminal, can Message Record be downloaded to from the server current terminal and merge with Message Record in current terminal.This method makes the user no matter on which terminal, can see all Message Records, need not the user and changes terminal and search.But there is certain weak point in this method: when the user downloaded Message Record from server, server can send to the user with the entire message record of its preservation.If there has been the part Message Record on current terminal, server sends the transmission that repeats that the entire message record will cause Message Record so, thereby causes the low of efficiency of transmission.In addition, when Message Record is more, download the time that needs cost long, particularly when the limited mobile terminal of user's serviceability, not only speed is slow to download a large amount of Message Records, but also can produce extra-pay because of large flow, thereby it is bad to cause the user to experience.
Based on the problems referred to above, be desirable to provide a kind of method and the server that can realize low discharge synchronization message record.
Summary of the invention
The purpose of this invention is to provide a kind of method and server of realizing low discharge synchronization message record that can address the above problem.
According to an aspect of the present invention, provide a kind of method that realizes low discharge synchronization message record, the method comprises the following steps:
Preserve first user by the Message Record of different terminals and the second telex network;
Receive the data synchronization request that described first user sends by current terminal;
The Message Record that satisfies described data synchronization request and be not present on described current terminal is sent to described current terminal.
According to another aspect of the present invention, also provide a kind of server of realizing low discharge synchronization message record, this server comprises:
Data recording equipment is used for preserving first user by the Message Record of different terminals and the second telex network;
The request receiving device is used for receiving the data synchronization request that described first user sends by current terminal;
Data sending device is used for satisfying described data synchronization request but the Message Record that is not present on described current terminal is sent to described current terminal.
Compared with prior art, the present invention has the following advantages: the user use current terminal and server carry out Message Record synchronous in, server need not previous all Message Records are sent on current terminal, but only the Message Record that lacks on current terminal is sent to current terminal.Thus, can prevent the transmission that repeats of Message Record, thereby effectively reduce data transfer throughput and improve data transmission efficiency, especially for such as the equal limited terminal of the transmittability such as mobile phone and memory capacity, will greatly promote user's experience.
Description of drawings
By reading the detailed description that non-limiting example is done of doing with reference to the following drawings, it is more obvious that other features, objects and advantages of the present invention will become:
Fig. 1 is the method flow diagram of realizing low discharge synchronization message record according to one aspect of the invention;
Fig. 2 is the method sequential chart of realizing low discharge synchronization message record in accordance with a preferred embodiment of the present invention;
Fig. 3 is the method sequential chart of realizing low discharge synchronization message record according to another preferred embodiment of the present invention;
Fig. 4 is the server schematic diagram of realizing low discharge synchronization message record according to a further aspect of the present invention;
Fig. 5 is the server schematic diagram of realizing low discharge synchronization message record in accordance with a preferred embodiment of the present invention; And
Fig. 6 is the server schematic diagram of realizing low discharge synchronization message record according to another preferred embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in further detail.
Fig. 1 is the method flow diagram of realizing low discharge synchronization message record according to one aspect of the invention, and as shown in the figure, the method comprises the steps:
In step S101, preserve first user by the Message Record of different terminals and the second telex network.
Particularly, when first user communicated by terminal and the second user, server can be preserved first user and the second user's Message Record.Wherein, described terminal can be the electronic equipment that computer, mobile phone or other can communicate by network.In the different time or in different places, first user can use same terminal communication always, also can use a plurality of different terminals to communicate, for example, in the time of working, the user can contact with other people by the computer of company, the user tends to use mobile phone on the way home, and the middle user that goes back home is at the enterprising line operate of PC.Described the second user is that described the second user can be a user, can be also a plurality of different users to the user's who communicates with first user general designation.Described server can be individual server, distributed server or based on the set of computers of cloud computing.After sign off, the Message Record of first user can be kept on the terminal of corresponding this Message Record of generation, simultaneously also can be kept on server, therefore, server will have first user by all Message Records of different terminals, and will have respectively the part Message Record on the different terminals that first user uses.
In step S102, receive the data synchronization request that described first user sends by current terminal.
Particularly, only there is the part Message Record on each terminal of using due to first user, so, when first user wishes to obtain previous Message Record, find that this Message Record is not present on current terminal or only has part to be present in current terminal, needs to send data synchronization request to obtain corresponding Message Record by current terminal.After server is received the data synchronization request that first user sends, with the screening conditions of described data synchronization request as Message Record.
In step S103, the Message Record that satisfies described data synchronization request and be not present on described current terminal is sent to described current terminal.
Particularly, server screens the Message Record that is kept in server, to obtain the Message Record that satisfies this data synchronization request according to the data synchronization request that first user sends.Because the Message Record that screens from server sometimes can coincide with the Message Record that is kept in current terminal, in order to reduce delivery flow rate and to improve efficiency of transmission, only need non-coincidence Message Record is sent to current terminal, therefore, need further to filter out in the Message Record that satisfies this data synchronization request with current terminal in the Message Record that do not overlap of Message Record, then the Message Record that these is not overlapped is sent to current terminal, offers first user.
In order better said method to be described, the below will be described the method that realizes low discharge synchronization message record proposed by the invention by sequential chart.Please refer to Fig. 2 and Fig. 3, wherein, Fig. 2 and Fig. 3 are respectively the method sequential chart of realizing low discharge synchronization message record of two preferred embodiments according to the present invention.
Embodiment one:
Please refer to Fig. 2, as shown in the figure, in step S201, server is preserved the Message Record between described first user and described the second user, and is described Message Record distribution marker.
Particularly, when first user uses in the process that Leading End and the second user communicate, server is when carrying out transfer to Content of Communication, also can preserve Message Record, and be each Message Record distribution marker, wherein, Leading End is in the general designation of using the terminal of using before current terminal to first user.Leading End can only comprise a terminal, also can comprise a plurality of different terminals; Leading End can comprise current terminal, also can not comprise current terminal.The form of identifier does not have concrete restriction, as long as can be used to specify the label of Message Record.Described identifier can be the data number that represents the Message Record order of occurrence, for example, the identifier of article one Message Record of first user is " 1 ", and the identifier of the 1000th Message Record is " 1000 ", and the symbol of the 10000th Message Record is " 10000 ", the like.Described identifier can also be directly with the identifier of timestamp as Message Record, for example, the a piece of news record betides 14: 30: 20 on the 16th October in 2011, the timestamp of this Message Record is 20111016143020, and server-assignment is " 20111016143020 " to the identifier of this Message Record so.
Described identifier can also be the information that produces the terminal of Message Record, for example, first user uses computer and the second user to communicate, server can be with the IP address of this computer identifier as this Message Record so, perhaps, first user uses mobile phone and the second user to communicate, and server can be with the number of this mobile phone identifier as this Message Record so.It will be appreciated by those skilled in the art that the information that can be used in identification terminal also comprises a variety of other modes, such as the operating system classification of terminal, product type etc.In addition, because the present invention is intended to distinguish several terminals of same user, therefore this differentiation can be coarseness.These end messages initially offer server by the user, and can upgrade at any time.For some more general information such as operating system classification etc., also can automatically identify and be identified on communications records by server.
Certainly, described identifier can also be the combination in any of information of the terminal of data number, timestamp, generation Message Record, illustrates no longer one by one at this.
In step S202, described server is sent to described Leading End with described identifier.
Particularly, described server to the Message Record distribution marker after, this identifier can be sent on the Leading End that produces described Message Record, on the identifier that makes Message Record in this Leading End and server, the identifier of corresponding Message Record is consistent.
In step S203, described first user sends data synchronization request to described server, to obtain its required Message Record by current terminal.
Particularly, wish to obtain previous Message Record when first user, need to send data synchronization request to obtain corresponding Message Record by current terminal.Server screens according to the Message Record of described data synchronization request to its preservation after receiving the data synchronization request that first user sends.Described data synchronization request comprises any relevant with Message Record and can be used for limit the content of Message Record screening scope.For example, described data synchronization request can be the second user's information (as the second user's ID, pet name etc.), can be the beginning and ending time of Message Record to be obtained, can be the information that produces the terminal of Message Record to be obtained, and can also be the combination in any of above-mentioned multiple situation.
In step S204, described screening server satisfies the Message Record of described data synchronization request, and the identifier that extracts this Message Record forms the first set of identifiers, and in step S205, the first set of identifiers is sent to current terminal.
Particularly, receive the data synchronization request of first user transmission when described server after, according to this data synchronization request, the Message Record that before was kept in server is screened, to obtain the Message Record that satisfies this data synchronization request.After screening finished, for each Message Record that screens, described server carried out identifier to it and extracts operation, and the identifier that extracts is put together, and forms the first set of identifiers.After forming described the first set of identifiers, described server sends it to current terminal.
In step S206, the identifier that current terminal is extracted Message Record forms the second set of identifiers, and calculates the difference set of the first set of identifiers and the second set of identifiers, obtains the 3rd set of identifiers.
Particularly, after current terminal is received the first set of identifiers, the Message Record that is kept in current terminal is carried out identifier extraction operation, and the identifier that extracts is put together, form the second set of identifiers.Then, current terminal is calculated the difference set of described the first set of identifiers and the second set of identifiers, obtains the 3rd set of identifiers.
At this, need to the definition of difference set be made an explanation.The difference set of set A and set B is defined as, and belongs to set A but does not belong to the set of the element of set B.For example, set A be a1, a2, a3, a4}, set B be a1, a2, a5, a6}, so, the difference set of set A and set B is { a3, a4}.Again for example, set A be a1, a2, a3, a4}, set B be b1, b2, b3, b4}, so, the difference set of set A and set B is { a1, a2, a3, a4}.
Can know according to the definition of above-mentioned difference set, identifier in described the 3rd set of identifiers be present in the first set of identifiers but do not exist with the second set of identifiers in, in other words, with described the 3rd set of identifiers in identifier satisfy the data synchronization request of first user for those and be not present in again Message Record in current terminal.
In step S207, current terminal is sent to described server with described the 3rd set of identifiers.
In step S208, described server obtains the Message Record corresponding with described the 3rd set of identifiers, and in step S209, described Message Record is sent to current terminal, offers first user.
Particularly, described server is according to the identifier in the 3rd set of identifiers, find out the Message Record corresponding with this identifier from server, and this Message Record is sent to current terminal as the accordingly result to the data synchronization request, offer first user.
Illustrate, first user wishes to obtain the entire message record on October 1st, 2011 with the second user 1, so send data synchronization request to server, the particular content of this data synchronization request be the second user's 1 ID and Message Record to be obtained October 1 2011 time started 00:00 and October 1 2011 year concluding time 24:00.The presently used terminal of first user is terminal A, wherein, first user used this terminal A and the second user 1 to communicate on September 3rd, 2011 and on October 1st, 2011, preserve the Message Record of twice communication in terminal A, this Message Record comprises 10 Message Records on September 3rd, 2011, its identifier is followed successively by 300-309, and 5 Message Records on October 1st, 2011, and its identifier is followed successively by 425-429.Data synchronization request according to first user, server screens in the Message Record of its preservation, get first user and the second user's 1 Message Record on October 1st, 2011,30 altogether, its identifier is followed successively by 400-410,425-429,450-463.{ 400-410,425-429,450-463} are sent to terminal A to server with the first set of identifiers.Terminal A forms the second set of identifiers according to the Message Record of its inside, and { then 300-309,425-429} calculate the difference set of the first set of identifiers and the second set of identifiers, are gathered { 400-410,450-463}, and this difference set is back to server.Server receive this difference set know lack the Message Record that identifier is 400-410 and 450-463 on terminal A after, only need that corresponding 25 Message Records are sent to terminal A and get final product.
Embodiment two:
Please refer to Fig. 3, wherein, the step S301 shown in Fig. 3, step S302, step S308 and step S309 and the step S201 shown in Fig. 2, step S202, step S208 are identical with step S209, no longer give unnecessary details at this.Below, begin to describe from step S303.
In step S303, described first user sends data synchronization request to server by current terminal, wherein, that described data synchronization request further comprises the set (hereinafter representing with the second set of identifiers) of the identifier of Message Record in current terminal from places different in above-described embodiment one.
In step S304, described server judges whether the second set of identifiers is empty set, if described the second set of identifiers is empty set, illustrate not have any Message Record in current terminal, in this case, execution in step S305, described server is according to data synchronization request, the Message Record that before was kept in server is screened, obtaining the Message Record that satisfies this data synchronization request, and this Message Record directly is sent to current terminal; If have element in described the second set of identifiers, illustrate in current terminal and have Message Record, in this case, execution in step S306, described screening server satisfies the Message Record of described data synchronization request, and extract the identifier of this Message Record, form the first identifier combination.
In step S307, described server calculates the difference set of described the first set of identifiers and described the second set of identifiers, obtains the 3rd set of identifiers.Wherein, the definition of difference set in above-described embodiment one is still adopted in the definition of described difference set, does not repeat them here.
In step S308, described server obtains the Message Record corresponding with described the 3rd set of identifiers, and in step S309, described Message Record is sent to current terminal.
Illustrate, first user wishes to obtain the entire message record on October 1st, 2011 with the second user 1.The presently used terminal of first user is terminal A, wherein, first user used this terminal A and the second user 1 to communicate on September 3rd, 2011 and on October 1st, 2011, preserve the Message Record of twice communication in terminal A, this Message Record comprises 10 Message Records on September 3rd, 2011, its identifier is followed successively by 300-309, and 5 Message Records on October 1st, 2011, and its identifier is followed successively by 425-429.Terminal A forms the second set of identifiers { 300-309 according to the Message Record of its inside, 425-429}, then send data synchronization request to server, the particular content of this data synchronization request be the second user's 1 ID, Message Record to be obtained October 1 2011 time started 00:00 and October 1 2011 concluding time 24:00 and the second set of identifiers.data synchronization request according to first user, server screens in the Message Record of its preservation, get first user and the second user's 1 Message Record on October 1st, 2011, 30 altogether, its identifier is followed successively by 400-410, 425-429, 450-463, and form the first set of identifiers { 400-410, 425-429, 450-463}, then, server calculates the difference set of the first set of identifiers and the second set of identifiers, gathered { 400-410, 450-463}, know thus and lack the Message Record that identifier is 400-410 and 450-463 on terminal A, at last corresponding 25 Message Records being sent to terminal A gets final product.
Those skilled in the art should be understood that, above-mentioned more detailed embodiment is only schematically, should not become limitation of the present invention.For example, the data synchronization request that first user sends can also be that other are any relevant with Message Record and can be for the information that Message Record is limited, for example, the keyword that once occurred in the information of Leading End (as the IP address of computer, the number of mobile phone), Message Record etc.again for example, server is when preserving Message Record, the information of the terminal that Message Record and first user are used is (as the IP address of computer, the number of mobile phone) be associated, after server is received the data synchronization request that current terminal sends, filter out the Message Record that satisfies this data synchronization request, and the end message related with this Message Record mated current end message, if there is the Message Record that the match is successful, just illustrate that these Message Records have existed on current terminal, only need to send the unsuccessful Message Record of coupling.Can realize the execution mode of purport of the present invention for other, all in protection scope of the present invention, for the sake of simplicity, give unnecessary details no longer one by one at this.
Compared with prior art, method provided by the present invention has the following advantages: the user use current terminal and server carry out Message Record synchronous in, server need not previous all Message Records are sent on current terminal, but only the Message Record that lacks on current terminal is sent to current terminal.Thus, can prevent the transmission that repeats of Message Record, thereby effectively reduce data transfer throughput and improve data transmission efficiency, especially for such as the equal limited terminal of the transmittability such as mobile phone and memory capacity, will greatly promote user's experience.
Correspondingly, the present invention also provides a kind of server of realizing low discharge synchronization message record, please refer to Fig. 4.As shown in the figure, this server 40 comprises data recording equipment 401, request receiving device 402 and data sending device 403, wherein:
Data recording equipment 401 is used for preserving first user by the Message Record of different terminals and the second telex network;
Request receiving device 402 is used for receiving the data synchronization request that described first user sends by current terminal;
Data sending device 403 is used for satisfying described data synchronization request but the Message Record that is not present on described current terminal is sent to described current terminal.
Below, the specific works process of said apparatus is described.
When first user communicated by terminal and the second user, described data recording equipment 401 can be preserved first user and the second user's Message Record.Wherein, described terminal can be the electronic equipment that computer, mobile phone or other can communicate by network.In the different time or in different places, first user can use same terminal communication always, also can use a plurality of different terminals to communicate.Described the second user is that described the second user can be a user, can be also a plurality of different users to the user's who communicates with first user general designation.After sign off, the Message Record of first user can be kept on the terminal of corresponding this Message Record of generation, also can be preserved by described data recording equipment 401 simultaneously, therefore, described data recording equipment 401 will have first user by all Message Records of different terminals, and will have respectively the part Message Record on the different terminals that first user uses.
Only there is the part Message Record on each terminal of using due to first user, so, when first user wishes to obtain previous Message Record, find that this Message Record is not present on current terminal 10 or only has part to be present in current terminal 10, need to send data synchronization request to obtain corresponding Message Record by current terminal 10.Described request receiving system 402 is sent to described data sending device 403 with described data synchronization request after receiving the data synchronization request that first user sends.
The data synchronization request that described data sending device 403 sends according to first user, the Message Record that described data recording equipment 401 is preserved screens, to obtain the Message Record that satisfies this data synchronization request.The Message Record that screens due to described data sending device 403 sometimes can coincide with the Message Record that is kept in current terminal 10, in order to reduce delivery flow rate and to improve efficiency of transmission, only need non-coincidence Message Record is sent to current terminal 10, therefore, described data sending device 403 needs further to filter out the Message Record that does not overlap with the interior Message Record of current terminal 10 in the Message Record that satisfies this data synchronization request, then the Message Record that these is not overlapped is sent to current terminal 10, offers first user.
Please refer to Fig. 5, Fig. 5 is the server of realizing low discharge synchronization message record in accordance with a preferred embodiment of the present invention, and as shown in the figure, this server 50 comprises data recording equipment 501, request receiving device 502 and data sending device 503.The below describes the specific works process of said apparatus.
When first user communicated by a terminal and the second user, 501 pairs of the described data recording equipments Message Record between was both preserved, and is described Message Record distribution marker, then described identifier is sent on this terminal.Wherein, described identifier comprises a kind of or its combination in the information of terminal of data number, timestamp, generation Message Record.
Described request receiving system 502 receives data synchronization request that first users send by current terminal 10 to obtain its required Message Record, wherein, described data synchronization request can comprise the second user's information, Message Record to be obtained beginning and ending time, produce a kind of or its combination in the information of terminal of Message Record to be obtained.
Described data sending device 503 screens from the Message Record that it is preserved and satisfies the Message Record of described data synchronization request, and extracts identifier formation first set of identifiers of this Message Record.Then, described data sending device 503 is sent to described current terminal 10 with described the first set of identifiers, and receive the 3rd set of identifiers that described current terminal 10 is returned, wherein, the 3rd set of identifiers is the difference set of the second set of identifiers of described the first set of identifiers Message Record interior with being present in current terminal 10.At last, described data sending device 503 further screens the Message Record that satisfies data synchronization request, filters out the Message Record corresponding with described the 3rd set of identifiers, and this Message Record is sent to current described terminal.
Please refer to Fig. 6, Fig. 6 is the server of realizing low discharge synchronization message record according to another preferred embodiment of the present invention, as shown in the figure, this server 60 comprises data recording equipment 601, request receiving device 602, judgment means 603 and data sending device 604.The below describes the specific works process of said apparatus.
When first user communicated by a terminal and the second user, 601 pairs of the described data recording equipments Message Record between was both preserved, and is described Message Record distribution marker, then described identifier is sent on this terminal.Wherein, described identifier comprises a kind of or its combination in the information of terminal of data number, timestamp, generation Message Record.
Described request receiving system 602 receives data synchronization request that first users send by current terminal 10 to obtain its required Message Record, wherein, described data synchronization request not only comprise the second user's information, Message Record to be obtained beginning and ending time, produce a kind of or its combination in the information of terminal of Message Record to be obtained, also further comprised the second set of identifiers, the set that is namely consisted of by the identifier of current terminal 10 interior Message Records.
The second set of identifiers in 603 pairs of data synchronization request of described judgment means judges, if described the second set of identifiers is empty set, the Message Record of described data synchronization request is satisfied in described data sending device 604 screenings, and this Message Record is sent to described current terminal 10; Otherwise, the Message Record of described data synchronization request is satisfied in data sending device 604 screenings, the identifier that extracts this Message Record forms the first set of identifiers, and the difference set of calculating described the first set of identifiers and described the second set of identifiers obtains the 3rd set of identifiers, at last, described data sending device 603 further screens the Message Record that satisfies data synchronization request, filter out the Message Record corresponding with described the 3rd set of identifiers, and this Message Record is sent to current described terminal.
Implement above-mentioned embodiment, effectively solved the problem that occurs in the prior art, the user use current terminal and server carry out Message Record synchronous in, server need not previous all Message Records are sent on current terminal, but only the Message Record that lacks on current terminal is sent to current terminal.Thus, can prevent the transmission that repeats of Message Record, thereby effectively reduce data transfer throughput and improve data transmission efficiency, especially for such as the equal limited terminal of the transmittability such as mobile phone and memory capacity, will greatly promote user's experience.
The method that realizes that the low discharge synchronization message records provided by the invention can be with programmable logic device in conjunction with realizing, also may be embodied as computer software, can be for example a kind of computer program according to embodiments of the invention, move this program product and make computer carry out the method that is used for demonstrating.Described computer program comprises computer-readable recording medium, comprises computer program logic or code section on this medium, is used for realizing the described method that realizes low discharge synchronization message record.Described computer-readable recording medium can be installed in computer built-in medium or can be from the removable medium (for example the hot-plugging technology storage is established) of basic computer dismounting.Described built-in medium includes but not limited to rewritable nonvolatile memory, for example RAM, ROM, flash memory and hard disk.Described removable medium includes but not limited to: optical storage media (for example CD-ROM and DVD), magneto-optic storage media (for example MO), magnetic recording medium (for example tape or portable hard drive), have the media (for example storage card) of built-in rewritable nonvolatile memory and have the media (for example ROM box) of built-in ROM.
Above disclosed is only a kind of preferred embodiment of the present invention, certainly can not limit with this interest field of the present invention, and the equivalent variations of therefore doing according to claim of the present invention still belongs to the scope that the present invention is contained.

Claims (17)

1. method that realizes low discharge synchronization message record, the method comprises the following steps:
Preserve first user by the Message Record of different terminals and one or more the second telex networks;
Receive the data synchronization request that described first user sends by current terminal;
The Message Record that satisfies described data synchronization request and be not present on described current terminal is sent to described current terminal.
2. method according to claim 1, wherein, preserve the Message Record of first user by different terminals and one or more the second telex networks and comprise:
Message Record between described first user and described one or more the second user is preserved, and be described Message Record distribution marker; And
Described identifier is sent to the terminal of the described Message Record of described generation.
3. method according to claim 2, wherein, described identifier comprises a kind of or its combination in the information of terminal of data number, timestamp, the described Message Record of generation.
4. the described method of any one according to claim 1 to 3, wherein, described data synchronization request comprise described one or more the second users' information, Message Record beginning and ending time, produce a kind of or its combination in the information of terminal of Message Record to be obtained.
5. method according to claim 4, wherein:
Described data synchronization request also comprises the second set of identifiers, and wherein, this second set of identifiers is the set of identifiers that is present in the Message Record in described current terminal.
6. method according to claim 4, wherein, will satisfy described data synchronization request but not be present in the step that Message Record on described current terminal is sent to described current terminal and comprise:
The Message Record of described data synchronization request is satisfied in screening, and the identifier that extracts this Message Record forms the first set of identifiers;
Described the first set of identifiers is sent to described current terminal;
Receive the 3rd set of identifiers that described current terminal sends, wherein, the 3rd set of identifiers be described the first set of identifiers with the second set of identifiers that is present in the Message Record in described current terminal and difference set;
The Message Record corresponding with described the 3rd set of identifiers is sent to current described terminal.
7. method according to claim 5, wherein, will satisfy described data synchronization request but comprise before not being present in the step that Message Record on described current terminal is sent to described current terminal:
Described the second set of identifiers is judged, if described the second set of identifiers is empty set, execution in step 8, otherwise execution in step 9.
8. method according to claim 7 wherein, is sent to described current terminal and comprises satisfying described data synchronization request and not being present in Message Record on described current terminal:
The Message Record of described data synchronization request is satisfied in screening, and this Message Record is sent to described current terminal.
9. method according to claim 7 wherein, is sent to described current terminal and comprises satisfying described data synchronization request and not being present in Message Record on described current terminal:
The Message Record of described data synchronization request is satisfied in screening, and the identifier that extracts this Message Record forms the first set of identifiers;
Calculate the difference set of described the first set of identifiers and described the second set of identifiers, obtain the 3rd set of identifiers;
The Message Record corresponding with described the 3rd set of identifiers is sent to current described terminal.
10. server of realizing low discharge synchronization message record comprises:
Data recording equipment is used for preserving first user by the Message Record of different terminals and one or more the second telex networks;
The request receiving device is used for receiving the data synchronization request that described first user sends by current terminal;
Data sending device is used for satisfying described data synchronization request but the Message Record that is not present on described current terminal is sent to described current terminal.
11. server according to claim 10, wherein:
Described data recording equipment is preserved the Message Record between described first user and described one or more the second user, and is described Message Record distribution marker, then described identifier is sent to the terminal of the described Message Record of described generation.
12. server according to claim 11, wherein, described identifier comprises a kind of or its combination in the information of terminal of data number, timestamp, the described Message Record of generation.
13. according to claim 10 to the described server of any one in 13, wherein, described data synchronization request comprise described one or more the second users' information, Message Record beginning and ending time, produce a kind of or its combination in the information of terminal of Message Record to be obtained.
14. server according to claim 13, wherein:
Described data synchronization request also comprises the second set of identifiers, and wherein, this second set of identifiers is the set of identifiers that is present in the Message Record in described current terminal.
15. server according to claim 13, wherein:
The Message Record of described data synchronization request is satisfied in described data sending device screening, the identifier that extracts this Message Record forms the first set of identifiers, described the first set of identifiers is sent to described current terminal, receive the 3rd set of identifiers that described current terminal sends, and the Message Record corresponding with described the 3rd set of identifiers is sent to current described terminal, wherein, the 3rd set of identifiers is the difference set of the second set of identifiers of described the first set of identifiers Message Record interior with being present in described current terminal.
16. server according to claim 14 also comprises:
Whether judgment means, being used for is that empty set judges to described the second set of identifiers.
17. server according to claim 16, wherein:
If described the second set of identifiers is empty set, the Message Record of described data synchronization request is satisfied in described data sending device screening, and this Message Record is sent to described current terminal; Otherwise, the Message Record of described data synchronization request is satisfied in described data sending device screening, the identifier that extracts this Message Record forms the first set of identifiers, the difference set of calculating described the first set of identifiers and described the second set of identifiers obtains the 3rd set of identifiers, and the Message Record corresponding with described the 3rd set of identifiers is sent to current described terminal.
CN2011103909879A 2011-11-30 2011-11-30 Method and server of achieving low-flux synchronous message logging Pending CN103139259A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011103909879A CN103139259A (en) 2011-11-30 2011-11-30 Method and server of achieving low-flux synchronous message logging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011103909879A CN103139259A (en) 2011-11-30 2011-11-30 Method and server of achieving low-flux synchronous message logging

Publications (1)

Publication Number Publication Date
CN103139259A true CN103139259A (en) 2013-06-05

Family

ID=48498560

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011103909879A Pending CN103139259A (en) 2011-11-30 2011-11-30 Method and server of achieving low-flux synchronous message logging

Country Status (1)

Country Link
CN (1) CN103139259A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104144116A (en) * 2014-07-16 2014-11-12 腾讯科技(深圳)有限公司 Instant messaging method and system
CN104348707A (en) * 2013-08-08 2015-02-11 腾讯科技(深圳)有限公司 Method, device and system for searching conversation message
CN104811366A (en) * 2014-01-26 2015-07-29 阿里巴巴集团控股有限公司 Network communication message roaming method and device
CN104901986A (en) * 2014-03-06 2015-09-09 腾讯科技(深圳)有限公司 Method and device for synchronizing messages of multiple instances
CN105468773A (en) * 2015-12-10 2016-04-06 武汉噢易云计算有限公司 Method for summarizing data from a plurality of subordinate terminals to the same superior
CN105763535A (en) * 2016-01-29 2016-07-13 网易(杭州)网络有限公司 Method, device and system for processing session message list
CN106130883A (en) * 2016-07-14 2016-11-16 北京元心科技有限公司 Instant messaging message pushing method and pushing device
CN106330684A (en) * 2016-09-14 2017-01-11 广东欧珀移动通信有限公司 Information synchronization method and terminal
CN106776124A (en) * 2016-11-25 2017-05-31 腾讯科技(深圳)有限公司 Data back up method and device
CN106790171A (en) * 2016-12-29 2017-05-31 杭州朗和科技有限公司 The method of session control, device and computer-readable recording medium
WO2018076446A1 (en) * 2016-10-31 2018-05-03 宇龙计算机通信科技(深圳)有限公司 Method, device, and system for message synchronization
CN108235803A (en) * 2017-01-25 2018-06-29 华为技术有限公司 Message record merging and displaying method and terminal equipment
CN108243208A (en) * 2016-12-23 2018-07-03 深圳市优朋普乐传媒发展有限公司 A kind of method of data synchronization and device
CN110086704A (en) * 2014-02-11 2019-08-02 阿里巴巴集团控股有限公司 A kind of synchronous method and system of instant messaging unread message
CN113381923A (en) * 2021-05-17 2021-09-10 中企链信(北京)科技有限公司 Instant messaging method for IOS platform collaborative office

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5883581A (en) * 1997-12-22 1999-03-16 Motorola, Inc. Time diversity radio system using transparent address vector and message repeats
CN101227425A (en) * 2007-12-25 2008-07-23 腾讯科技(深圳)有限公司 System, client end and method for obtaining history message and feeding back history message
CN101350839A (en) * 2008-09-22 2009-01-21 北京立通无限科技有限公司 Method, apparatus and system for implementing data synchronization of mobile terminal PIM service
CN101848274A (en) * 2010-03-12 2010-09-29 深圳市同洲电子股份有限公司 Methods and devices for backup and recovery of records in mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5883581A (en) * 1997-12-22 1999-03-16 Motorola, Inc. Time diversity radio system using transparent address vector and message repeats
CN101227425A (en) * 2007-12-25 2008-07-23 腾讯科技(深圳)有限公司 System, client end and method for obtaining history message and feeding back history message
CN101350839A (en) * 2008-09-22 2009-01-21 北京立通无限科技有限公司 Method, apparatus and system for implementing data synchronization of mobile terminal PIM service
CN101848274A (en) * 2010-03-12 2010-09-29 深圳市同洲电子股份有限公司 Methods and devices for backup and recovery of records in mobile terminal

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104348707A (en) * 2013-08-08 2015-02-11 腾讯科技(深圳)有限公司 Method, device and system for searching conversation message
CN104811366A (en) * 2014-01-26 2015-07-29 阿里巴巴集团控股有限公司 Network communication message roaming method and device
CN110086704B (en) * 2014-02-11 2022-03-22 阿里巴巴集团控股有限公司 Method and system for synchronizing unread messages in instant messaging
CN110086704A (en) * 2014-02-11 2019-08-02 阿里巴巴集团控股有限公司 A kind of synchronous method and system of instant messaging unread message
CN104901986A (en) * 2014-03-06 2015-09-09 腾讯科技(深圳)有限公司 Method and device for synchronizing messages of multiple instances
US10911385B2 (en) 2014-07-16 2021-02-02 Tencent Technology (Shenzhen) Company Limited Method and system for synchronizing instant messages between multiple clients
US11848903B2 (en) 2014-07-16 2023-12-19 Tencent Technology (Shenzhen) Company Limited Method and system for synchronizing instant messages between multiple clients
CN104144116A (en) * 2014-07-16 2014-11-12 腾讯科技(深圳)有限公司 Instant messaging method and system
CN105468773A (en) * 2015-12-10 2016-04-06 武汉噢易云计算有限公司 Method for summarizing data from a plurality of subordinate terminals to the same superior
CN105763535A (en) * 2016-01-29 2016-07-13 网易(杭州)网络有限公司 Method, device and system for processing session message list
CN105763535B (en) * 2016-01-29 2019-05-07 网易(杭州)网络有限公司 Conversation message list processing method, equipment and system
CN106130883A (en) * 2016-07-14 2016-11-16 北京元心科技有限公司 Instant messaging message pushing method and pushing device
CN106130883B (en) * 2016-07-14 2019-10-01 北京元心科技有限公司 Instant messaging message pushing method and pushing device
CN106330684B (en) * 2016-09-14 2019-10-01 Oppo广东移动通信有限公司 A kind of method and terminal of synchronizing information
CN106330684A (en) * 2016-09-14 2017-01-11 广东欧珀移动通信有限公司 Information synchronization method and terminal
WO2018076446A1 (en) * 2016-10-31 2018-05-03 宇龙计算机通信科技(深圳)有限公司 Method, device, and system for message synchronization
CN106776124A (en) * 2016-11-25 2017-05-31 腾讯科技(深圳)有限公司 Data back up method and device
CN108243208A (en) * 2016-12-23 2018-07-03 深圳市优朋普乐传媒发展有限公司 A kind of method of data synchronization and device
CN106790171B (en) * 2016-12-29 2019-12-17 杭州朗和科技有限公司 Session control method, device, computer readable storage medium and equipment
CN106790171A (en) * 2016-12-29 2017-05-31 杭州朗和科技有限公司 The method of session control, device and computer-readable recording medium
CN108235803A (en) * 2017-01-25 2018-06-29 华为技术有限公司 Message record merging and displaying method and terminal equipment
US11057329B2 (en) 2017-01-25 2021-07-06 Huawei Technologies Co., Ltd. Message record combination and display method and terminal device
CN113381923A (en) * 2021-05-17 2021-09-10 中企链信(北京)科技有限公司 Instant messaging method for IOS platform collaborative office

Similar Documents

Publication Publication Date Title
CN103139259A (en) Method and server of achieving low-flux synchronous message logging
CN107911249B (en) Method, device and equipment for sending command line of network equipment
CN104104971A (en) Video file processing method and system
CN103200224B (en) A kind of method of Information Sharing, device and terminal
CN102004994B (en) Online product recommendation and selection method, device and system
CN103944864A (en) Information transmission method, information sending device, receiving device and system
CN104301207B (en) Web information processing method and device
CN102769687B (en) Mass texting system and method
CN102546708A (en) Plug-in obtaining method and system as well as relevant devices
CN103781055A (en) Data downloading method and associated device
CN104243586A (en) Content sharing method, device and equipment
CN102404397A (en) Information reminding method, device and system
CN104253741A (en) Information sending method and device and system thereof
CN102665177A (en) Method, system and device for pushing application program information based on machine type matching information
CN104796322A (en) Message processing method and equipment
CN105635716A (en) Media aggregation method based on augmented reality
CN105279236A (en) File cleaning method and device and electronic equipment
CN103268310A (en) Self-medium message editing method and device on basis of recommendation
CN109521956A (en) A kind of cloud storage method, apparatus, equipment and storage medium based on block chain
CN104394601A (en) WiFi (wireless fidelity) network access control method, device and router
EP3404895A1 (en) Multimedia data transmission method and device
CN105653209A (en) Object storage data transmitting method and device
CN104980290A (en) Method for establishing groups and server
CN104581690A (en) Network access implementing method of intelligent card, wireless card-writing platform and intelligent card
CN103595808A (en) Method and device for pushing update information of file

Legal Events

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

Application publication date: 20130605

RJ01 Rejection of invention patent application after publication