CN108833509A - Method of data synchronization and device - Google Patents

Method of data synchronization and device Download PDF

Info

Publication number
CN108833509A
CN108833509A CN201810549967.3A CN201810549967A CN108833509A CN 108833509 A CN108833509 A CN 108833509A CN 201810549967 A CN201810549967 A CN 201810549967A CN 108833509 A CN108833509 A CN 108833509A
Authority
CN
China
Prior art keywords
pattern
screen background
mobile terminal
terminal device
screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810549967.3A
Other languages
Chinese (zh)
Inventor
娄晓丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chumen Wenwen Information Technology Co Ltd
Original Assignee
Chumen Wenwen Information 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 Chumen Wenwen Information Technology Co Ltd filed Critical Chumen Wenwen Information Technology Co Ltd
Priority to CN201810549967.3A priority Critical patent/CN108833509A/en
Publication of CN108833509A publication Critical patent/CN108833509A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/04Protocols for data compression, e.g. ROHC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a kind of method of data synchronization and devices, are related to technical field of data processing, improve the synchronous efficiency that the screen background pattern that will be updated in wearable device is synchronized in mobile terminal device.The method of the embodiment of the present invention includes:Mobile terminal device receives the background patterns synchronization request that wearable device is sent, and includes the pattern-information of multiple screen background patterns in background patterns synchronization request;Mobile terminal device determines screen background pattern to be obtained according to multiple pattern-informations;Mobile terminal device sends background patterns acquisition request to wearable device, includes the corresponding pattern-information of screen background pattern to be obtained in background patterns acquisition request;Mobile terminal device receives the screen background pattern to be obtained that wearable device is sent, and screen background pattern to be obtained is stored.The embodiment of the present invention is applied to for the screen background pattern updated in wearable device being synchronized in mobile terminal device.

Description

