CN103220349A - Method, unit and device for communication data recovery between source user and target user - Google Patents

Method, unit and device for communication data recovery between source user and target user Download PDF

Info

Publication number
CN103220349A
CN103220349A CN2013101258853A CN201310125885A CN103220349A CN 103220349 A CN103220349 A CN 103220349A CN 2013101258853 A CN2013101258853 A CN 2013101258853A CN 201310125885 A CN201310125885 A CN 201310125885A CN 103220349 A CN103220349 A CN 103220349A
Authority
CN
China
Prior art keywords
communication data
source user
targeted customer
data
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.)
Granted
Application number
CN2013101258853A
Other languages
Chinese (zh)
Other versions
CN103220349B (en
Inventor
曾健
赵振海
林俊琦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Original Assignee
Beijing Xiaomi 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 Xiaomi Technology Co Ltd filed Critical Beijing Xiaomi Technology Co Ltd
Priority to CN201310125885.3A priority Critical patent/CN103220349B/en
Publication of CN103220349A publication Critical patent/CN103220349A/en
Application granted granted Critical
Publication of CN103220349B publication Critical patent/CN103220349B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides a method, a unit and a device for communication data recovery between a source user and a target user. The method comprises the steps: an authorization message that communication data synchronization between the source user and the target user is agreed by the target user is received; communication data between the target user and the source user are searched in communication data of the target user; the communication data between the target user and the source user serve as communication data of the source user and are stored; and the communication data of the source user are sent to the source user. Under the condition that the two communication users reach an agreement, the communication data are mutually synchronized so that safety and reliability of the communication data stored by the users can be improved and probability of loss of the communication data of the users by accident can be reduced.

Description

Communication data recovers between source user and the targeted customer method, device and equipment
Technical field
The embodiment of the invention relates to the mobile communication technology field, particularly relates to the method that communication data recovers between a kind of source user and the targeted customer, the device that communication data recovers between a kind of source user and the targeted customer, and, a kind of equipment.
Background technology
Along with the continuous development of mobile communication technology and improving constantly of people's living standard, the user of intelligent mobile terminal continues to increase, and, the function of intelligent mobile terminal and for the service that the user provided also more and more abundanter, for example, can use the cloud memory technology on the intelligent mobile terminal, thereby provide more convenient and safe guarantee for the storage of user's various information (as note).Just because of the application of cloud memory technology, increasing user selects in the personal mobile phone content such as note to utilize the cloud memory technology to preserve.With reference to the schematic diagram that a kind of smart mobile phone note session shown in Figure 1 represents, for convenience of the user, present stage checks for same contact person's dealing note and shows with the form of session.
With the intelligent mobile terminal mobile phone is example, in the correlation technique, the cloud memory technology that the user utilizes mobile phone to provide, note in the mobile phone (comprising the note that sends and receive) is carried out synchronously (be described and server carry out synchronous note will be saved to server) with server by individual number of the account, when the user changes mobile phone, when perhaps mobile phone end note is deleted by user's mistake, the note that the user can select to have preserved on the server is turned round and stretched out the hand machine synchronously, recover the note session, thereby reach the purpose of finding lost note.But, because the intelligent mobile terminal mobile phone generally all adopts data synchronization mechanism, promptly when the user deletes note, high in the clouds is this deletion action (promptly utilize the note that the cloud memory technology preserved simultaneously also can be deleted) synchronously also, so based on described data synchronization mechanism, be impossible recover lose note for the user basically, in this case, if a lot of notes on the server or whole note are all deleted, but are not again user's original idea, then can't give for change again and lose note.If leave no choice but in described data synchronization mechanism, add restore funcitons, just need the user to expend a large amount of time and energy, in the cloud memory technology, add some complex logics, just might recover to have lost note for the user.
Summary of the invention
The embodiment of the invention provides the method that communication data recovers between a kind of source user and the targeted customer, can ensure the fail safe and the reliability of the communication data of user storage, has reduced the possibility that the user communication data accident is lost.
Accordingly, the embodiment of the invention also provides the device of communication data recovery between a kind of source user and the targeted customer in order to guarantee the realization and the application of said method.
In order to address the above problem, the embodiment of the invention discloses the method that communication data recovers between a kind of source user and the targeted customer, comprising:
Receive the synchronous authorization message of communication data between described targeted customer's agreement and the described source user;
In described targeted customer's communication data, search the communication data between described targeted customer and the described source user;
Communication data between described targeted customer and the described source user is preserved as the communication data of source user;
The communication data of described source user is sent to described source user.
Preferably, before described communication data with source user sends to the step of described source user, also comprise:
Notification source user carries out local update according to the communication data between described targeted customer and the described source user.
Preferably, the synchronous authorization message of communication data is between described targeted customer's agreement and the source user, initiate to communicate the request of data sync according to source user with the targeted customer, and, described targeted customer send agree and source user between communicate data sync message generate.
Preferably, described communication data has affiliated user ID, and, the user ID of Correspondent Node, described step of searching the communication data between described targeted customer and the described source user in targeted customer's communication data comprises:
Search corresponding targeted customer's communication data according to targeted customer's sign;
Identify the communication data that from described targeted customer's communication data, extracts between described targeted customer and the source user according to source user.
Preferably, the described step that communication data between targeted customer and the described source user is preserved as the communication data of source user comprises:
Targeted customer in the communication data between described targeted customer and source user sign is converted to the source user sign, and the source user sign is converted to targeted customer's sign;
Preserve communication data after the described conversion as the communication data of source user;
Preferably, described communication data is a note.
The embodiment of the invention also discloses the method that communication data recovers between a kind of source user and the targeted customer, comprising:
Initiate to communicate the request of data sync with described targeted customer;
Receive the message that agreement that described targeted customer returns at described request and source user communicate data sync;
Receive the notice of carrying out local update according to the communication data of described source user, extract acquisition the communication data of the communication data of described source user between described targeted customer and source user, the communication data between described targeted customer and the source user is to extract to obtain from targeted customer's communication data;
Adopt the communication data of described source user to carry out local update according to described notice.
Preferably, the communication data of described source user has writing time, is accurate to Millisecond described writing time, and the described step that adopts the communication data of described source user to carry out local update according to notice comprises:
Obtain local communication data and corresponding writing time according to described notice;
Judge whether to have redundant communication data, the communication of described redundancy is the communication data of the source user consistent with local communication data writing time;
If there is redundant communication data, then remove the communication data of described redundancy;
Adopt the described communication data of removing the source user behind the redundant communication data to carry out local update.
The embodiment of the invention also discloses the device that communication data recovers between a kind of source user and the targeted customer, comprising:
The authorization message receiver module is used to receive the synchronous authorization message of communication data between described targeted customer's agreement and the described source user;
Communication data is searched module, is used for searching communication data between described targeted customer and the described source user at described targeted customer's communication data;
Communication data is preserved module, is used for the communication data between described targeted customer and the described source user is preserved as the communication data of source user;
The communication data sending module is used for the communication data of described source user is sent to described source user.
Preferably, described device also comprises:
The update notification module is used for the notification source user and carries out local update according to the communication data between described targeted customer and the described source user.
Preferably, the synchronous authorization message of communication data is between described targeted customer's agreement and the source user, initiate to communicate the request of data sync according to source user with the targeted customer, and, described targeted customer send agree and source user between communicate data sync message generate.
Preferably, described communication data has affiliated user ID, and, the user ID of Correspondent Node, described communication data is searched module and is comprised:
Destinations traffic data search submodule is used for searching corresponding targeted customer's communication data according to targeted customer's sign;
Destinations traffic data extract submodule is used for according to the source user sign from described targeted customer's communication data described targeted customer of extraction and the communication data between the source user.
Preferably, described communication data preservation module comprises:
Sign conversion submodule is used for targeted customer's sign of the communication data between described targeted customer and the source user is converted to the source user sign, and the source user sign is converted to targeted customer's sign;
The converts communications data are preserved submodule, are used to preserve communication data after the described conversion as the communication data of source user.
The embodiment of the invention also discloses the device that communication data recovers between a kind of source user and the targeted customer, comprising:
The synchronization request initiation module is used to initiate to communicate with described targeted customer the request of data sync;
The acceptance message receiver module is used to receive the message that agreement that described targeted customer returns at described request and source user communicate data sync;
The update notification receiver module, be used to receive the notice of carrying out local update according to the communication data of described source user, extract acquisition the communication data of the communication data of described source user between described targeted customer and source user, the communication data between described targeted customer and the source user is to extract to obtain from targeted customer's communication data;
The local update module is used for adopting the communication data of described source user to carry out local update according to described notice.
Preferably, the communication data of described source user has writing time, is accurate to Millisecond described writing time, and described local update module comprises:
Obtain submodule writing time, be used for obtaining local communication data and corresponding writing time according to described notice;
The redundancy communication data are judged submodule, are used to judge whether to have redundant communication data, and the communication of described redundancy is the communication data of the source user consistent with local communication data writing time; If there is redundant communication data, then calls the redundancy communication data and remove submodule;
The redundancy communication data are removed submodule, are used to remove the communication data of described redundancy;
Communication data local update submodule is used to adopt the described communication data of removing the source user behind the redundant communication data to carry out local update.
The embodiment of the invention also discloses a kind of equipment, described equipment comprises:
One or more processors;
Memory; With
One or more modules, described one or more module stores are in described memory and be configured to be carried out by described one or more processors, and wherein, described one or more modules have following function:
The authorization message receiver module is used to receive the synchronous authorization message of communication data between described targeted customer's agreement and the described source user;
Communication data is searched module, is used for searching communication data between described targeted customer and the described source user at described targeted customer's communication data;
The communication data sending module is used for the communication data between described targeted customer and the described source user is sent to described source user.
The embodiment of the invention also discloses a kind of equipment, described equipment comprises:
One or more processors;
Memory; With
One or more modules, described one or more module stores are in described memory and be configured to be carried out by described one or more processors, and wherein, described one or more modules have following function:
Initiate to communicate the request of data sync with described targeted customer;
Receive the message that agreement that described targeted customer returns at described request and source user communicate data sync;
Receive the notice of carrying out local update according to the communication data of described source user, extract acquisition the communication data of the communication data of described source user between described targeted customer and source user, the communication data between described targeted customer and the source user is to extract to obtain from targeted customer's communication data;
Adopt the communication data of described source user to carry out local update according to described notice.
Compare with background technology, the embodiment of the invention has the following advantages:
At first, the embodiment of the invention can mutually synchronous communication data under the situation that the communication user both sides reach an agreement, thereby have improved fail safe and the reliability that ensures the communication data of user storage, have reduced the possibility that the user communication data accident is lost.
Second, after the targeted customer authorizes the back Cloud Server, Cloud Server can from targeted customer's database, find out and source user between communication data, recover the communication data of source user with this communication data, because targeted customer's communication data can not be subjected to the influence of source user, therefore can guarantee the complete recovery of communication data, fail safe and the reliability height of source user.
The 3rd, Cloud Server can be by source user in the converts communications data and targeted customer's user ID, and the transmitting-receiving type of communication data can meet the data memory format of source user at Cloud Server, owing to only need to change the transmitting-receiving type of user ID and communication data, implementation is simple, the treatment effeciency height.
Description of drawings
Fig. 1 shows the schematic diagram that the session of a kind of smart mobile phone note represents;
Fig. 2 shows the flow chart of steps of the method embodiment 1 that communication data recovers between a kind of source user that the embodiment of the invention provides and the targeted customer;
Fig. 3 shows the flow chart of steps of the method embodiment 2 that communication data recovers between a kind of source user that the embodiment of the invention provides and the targeted customer;
Fig. 4 shows the flow chart of steps of the method embodiment 3 that communication data recovers between a kind of source user that the embodiment of the invention provides and the targeted customer;
Fig. 5 shows the structured flowchart of the device embodiment 1 that communication data recovers between a kind of source user that the embodiment of the invention provides and the targeted customer;
Fig. 6 shows the structured flowchart of the device embodiment 2 that communication data recovers between a kind of source user that the embodiment of the invention provides and the targeted customer.
Embodiment
For above-mentioned purpose, the feature and advantage that make the embodiment of the invention can become apparent more, the embodiment of the invention is described in further detail below in conjunction with the drawings and specific embodiments.
One of core idea of the embodiment of the invention is, when targeted customer's agreement communicates the request of data sync with source user, authorize Cloud Server in targeted customer's communication data, search and source user between communication data, this communication data is preserved as the communication data of source user preserved in the database then.Owing to adopt the communication data of communication counterpart, so fail safe and reliability height.
With reference to Fig. 1, show the flow chart of steps of the method embodiment 1 that communication data recovers between a kind of source user that the embodiment of the invention provides and the targeted customer, specifically can may further comprise the steps:
Step 101 receives the synchronous authorization message of communication data between described targeted customer's agreement and the described source user;
In a preferred embodiment of the present invention, described targeted customer agree and source user between the synchronous authorization message of communication data can for, initiate to communicate the request of data sync with the targeted customer according to source user, and described targeted customer sends the message that communicates data sync between agreement and the source user and generates.
In embodiments of the present invention, (for example user's mistake is deleted) for some reason, the some or all of communication data of source user Cloud Server possibility is deleted.Source user for recover and the targeted customer between communication data, can initiate to communicate the request of data sync to the targeted customer.For example, this request is specifically as follows: source user initiates to recover " with targeted customer's note session " synchronous request to the targeted customer, if the targeted customer agrees this synchronization request, then authorizing Cloud Server is that source user recovers the note session.
Need to prove the communication data except that note that the synchronous request of this communication data can recover, for example message registration; In addition, the communication data that this request recovers can also be the note of a specified format, the communication information that perhaps redefines all can, the embodiment of the invention does not limit this.
Step 102 is searched the communication data between described targeted customer and the described source user in described targeted customer's communication data;
In specific implementation, the communication data of same user and same type can be stored in lane database identical in the Cloud Server, and for example, targeted customer's note can exist in the same database.
When the targeted customer agrees the synchronous request of communication data, send authorization message to Cloud Server, when Cloud Server receives this authorization message, lane database is searched targeted customer's communication data in Cloud Server, in this targeted customer's communication data, search the communication data with source user then, obtain communication data between targeted customer and the described source user with this.
Step 103 is preserved the communication data between described targeted customer and the described source user as the communication data of source user;
In practice, Cloud Server the targeted customer that obtains and the communication data between the described source user can be preserved source user database in.
Step 104 sends to described source user with the communication data of described source user.
In practice, Cloud Server can send to source user with the communication data of preserving the source user in the database, and source user receives the back and carries out the renewal of local communication data according to the communication data of this source user.
In embodiments of the present invention, source user is by initiating the synchronous request of communication data to the targeted customer, after the targeted customer authorizes the back Cloud Server, Cloud Server can from targeted customer's database, find out and source user between communication data, recover the communication data of source user with this communication data, because targeted customer's communication data can not be subjected to the influence of source user, therefore can guarantee the complete recovery of communication data of source user.
With reference to Fig. 3, show the flow chart of steps of the method embodiment 2 that communication data recovers between a kind of source user that the embodiment of the invention provides and the targeted customer, specifically can may further comprise the steps:
Step 201 receives the synchronous authorization message of communication data between described targeted customer's agreement and the described source user;
Step 202 is searched the communication data between described targeted customer and the described source user in described targeted customer's communication data;
In a preferred embodiment of the present invention, described communication data has affiliated user ID, and, the user ID of Correspondent Node, described step 202 can comprise following substep:
Substep S11 searches corresponding targeted customer's communication data according to targeted customer's sign;
Substep S12 identifies the communication data that extracts between described targeted customer and the source user from described targeted customer's communication data according to source user.
In embodiments of the present invention, communication data adopts set form to preserve in Cloud Server, and in addition, communication data can all be kept at same lane database in Cloud Server.
When targeted customer's communication data is searched communication data between targeted customer and the described source user, can add condition restriction, only read the communication data between two users.Preferably, communication data can have its affiliated user ID, and the user ID of Correspondent Node, by the communication data between user ID recognizable object user and the described source user, can obtain corresponding communication data according to user ID.
For example, suppose that the communication data between two users is a note, account=B (user ID under the targeted customer, be the account number of targeted customer B) AND self_number=13822233445 (targeted customer's sign, be the number of targeted customer B) AND peer_number=18633288224 (the source user sign of Correspondent Node, the i.e. number of source user);
The targeted customer and the communication data between the source user that extract from targeted customer's communication data according to the source user sign can be following data:
acccount=B;
self_number=13822233445;
peer_number=18633288224;
date=2013-1-17?20:17:43;
Body=has a meal tonight together;
type=inbox。
Preferably, the writing time of communication data, " date " can be as accurate as Millisecond.Because be Millisecond writing time, and do not have the possibility that sends simultaneously or receive two notes within one millisecond substantially, therefore can delete for the data that are stored in source user this locality according to the redundancy of going that communicates data writing time, save memory space.
The note data of said extracted represent phone number be " 13822233445 " targeted customer B receive content that phone number sends for the source user A of " 18633288224 " note at " 2013-1-17 20:17:43 " for " have a meal tonight together ".
Step 203 is preserved the communication data between described targeted customer and the described source user as the communication data of source user;
In a preferred embodiment of the present invention, described step 204 can comprise following substep:
Substep S21 is converted to the source user sign with the sign of the targeted customer in the communication data between described targeted customer and the source user, and the source user sign is converted to targeted customer's sign;
Substep S22 preserves communication data after the described conversion as the communication data of source user.
In embodiments of the present invention, carry out conversion one by one, preserve source user again in the database of Cloud Server after being converted to the communication data of source user for the communication data between targeted customer who obtains and the source user.
For example, note data at aforementioned extraction, the process that is converted to the communication data of source user is: the account number accountA that the number of the account accountB of targeted customer B is changed into source user A, the targeted customer identifies self_number and source user sign peer_number exchanges, communication data transmitting-receiving type type puts upside down, and then the note data after the conversion is:
account=A;
self_number=18633288224;
peer_number=13822233445;
date=2013-1-17?20:17:43;
Body=has a meal tonight together;
type=outbox。
The note data of above-mentioned conversion represent phone number be " 13822233445 " source user A " 2013-1-17 20:17:43 " send content for the note of " have a meal tonight together " to the cell-phone number sign indicating number among the targeted customer B of " 18633288224 ".
After the data of targeted customer B are changed accordingly, meet the data memory format of source user A, can be directly be kept in its corresponding database, so far upgraded the communication data of the Cloud Server of source user A as the communication data of source user A at Cloud Server.
Step 204, notification source user carries out local update according to the communication data between described targeted customer and the described source user.
Preferably, Cloud Server is searched communication data between targeted customer and the source user according to the synchronous request of communication data, and after preserving in the database as the communication data of source user, can the notification target user whether communication data be synchronized to this locality, to communicate the local update of data.
Wherein, the local update that notification source user communicates data can have multiple mode, for example:
1, after the communication data change of the Cloud Server of finding source user, initiatively sends the notice of carrying out local update and arrive source user;
2, source user arrives Cloud Server by the synchronous request of the transmission communication data in cycle, and Cloud Server sends to source user with the notice of data change.
In addition, this locality in embodiments of the present invention can be meant such as the memory space of mobile phone terminal or the storage card of its connection, and communication data is to exist in the memory space that mobile phone terminal carries at present.
Step 205 sends to described source user with the communication data of described source user.
Cloud Server can be by source user in the converts communications data and targeted customer's user ID in the embodiment of the invention, and the transmitting-receiving type type of communication data can meet the data memory format of source user at Cloud Server, owing to only need to change the transmission types type of user ID and communication data, implementation is simple, the treatment effeciency height.In addition, after Cloud Server obtained the communication data of source user, in time the notification source user can carry out the renewal of local communication data, has guaranteed the treatment effeciency of data.
With reference to Fig. 4, show the flow chart of steps of the method embodiment 3 that communication data recovers between a kind of source user that the embodiment of the invention provides and the targeted customer, specifically can may further comprise the steps:
Step 301 initiates to communicate with described targeted customer the request of data sync;
Step 302 receives the message that agreement that described targeted customer returns at described request and source user communicate data sync;
In specific implementation, when lack in source user this locality and the targeted customer between communication data the time, source user initiates to communicate with the targeted customer request of data sync, if the targeted customer agrees this request, then return the message agreeing to communicate data sync to source user with source user, and send agree and source user between communicate the authorization message of data sync to Cloud Server.
Step 303, receive the notice of carrying out local update according to the communication data of described source user, extract acquisition the communication data of the communication data of described source user between described targeted customer and source user, the communication data between described targeted customer and the source user is to extract to obtain from targeted customer's communication data;
Particularly, when Cloud Server receives authorization message, extract the communication data between targeted customer and the source user from database, extraction source user's communications data the communication data between targeted customer and source user are preserved source user in the database of Cloud Server then.When source user the communication data of the database of Cloud Server upgrade finish after, notification source user carries out the renewal of local communication data according to the communication data of the source user in the database.
Step 304 adopts the communication data of described source user to carry out local update according to described notice.
In a preferred embodiment of the present invention, the communication data of described source user has writing time, is accurate to Millisecond described writing time, and described step 304 can comprise following substep:
Substep S31 obtains local communication data and corresponding writing time according to described notice;
Substep S32 judges whether to have redundant communication data, and the communication of described redundancy is the communication data of the source user consistent with local communication data writing time;
Substep S33 if there is redundant communication data, then removes the communication data of described redundancy;
Substep S34 adopts the described communication data of removing the source user behind the redundant communication data to carry out local update.
Lack because source user and targeted customer's communication data may be a part, therefore, can also communicate the redundancy of going of data, promptly communication data is carried out overweightly, remove the communication data identical in the communication data of Cloud Server transmission with local communication data.
Preferably, because the communication data of source user has writing time, and be accurate to Millisecond writing time.Because be Millisecond writing time, and do not have the possibility that sends simultaneously or receive two notes within one millisecond substantially, therefore can need only unanimity writing time according to communicating the overweight of data writing time, think identical communication data, can delete.
Need to prove that the overweight mode of concrete communication data can have multiple mode, for example also can select the ratio equity to the content of communication data, the present invention does not limit this.
In addition, when communicating pair was agreed the synchronous request of communication data, it was synchronous also can to select to carry out two-way communication data, allows communicating pair receive the communication data that the other side has stored separately.Particularly, the bi-directional synchronization of communication data, can all incomplete situation of communication data of communicating pair under, after both sides confirm, the complementary behavior that the communication data of both sides' Cloud Server carries out.For example: suppose that user A has 100 of notes, 80 identical with user B storage are wherein then issued user B with these 20 different notes; User B has 90 of notes, 80 identical with user A storage wherein, and 10 different with A are then given A synchronously with these 10 different notes, and are synchronous to finish the two-way communication data of communicating by letter.
The part communication data that embodiment of the invention Cloud Server sends may also be stored in source user this locality, therefore the communication data that sends for Cloud Server can go the redundancy communication data, with the local identical communication data of source user, save the memory space of source user in the communication data that the removal Cloud Server sends.
Need to prove, for aforesaid method embodiment, for simple description, so it all is expressed as a series of combination of actions, but those skilled in the art should know, the embodiment of the invention is not subjected to the restriction of described sequence of movement, because according to the embodiment of the invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in the specification all belongs to preferred embodiment, and related action and module might not be that the embodiment of the invention is necessary.
With reference to Fig. 5, show the structured flowchart of the device embodiment 1 that communication data recovers between a kind of source user that the embodiment of the invention provides and the targeted customer, specifically can comprise with lower module:
Authorization message receiver module 401 is used to receive the synchronous authorization message of communication data between described targeted customer's agreement and the described source user;
In a preferred embodiment of the present invention, described targeted customer agree and source user between the synchronous authorization message of communication data can for, initiate to communicate the request of data sync with the targeted customer according to source user, and described targeted customer sends the message that communicates data sync between agreement and the source user and generates.
In a preferred embodiment of the present invention, described communication data can be note.
Communication data is searched module 402, is used for searching communication data between described targeted customer and the described source user at described targeted customer's communication data;
In a preferred embodiment of the present invention, described communication data has affiliated user ID, and, the user ID of Correspondent Node, described communication data is searched module 402 can comprise following submodule:
Destinations traffic data search submodule is used for searching corresponding targeted customer's communication data according to targeted customer's sign;
Destinations traffic data extract submodule is used for according to the source user sign from described targeted customer's communication data described targeted customer of extraction and the communication data between the source user.
Communication data is preserved module 403, is used for the communication data between described targeted customer and the described source user is preserved as the communication data of source user;
In a preferred embodiment of the present invention, described communication data is preserved module 403 and is comprised following submodule:
Sign conversion submodule is used for targeted customer's sign of the communication data between described targeted customer and the source user is converted to the source user sign, and the source user sign is converted to targeted customer's sign;
The converts communications data are preserved submodule, are used to preserve communication data after the described conversion as the communication data of source user.
In a preferred embodiment of the present invention, described device can also comprise as lower module:
The update notification module is used for the notification source user and carries out local update according to the communication data between described targeted customer and the described source user.
Communication data sending module 404 is used for the communication data of described source user is sent to described source user.
With reference to Fig. 6, show the structured flowchart of the device embodiment 2 that communication data recovers between a kind of source user that the embodiment of the invention provides and the targeted customer, specifically can comprise with lower module:
Synchronization request initiation module 501 is used to initiate to communicate with described targeted customer the request of data sync;
Acceptance message receiver module 502 is used to receive the message that agreement that described targeted customer returns at described request and source user communicate data sync;
Update notification receiver module 503, be used to receive the notice of carrying out local update according to the communication data of described source user, extract acquisition the communication data of the communication data of described source user between described targeted customer and source user, the communication data between described targeted customer and the source user is to extract to obtain from targeted customer's communication data;
Local update module 504 is used for adopting the communication data of described source user to carry out local update according to described notice.
In a preferred embodiment of the present invention, the communication data of described source user has writing time, is accurate to Millisecond described writing time, and described local update module 504 can comprise following submodule:
Obtain submodule writing time, be used for obtaining local communication data and corresponding writing time according to described notice;
The redundancy communication data are judged submodule, are used to judge whether to have redundant communication data, and the communication of described redundancy is the communication data of the source user consistent with local communication data writing time; If there is redundant communication data, then calls the redundancy communication data and remove submodule;
The redundancy communication data are removed submodule, are used to remove the communication data of described redundancy;
Communication data local update submodule is used to adopt the described communication data of removing the source user behind the redundant communication data to carry out local update.
For device embodiment, because it is similar substantially to method embodiment, so description is fairly simple, relevant part gets final product referring to the part explanation of method embodiment.
The embodiment of the invention also provides a kind of equipment, and described equipment comprises:
One or more processors;
Memory; With
One or more modules (programs), described one or more module stores are in described memory and be configured to be carried out by described one or more processors, and wherein, described one or more modules have following function:
Receive the synchronous authorization message of communication data between described targeted customer's agreement and the described source user;
In described targeted customer's communication data, search the communication data between described targeted customer and the described source user;
Communication data between described targeted customer and the described source user is preserved as the communication data of source user;
The communication data of described source user is sent to described source user.
Preferably, described one or more module can also comprise following function:
Notification source user carries out local update according to the communication data between described targeted customer and the described source user.
Preferably, the synchronous authorization message of communication data is between described targeted customer's agreement and the source user, initiate to communicate the request of data sync according to source user with the targeted customer, and, described targeted customer send agree and source user between communicate data sync message generate.
Preferably, described communication data has affiliated user ID, and, the user ID of Correspondent Node, described step of searching the communication data between described targeted customer and the described source user in targeted customer's communication data comprises:
Search corresponding targeted customer's communication data according to targeted customer's sign;
Identify the communication data that from described targeted customer's communication data, extracts between described targeted customer and the source user according to source user.
Preferably, the described step that communication data between targeted customer and the described source user is preserved as the communication data of source user comprises:
Targeted customer in the communication data between described targeted customer and source user sign is converted to the source user sign, and the source user sign is converted to targeted customer's sign;
Preserve communication data after the described conversion as the communication data of source user;
Preferably, described communication data is a note.
The embodiment of the invention also provides a kind of equipment, and described equipment comprises:
One or more processors;
Memory; With
One or more modules (programs), described one or more module stores are in described memory and be configured to be carried out by described one or more processors, and wherein, described one or more modules have following function:
Initiate to communicate the request of data sync with described targeted customer;
Receive the message that agreement that described targeted customer returns at described request and source user communicate data sync;
Receive the notice of carrying out local update according to the communication data of described source user, extract acquisition the communication data of the communication data of described source user between described targeted customer and source user, the communication data between described targeted customer and the source user is to extract to obtain from targeted customer's communication data;
Adopt the communication data of described source user to carry out local update according to described notice.
Preferably, the communication data of described source user has writing time, is accurate to Millisecond described writing time, and the described step that adopts the communication data of described source user to carry out local update according to notice comprises:
Obtain local communication data and corresponding writing time according to described notice;
Judge whether to have redundant communication data, the communication of described redundancy is the communication data of the source user consistent with local communication data writing time;
If there is redundant communication data, then remove the communication data of described redundancy;
Adopt the described communication data of removing the source user behind the redundant communication data to carry out local update
Present embodiment also provides a kind of non-volatile readable storage medium, store one or more modules (programs) in this storage medium, when these one or more modules are used in the equipment with touch screen, can be so that this equipment be carried out the instruction (instructions) of following steps:
Receive the synchronous authorization message of communication data between described targeted customer's agreement and the described source user;
In described targeted customer's communication data, search the communication data between described targeted customer and the described source user;
Communication data between described targeted customer and the described source user is preserved as the communication data of source user;
The communication data of described source user is sent to described source user.
Preferably, described one or more module can also make this equipment carry out the instruction of following steps:
Notification source user carries out local update according to the communication data between described targeted customer and the described source user.
Preferably, the synchronous authorization message of communication data is between described targeted customer's agreement and the source user, initiate to communicate the request of data sync according to source user with the targeted customer, and, described targeted customer send agree and source user between communicate data sync message generate.
Preferably, described communication data has affiliated user ID, and, the user ID of Correspondent Node, described step of searching the communication data between described targeted customer and the described source user in targeted customer's communication data comprises:
Search corresponding targeted customer's communication data according to targeted customer's sign;
Identify the communication data that from described targeted customer's communication data, extracts between described targeted customer and the source user according to source user.
Preferably, the described step that communication data between targeted customer and the described source user is preserved as the communication data of source user comprises:
Targeted customer in the communication data between described targeted customer and source user sign is converted to the source user sign, and the source user sign is converted to targeted customer's sign;
Preserve communication data after the described conversion as the communication data of source user;
Preferably, described communication data is a note.
Present embodiment also provides a kind of non-volatile readable storage medium, store one or more modules (programs) in this storage medium, when these one or more modules are used in the equipment with touch screen, can be so that this equipment be carried out the instruction (instructions) of following steps:
Initiate to communicate the request of data sync with described targeted customer;
Receive the message that agreement that described targeted customer returns at described request and source user communicate data sync;
Receive the notice of carrying out local update according to the communication data of described source user, extract acquisition the communication data of the communication data of described source user between described targeted customer and source user, the communication data between described targeted customer and the source user is to extract to obtain from targeted customer's communication data;
Adopt the communication data of described source user to carry out local update according to described notice.
Preferably, the communication data of described source user has writing time, is accurate to Millisecond described writing time, and the described step that adopts the communication data of described source user to carry out local update according to notice comprises:
Obtain local communication data and corresponding writing time according to described notice;
Judge whether to have redundant communication data, the communication of described redundancy is the communication data of the source user consistent with local communication data writing time;
If there is redundant communication data, then remove the communication data of described redundancy;
Adopt the described communication data of removing the source user behind the redundant communication data to carry out local update
Those skilled in the art should understand that embodiments of the invention can be provided as method, system or computer program.Therefore, the embodiment of the invention can adopt complete hardware embodiment, complete software implementation example or in conjunction with the form of the embodiment of software and hardware aspect.And the embodiment of the invention can adopt the form that goes up the computer program of implementing in one or more computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) that wherein include computer usable program code.
The embodiment of the invention is that reference is described according to the flow chart and/or the block diagram of method, terminal (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block diagram and/or square frame and flow chart and/or the block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing terminals to produce a machine, make the instruction of carrying out by the processor of computer or other programmable data processing terminals produce to be used for the device of the function that is implemented in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing terminals with ad hoc fashion work, make the instruction that is stored in this computer-readable memory produce the manufacture that comprises command device, this command device is implemented in the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing terminals, make on computer or other programmable terminals and to carry out the sequence of operations step producing computer implemented processing, thereby the instruction of carrying out on computer or other programmable terminals is provided for being implemented in the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
Although described the preferred embodiment of the embodiment of the invention, in a single day those skilled in the art get the basic creative notion of cicada, then can make other change and modification to these embodiment.So claims are intended to all changes and the modification that are interpreted as comprising preferred embodiment and fall into embodiment of the invention scope.
At last, also need to prove, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby make and comprise that process, method, article or the terminal of a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or also be included as this process, method, article or terminal intrinsic key element.Do not having under the situation of more restrictions, the key element that limits by statement " comprising ... ", and be not precluded within process, method, article or the terminal that comprises described key element and also have other identical element.
More than method that communication data between a kind of source user that the embodiment of the invention provided and the targeted customer is recovered, the device that communication data recovers between a kind of source user and the targeted customer, and, a kind of equipment, be described in detail, used specific case herein the principle and the execution mode of the embodiment of the invention are set forth, the explanation of above embodiment just is used to help to understand the method and the core concept thereof of the embodiment of the invention; Simultaneously, for one of ordinary skill in the art, according to the thought of the embodiment of the invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as the restriction to the embodiment of the invention.

Claims (17)

1. the method that communication data recovers between source user and the targeted customer is characterized in that, comprising:
Receive the synchronous authorization message of communication data between described targeted customer's agreement and the described source user;
In described targeted customer's communication data, search the communication data between described targeted customer and the described source user;
Communication data between described targeted customer and the described source user is preserved as the communication data of source user;
The communication data of described source user is sent to described source user.
2. method according to claim 1 is characterized in that, before described communication data with source user sends to the step of described source user, also comprises:
Notification source user carries out local update according to the communication data between described targeted customer and the described source user.
3. method according to claim 1, it is characterized in that, the synchronous authorization message of communication data is between described targeted customer's agreement and the source user, initiate to communicate the request of data sync with the targeted customer according to source user, and described targeted customer sends the message that communicates data sync between agreement and the source user and generates.
4. according to claim 1 or 2 or 3 described methods, it is characterized in that described communication data has affiliated user ID, and, the user ID of Correspondent Node, described step of searching the communication data between described targeted customer and the described source user in targeted customer's communication data comprises:
Search corresponding targeted customer's communication data according to targeted customer's sign;
Identify the communication data that from described targeted customer's communication data, extracts between described targeted customer and the source user according to source user.
5. method according to claim 4 is characterized in that, the described step that communication data between targeted customer and the described source user is preserved as the communication data of source user comprises:
Targeted customer in the communication data between described targeted customer and source user sign is converted to the source user sign, and the source user sign is converted to targeted customer's sign;
Preserve communication data after the described conversion as the communication data of source user;
6. method according to claim 5 is characterized in that, described communication data is a note.
7. the method that communication data recovers between source user and the targeted customer is characterized in that, comprising:
Initiate to communicate the request of data sync with described targeted customer;
Receive the message that agreement that described targeted customer returns at described request and source user communicate data sync;
Receive the notice of carrying out local update according to the communication data of described source user, extract acquisition the communication data of the communication data of described source user between described targeted customer and source user, the communication data between described targeted customer and the source user is to extract to obtain from targeted customer's communication data;
Adopt the communication data of described source user to carry out local update according to described notice.
8. method according to claim 7 is characterized in that the communication data of described source user has writing time, is accurate to Millisecond described writing time, and the described step that adopts the communication data of described source user to carry out local update according to notice comprises:
Obtain local communication data and corresponding writing time according to described notice;
Judge whether to have redundant communication data, the communication of described redundancy is the communication data of the source user consistent with local communication data writing time;
If there is redundant communication data, then remove the communication data of described redundancy;
Adopt the described communication data of removing the source user behind the redundant communication data to carry out local update.
9. the device that communication data recovers between source user and the targeted customer is characterized in that, comprising:
The authorization message receiver module is used to receive the synchronous authorization message of communication data between described targeted customer's agreement and the described source user;
Communication data is searched module, is used for searching communication data between described targeted customer and the described source user at described targeted customer's communication data;
Communication data is preserved module, is used for the communication data between described targeted customer and the described source user is preserved as the communication data of source user;
The communication data sending module is used for the communication data of described source user is sent to described source user.
10. device according to claim 9 is characterized in that, also comprises:
The update notification module is used for the notification source user and carries out local update according to the communication data between described targeted customer and the described source user.
11. device according to claim 9, it is characterized in that, the synchronous authorization message of communication data is between described targeted customer's agreement and the source user, initiate to communicate the request of data sync with the targeted customer according to source user, and described targeted customer sends the message that communicates data sync between agreement and the source user and generates.
12. according to claim 9 or 10 or 11 described devices, it is characterized in that described communication data has affiliated user ID, and, the user ID of Correspondent Node, described communication data is searched module and is comprised:
Destinations traffic data search submodule is used for searching corresponding targeted customer's communication data according to targeted customer's sign;
Destinations traffic data extract submodule is used for according to the source user sign from described targeted customer's communication data described targeted customer of extraction and the communication data between the source user.
13. device according to claim 12 is characterized in that, described communication data is preserved module and is comprised:
Sign conversion submodule is used for targeted customer's sign of the communication data between described targeted customer and the source user is converted to the source user sign, and the source user sign is converted to targeted customer's sign;
The converts communications data are preserved submodule, are used to preserve communication data after the described conversion as the communication data of source user.
14. the device that communication data recovers between source user and the targeted customer is characterized in that, comprising:
The synchronization request initiation module is used to initiate to communicate with described targeted customer the request of data sync;
The acceptance message receiver module is used to receive the message that agreement that described targeted customer returns at described request and source user communicate data sync;
The update notification receiver module, be used to receive the notice of carrying out local update according to the communication data of described source user, extract acquisition the communication data of the communication data of described source user between described targeted customer and source user, the communication data between described targeted customer and the source user is to extract to obtain from targeted customer's communication data;
The local update module is used for adopting the communication data of described source user to carry out local update according to described notice.
15. device according to claim 14 is characterized in that, the communication data of described source user has writing time, is accurate to Millisecond described writing time, and described local update module comprises:
Obtain submodule writing time, be used for obtaining local communication data and corresponding writing time according to described notice;
The redundancy communication data are judged submodule, are used to judge whether to have redundant communication data, and the communication of described redundancy is the communication data of the source user consistent with local communication data writing time; If there is redundant communication data, then calls the redundancy communication data and remove submodule;
The redundancy communication data are removed submodule, are used to remove the communication data of described redundancy;
Communication data local update submodule is used to adopt the described communication data of removing the source user behind the redundant communication data to carry out local update.
16. an equipment is characterized in that, described equipment comprises:
One or more processors;
Memory; With
One or more modules, described one or more module stores are in described memory and be configured to be carried out by described one or more processors, and wherein, described one or more modules have following function:
The authorization message receiver module is used to receive the synchronous authorization message of communication data between described targeted customer's agreement and the described source user;
Communication data is searched module, is used for searching communication data between described targeted customer and the described source user at described targeted customer's communication data;
The communication data sending module is used for the communication data between described targeted customer and the described source user is sent to described source user.
17. an equipment is characterized in that, described equipment comprises:
One or more processors;
Memory; With
One or more modules, described one or more module stores are in described memory and be configured to be carried out by described one or more processors, and wherein, described one or more modules have following function:
Initiate to communicate the request of data sync with described targeted customer;
Receive the message that agreement that described targeted customer returns at described request and source user communicate data sync;
Receive the notice of carrying out local update according to the communication data of described source user, extract acquisition the communication data of the communication data of described source user between described targeted customer and source user, the communication data between described targeted customer and the source user is to extract to obtain from targeted customer's communication data;
Adopt the communication data of described source user to carry out local update according to described notice.
CN201310125885.3A 2013-04-11 2013-04-11 The method that between source user and targeted customer, communication data recovers, device and equipment Active CN103220349B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310125885.3A CN103220349B (en) 2013-04-11 2013-04-11 The method that between source user and targeted customer, communication data recovers, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310125885.3A CN103220349B (en) 2013-04-11 2013-04-11 The method that between source user and targeted customer, communication data recovers, device and equipment

Publications (2)

Publication Number Publication Date
CN103220349A true CN103220349A (en) 2013-07-24
CN103220349B CN103220349B (en) 2016-03-09

Family

ID=48817800

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310125885.3A Active CN103220349B (en) 2013-04-11 2013-04-11 The method that between source user and targeted customer, communication data recovers, device and equipment

Country Status (1)

Country Link
CN (1) CN103220349B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104053137A (en) * 2014-06-27 2014-09-17 可牛网络技术(北京)有限公司 Data recovery method and device
CN104967527A (en) * 2015-05-04 2015-10-07 小米科技有限责任公司 Recovering method of communication recording, recovering device of communication recording and server
WO2017166743A1 (en) * 2016-04-01 2017-10-05 乐视控股(北京)有限公司 Method and apparatus for caching address book information of mobile terminal, and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1564980A (en) * 2001-08-03 2005-01-12 松下电器产业株式会社 Backup/restoration system and right management server
CN1980461A (en) * 2005-11-30 2007-06-13 中兴通讯股份有限公司 Device and method for realizing information recovery at network side
CN101304583A (en) * 2008-06-17 2008-11-12 中国电信股份有限公司 Method and system for implementing individual information backup based on smart card

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1564980A (en) * 2001-08-03 2005-01-12 松下电器产业株式会社 Backup/restoration system and right management server
CN1980461A (en) * 2005-11-30 2007-06-13 中兴通讯股份有限公司 Device and method for realizing information recovery at network side
CN101304583A (en) * 2008-06-17 2008-11-12 中国电信股份有限公司 Method and system for implementing individual information backup based on smart card

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
石伟丞 等: "可复原WebMail 的设计与实现", 《通信技术》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104053137A (en) * 2014-06-27 2014-09-17 可牛网络技术(北京)有限公司 Data recovery method and device
CN104967527A (en) * 2015-05-04 2015-10-07 小米科技有限责任公司 Recovering method of communication recording, recovering device of communication recording and server
WO2017166743A1 (en) * 2016-04-01 2017-10-05 乐视控股(北京)有限公司 Method and apparatus for caching address book information of mobile terminal, and electronic device

Also Published As

Publication number Publication date
CN103220349B (en) 2016-03-09

Similar Documents

Publication Publication Date Title
CN103475754B (en) Based on personal information switch and the method for intelligent watch
KR102275720B1 (en) Bluetooth communication method and bluetooth communication device
US9961661B2 (en) Determination of a communication object
CN104901983B (en) A kind of information synchronization method, apparatus and system
US20170154327A1 (en) Mobile Payment Method and Apparatus and Near Field Communication Device
JP2014527243A (en) RFID card management method and terminal
CN106060768A (en) Electronic business card automatic interaction system and method
CN102223361A (en) Communication systems and data synchronization methods
JP2019533922A (en) Method, apparatus, and mobile terminal for associating notification messages
CN104540086A (en) Business card information transmission method and device
CN102421091A (en) Address book updating method and system
CN106664296A (en) Seamless peer to peer internet connectivity
CN103402193A (en) Method for quickly exchanging information on mobile terminals with fingerprint sensors
CN103312590A (en) Method, device, receiving terminal, transmitting terminal and equipment for group communication
CN103220349A (en) Method, unit and device for communication data recovery between source user and target user
CN103108282A (en) Information processing method, client, mobile terminal and server
CN102769660A (en) Cloud server, terminal and data backing up method thereof
CN104184652A (en) Method and system for information interaction between terminals
CN105653717A (en) Information sharing method and device
CN106293996B (en) Method of data synchronization, main equipment, alternate device and system
WO2016011662A1 (en) Method, mobile terminal and system for exchanging electronic business card
CN105190601A (en) Locale-based sorting on mobile devices
CN104730916B (en) Electronic business card management system and management method applied to intelligent watch
CN103942675B (en) A kind of information processing method and electronic equipment
CN103763087B (en) Information processing method and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 100085 Beijing city Haidian District Qinghe Street No. 68 Huarun colorful city shopping center two floor 13

Applicant after: Xiaomi Technology Co., Ltd.

Address before: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant before: Beijing Xiaomi Technology Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant