CN104836655B - A kind of method of data synchronization - Google Patents
A kind of method of data synchronization Download PDFInfo
- Publication number
- CN104836655B CN104836655B CN201510204785.9A CN201510204785A CN104836655B CN 104836655 B CN104836655 B CN 104836655B CN 201510204785 A CN201510204785 A CN 201510204785A CN 104836655 B CN104836655 B CN 104836655B
- Authority
- CN
- China
- Prior art keywords
- terminal
- operation information
- data
- binding
- event
- 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.)
- Active
Links
Abstract
The embodiment of the invention discloses a kind of method of data synchronization.Wherein, this method comprises: detection is instructed for the initiation of object event;Initiation instruction is responded, the operation information of performance objective event is recorded;When detecting that meeting data synchronizes trigger condition, the data synchronization message including operation information is generated;Data synchronization message is sent to binding terminal, so that binding terminal is according to operation information performance objective event.Implement the embodiment of the present invention, can easily realize the synchronization of data between terminal.
Description
Technical field
The present invention relates to fields of communication technology, and in particular to a kind of method of data synchronization.
Background technique
With the development of communication technology, the terminals such as smart phone, tablet computer and notebook are more more and more universal, Mei Geyong
Family can possess the terminal devices such as mobile phone, tablet computer, notebook simultaneously, can also possess multiple mobile phones simultaneously.And it is practicing
Middle discovery needs to send out information by data line if the information that user is handled in a terminal is wanted to be sent to other terminals
Give other terminals, it is clear that user is cumbersome in such a way that data line sends information to other terminals.
Summary of the invention
A kind of method of data synchronization provided in an embodiment of the present invention can easily realize the synchronization of data between terminal.
The embodiment of the invention provides a kind of method of data synchronization, comprising:
Detection is instructed for the initiation of object event;
The initiation instruction is responded, record executes the operation information of the object event;
When detecting that meeting data synchronizes trigger condition, the data synchronization message including the operation information is generated;
The data synchronization message is sent to binding terminal, so that the binding terminal is executed according to the operation information
The object event.
The embodiment of the present invention can detecte the initiation instruction for object event;Initiation instruction is responded, record executes mesh
The operation information of mark event;When detecting that meeting data synchronizes trigger condition, generation is synchronized including the data of operation information to disappear
Breath;Data synchronization message is sent to binding terminal, so that binding terminal is according to operation information performance objective event.Implement this hair
Bright embodiment can easily realize the synchronization of data between terminal.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field
For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of method of data synchronization disclosed by the embodiments of the present invention;
Fig. 2 is the flow diagram of another method of data synchronization disclosed by the embodiments of the present invention;
Fig. 3 is a kind of structural schematic diagram of terminal disclosed by the embodiments of the present invention;
Fig. 4 is the structural schematic diagram of another terminal disclosed by the embodiments of the present invention;
Fig. 5 is the structural schematic diagram of another terminal disclosed by the embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of method of data synchronization, can easily realize the synchronization of data between terminal.
It is described in detail separately below.
Referring to Fig. 1, Fig. 1 is a kind of flow diagram of method of data synchronization disclosed by the embodiments of the present invention.Such as Fig. 1 institute
Show, which may comprise steps of.
S101, terminal detection are instructed for the initiation of object event;
In the embodiment of the present invention, which can be the equipment such as computer, mobile phone, tablet computer, notebook;The object event
It can be the corresponding event of event identifier initially set, or meet the event of preset data synchronization rules, for example, connection
It is the change of people's information, deletes or events, the embodiment of the present invention such as events, the creation of file, update or the deletion such as newly-built are not done
Limit, wherein the embodiment of the present invention when explaining each step using the change of contact information, delete or the events such as newly-built are as leading
It illustrates.
In the embodiment of the present invention, initiation instruction can be first operational order in an event, such as communication
Record the click open instructions of input.
Instruction is initiated in S102, terminal response, records the operation information of performance objective event;
In the embodiment of the present invention, instruction is initiated in terminal response, and one side terminal is inputted according to input for the object event
Operational order, performance objective event;On the other hand, terminal can executed by the recording device records such as episodic memory device terminal
Operation information during object event.
Optionally, which can specifically include operating area coordinate involved in performance objective event and be located at
The control of operating area coordinate identifies, wherein the operation information can also include that operating area identifies, for example, operating area mark
Operating area belonging to knowing is the main interface for including multiple application icons, and operating area coordinate can involved in performance objective event
The area coordinate that the application identities of the object event (contact information) are located at is thought, then control mark is that the region is sat
The application identities (address list) put on;As it can be seen that the operation information of embodiment record can be for type or configuration complete one
The implementation procedure of the terminal reproduction target event of cause.
As another optional implementation manner, which includes operation object involved in performance objective event
And for the operational order that operation object executes, for example, object event is address list, then operational order may include turn on behaviour
Make the click commands of object " address list ", the click commands for being directed to operation object " addition or newly-built control " input, for operation
The text of object " contact information input frame " input or digital information etc..
It should be noted that the operation information can also include corresponding temporal information, so that binding terminal is according to the time
Information executes corresponding operation in operation information, in order to repeat object event, to realize related data in object event
Synchronization.
S103, terminal detect whether to meet the synchronous trigger condition of data, if satisfied, thening follow the steps S104, otherwise, terminate
This process.
As an optional implementation manner, terminal detects whether to meet the synchronous trigger condition of data, can be with specifically: eventually
End detects whether to receive the synchronous triggering command of data for object event input, for example, user is adding contact person's letter
After breath, synchronization controls can be clicked with the synchronous triggering command of input data, thus, terminal can execute S104 to S105 and will record
Terminal execute addition contact information operation information be sent to binding terminal, with triggering binding terminal added according to operation information
Add contact information, completes the synchronization of contact information.
As another optional implementation manner, terminal detects whether to meet the synchronous trigger condition of data, can be with specifically:
Terminal detects whether that the operation information of record includes the end operation mark of object event, for example, user is in input contact person's letter
" preservation " operation is clicked after breath, terminal record is somebody's turn to do " preservation " operation, and terminal can detect " preservation " operation i.e. target thing
Part end operation mark when, can automatic trigger execute step S104 to S105, alternatively, terminal can pop up for prompt use
The prompting message whether family synchronizes the object event, if terminal receives the confirmation instruction for prompting message input
When, it can automatic trigger execution step S104 to S105.
S104, terminal generate the data synchronization message of the operation information including record;
The data synchronization message is sent to binding terminal by S105, terminal, so that binding terminal is executed according to operation information
Object event.
As an optional implementation manner, terminal generate include record operation information data synchronization message, can be with
Specifically: the short message including data synchronic command and operation information is generated, which may include instant communication message or voice
Data synchronization message is sent to binding terminal by message, correspondingly, terminal, so that binding terminal is according to operation information performance objective
Event, can be with specifically: short message is sent to the binding terminal according to the account information of binding terminal, is synchronized and is referred to by data
Enable triggering binding terminal according to operation information performance objective event, wherein account information can be the SIM card number of binding terminal
Or the account of instant messaging application.
As another optional implementation manner, data synchronization message is sent to binding terminal by terminal, so that binding is eventually
It end, can be with according to operation information performance objective event specifically: terminal, which is synchronized data using short-distance wireless transmission mode, to disappear
Breath is sent to binding terminal, so that binding terminal is according to operation information performance objective event, wherein the short range wireless transmission side
Any one of modes such as formula may include bluetooth, infrared and near-field communication NFC.
In the method depicted in fig. 1, terminal can detecte the initiation instruction for object event, responds the initiation and refers to
Enable, record the operation information of performance objective event, terminal detect meet data synchronous trigger condition when, can be generated including
Data synchronization message is sent to binding terminal by the data synchronization message of operation information, so that binding terminal is according to operation information
Performance objective event.Due to the operation information that binding terminal is sent according to terminal, object event is repeated, so as to certainly
The dynamic data that will be deleted in object event implementation procedure, and add or change synchronize, it is seen then that implement the embodiment of the present invention, it can
Easily to realize the synchronization of data between terminal.
Referring to Fig. 2, Fig. 2 is the flow diagram of another method of data synchronization disclosed by the embodiments of the present invention.Such as Fig. 2
Shown, which may comprise steps of.
S201, terminal receive the data synchronous binding request that binding terminal is sent, and data synchronous binding request includes tying up
Determine the mark of terminal;
In the embodiment of the present invention, which can be the equipment such as computer, mobile phone, tablet computer, notebook data
The mark for the binding terminal that synchronous binding request includes can be SIM card number, IP address or the physical address etc. of binding terminal
The unique identification that can communicate.
S202, terminal respond data synchronous binding request, establish between the mark of local terminal and the mark of binding terminal
Binding relationship;
In the embodiment of the present invention, which can be to be multiple, i.e., terminal can be simultaneously between multiple binding terminals
Carry out data communication.
S203, terminal detection are instructed for the initiation of object event;
In the embodiment of the present invention, which can be the corresponding event of event identifier initially set, or
Meet the event of preset data synchronization rules, for example, the change of contact information, delete or the events such as newly-built, file creation,
The events such as update or deletion;Initiation instruction can be first operational order in an event, such as input for address list
Click open instructions.Wherein, the embodiment of the present invention when explaining each step with the change of contact information, delete or newly-built etc.
Event is as main citing.
S204, terminal respond initiation instruction, and whether judgement enables for the data synchronous mode of object event, if opening
With thening follow the steps S205;Otherwise, terminate this process.
In the embodiment of the present invention, user can decide whether to enable the mesh by the enabling or closing of data synchronous mode
The data of mark event are synchronous.
The operation information of S205, terminal record performance objective event;
In the embodiment of the present invention, on the one hand, the operational order that terminal is inputted according to input for the object event executes mesh
Mark event;On the other hand, terminal can be by the recording device records such as episodic memory device terminal in performance objective event procedure
Operation information.
Optionally, which can specifically include operating area coordinate involved in performance objective event and be located at
The control of operating area coordinate identifies, wherein the operation information can also include that operating area identifies, for example, operating area mark
Operating area belonging to knowing is the main interface for including multiple application icons, and operating area coordinate can involved in performance objective event
The area coordinate that the application identities of the object event (contact information) are located at is thought, then control mark is that the region is sat
The application identities (address list) put on;As it can be seen that the operation information of embodiment record can be for type or configuration complete one
The implementation procedure of the terminal reproduction target event of cause.
As another optional implementation manner, which includes operation object involved in performance objective event
And for the operational order that operation object executes, for example, object event is address list, then operational order may include turn on behaviour
Make the click commands of object " address list ", the click commands for being directed to operation object " addition or newly-built control " input, for operation
The text of object " contact information input frame " input or digital information etc..
It should be noted that the operation information can also include corresponding temporal information, so that binding terminal is according to the time
Information executes corresponding operation in operation information, in order to repeat object event, to realize related data in object event
Synchronization.
S206, terminal detect whether to meet the synchronous trigger condition of data, if satisfied, thening follow the steps S207, otherwise, terminate
This process.
As an optional implementation manner, terminal detects whether to meet the synchronous trigger condition of data, can be with specifically: eventually
End detects whether to receive the synchronous triggering command of data for object event input, for example, user is adding contact person's letter
After breath, synchronization controls can be clicked with the synchronous triggering command of input data, thus, terminal can execute S207 to S208 and will record
Terminal execute addition contact information operation information be sent to binding terminal, with triggering binding terminal added according to operation information
Add contact information, completes the synchronization of contact information.
As another optional implementation manner, terminal detects whether to meet the synchronous trigger condition of data, can be with specifically:
Terminal detects whether that the operation information of record includes the end operation mark of object event, for example, user is in input contact person's letter
" preservation " operation is clicked after breath, terminal record is somebody's turn to do " preservation " operation, and terminal can detect " preservation " operation i.e. target thing
Part end operation mark when, can automatic trigger execute step S207 to S208, alternatively, terminal can pop up for prompt use
The prompting message whether family synchronizes the object event, if terminal receives the confirmation instruction for prompting message input
When, it can automatic trigger execution step S207 to S208.
S207, terminal generate the data synchronization message including operation information;
Data synchronization message is sent to binding terminal by S208, terminal, so that binding terminal executes mesh according to operation information
Mark event.
As an optional implementation manner, terminal generate include record operation information data synchronization message, can be with
Specifically: the short message including data synchronic command and operation information is generated, which may include instant communication message or voice
Data synchronization message is sent to binding terminal by message, correspondingly, terminal, so that binding terminal is according to operation information performance objective
Event, can be with specifically: short message is sent to the binding terminal according to the account information of binding terminal, is synchronized and is referred to by data
Enable triggering binding terminal according to operation information performance objective event, wherein account information can be the SIM card number of binding terminal
Or the account of instant messaging application.
As another optional implementation manner, data synchronization message is sent to binding terminal by terminal, so that binding is eventually
It end, can be with according to operation information performance objective event specifically: terminal, which is synchronized data using short-distance wireless transmission mode, to disappear
Breath is sent to binding terminal, so that binding terminal is according to operation information performance objective event, wherein the short range wireless transmission side
Any one of modes such as formula may include bluetooth, infrared and near-field communication NFC.
It should be noted that the embodiment of the above two operation information for sending object event can be according to binding terminal
Mark and terminal mark between the mark of binding terminal that stores in mapping relations selected.For example, if mapping relations
The account information for being identified as binding terminal of middle binding terminal can then send the operation letter of object event by way of short message
Breath;It, can if binding the mailing addresses marks such as the IP address for being identified as binding terminal or the physical address of terminal in mapping relations
To send the operation information of object event by short-distance wireless transmission mode.
In the method depicted in fig. 2, terminal can establish the mapping between the mark of local terminal and the mark of binding terminal
Relationship, and terminal is in the initiation instruction for detecting object event, it can be determined that for the data synchronous mode of object event
Whether enable, if enabling, records the operation information of performance objective event, and will according to the mark for binding terminal in mapping relations
The operation information of object event is sent to binding terminal, so as to terminal is bound according to the operation information performance objective event, thus
Realize that the data between terminal and binding terminal are synchronous.
Referring to Fig. 3, Fig. 3 is a kind of structural schematic diagram of terminal disclosed by the embodiments of the present invention.Wherein, shown in Fig. 4
It may include detection unit 301, recording unit 302, generation unit 303 and transmission unit 304, in which:
Detection unit 301, for detecting the initiation instruction for being directed to object event.
In the embodiment of the present invention, which can be the corresponding event of event identifier initially set, or
Meet the event of preset data synchronization rules, for example, the change of contact information, delete or the events such as newly-built, file creation,
The events such as update or deletion, the embodiment of the present invention is without limitation, wherein the embodiment of the present invention is when explaining each step with contact person
The change of information is deleted or the events such as newly-built are as main citing.
In the embodiment of the present invention, initiation instruction can be first operational order in an event, such as communication
Record the click open instructions of input.
Recording unit 302, for responding the initiation instruction of detection unit detection, the operation letter of record performance objective event
Breath.
In the embodiment of the present invention, instruction is initiated in terminal response, and one side terminal is inputted according to input for the object event
Operational order, performance objective event;On the other hand, recording unit 302 can pass through the recording device records such as episodic memory device end
Hold the operation information in performance objective event procedure.
Optionally, which can specifically include operating area coordinate involved in performance objective event and be located at
The control of operating area coordinate identifies, wherein the operation information can also include that operating area identifies, for example, operating area mark
Operating area belonging to knowing is the main interface for including multiple application icons, and operating area coordinate can involved in performance objective event
The area coordinate that the application identities of the object event (contact information) are located at is thought, then control mark is that the region is sat
The application identities (address list) put on;As it can be seen that the operation information of embodiment record can be for type or configuration complete one
The implementation procedure of the terminal reproduction target event of cause.
As another optional implementation manner, which includes operation object involved in performance objective event
And for the operational order that operation object executes, for example, object event is address list, then operational order may include turn on behaviour
Make the click commands of object " address list ", the click commands for being directed to operation object " addition or newly-built control " input, for operation
The text of object " contact information input frame " input or digital information etc..
It should be noted that the operation information can also include corresponding temporal information, so that binding terminal is according to the time
Information executes corresponding operation in operation information, in order to repeat object event, to realize related data in object event
Synchronization.
Generation unit 303, for generating the data including operation information when detecting that meeting data synchronizes trigger condition
Synchronization message.
Transmission unit 304, the data synchronization message for generating generation unit are sent to binding terminal, so that binding is eventually
End is according to operation information performance objective event.
As an optional implementation manner, generation unit 303 detect meet data synchronous trigger condition when, can be with
Specifically: generation unit 303 is when receiving the data synchronization triggering command for object event input, for example, user is adding
After adding contact information, synchronization controls can be clicked with the synchronous triggering command of input data, thus, generation unit 303 can be with
Generate the data synchronization message including operation information.
As another optional implementation manner, generation unit 303, can when detecting that meeting data synchronizes trigger condition
With specifically: generation unit 303 when the operation information for detecting record includes the end operation mark of object event, for example,
User clicks " preservation " operation after inputting contact information, and the record of recording unit 302 is somebody's turn to do " preservation " operation, generation unit 303
The data including operation information can be produced when detecting the end operation mark of the i.e. object event of " preservation " operation
Synchronization message.
As an optional implementation manner, the data that generation unit 303 generates the operation information including record, which synchronize, to disappear
Breath, can be with specifically: generation unit 303 generate include data synchronic command and operation information short message, which may include
Data synchronization message is sent to binding terminal by instant communication message or speech message, correspondingly, transmission unit 304, so as to tie up
Determine terminal according to operation information performance objective event, it can be with specifically: transmission unit 304 will according to the account information of binding terminal
Short message is sent to binding terminal, triggers binding terminal according to operation information performance objective event by data synchronic command, wherein
Account information can be the SIM card number of binding terminal or the account of instant messaging application.
As another optional implementation manner, data synchronization message is sent to binding terminal by transmission unit 304, so that
Terminal is bound according to operation information performance objective event, it can be with specifically: transmission unit 304 utilizes short-distance wireless transmission mode
Data synchronization message is sent to binding terminal, so that binding terminal is according to operation information performance objective event, wherein the short distance
It may include bluetooth from wireless transmission method, any one of modes such as infrared and near-field communication NFC.
Referring to Figure 4 together, Fig. 4 is the structural schematic diagram of another terminal disclosed by the embodiments of the present invention.Wherein, Fig. 4
Shown in terminal be that terminal as shown in Figure 3 optimizes.Compared with terminal shown in Fig. 3, terminal shown in Fig. 4
It can also include that judging unit 305, receiving unit 306 and binding relationship establish unit 307.
Judging unit 305, for when instruction is initiated in response, whether judgement to open for the data synchronous mode of object event
With if enabling, the record of trigger recording unit 302 executes the operation information of the object event.
In the embodiment of the present invention, user can decide whether to enable the mesh by the enabling or closing of data synchronous mode
The data of mark event are synchronous.
In the embodiment of the present invention, can also include: in terminal shown in Fig. 4
Receiving unit 306, the data synchronous binding request sent for receiving binding terminal, data synchronous binding request
Mark including binding terminal;
Binding relationship establishes unit 307, for responding the request of the received data synchronous binding of receiving unit 306, establishes eventually
Binding relationship between the mark at end and the mark of binding terminal.
In the embodiment of the present invention, which can be the equipment such as computer, mobile phone, tablet computer, notebook data
The mark for the binding terminal that synchronous binding request includes can be SIM card number, IP address or the physical address etc. of binding terminal
The unique identification that can communicate.
In the embodiment of the present invention, which can be to be multiple, i.e., terminal can be simultaneously between multiple binding terminals
Carry out data communication.
It should be noted that the embodiment of the operation information of the above two transmission object event of transmission unit 304 can
To be selected according to the mark of the binding terminal stored in mapping relations between the mark of binding terminal and the mark of terminal.Example
Such as, if binding the account information for being identified as binding terminal of terminal in mapping relations, transmission unit 304 can pass through short message
Mode sends the operation information of object event;If binding the IP address or physics for being identified as binding terminal of terminal in mapping relations
The mailing addresses such as address mark, then transmission unit 304 can send the operation of object event by short-distance wireless transmission mode
Information.
In Fig. 3 and terminal shown in Fig. 4, detection unit can detecte the initiation instruction for object event, record
Member responds initiation instruction, records the operation information of performance objective event, and generation unit can detect that meeting data synchronizes
When trigger condition, the data synchronization message including operation information is generated, data synchronization message can be sent to and tie up by transmission unit
Terminal is determined, so that binding terminal is according to operation information performance objective event.Since binding terminal is believed according to the operation that terminal is sent
Breath, object event is repeated, so as to automatically will in object event implementation procedure delete, add or change data into
Row synchronizes, it is seen then that Fig. 3 and terminal shown in Fig. 4 can easily realize the synchronization of data between terminal.
Further, in terminal shown in Fig. 4, receiving unit is asked in the data synchronous binding for receiving binding terminal transmission
When asking, the mapping relations that unit is established between the mark of local terminal and the mark of binding terminal can be established by binding relationship, and
Judging unit can response for object event initiation instruction when, judgement for object event data synchronous mode whether
It enables, if enabling, by the operation information of recording unit records performance objective event, it is seen then that terminal shown in Fig. 4 can improve
The operating experience of user.
Fig. 5 is referred to, Fig. 5 is the structural schematic diagram of another terminal disclosed by the embodiments of the present invention, as shown in figure 5, should
Terminal may include at least one processor 401, such as CPU, input unit 402, memory 403, at least one communication bus
404, output device 405.Wherein, communication bus 404 is for realizing the communication connection between these components.Wherein, output device
405 can be display screen, and input unit 402 may include touch screen etc..Memory 403 can be high speed RAM memory, can also
To be non-labile memory (non-volatile memory), for example, at least a magnetic disk storage.Memory 403 can
Choosing can also be that at least one is located remotely from the storage device of aforementioned processor 401.Wherein, processor 401 can combine Fig. 3
With terminal described in Fig. 4, batch processing code is stored in memory 403, and processor 401 is called and stored in memory 403
Program code, for performing the following operations:
Initiation by the detection of input unit 402 for object event instructs;
Instruction is initiated in response, records the operation information of performance objective event;
When detecting that meeting data synchronizes trigger condition, the data synchronization message including operation information is generated;
Data synchronization message is sent to binding terminal by output device 405, so that binding terminal is according to operation information
Performance objective event.
In the embodiment of the present invention, which can be the corresponding event of event identifier initially set, or
Meet the event of preset data synchronization rules, for example, the change of contact information, delete or the events such as newly-built, file creation,
The events such as update or deletion, the embodiment of the present invention is without limitation, wherein the embodiment of the present invention is when explaining each step with contact person
The change of information is deleted or the events such as newly-built are as main citing.
In the embodiment of the present invention, initiation instruction can be first operational order in an event, such as communication
Record the click open instructions of input.
In the embodiment of the present invention, instruction is initiated in terminal response, and one side terminal is inputted according to input for the object event
Operational order, performance objective event;On the other hand, processor 401 can pass through the recording device records terminal such as episodic memory device
Operation information in performance objective event procedure.
Optionally, which can specifically include operating area coordinate involved in performance objective event and be located at
The control of operating area coordinate identifies, wherein the operation information can also include that operating area identifies, for example, operating area mark
Operating area belonging to knowing is the main interface for including multiple application icons, and operating area coordinate can involved in performance objective event
The area coordinate that the application identities of the object event (contact information) are located at is thought, then control mark is that the region is sat
The application identities (address list) put on;As it can be seen that the operation information of embodiment record can be for type or configuration complete one
The implementation procedure of the terminal reproduction target event of cause.
As another optional implementation manner, which includes operation object involved in performance objective event
And for the operational order that operation object executes, for example, object event is address list, then operational order may include turn on behaviour
Make the click commands of object " address list ", the click commands for being directed to operation object " addition or newly-built control " input, for operation
The text of object " contact information input frame " input or digital information etc..
It should be noted that the operation information can also include corresponding temporal information, so that binding terminal is according to the time
Information executes corresponding operation in operation information, in order to repeat object event, to realize related data in object event
Synchronization.
As an optional implementation manner, processor 401 can have when detecting that meeting data synchronizes trigger condition
Body are as follows: processor 401 is when receiving the data synchronization triggering command for object event input, for example, user is adding
After contact information, synchronization controls can be clicked with the synchronous triggering command of input data, thus, packet can be generated in processor 401
Include the data synchronization message of operation information.
As another optional implementation manner, processor 401 detect meet data synchronous trigger condition when, can be with
Specifically: processor 401 is when the operation information for detecting record includes the end operation mark of object event, for example, user
" preservation " operation is clicked after inputting contact information, the record of processor 401 is somebody's turn to do " preservation " operation, and processor 401 can examined
When measuring the end operation mark of the i.e. object event of " preservation " operation, i.e., the producible data including operation information, which synchronize, to disappear
Breath.
As an optional implementation manner, processor 401 generates the data synchronization message of the operation information including record,
Can be with specifically: processor 401 generate include data synchronic command and operation information short message, which may include Instant Messenger
Believe message or speech message, correspondingly, data synchronization message is sent to binding terminal by processor 401, so that binding terminal root
It, can be with according to operation information performance objective event specifically: short message is sent to by processor 401 according to the account information of binding terminal
Terminal is bound, binding terminal is triggered according to operation information performance objective event by data synchronic command, wherein account information can
Think the SIM card number of binding terminal or the account of instant messaging application.
As another optional implementation manner, data synchronization message is sent to binding terminal by processor 401, so as to tie up
Determine terminal according to operation information performance objective event, it can be with specifically: processor 401 will be counted using short-distance wireless transmission mode
Be sent to binding terminal according to synchronization message so that binding terminal according to operation information performance objective event, wherein the short distance without
Any one of modes such as line transmission mode may include bluetooth, infrared and near-field communication NFC.
In the embodiment of the present invention, processor 401 calls the program code in memory 403 may be used also when instruction is initiated in response
To execute following operation:
Whether judgement enables for the data synchronous mode of object event;
If enabling, the operation of the operation information of the record performance objective event is executed.
In the embodiment of the present invention, user can decide whether to enable the mesh by the enabling or closing of data synchronous mode
The data of mark event are synchronous.
In the embodiment of the present invention, processor 401 calls the program code in memory 403, and following operation can also be performed:
The data synchronous binding request that binding terminal is sent, data synchronous binding request are received by input unit 402
Mark including binding terminal;
The binding relationship between the mark of local terminal and the mark of binding terminal is established in the request of response data synchronous binding.
In the embodiment of the present invention, which can be the equipment such as computer, mobile phone, tablet computer, notebook data
The mark for the binding terminal that synchronous binding request includes can be SIM card number, IP address or the physical address etc. of binding terminal
The unique identification that can communicate.
In the embodiment of the present invention, which can be to be multiple, i.e., terminal can be simultaneously between multiple binding terminals
Carry out data communication.
It should be noted that operation information of the processor 401 by the above two transmission object event of output device 405
Embodiment can be according to the mark of the binding terminal stored in mapping relations between the mark of binding terminal and the mark of terminal
Knowledge is selected.For example, processor 401 can if binding the account information for being identified as binding terminal of terminal in mapping relations
The operation information of object event is sent in a manner of through short message;If binding being identified as terminal in mapping relations binds terminal
The mailing addresses such as IP address or physical address mark, then processor 401 can send target by short-distance wireless transmission mode
The operation information of event.
Specifically, the data side of synchronization that the present invention combines Fig. 1 or Fig. 2 introduction can be implemented in the terminal introduced in the present embodiment
Process some or all of in method embodiment.
The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.
Unit or sub-unit in the terminal of that embodiment of the invention or equipment can merge according to actual needs, divide and
It deletes.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing the relevant hardware of terminal device by program, which can store in a computer readable storage medium
In, storage medium may include: flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random
Access Memory, RAM), disk or CD etc..
Above to the embodiment of the invention discloses a kind of method of data synchronization to be described in detail, tool used herein
Principle and implementation of the present invention are described for body example, the above embodiments are only used to help understand this hair
Bright method and its core concept;At the same time, for those skilled in the art, according to the thought of the present invention, specific real
Apply in mode and application range that there will be changes, in conclusion the content of the present specification should not be construed as to limit of the invention
System.
Claims (7)
1. a kind of method of data synchronization characterized by comprising
Detection is instructed for the initiation of object event;
The initiation instruction is responded, record executes the operation information of the object event, and the operation information includes described in execution
Operating area coordinate involved in object event and the control mark positioned at the operating area coordinate, the operation information is also
Including temporal information, the operation information is to the execution for type or configuration consistent terminal reproduction target event completely
Journey;
It is directed to the synchronous triggering command of data that the object event inputs when detecting, or detects the behaviour of the record
When including the end operation mark of the object event as information, the data synchronization message including the operation information is generated;
The data synchronization message is sent to binding terminal, so that the binding terminal is according to operation information execution
Object event.
2. the method as described in claim 1, which is characterized in that the operation information includes involved in the execution object event
And operation object and for the operation object execute operational order.
3. the method as described in claim 1, which is characterized in that when the response initiation instructs, the method also includes:
Whether judgement enables for the data synchronous mode of the object event;
If enabling, the step of record executes the operation information of the object event is executed.
4. the method as described in claim 1, which is characterized in that the generation is synchronized including the data of the operation information to disappear
Breath, comprising:
The short message including data synchronic command and the operation information is generated, the short message includes that instant communication message or voice disappear
Breath;
It is described that the data synchronization message is sent to binding terminal, so that the binding terminal is executed according to the operation information
The object event, comprising:
The short message is sent to the binding terminal according to the account information of binding terminal, is touched by the data synchronic command
It sends out described and binds terminal according to the operation information execution object event.
5. the method as described in claim 1, which is characterized in that it is described that the data synchronization message is sent to binding terminal,
So that the binding terminal executes the object event according to the operation information, comprising:
The data synchronization message is sent to binding terminal using short-distance wireless transmission mode, so that the binding terminal root
The object event is executed according to the operation information.
6. such as the described in any item methods of claim 3 to 5, which is characterized in that the object event includes creating, replace and deleting
Except at least one of contact person.
7. such as the described in any item methods of claim 3 to 5, which is characterized in that the method also includes:
The data synchronous binding request that binding terminal is sent is received, the data synchronous binding request includes the binding terminal
Mark;
The data synchronous binding request is responded, the binding established between the mark of local terminal and the mark of the binding terminal is closed
System.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510204785.9A CN104836655B (en) | 2015-04-27 | 2015-04-27 | A kind of method of data synchronization |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510204785.9A CN104836655B (en) | 2015-04-27 | 2015-04-27 | A kind of method of data synchronization |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104836655A CN104836655A (en) | 2015-08-12 |
CN104836655B true CN104836655B (en) | 2019-05-21 |
Family
ID=53814312
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510204785.9A Active CN104836655B (en) | 2015-04-27 | 2015-04-27 | A kind of method of data synchronization |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104836655B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105871423A (en) * | 2016-03-28 | 2016-08-17 | 乐视控股(北京)有限公司 | Data processing method and device |
CN114079658B (en) * | 2020-08-03 | 2022-10-28 | 荣耀终端有限公司 | Cross-device synchronization method, terminal device and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1997173A (en) * | 2006-12-22 | 2007-07-11 | 深圳市戴文科技有限公司 | Implementation system and method for data synchronization of the mobile terminal |
CN101257375A (en) * | 2006-12-31 | 2008-09-03 | 华为技术有限公司 | Method and device for realizing multi-terminal message synchronization |
CN101778134A (en) * | 2010-01-11 | 2010-07-14 | 青岛海信移动通信技术股份有限公司 | Data synchronization method and mobile communication terminal |
CN102638774A (en) * | 2012-03-31 | 2012-08-15 | 王方淇 | Method and system for synchronously sharing mobile terminal data |
CN102638578A (en) * | 2012-03-29 | 2012-08-15 | 深圳市高正软件有限公司 | Data synchronization method and data synchronization system based on mobile devices |
CN103327037A (en) * | 2012-03-20 | 2013-09-25 | 中兴通讯股份有限公司 | Data synchronizing method and device |
CN103368991A (en) * | 2012-03-28 | 2013-10-23 | 北京智慧风云科技有限公司 | Cloud storage immediate synchronization system |
CN104092646A (en) * | 2013-10-28 | 2014-10-08 | 腾讯科技(深圳)有限公司 | Operation synchronization method and device |
CN104182493A (en) * | 2014-08-12 | 2014-12-03 | 可牛网络技术(北京)有限公司 | Data synchronization method and device as well as terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120117271A1 (en) * | 2010-11-05 | 2012-05-10 | Sony Corporation | Synchronization of Data in a Distributed Computing Environment |
-
2015
- 2015-04-27 CN CN201510204785.9A patent/CN104836655B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1997173A (en) * | 2006-12-22 | 2007-07-11 | 深圳市戴文科技有限公司 | Implementation system and method for data synchronization of the mobile terminal |
CN101257375A (en) * | 2006-12-31 | 2008-09-03 | 华为技术有限公司 | Method and device for realizing multi-terminal message synchronization |
CN101778134A (en) * | 2010-01-11 | 2010-07-14 | 青岛海信移动通信技术股份有限公司 | Data synchronization method and mobile communication terminal |
CN103327037A (en) * | 2012-03-20 | 2013-09-25 | 中兴通讯股份有限公司 | Data synchronizing method and device |
CN103368991A (en) * | 2012-03-28 | 2013-10-23 | 北京智慧风云科技有限公司 | Cloud storage immediate synchronization system |
CN102638578A (en) * | 2012-03-29 | 2012-08-15 | 深圳市高正软件有限公司 | Data synchronization method and data synchronization system based on mobile devices |
CN102638774A (en) * | 2012-03-31 | 2012-08-15 | 王方淇 | Method and system for synchronously sharing mobile terminal data |
CN104092646A (en) * | 2013-10-28 | 2014-10-08 | 腾讯科技(深圳)有限公司 | Operation synchronization method and device |
CN104182493A (en) * | 2014-08-12 | 2014-12-03 | 可牛网络技术(北京)有限公司 | Data synchronization method and device as well as terminal |
Also Published As
Publication number | Publication date |
---|---|
CN104836655A (en) | 2015-08-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104808501B (en) | Intelligent scene delet method and device | |
CN108566332B (en) | Instant messaging information processing method, device and storage medium | |
CN106331178B (en) | A kind of information sharing method and mobile terminal | |
CN105930073A (en) | Method And Apparatus For Supporting Communication In Electronic Device | |
CN105791560B (en) | A kind of access data network-based control method and user terminal | |
CN105573484B (en) | A kind of projecting method and terminal | |
CN110209799A (en) | Message treatment method, the display methods of unread message, terminal | |
CN106603667A (en) | Screen information sharing method and device | |
WO2015106510A1 (en) | Screen splitting method and device for applications, intelligent terminal and storage medium | |
CN103959211A (en) | Terminal and switching method of application function interface | |
US20150012846A1 (en) | Method, System and Mobile Terminal for Deleting Chat Record | |
CN109271223A (en) | Windows switching method, device, terminal and computer readable storage medium | |
WO2021128537A1 (en) | Entry information processing method, terminal device, and computer-readable storage medium | |
CN109074303A (en) | A kind of Caton detection method and device | |
CN105843708A (en) | Data processing method and device | |
CN104992088A (en) | Device security protection method and apparatus | |
CN106155458A (en) | A kind of Multimedia Message player method and device | |
CN108605373A (en) | Method for providing network share service and electronic device | |
CN105979076A (en) | Pushing information processing method used for mobile phone and device thereof, and the mobile phone | |
CN106302932A (en) | The method and apparatus checking log in communication terminal | |
CN104836655B (en) | A kind of method of data synchronization | |
CN105992188B (en) | A kind of application update method and device | |
CN108604251A (en) | A kind of sharing method and terminal device of multimedia file | |
CN110476203A (en) | Information provider unit, terminal installation, display system, program and information providing method | |
CN107193662A (en) | A kind of information synchronization method and mobile terminal based on dual system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210125 Address after: 518057 Desai Science and Technology Building, 9789 Shennan Avenue, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province, 17th Floor (15th Floor of Natural Floor) 1702-1703 Patentee after: Shenzhen Microphone Holdings Co.,Ltd. Address before: 518040 21 floor, east block, Times Technology Building, 7028 Shennan Road, Futian District, Shenzhen, Guangdong. Patentee before: DONGGUAN GOLDEX COMMUNICATION TECHNOLOGY Co.,Ltd. |
|
TR01 | Transfer of patent right |