Method of data synchronization and device
Technical field
The present embodiments relate to technical field of data processing, more particularly to a kind of method of data synchronization and device.
Background technique
With the continuous development of science and technology, the wearable devices such as smartwatch, Intelligent bracelet are wide by people General use, user can be realized multiple functions by wearable device, such as make a phone call, receive and dispatch short message, is strong to motion conditions Health information is monitored etc..User often sets wearable device and mobile terminal during wearing wearable device It is standby to carry out pairing and binding, then the setting of wearable device is debugged by mobile terminal device, such as passes through mobile terminal The screen background pattern of equipment replacement wearable device, wherein when the screen background pattern in wearable device updates, Wearable device just needs for the screen background pattern of update to be synchronized in mobile terminal device, so that user passes through mobile terminal The screen background pattern that equipment updates the screen background debugging of wearable device.
In the implementation of the present invention, following technical problem exists in the prior art, due to wearable in inventor Equipment is not aware that in mobile terminal device which screen background pattern be stored with, therefore when the screen back in wearable device When scape pattern updates, all screen background patterns being locally stored all are sent to mobile terminal and set by wearable device needs It is standby, so that mobile terminal device stores local not stored screen background pattern.Due to the data of screen background pattern Measure larger, therefore, all screen background patterns being locally stored all are sent to mobile terminal device and need to consume by wearable device Take the plenty of time, the synchronization being synchronized in mobile terminal device so as to cause the screen background pattern that will be updated in wearable device Efficiency is lower.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of method of data synchronization and device, main purpose is to improve can The screen background pattern updated in wearable device is synchronized to the synchronous efficiency in mobile terminal device.
To solve the above-mentioned problems, the embodiment of the present invention mainly provides the following technical solutions:
In a first aspect, the embodiment of the invention provides a kind of method of data synchronization, this method includes:
Mobile terminal device receives the background patterns synchronization request that wearable device is sent, the background patterns synchronization request In include multiple screen background patterns pattern-information;
The mobile terminal device determines screen background pattern to be obtained according to multiple pattern-informations;
The mobile terminal device sends background patterns acquisition request to the wearable device, and the background patterns obtain It include the corresponding pattern-information of the screen background pattern to be obtained in request;
The mobile terminal device receives the screen background pattern to be obtained that the wearable device is sent, and by institute Screen background pattern to be obtained is stated to be stored.
Optionally, the pattern-information is the corresponding pattern name of the screen background pattern and/or unique identity; The mobile terminal device determines screen background pattern to be obtained according to multiple pattern-informations, including:
The mobile terminal device is by the corresponding pattern name of each screen background pattern and/or unique identity Pattern name corresponding with each local screen background patterns and/or unique identity are compared;
The screen that the mobile terminal device locally will not be stored according to comparison result in multiple screen background patterns Background patterns are determined as the screen background pattern to be obtained.
Optionally, the background patterns synchronization request also includes the corresponding arrangement serial number of each screen background pattern; After the background patterns synchronization request that the mobile terminal device receives that wearable device is sent, the method also includes:
The mobile terminal device is according to the corresponding arrangement serial number of each screen background pattern to multiple screens The pattern-information of background patterns is ranked up;
The mobile terminal device stores the pattern-information of multiple screen background patterns after sequence, and will The pattern-information of multiple screen background patterns after sequence carries out output and shows.
Optionally, the mobile terminal device receives the screen background figure to be obtained that the wearable device is sent Case, and the screen background pattern to be obtained is stored, including:
The mobile terminal device receives the compressed file that the wearable device is sent, and includes institute in the compressed file State screen background pattern to be obtained;
The mobile terminal device unzips it processing to the compressed file, to obtain the screen background to be obtained Pattern;
The mobile terminal device stores the screen background pattern to be obtained, and by the screen back to be obtained Scape pattern carries out output and shows.
Second aspect, the embodiment of the invention provides a kind of method of data synchronization, this method includes:
Wearable device obtains the corresponding pattern-information of each screen background pattern being locally stored;
The wearable device sends the pattern-information for carrying multiple screen background patterns to mobile terminal device Background patterns synchronization request;
The wearable device receives the background patterns acquisition request that the mobile terminal device is sent, the background patterns It include the corresponding pattern-information of the screen background pattern to be obtained in acquisition request;
The wearable device is searched described to be obtained according to the corresponding pattern-information of the screen background pattern to be obtained Screen background pattern, and the screen background pattern to be obtained is sent to the mobile terminal device.
Optionally, the pattern-information is the corresponding pattern name of the screen background pattern and/or unique identity; The wearable device obtains the corresponding pattern-information of each screen background pattern being locally stored, including:
The wearable device obtains the corresponding pattern name of each screen background pattern and/or unique identity And the corresponding arrangement serial number of each screen background pattern;
The wearable device sends the pattern-information for carrying multiple screen background patterns to mobile terminal device Background patterns synchronization request, including:
To carry each screen background pattern corresponding to mobile terminal device transmission for the wearable device Pattern name and/or unique identity and the background patterns of the corresponding arrangement serial number of each screen background pattern are synchronous Request.
Optionally, the wearable device sends the screen background pattern to be obtained, packet to the mobile terminal device It includes:
The wearable device carries out compression processing to the screen background pattern to be obtained, to obtain compressed file;
The wearable device sends the compressed file to the mobile terminal device.
The third aspect, the embodiment of the invention provides a kind of data synchronization unit, which is applied to mobile terminal device In, which includes:
Receiving unit, for receiving the background patterns synchronization request of wearable device transmission, the background patterns, which synchronize, is asked It include the pattern-information of multiple screen background patterns in asking;
Determination unit, for determining screen background to be obtained according to the received multiple pattern-informations of the receiving unit Pattern;
Transmission unit, for sending background patterns acquisition request to the wearable device, the background patterns acquisition is asked It include the corresponding pattern-information of the screen background pattern to be obtained in asking;
First storage unit, the screen background pattern to be obtained sent for receiving the wearable device, and will The screen background pattern to be obtained is stored.
Optionally, the pattern-information is the corresponding pattern name of the screen background pattern and/or unique identity; The determination unit includes:
Comparison module, for will the corresponding pattern name of each screen background pattern and/or unique identity and The corresponding pattern name of each local screen background patterns and/or unique identity are compared;
Determining module, the screen background for locally will not be stored in multiple screen background patterns according to comparison result Pattern is determined as the screen background pattern to be obtained.
Optionally, the background patterns synchronization request also includes the corresponding arrangement serial number of each screen background pattern; The mobile terminal device further includes:
Sequencing unit, for the receiving unit receive wearable device send background patterns synchronization request after, The pattern-information of multiple screen background patterns is arranged according to the corresponding arrangement serial number of each screen background pattern Sequence;
Second storage unit, for storing the pattern-information of multiple screen background patterns after sequence;
Output unit is shown for the pattern-information of multiple screen background patterns after sequence to be carried out output.
Optionally, first storage unit includes:
Receiving module includes described in the compressed file for receiving the compressed file of the wearable device transmission Screen background pattern to be obtained;
Decompression module, for unziping it processing to the received compressed file of the receiving module, to obtain State screen background pattern to be obtained;
Memory module stores the screen background pattern to be obtained for the mobile terminal device;
Output module is shown for the screen background pattern to be obtained to be carried out output.
Fourth aspect, the embodiment of the invention provides a kind of data synchronization unit, which is applied in wearable device, The device includes:
Acquiring unit, for obtaining the corresponding pattern-information of each screen background pattern being locally stored;
First transmission unit, for sending the pattern letter for carrying multiple screen background patterns to mobile terminal device The background patterns synchronization request of breath;
Receiving unit, the background patterns acquisition request sent for receiving the mobile terminal device, the background patterns It include the corresponding pattern-information of the screen background pattern to be obtained in acquisition request;
Searching unit, for according to the corresponding pattern-information lookup of the screen background pattern to be obtained screen to be obtained Curtain background patterns;
Second transmission unit, for sending the screen background pattern to be obtained to the mobile terminal device.
Optionally, the pattern-information is the corresponding pattern name of the screen background pattern and/or unique identity; The acquiring unit includes:
Module is obtained, for obtaining the corresponding pattern name of each screen background pattern and/or unique identity And the corresponding arrangement serial number of each screen background pattern;
First transmission unit is also used to carry each screen background figure to mobile terminal device transmission The background of the corresponding pattern name of case and/or unique identity and the corresponding arrangement serial number of each screen background pattern Pattern synchronization request.
Optionally, second transmission unit includes:
Compression module, for carrying out compression processing to the screen background pattern to be obtained, to obtain compressed file;
Sending module, for sending the compressed file that the compression module compresses to the mobile terminal device.
5th aspect, the embodiment of the present invention also provide a kind of mobile terminal device, including:
Processor, memory, communication interface and bus;
Wherein, the processor, memory, communication interface complete mutual communication by the bus;
The communication interface is for the information transmission between the mobile terminal device and the communication equipment of wearable device;
The processor is used to call the program instruction in the memory, to execute described in any one of first aspect Method of data synchronization.
6th aspect, the embodiment of the present invention also provide a kind of wearable device, including:
Processor, memory, communication interface and bus;
Wherein, the processor, memory, communication interface complete mutual communication by the bus;
The communication interface is for the information transmission between the wearable device and the communication equipment of mobile terminal device;
The processor is used to call the program instruction in the memory, to execute described in any one of second aspect Method of data synchronization.
7th aspect, the embodiment of the present invention also provide a kind of non-transient computer readable storage medium, the non-transient meter Calculation machine readable storage medium storing program for executing stores computer instruction, and it is any one in first aspect that the computer instruction executes the computer Method of data synchronization described in;Alternatively, executing method of data synchronization described in any one of second aspect.
Eighth aspect, the embodiment of the invention provides a kind of data synchronous systems, including:Data described in the third aspect are same Walk data synchronization unit described in device and fourth aspect.
By above-mentioned technical proposal, technical solution provided in an embodiment of the present invention at least has following advantages:
A kind of method of data synchronization and device provided in an embodiment of the present invention, and in the prior art when in wearable device When screen background pattern updates, wearable device needs all screen background patterns being locally stored all being sent to movement Terminal device is compared, and the embodiment of the present invention can be updated in the screen background pattern in wearable device or mobile terminal When equipment is actively synchronous to wearable device request screen background pattern, wearable device sends local deposit to mobile terminal device The pattern-information of all screen background patterns of storage, mobile terminal device determine screen background to be obtained according to multiple pattern-informations Pattern, and the screen background pattern to be obtained is requested to wearable device, to realize the screen that will be updated in wearable device Background patterns are synchronized in mobile terminal device.Since wearable device is all screen background patterns that will be locally stored Pattern-information be sent to mobile terminal device and mobile terminal device only into wearable device request wearable device It is stored with and the local screen background pattern not stored of mobile terminal device, therefore can effectively reduce and be counted between the two According to the data volume of transmission, mobile terminal is synchronized to so as to effectively improve the screen background pattern that will be updated in wearable device Synchronous efficiency in equipment.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the first method of data synchronization flow chart provided in an embodiment of the present invention;
Fig. 2 shows second of method of data synchronization flow charts provided in an embodiment of the present invention;
Fig. 3 shows the third method of data synchronization flow chart provided in an embodiment of the present invention;
Fig. 4 shows the 4th kind of method of data synchronization flow chart provided in an embodiment of the present invention;
Fig. 5 shows the 5th kind of method of data synchronization flow chart provided in an embodiment of the present invention;
Fig. 6 shows the composition block diagram of the first data synchronization unit provided in an embodiment of the present invention;
Fig. 7 shows the composition block diagram of second of data synchronization unit provided in an embodiment of the present invention;
Fig. 8 shows the composition block diagram of the third data synchronization unit provided in an embodiment of the present invention;
Fig. 9 shows the composition block diagram of the 4th kind of data synchronization unit provided in an embodiment of the present invention;
Figure 10 shows a kind of composition block diagram of data synchronous system provided in an embodiment of the present invention;
Figure 11 shows a kind of structural block diagram of mobile terminal device provided in an embodiment of the present invention;
Figure 12 shows a kind of structural block diagram of wearable device provided in an embodiment of the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
The embodiment of the invention provides the first method of data synchronization, this method is applied to mobile terminal device side, such as Fig. 1 Shown, this method includes:
101, mobile terminal device receives the background patterns synchronization request that wearable device is sent.
Wherein, mobile terminal device can be, but not limited to for:Smart phone, tablet computer etc.;Wearable device can be with But it is not limited to:Smartwatch, Intelligent bracelet etc.;It include the pattern of multiple screen background patterns in background patterns synchronization request Information;The pattern-information of screen background pattern includes but is not limited to:Pattern name, the screen background pattern pair of screen background pattern Unique identity answered etc., the embodiment of the present invention are not specifically limited in this embodiment.
In embodiments of the present invention, on the basis of wearable device and mobile terminal device establish connection, when wearable Screen background pattern in equipment updates or mobile terminal device is actively same to wearable device request screen background pattern When step, wearable device can send the pattern-information for carrying all screen background patterns being locally stored to mobile terminal device Background patterns synchronization request, at this point, mobile terminal device will receive the background patterns synchronization request.
It needs to be illustrated, connection can be established by bluetooth between wearable device and mobile terminal device, It can be attached by other means, to this without limiting in the embodiment of the present invention.
102, mobile terminal device determines screen background pattern to be obtained according to multiple pattern-informations.
In embodiments of the present invention, mobile terminal device receive wearable device transmission carry multiple screen backs After the background patterns synchronization request of the pattern-information of scape pattern, determined according to the pattern-information of multiple screen background patterns to be obtained Screen background pattern determines and is stored in wearable device and the local screen background pattern that does not store of mobile terminal device, So that subsequent movement terminal device requests the screen background pattern to be obtained to wearable device.
For example, including screen background pattern A, screen background in the background patterns synchronization request that mobile terminal device receives The pattern-information of pattern B, screen background pattern C, screen background pattern D, screen background pattern E and screen background pattern F, and move Dynamic terminal device be locally stored screen background pattern A, screen background pattern B, screen background pattern C, screen background pattern D, Screen background pattern E, at this point, mobile terminal device can determine that screen background pattern F is screen background pattern to be obtained.
Further, in embodiments of the present invention, when mobile terminal device includes according in background patterns synchronization request The pattern-information of multiple screen background patterns determines that some screen background pattern has been locally stored in mobile terminal device, and can wear Wear it is not stored when having the screen background pattern in equipment, in order to guarantee the screen background pattern stored in mobile terminal device with can The screen background pattern stored in wearable device is consistent, and mobile terminal device will carry out at deletion the screen background pattern Reason.
103, mobile terminal device sends background patterns acquisition request to wearable device.
It wherein, include the corresponding pattern-information of screen background pattern to be obtained in background patterns acquisition request;Screen to be obtained The corresponding pattern-information of curtain background patterns includes but is not limited to:It is the corresponding pattern name of screen background pattern to be obtained, to be obtained Corresponding unique identity of screen background pattern etc., the embodiment of the present invention is not specifically limited in this embodiment.
In embodiments of the present invention, mobile terminal device is true in the background patterns synchronization request sent according to wearable device After fixed screen background pattern to be obtained, the pattern letter for carrying the screen background pattern to be obtained will be sent to wearable device The background patterns acquisition request of breath, so that the screen background pattern to be obtained is sent to mobile terminal device by wearable device, The screen background pattern updated in wearable device is synchronized in mobile terminal device to realize.
It needs to be illustrated, in actual application, be sent when mobile terminal device according to wearable device When background patterns synchronization request determines that the multiple screen background patterns stored in wearable device are screen background pattern to be obtained, Mobile terminal device can request screen background pattern to be obtained to wearable device by several times, for example, when mobile terminal device is true Determine stored in wearable device 3 screen background patterns be screen background pattern to be obtained when, mobile terminal device can divide 1 screen background pattern to be obtained is requested at 3 times, every time to wearable device, so as to avoid due to mobile terminal device Disposably request multiple screen background patterns to be obtained to wearable device, and cause to occupy for a long time mobile terminal device with can The case where wearable device communication channel between the two, occurs.
104, mobile terminal device receives the screen background pattern to be obtained that wearable device is sent, and by screen to be obtained Background patterns are stored.
In embodiments of the present invention, screen background figure to be obtained is carried to wearable device transmission in mobile terminal device After the background patterns acquisition request of the pattern-information of case, wearable device will be according to the pattern of the screen background pattern to be obtained Information is locally searching the screen background pattern to be obtained, and sends the screen to be obtained to mobile terminal device after finding Background patterns, at this point, mobile terminal device will receive the screen background pattern to be obtained, and by the screen background to be obtained Pattern is stored, so as to subsequent user by mobile terminal device by the debugging of the screen background pattern of wearable device for should be to Obtain screen background pattern.
Further, in embodiments of the present invention, it when mobile terminal device and wearable device release pairing and binding, moves Dynamic terminal device can carry out delete processing to all screen background patterns being locally stored, so as to save mobile terminal device Memory space.
A kind of method of data synchronization provided in an embodiment of the present invention, and in the prior art when the screen back in wearable device When scape pattern updates, all screen background patterns being locally stored all are sent to mobile terminal and set by wearable device needs Standby to compare, the embodiment of the present invention can be updated in the screen background pattern in wearable device or mobile terminal device master When trend wearable device requests screen background pattern synchronous, wearable device sends the institute being locally stored to mobile terminal device There is the pattern-information of screen background pattern, mobile terminal device determines screen background pattern to be obtained according to multiple pattern-informations, And the screen background pattern to be obtained is requested to wearable device, to realize the screen background figure that will be updated in wearable device Case is synchronized in mobile terminal device.Since wearable device is the pattern for all screen background patterns that will be locally stored Information is sent to mobile terminal device and mobile terminal device and only stores into wearable device request wearable device Have and the local screen background pattern not stored of mobile terminal device, therefore progress data biography between the two can be effectively reduced Defeated data volume is synchronized to mobile terminal device so as to effectively improve the screen background pattern that will be updated in wearable device In synchronous efficiency.
Below in order to be explained in more detail, the embodiment of the invention provides second of method of data synchronization, this method is answered Screen background pattern to be obtained is determined according to multiple pattern-informations for mobile terminal device side, especially mobile terminal device Specific method, specifically as shown in Fig. 2, this method includes:
201, mobile terminal device receives the background patterns synchronization request that wearable device is sent.
Wherein, the background patterns synchronization request that wearable device is sent is received about step 201, mobile terminal device, it can With the description with reference to Fig. 1 corresponding part, the embodiment of the present invention will not be described in great detail herein.
202, mobile terminal device is according to the corresponding arrangement serial number of each screen background pattern to multiple screen background patterns Pattern-information be ranked up.
In embodiments of the present invention, in order to guarantee the multiple screen background patterns stored in mobile terminal device with it is wearable The multiple screen background pattern orders stored in equipment are consistent, and the background patterns that wearable device is sent to mobile terminal device are same Step request includes also the corresponding arrangement serial number of each screen background pattern, so that mobile terminal device is receiving wearable device After the background patterns synchronization request of transmission, according to the corresponding arrangement serial number of each screen background pattern to multiple screen background patterns Pattern-information be ranked up, so that subsequent movement terminal device will be more according to corresponding put in order of each screen background pattern A screen background pattern carries out output and shows.
203, mobile terminal device stores the pattern-information of multiple screen background patterns after sequence, and will sequence The pattern-information of multiple screen background patterns afterwards carries out output and shows.
In embodiments of the present invention, mobile terminal device, will after the pattern-information sequence to multiple screen background patterns The pattern-information of multiple screen background patterns after sequence is stored, and by the pattern of multiple screen background patterns after sequence Information carries out output and shows, knows so as to user and stores the synchronous screen background of mobile terminal device in need in wearable device Pattern.
204, mobile terminal device determines screen background pattern to be obtained according to multiple pattern-informations.
In embodiments of the present invention, mobile terminal device receive wearable device transmission carry multiple screen backs After the background patterns synchronization request of the pattern-information of scape pattern, determined according to the pattern-information of multiple screen background patterns to be obtained Screen background pattern is determined and is stored in wearable device and the local screen background pattern not stored of mobile terminal device. How screen background pattern to be obtained will be determined according to the pattern-information of multiple screen background patterns to mobile terminal device below It is described in detail.
(1) mobile terminal device is by the corresponding pattern name of each screen background pattern and/or unique identity and every The corresponding pattern name of a local screen background patterns and/or unique identity are compared.
In embodiments of the present invention, the multiple screens for including in the background patterns synchronization request that mobile terminal device receives The pattern-information of background patterns is the corresponding pattern name of each screen background pattern that stores and/or each in wearable device The corresponding unique identity of screen background pattern, since the corresponding pattern name of screen background pattern and unique identity are equal Its corresponding screen background pattern of energy unique identification, therefore mobile terminal device can be corresponding according to each screen background pattern Pattern name and/or unique identity determine screen background pattern to be obtained, that is, determine and be stored with and move in wearable device The screen background pattern that dynamic terminal device does not store locally.Specifically, in this step, mobile terminal device can be by that will carry on the back Include the corresponding pattern name of each screen background pattern and/or unique identity and each local in scape pattern synchronization request The mode that the corresponding pattern name of screen background pattern and/or unique identity are compared, determines screen background to be obtained Pattern.
(2) the screen background figure that mobile terminal device locally will not be stored according to comparison result in multiple screen background patterns Case is determined as screen background pattern to be obtained.
In embodiments of the present invention, mobile terminal device will be stored according to the comparison result of step (1) in wearable device Have, and locally not stored screen background pattern is determined as screen background pattern to be obtained to mobile terminal device, so as to subsequent shifting Dynamic terminal device requests the screen background pattern to be obtained to wearable device.
205, mobile terminal device sends background patterns acquisition request to wearable device.
Wherein, background patterns acquisition request, Ke Yican are sent to wearable device about step 205, mobile terminal device The description of Fig. 1 corresponding part is examined, the embodiment of the present invention will not be described in great detail herein.
206, mobile terminal device receives the screen background pattern to be obtained that wearable device is sent, and by screen to be obtained Background patterns are stored.
In embodiments of the present invention, screen background figure to be obtained is carried to wearable device transmission in mobile terminal device After the background patterns acquisition request of the pattern-information of case, wearable device will be according to the pattern of the screen background pattern to be obtained Information is locally searching the screen background pattern to be obtained, and sends the screen to be obtained to mobile terminal device after finding Background patterns, at this point, mobile terminal device will receive the screen background pattern to be obtained, and by the screen background to be obtained Pattern is stored.The screen background pattern to be obtained of wearable device transmission how will be received to mobile terminal device below, And screen background pattern to be obtained is subjected to storage and is described in detail.
(1) mobile terminal device receives the compressed file that wearable device is sent.
In embodiments of the present invention, wearable device is to reduce the data volume carried out data transmission, can be to finding Screen background pattern to be obtained carries out compression processing, and the compression text obtained by compression processing is sent to mobile terminal device Part, at this point, mobile terminal device will receive the compressed file comprising the screen background pattern to be obtained.
(2) mobile terminal device unzips it processing to compressed file, to obtain screen background pattern to be obtained.
In embodiments of the present invention, mobile terminal device is after the compressed file for receiving wearable device transmission, to this Compressed file unzips it processing, to obtain the screen background pattern to be obtained for including in the compressed file.
(3) mobile terminal device stores screen background pattern to be obtained, and by screen background pattern to be obtained into Row output display.
In embodiments of the present invention, this is waited obtaining by mobile terminal device after acquiring screen background pattern to be obtained It takes screen background pattern to be stored, and the screen background pattern to be obtained is subjected to output and is shown, so that user is known The screen background pattern updated in wearable device is synchronized in mobile terminal device.Specifically, in this step, it is mobile whole End equipment, can be according to the corresponding arrangement of the screen background pattern to be obtained after being stored screen background pattern to be obtained The screen background pattern to be obtained is carried out output and shown by sequence, but not limited to this.
Further, the embodiment of the invention also provides the third method of data synchronization, this method is applied to wearable set Standby side, as shown in figure 3, this method includes:
301, wearable device obtains the corresponding pattern-information of each screen background pattern being locally stored.
Wherein, the corresponding pattern-information of screen background pattern includes but is not limited to:Pattern name, the screen of screen background pattern Corresponding unique identity of curtain background patterns etc., the embodiment of the present invention is not specifically limited in this embodiment.
In embodiments of the present invention, on the basis of wearable device and mobile terminal device establish connection, when wearable Screen background pattern in equipment updates or mobile terminal device is actively same to wearable device request screen background pattern When step, wearable device will obtain the corresponding pattern-information of each screen background pattern being locally stored.
302, wearable device sends the back for carrying the pattern-information of multiple screen background patterns to mobile terminal device Scape pattern synchronization request.
In embodiments of the present invention, wearable device is to acquire each screen background pattern for being locally stored corresponding After pattern-information, the background patterns that will send the pattern-information for carrying multiple screen background patterns to mobile terminal device are same Step request, so that mobile terminal device is after receiving the background patterns synchronization request, according to the figure of multiple screen background patterns Case information determines screen background pattern to be obtained, and requests the screen background pattern to be obtained to wearable device.
303, wearable device receives the background patterns acquisition request that mobile terminal device is sent.
In embodiments of the present invention, mobile terminal device is in the background patterns synchronization request for receiving wearable device transmission Afterwards, screen background figure to be obtained will be determined according to the multiple screen background pattern-informations for including in the background patterns synchronization request Case, and send the background patterns acquisition comprising the corresponding pattern-information of the screen background pattern to be obtained to wearable device and ask It asks, to request the screen background pattern to be obtained to wearable device, at this point, wearable device will receive the background patterns Acquisition request.Wherein, the corresponding pattern-information of screen background pattern to be obtained includes but is not limited to:Screen background pattern to be obtained Corresponding pattern name, the corresponding unique identity of screen background pattern to be obtained etc., the embodiment of the present invention does not do this It is specific to limit.
304, wearable device searches screen background to be obtained according to the corresponding pattern-information of screen background pattern to be obtained Pattern, and screen background pattern to be obtained is sent to mobile terminal device.
In embodiments of the present invention, wearable device is in the background patterns acquisition request for receiving mobile terminal device transmission Afterwards, it will be looked into according to the corresponding pattern-information of screen background pattern to be obtained for including in the background patterns acquisition request locally The screen background pattern to be obtained is looked for, and sends the screen background pattern to be obtained to mobile terminal device after finding.
Below in order to be explained in more detail, the embodiment of the invention provides the 4th kind of method of data synchronization, this method is answered The corresponding pattern-information of each screen background pattern being locally stored is obtained for wearable device side, especially wearable device Specific method and wearable device the specific method of screen background pattern to be obtained is sent to mobile terminal device, it is specific as schemed Shown in 4, this method includes:
401, wearable device obtain the corresponding pattern name of each screen background pattern and/or unique identity and The corresponding arrangement serial number of each screen background pattern.
In embodiments of the present invention, since the corresponding pattern name of screen background pattern and unique identity can be unique Its corresponding screen background pattern is identified, therefore wearable device obtains the corresponding figure of each screen background pattern being locally stored Case title and/or unique identity are as the corresponding pattern-information of each screen background pattern.In addition, wearable device can also The corresponding arrangement serial number of each screen background pattern is obtained, so that subsequent wearable device is corresponding by each screen background pattern Arrangement serial number is sent together with the corresponding pattern-information of each screen background pattern (pattern name and/or unique identity) To mobile terminal device, so that mobile terminal device can be according to the corresponding arrangement serial number of each screen background pattern to more The pattern-information of a screen background pattern is ranked up, and is put in order according to each screen background pattern is corresponding by multiple screens Curtain background patterns carry out output and show, and then can guarantee the multiple screen background patterns stored in mobile terminal device and can wear It is consistent to wear the multiple screen background pattern orders stored in equipment.
402, wearable device carries the corresponding pattern name of each screen background pattern to mobile terminal device transmission And/or the background patterns synchronization request of unique identity and the corresponding arrangement serial number of each screen background pattern.
In embodiments of the present invention, wearable device is to acquire each screen background pattern for being locally stored corresponding It, will be to mobile terminal after pattern name and/or unique identity and the corresponding arrangement serial number of each screen background pattern Equipment transmission carries the corresponding pattern name of each screen background pattern and/or unique identity and each screen background The background patterns synchronization request of the corresponding arrangement serial number of pattern, so that mobile terminal device is asked receiving the background patterns and synchronize After asking, screen background figure to be obtained is determined according to the corresponding pattern name of each screen background pattern and/or unique identity Case, and the pattern-information of multiple screen background patterns is arranged according to the corresponding arrangement serial number of each screen background pattern Sequence.
403, wearable device receives the background patterns acquisition request that mobile terminal device is sent.
Wherein, the background patterns acquisition request that mobile terminal device is sent is received about step 403, wearable device, it can With the description with reference to Fig. 3 corresponding part, the embodiment of the present invention will not be described in great detail herein.
404, wearable device searches screen background to be obtained according to the corresponding pattern-information of screen background pattern to be obtained Pattern.
Wherein, about step 404, wearable device according to the corresponding pattern-information of screen background pattern to be obtained search to Screen background pattern is obtained, the description of Fig. 3 corresponding part can be referred to, the embodiment of the present invention will not be described in great detail herein.
405, wearable device sends screen background pattern to be obtained to mobile terminal device.
In embodiments of the present invention, wearable device according to the corresponding pattern-information of screen background pattern to be obtained this After ground finds the screen background pattern to be obtained, which will be sent to mobile terminal device In.It will be described in detail below to how wearable device sends screen background pattern to be obtained to mobile terminal device.
(1) wearable device carries out compression processing to screen background pattern to be obtained, to obtain compressed file.
In embodiments of the present invention, wearable device is to reduce the data volume carried out data transmission, can be to finding Screen background pattern to be obtained carries out compression processing, to obtain the compressed file for including the screen background pattern to be obtained.
(2) wearable device sends compressed file to mobile terminal device.
In embodiments of the present invention, wearable device is acquiring the compressed file comprising screen background pattern to be obtained Afterwards, the compressed file will be sent to mobile terminal device.
Above-described embodiment has illustrated mobile terminal device side respectively and has realized that data are synchronous with wearable device side Process, one embodiment presented below, for illustrating the interactive relation of mobile terminal device and wearable device.As shown in figure 5, Fig. 5 shows the 5th kind of method of data synchronization provided in an embodiment of the present invention, and this method includes:
501, wearable device obtain the corresponding pattern name of each screen background pattern and/or unique identity and The corresponding arrangement serial number of each screen background pattern.
502, wearable device carries the corresponding pattern name of each screen background pattern to mobile terminal device transmission And/or the background patterns synchronization request of unique identity and the corresponding arrangement serial number of each screen background pattern.
503, mobile terminal device receives the background patterns synchronization request that wearable device is sent.
504, mobile terminal device is according to the corresponding arrangement serial number of each screen background pattern to multiple screen background patterns Pattern-information be ranked up.
505, mobile terminal device stores the pattern-information of multiple screen background patterns after sequence, and will sequence The pattern-information of multiple screen background patterns afterwards carries out output and shows.
506, mobile terminal device is true according to the corresponding pattern name of each screen background pattern and/or unique identity Fixed screen background pattern to be obtained.
507, mobile terminal device sends background patterns acquisition request to wearable device.
508, wearable device receives the background patterns acquisition request that mobile terminal device is sent.
509, wearable device searches screen background to be obtained according to the corresponding pattern-information of screen background pattern to be obtained Pattern.
510, wearable device carries out compression processing to screen background pattern to be obtained, to obtain compressed file.
511, wearable device sends compressed file to mobile terminal device.
512, mobile terminal device receives the compressed file that wearable device is sent.
513, mobile terminal device unzips it processing to compressed file, to obtain screen background pattern to be obtained.
514, mobile terminal device stores screen background pattern to be obtained, and by screen background pattern to be obtained into Row output display.
Wherein, the description as described in step 501 to step 514, please refers to above-mentioned related detailed description, and the embodiment of the present invention exists This is no longer repeated one by one.
Further, as the realization to method shown in above-mentioned Fig. 1 and Fig. 2, another embodiment of the present invention additionally provides one Kind data synchronization unit, the device are applied in mobile terminal device.The Installation practice is corresponding with preceding method embodiment, is Easy to read, present apparatus embodiment no longer repeats the detail content in preceding method embodiment one by one, it should be understood that Device in the present embodiment can correspond to the full content realized in preceding method embodiment.The device, which is applied to improve, to be worn The synchronous efficiency that the screen background pattern updated in equipment is synchronized in mobile terminal device is worn, specifically as shown in fig. 6, the device Including:
Receiving unit 61, for receiving the background patterns synchronization request of wearable device transmission, the background patterns are synchronous It include the pattern-information of multiple screen background patterns in request;
Determination unit 62, for determining screen background to be obtained according to the received multiple pattern-informations of receiving unit 61 Pattern;
Transmission unit 63, for sending background patterns acquisition request to the wearable device, the background patterns are obtained It include the corresponding pattern-information of the screen background pattern to be obtained in request;
First storage unit 64, the screen background pattern to be obtained sent for receiving the wearable device, and The screen background pattern to be obtained is stored.
Further, as shown in fig. 7, the pattern-information be the corresponding pattern name of the screen background pattern and/or Unique identity;Determination unit 62 includes:
Comparison module 621, for by the corresponding pattern name of each screen background pattern and/or unique identity Pattern name corresponding with each local screen background patterns and/or unique identity are compared;
Determining module 622, the screen for locally will not be stored in multiple screen background patterns according to comparison result Background patterns are determined as the screen background pattern to be obtained.
Further, as shown in fig. 7, the background patterns synchronization request also includes that each screen background pattern is corresponding Arrangement serial number;The mobile terminal device further includes:
Sequencing unit 65, for receiving unit 61 receive wearable device send background patterns synchronization request after, The pattern-information of multiple screen background patterns is arranged according to the corresponding arrangement serial number of each screen background pattern Sequence;
Second storage unit 66, for storing the pattern-information of multiple screen background patterns after sequence;
Output unit 67 is shown for the pattern-information of multiple screen background patterns after sequence to be carried out output.
Further, as shown in fig. 7, the first storage unit 64 includes:
Receiving module 641 includes institute in the compressed file for receiving the compressed file of the wearable device transmission State screen background pattern to be obtained;
Decompression module 642, for unziping it processing to the received compressed file of the receiving module 641, with Obtain the screen background pattern to be obtained;
Memory module 643 stores the screen background pattern to be obtained for the mobile terminal device;
Output module 644 is shown for the screen background pattern to be obtained to be carried out output.
Since the data synchronization unit that the present embodiment is introduced is the data side of synchronization that can be executed in the embodiment of the present invention The device of method, so based on method of data synchronization described in the embodiment of the present invention, those skilled in the art can be much of that The specific embodiment and its various change form for solving the data synchronization unit of the present embodiment, so same for the data herein How step device realizes that the method for data synchronization in the embodiment of the present invention is no longer discussed in detail.As long as those skilled in the art Implement device used by method of data synchronization in the embodiment of the present invention, belongs to the range to be protected of the application.
Further, as the realization to method shown in above-mentioned Fig. 3 and Fig. 4, another embodiment of the present invention additionally provides one Kind data synchronization unit, the device are applied in wearable device.The Installation practice is corresponding with preceding method embodiment, for just In reading, present apparatus embodiment no longer repeats the detail content in preceding method embodiment one by one, it should be understood that this Device in embodiment can correspond to the full content realized in preceding method embodiment.The device is applied to raising will be wearable The screen background pattern updated in equipment is synchronized to the synchronous efficiency in mobile terminal device, specifically as shown in figure 8, the device packet It includes:
Acquiring unit 71, for obtaining the corresponding pattern-information of each screen background pattern being locally stored;
First transmission unit 72, for sending the pattern for carrying multiple screen background patterns to mobile terminal device The background patterns synchronization request of information;
Receiving unit 73, the background patterns acquisition request sent for receiving the mobile terminal device, the Background It include the corresponding pattern-information of the screen background pattern to be obtained in case acquisition request;
Searching unit 74, it is described to be obtained for being searched according to the corresponding pattern-information of the screen background pattern to be obtained Screen background pattern;
Second transmission unit 75, for sending the screen background pattern to be obtained to the mobile terminal device.
Further, as shown in figure 9, the pattern-information be the corresponding pattern name of the screen background pattern and/or Unique identity;Acquiring unit 71 includes:
Module 711 is obtained, for obtaining the corresponding pattern name of each screen background pattern and/or unique identities mark Knowledge and the corresponding arrangement serial number of each screen background pattern;
First transmission unit 72 is also used to carry each screen background pattern to mobile terminal device transmission The Background of corresponding pattern name and/or unique identity and the corresponding arrangement serial number of each screen background pattern Case synchronization request.
Further, as shown in figure 9, the second transmission unit 75 includes:
Compression module 751, for carrying out compression processing to the screen background pattern to be obtained, to obtain compressed file;
Sending module 752, for sending the compression text that the compression module 751 compresses to the mobile terminal device Part.
Since the data synchronization unit that the present embodiment is introduced is the data side of synchronization that can be executed in the embodiment of the present invention The device of method, so based on method of data synchronization described in the embodiment of the present invention, those skilled in the art can be much of that The specific embodiment and its various change form for solving the data synchronization unit of the present embodiment, so same for the data herein How step device realizes that the method for data synchronization in the embodiment of the present invention is no longer discussed in detail.As long as those skilled in the art Implement device used by method of data synchronization in the embodiment of the present invention, belongs to the range to be protected of the application.
Further, as an implementation of the above method and the above-mentioned synchronous dress of data applied in mobile terminal device It sets, applied to the data synchronization unit in wearable device, the embodiment of the present invention also provides a kind of data synchronous system, such as Figure 10 Shown, which includes:Mobile terminal device 81 and such as Fig. 8 or wearable device shown in Fig. 9 82 as is seen in fig. 6 or fig. 7.
A kind of method of data synchronization and device provided in an embodiment of the present invention, and in the prior art when in wearable device When screen background pattern updates, wearable device needs all screen background patterns being locally stored all being sent to movement Terminal device is compared, and the embodiment of the present invention can be updated in the screen background pattern in wearable device or mobile terminal When equipment is actively synchronous to wearable device request screen background pattern, wearable device sends local deposit to mobile terminal device The pattern-information of all screen background patterns of storage, mobile terminal device determine screen background to be obtained according to multiple pattern-informations Pattern, and the screen background pattern to be obtained is requested to wearable device, to realize the screen that will be updated in wearable device Background patterns are synchronized in mobile terminal device.Since wearable device is all screen background patterns that will be locally stored Pattern-information be sent to mobile terminal device and mobile terminal device only into wearable device request wearable device It is stored with and the local screen background pattern not stored of mobile terminal device, therefore can effectively reduce and be counted between the two According to the data volume of transmission, mobile terminal is synchronized to so as to effectively improve the screen background pattern that will be updated in wearable device Synchronous efficiency in equipment.In addition, the embodiment of the present invention can also locally find screen back to be obtained in wearable device After scape pattern, compression processing is carried out to the screen background pattern to be obtained, by the compression comprising the screen background pattern to be obtained File is sent in mobile terminal device, so as to be further reduced the data volume carried out data transmission between the two, in turn It can be further improved the synchronous efficiency that the screen background pattern that will be updated in wearable device is synchronized in mobile terminal device.
The data synchronization unit applied in mobile terminal device includes processor and memory, above-mentioned reception list Member, determination unit, transmission unit and first storage unit etc. store in memory as program unit, are executed by processor Above procedure unit stored in memory realizes corresponding function.
The data synchronization unit applied in wearable device includes processor and memory, above-mentioned acquiring unit, First transmission unit, receiving unit, searching unit and second transmission unit etc. are used as program unit storage in memory, by Processor executes above procedure unit stored in memory to realize corresponding function.
Include kernel in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can be set one Or more, mobile terminal, which is synchronized to, improving the screen background pattern that will be updated in wearable device by adjusting kernel parameter sets Synchronous efficiency in standby.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, if read-only memory (ROM) or flash memory (flash RAM), memory include that at least one is deposited Store up chip.
The embodiment of the invention provides a kind of non-transient computer readable storage medium, the non-transient computer is readable to be deposited Storage media stores computer instruction, and it is above-mentioned real applied to mobile terminal device side that the computer instruction executes the computer Apply method of data synchronization described in example;Alternatively, executing above-mentioned applied to the data side of synchronization described in the embodiment of wearable device side Method.
The embodiment of the invention provides a kind of mobile terminal devices, as shown in figure 11, including:
Processor 91, memory 92, communication interface 93 and bus 94;
Wherein, the processor 91, memory 92, communication interface 93 complete mutual communication by the bus 94;
The communication interface 93 is passed for the information between the mobile terminal device and the communication equipment of wearable device It is defeated;
The processor 91 is used to call the program instruction in the memory 92, to execute following steps:
Mobile terminal device receives the background patterns synchronization request that wearable device is sent, the background patterns synchronization request In include multiple screen background patterns pattern-information;
The mobile terminal device determines screen background pattern to be obtained according to multiple pattern-informations;
The mobile terminal device sends background patterns acquisition request to the wearable device, and the background patterns obtain It include the corresponding pattern-information of the screen background pattern to be obtained in request;
The mobile terminal device receives the screen background pattern to be obtained that the wearable device is sent, and by institute Screen background pattern to be obtained is stated to be stored.
Further, the pattern-information is the corresponding pattern name of the screen background pattern and/or unique identities mark Know;The mobile terminal device determines screen background pattern to be obtained according to multiple pattern-informations, including:
The mobile terminal device is by the corresponding pattern name of each screen background pattern and/or unique identity Pattern name corresponding with each local screen background patterns and/or unique identity are compared;
The screen that the mobile terminal device locally will not be stored according to comparison result in multiple screen background patterns Background patterns are determined as the screen background pattern to be obtained.
Further, the background patterns synchronization request also includes the corresponding arrangement sequence of each screen background pattern Number;After the background patterns synchronization request that the mobile terminal device receives that wearable device is sent, the method also includes:
The mobile terminal device is according to the corresponding arrangement serial number of each screen background pattern to multiple screens The pattern-information of background patterns is ranked up;
The mobile terminal device stores the pattern-information of multiple screen background patterns after sequence, and will The pattern-information of multiple screen background patterns after sequence carries out output and shows.
Further, the mobile terminal device receives the screen background figure to be obtained that the wearable device is sent Case, and the screen background pattern to be obtained is stored, including:
The mobile terminal device receives the compressed file that the wearable device is sent, and includes institute in the compressed file State screen background pattern to be obtained;
The mobile terminal device unzips it processing to the compressed file, to obtain the screen background to be obtained Pattern;
The mobile terminal device stores the screen background pattern to be obtained, and by the screen back to be obtained Scape pattern carries out output and shows.
Mobile terminal device in the embodiment of the present invention can be smart phone, tablet computer etc..
The embodiment of the invention provides a kind of wearable devices, as shown in figure 12, including:
Processor 1001, memory 1002, communication interface 1003 and bus 1004;
Wherein, the processor 1001, memory 1002, communication interface 1003 are completed each other by the bus 1004 Communication;
The communication interface 1003 is for the information between the mobile terminal device and the communication equipment of wearable device Transmission;
The processor 1001 is used to call the program instruction in the memory 1002, to execute following steps:
Wearable device obtains the corresponding pattern-information of each screen background pattern being locally stored;
The wearable device sends the pattern-information for carrying multiple screen background patterns to mobile terminal device Background patterns synchronization request;
The wearable device receives the background patterns acquisition request that the mobile terminal device is sent, the background patterns It include the corresponding pattern-information of the screen background pattern to be obtained in acquisition request;
The wearable device is searched described to be obtained according to the corresponding pattern-information of the screen background pattern to be obtained Screen background pattern, and the screen background pattern to be obtained is sent to the mobile terminal device.
Further, the pattern-information is the corresponding pattern name of the screen background pattern and/or unique identities mark Know;The wearable device obtains the corresponding pattern-information of each screen background pattern being locally stored, including:
The wearable device obtains the corresponding pattern name of each screen background pattern and/or unique identity And the corresponding arrangement serial number of each screen background pattern;
The wearable device sends the pattern-information for carrying multiple screen background patterns to mobile terminal device Background patterns synchronization request, including:
To carry each screen background pattern corresponding to mobile terminal device transmission for the wearable device Pattern name and/or unique identity and the background patterns of the corresponding arrangement serial number of each screen background pattern are synchronous Request.
Further, the wearable device sends the screen background pattern to be obtained to the mobile terminal device, Including:
The wearable device carries out compression processing to the screen background pattern to be obtained, to obtain compressed file;
The wearable device sends the compressed file to the mobile terminal device.
Wearable device in the embodiment of the present invention can be smartwatch, Intelligent bracelet etc..
Present invention also provides a kind of computer program products, when executing on data processing equipment, are adapted for carrying out just The program code of beginningization there are as below methods step:The background patterns that mobile terminal device receives wearable device transmission, which synchronize, asks It asks, includes the pattern-information of multiple screen background patterns in the background patterns synchronization request;The mobile terminal device according to Multiple pattern-informations determine screen background pattern to be obtained;The mobile terminal device sends to the wearable device and carries on the back Scape pattern acquisition request includes the corresponding pattern letter of the screen background pattern to be obtained in the background patterns acquisition request Breath;The mobile terminal device receives the screen background pattern to be obtained that the wearable device is sent, and will it is described to Screen background pattern is obtained to be stored.
Present invention also provides another computer program products, when executing on data processing equipment, suitable for holding The program code of row initialization there are as below methods step:It is corresponding that wearable device obtains each screen background pattern being locally stored Pattern-information;The wearable device sends the pattern letter for carrying multiple screen background patterns to mobile terminal device The background patterns synchronization request of breath;The wearable device receives the background patterns acquisition that the mobile terminal device is sent and asks It asks, includes the corresponding pattern-information of the screen background pattern to be obtained in the background patterns acquisition request;It is described wearable Equipment searches the screen background pattern to be obtained according to the corresponding pattern-information of the screen background pattern to be obtained, and to institute It states mobile terminal device and sends the screen background pattern to be obtained.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element There is also other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product. Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
The above is only embodiments herein, are not intended to limit this application.To those skilled in the art, Various changes and changes are possible in this application.It is all within the spirit and principles of the present application made by any modification, equivalent replacement, Improve etc., it should be included within the scope of the claims of this application.

Claims (10)

1. a kind of method of data synchronization, which is characterized in that including:
Mobile terminal device receives the background patterns synchronization request that wearable device is sent, and wraps in the background patterns synchronization request Pattern-information containing multiple screen background patterns;
The mobile terminal device determines screen background pattern to be obtained according to multiple pattern-informations;
The mobile terminal device sends background patterns acquisition request, the background patterns acquisition request to the wearable device In include the corresponding pattern-information of the screen background pattern to be obtained;
The mobile terminal device receives the screen background pattern to be obtained that the wearable device is sent, and will it is described to Screen background pattern is obtained to be stored.
2. the method according to claim 1, wherein the pattern-information is that the screen background pattern is corresponding Pattern name and/or unique identity;The mobile terminal device determines screen to be obtained according to multiple pattern-informations Background patterns, including:
The mobile terminal device is by the corresponding pattern name of each screen background pattern and/or unique identity and every The corresponding pattern name of a local screen background patterns and/or unique identity are compared;
The screen background that the mobile terminal device locally will not be stored according to comparison result in multiple screen background patterns Pattern is determined as the screen background pattern to be obtained.
3. the method according to claim 1, wherein the background patterns synchronization request also includes each screen The corresponding arrangement serial number of curtain background patterns;It synchronizes and asks in the background patterns that the mobile terminal device receives wearable device transmission After asking, the method also includes:
The mobile terminal device is according to the corresponding arrangement serial number of each screen background pattern to multiple screen backgrounds The pattern-information of pattern is ranked up;
The mobile terminal device stores the pattern-information of multiple screen background patterns after sequence, and will sequence The pattern-information of multiple screen background patterns afterwards carries out output and shows.
4. a kind of method of data synchronization, which is characterized in that including:
Wearable device obtains the corresponding pattern-information of each screen background pattern being locally stored;
The wearable device sends the back for carrying the pattern-information of multiple screen background patterns to mobile terminal device Scape pattern synchronization request;
The wearable device receives the background patterns acquisition request that the mobile terminal device is sent, and the background patterns obtain It include the corresponding pattern-information of the screen background pattern to be obtained in request;
The wearable device is according to the corresponding pattern-information lookup of the screen background pattern to be obtained screen to be obtained Background patterns, and the screen background pattern to be obtained is sent to the mobile terminal device.
5. according to the method described in claim 4, it is characterized in that, the pattern-information is that the screen background pattern is corresponding Pattern name and/or unique identity;It is corresponding that the wearable device obtains each screen background pattern being locally stored Pattern-information, including:
The wearable device obtain the corresponding pattern name of each screen background pattern and/or unique identity and The corresponding arrangement serial number of each screen background pattern;
The wearable device sends the back for carrying the pattern-information of multiple screen background patterns to mobile terminal device Scape pattern synchronization request, including:
The wearable device carries the corresponding pattern of each screen background pattern to mobile terminal device transmission Title and/or unique identity and the background patterns of the corresponding arrangement serial number of each screen background pattern are synchronized and are asked It asks.
6. a kind of data synchronization unit, which is characterized in that including:
Receiving unit, for receiving the background patterns synchronization request of wearable device transmission, in the background patterns synchronization request Pattern-information comprising multiple screen background patterns;
Determination unit, for determining screen background figure to be obtained according to the received multiple pattern-informations of the receiving unit Case;
Transmission unit, for sending background patterns acquisition request to the wearable device, in the background patterns acquisition request Include the corresponding pattern-information of the screen background pattern to be obtained;
First storage unit, the screen background pattern to be obtained sent for receiving the wearable device, and will be described Screen background pattern to be obtained is stored.
7. a kind of data synchronization unit, which is characterized in that including:
Acquiring unit, for obtaining the corresponding pattern-information of each screen background pattern being locally stored;
First transmission unit, for sending the pattern-information for carrying multiple screen background patterns to mobile terminal device Background patterns synchronization request;
Receiving unit, the background patterns acquisition request sent for receiving the mobile terminal device, the background patterns obtain It include the corresponding pattern-information of the screen background pattern to be obtained in request;
Searching unit, for according to the corresponding pattern-information lookup of the screen background pattern to be obtained screen back to be obtained Scape pattern;
Second transmission unit, for sending the screen background pattern to be obtained to the mobile terminal device.
8. a kind of mobile terminal device, which is characterized in that including:
Processor, memory, communication interface and bus;
Wherein, the processor, memory, communication interface complete mutual communication by the bus;
The communication interface is for the information transmission between the mobile terminal device and the communication equipment of wearable device;
The processor is used to call the program instruction in the memory, any into claim 3 with perform claim requirement 1 Method of data synchronization described in one.
9. a kind of wearable device, which is characterized in that including:
Processor, memory, communication interface and bus;
Wherein, the processor, memory, communication interface complete mutual communication by the bus;
The communication interface is for the information transmission between the wearable device and the communication equipment of mobile terminal device;
The processor is used to call the program instruction in the memory, is required described in 4 or claim 5 with perform claim Method of data synchronization.
10. a kind of non-transient computer readable storage medium, which is characterized in that the non-transient computer readable storage medium is deposited Store up computer instruction, the computer instruction requires the computer perform claim 1 to described in any one of claim 3 Method of data synchronization;
Alternatively, perform claim requires method of data synchronization described in 4 or claim 5.
CN201810549967.3A 2018-05-31 2018-05-31 Method of data synchronization and device Pending CN108833509A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810549967.3A CN108833509A (en) 2018-05-31 2018-05-31 Method of data synchronization and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810549967.3A CN108833509A (en) 2018-05-31 2018-05-31 Method of data synchronization and device

Publications (1)

Publication Number Publication Date
CN108833509A true CN108833509A (en) 2018-11-16

Family

ID=64145799

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810549967.3A Pending CN108833509A (en) 2018-05-31 2018-05-31 Method of data synchronization and device

Country Status (1)

Country Link
CN (1) CN108833509A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109688567A (en) * 2018-12-10 2019-04-26 维沃移动通信有限公司 A kind of data transmission method and mobile terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741569A (en) * 2009-12-24 2010-06-16 中兴通讯股份有限公司 Data synchronization method, data synchronization system, client and server
CN104320447A (en) * 2014-10-15 2015-01-28 新疆同晨信息技术有限公司 Medium and small-sized cloud stored data synchronization method, compute readable medium and system
CN105027100A (en) * 2013-02-22 2015-11-04 日本电气株式会社 Data sharing system
CN106453572A (en) * 2016-10-19 2017-02-22 广东欧珀移动通信有限公司 Method and system for synchronizing images based on cloud server
CN106657174A (en) * 2015-10-28 2017-05-10 阿里巴巴集团控股有限公司 Data synchronizing and updating methods and data synchronizing and updating devices
CN107769881A (en) * 2017-10-10 2018-03-06 北京小米移动软件有限公司 Information synchronization method, apparatus and system, storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741569A (en) * 2009-12-24 2010-06-16 中兴通讯股份有限公司 Data synchronization method, data synchronization system, client and server
CN105027100A (en) * 2013-02-22 2015-11-04 日本电气株式会社 Data sharing system
CN104320447A (en) * 2014-10-15 2015-01-28 新疆同晨信息技术有限公司 Medium and small-sized cloud stored data synchronization method, compute readable medium and system
CN106657174A (en) * 2015-10-28 2017-05-10 阿里巴巴集团控股有限公司 Data synchronizing and updating methods and data synchronizing and updating devices
CN106453572A (en) * 2016-10-19 2017-02-22 广东欧珀移动通信有限公司 Method and system for synchronizing images based on cloud server
CN107769881A (en) * 2017-10-10 2018-03-06 北京小米移动软件有限公司 Information synchronization method, apparatus and system, storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109688567A (en) * 2018-12-10 2019-04-26 维沃移动通信有限公司 A kind of data transmission method and mobile terminal

Similar Documents

Publication Publication Date Title
US11146502B2 (en) Method and apparatus for allocating resource
CN109697133A (en) ID generation method, apparatus and system
CN103428264B (en) The method of data syn-chronization, equipment and system
CN111355816B (en) Server selection method, device, equipment and distributed service system
CN109582470A (en) A kind of data processing method and data processing equipment
CN108345462B (en) Method and device for upgrading components
CN104168335B (en) A kind of method of data synchronization and device
CN109491718A (en) A kind of plug-in loading method and equipment
CN106681867B (en) A kind of test method and device
CN109561128A (en) Data transmission method and device
CN112417485B (en) Model training method, system and device based on trusted execution environment
CN111970304A (en) Message processing method and device
CN109558143A (en) The method and device of application deployment in a kind of cluster
CN108833509A (en) Method of data synchronization and device
CN110427426A (en) A kind of data synchronizing processing method and device
CN111324470B (en) Method and device for generating information
CN112732302A (en) Configuration updating method and device of application program and electronic equipment
CN111740806A (en) Telemetry data framing method and system with self-adaptive variable frame length
CN109981694A (en) A kind of synchronous method, server and terminal
CN110941683B (en) Method, device, medium and electronic equipment for acquiring object attribute information in space
CN108648136A (en) The method and device that two-dimensional look-up table is carried out
CN109101514A (en) Data lead-in method and device
CN114237902A (en) Service deployment method and device, electronic equipment and computer readable medium
CN113781539A (en) Depth information acquisition method and device, electronic equipment and computer readable medium
CN109597713A (en) Data back up method and device

Legal Events

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

Application publication date: 20181116