CN104184764A - Data synchronization method, apparatus and terminal - Google Patents
Data synchronization method, apparatus and terminal Download PDFInfo
- Publication number
- CN104184764A CN104184764A CN201310195262.3A CN201310195262A CN104184764A CN 104184764 A CN104184764 A CN 104184764A CN 201310195262 A CN201310195262 A CN 201310195262A CN 104184764 A CN104184764 A CN 104184764A
- Authority
- CN
- China
- Prior art keywords
- equipment
- program
- default medium
- local data
- medium
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Computing Systems (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a data synchronization method, apparatus and terminal, used for sharing data information in the terminal with the other terminal. The data synchronization method comprises: controlling the preset medium to communicate with a second apparatus, when an installation program of a first apparatus stored in the preset medium and local data generated through operating the program are synchronized to the second apparatus; reading the program from the preset medium and mounting the program to a first predetermined directory of the second apparatus; reading the local data from the preset medium and synchronizing the local data to a second predetermined directory of the second apparatus. According to the technical scheme provided by the invention, application and data on one apparatus can be conveniently synchronized to the other apparatus, so that sharing of the application and data is reached.
Description
Technical field
The present invention relates to electronic product field, relate to more specifically a kind of method of data synchronization, device and terminal.
Background technology
Along with developing rapidly of mobile communication technology and smart mobile phone, the use crowd scope of Intelligent touch mobile phone is more and more wider, has become the part in our life.Due to renewal speed or the other reasons of mobile phone, need to change mobile phone, or give another mobile phone the application in mobile phone and data information sharing.
Common practices for this situation is at present, and the data that back up out in more corresponding application are upper to PC, and then data are dealt on another mobile phone by PC.This kind of way only realized sharing of data, and is the data sharing of part application.
Current mode, for the user who newly changes mobile phone, before may meaning, in mobile phone, a large amount of application need to be reinstalled, and applies corresponding data and may also can lose.For by mobile phone or there is the user of a plurality of mobile phones, very inconvenient.
Therefore the synchrodata difficult problem that, exists replacing equipment to bring in prior art.
Summary of the invention
The invention provides a kind of method of data synchronization, device and terminal, the synchrodata difficult problem that exists replacing equipment to bring for solving prior art.
For achieving the above object, according to an aspect of the present invention, provide a kind of method of data synchronization, and adopt following technical scheme:
Method of data synchronization comprises: in the program that the first equipment of storing in default medium is installed and when moving local data that described program produces and being synchronized to the second equipment, control described default medium and described the second devices communicating; From described default medium read described program and by described installation to the first predetermined directories of described the second equipment; From described default medium, read described local data and described local data be synchronized to the second predetermined directories of described the second equipment.
Further, in the program that the first equipment of storing in default medium is installed and when moving local data that described program produces and being synchronized to the second equipment, also comprise before controlling the step of described default medium and described the second devices communicating: the program that the first equipment is installed and move local data that described program produces and backup to and preset in medium.
Further, in the described program that the first equipment is installed and move local data that described program produces backup to default medium in before, described method also comprises: according to default backup standard, judge whether described program and local data need to backup in described default medium, and carry out the program that the first equipment is installed in described program and described related data need to backup to described default medium time and move the local data that described program produces and backup in default medium.
Further, the described default medium of described control and described the second devices communicating comprise: the network function module by described the second equipment is sent to described the second equipment by the described program in described default medium and described local data.
Further, the described default medium of described control and described the second devices communicating comprise: by the network function of described the second equipment, logined after described default medium reads described program and described local data and returned to described the second equipment.
Further, the described default medium of described control and described the second devices communicating comprise: by described default medium being installed to described the second equipment, make described the second equipment by directly reading described program and the described local data on described default medium with the corresponding read module of described default medium.
Further, described default medium is T-flash card.
According to another aspect of the present invention, provide a kind of data synchronization unit, and adopt following technical scheme:
Data synchronization unit comprises: control module, for the program of installing at the first equipment that default medium is stored and when moving local data that described program produces and being synchronized to the second equipment, control described default medium and described the second devices communicating; Installation module, for reading described program and the first predetermined directories to described the second equipment by described installation from described default medium; Synchronization module, for reading described local data and described local data being synchronized to the second predetermined directories of described the second equipment from described default medium.
Further, data synchronization unit also comprises: backup module, and for program that the first equipment is installed and move the local data that described program produces and backup to default medium.
Further, data synchronization unit also comprises: judge module, for judging according to default backup standard whether described program and local data need to backup to described default medium, and carry out the program that the first equipment is installed in described program and described related data need to backup to described default medium time and move the local data that described program produces and backup in default medium.
Further, described control module comprises: sending module, is sent to described the second equipment for the network function module by described the second equipment by the described program of described default medium and described local data.
Further, described control module comprises: login module, and for the network function by described the second equipment, login after described default medium reads described program and described local data and return to described the second equipment.
Further, described control module comprises: read module, for by described default medium being installed to described the second equipment, make described the second equipment by directly reading described program and the described local data on described default medium with the corresponding read module of described default medium.
Further, described default medium is T-flash card.
According to a further aspect of the invention, provide a kind of terminal, and adopt following technical scheme:
This terminal comprises above-mentioned synchronizer.
Method in two terminal room sharing application and data provided by the invention, can pass through network, also can pass through a kind of medium, T card for example, the corresponding installation procedure of application and the data of corresponding generation of installing of backup, then by network or this medium and a corresponding installation procedure, automatically the application on network or in this medium is installed in another terminal, and data placement to corresponding position, with this, reach sharing of two mobile phones application and data.
Accompanying drawing explanation
Accompanying drawing is used to provide a further understanding of the present invention, forms the application's a part, and schematic description and description of the present invention is used for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 represents the flow chart of the method for data synchronization described in the embodiment of the present invention one;
Fig. 2 represents the flow chart of the method for data synchronization described in the embodiment of the present invention two;
Fig. 3 represents the structural representation of the data synchronization unit described in the embodiment of the present invention three.
Embodiment
Below in conjunction with accompanying drawing, embodiments of the invention are elaborated, but the multitude of different ways that the present invention can be defined by the claims and cover is implemented.
Embodiment mono-
Fig. 1 represents the flow chart of the method for data synchronization described in the embodiment of the present invention one.
Shown in Figure 1, method of data synchronization comprises:
S101: in the program that the first equipment of storing in default medium is installed and when moving local data that described program produces and being synchronized to the second equipment, control described default medium and described the second devices communicating;
S103: from described default medium read described program and by described installation to the first predetermined directories of described the second equipment;
S105: read described local data and described local data be synchronized to the second predetermined directories of described the second equipment from described default medium.
Preferably, in the program that the first equipment of storing in default medium is installed and when moving local data that described program produces and being synchronized to the second equipment, also comprise before controlling the step of described default medium and described the second devices communicating: the program that the first equipment is installed and move local data that described program produces and backup to and preset in medium.
In step S101, the program that the first equipment of storing in default medium is installed and to move the local data that described program produces be back-up application installation kit: the application meeting in general A mobile phone back up the APK application of the corresponding original APP installing and wrapped below catalogue/data/app, as test.Android.xxxgame-1.apk, control program need in default medium, also can record the erection sequence that these apk wrap in the corresponding catalogue in default medium by the apk installation kit under this catalogue of backup after application installation.Equally, the local data that this program of operation is produced also backups in default medium, be data corresponding to back-up application: applying corresponding related data is generally below the data/data/test.Android.xxxgame of system catalogue, back up data corresponding below this catalogue.
In step S103, from described default medium read described program and by described installation to the first predetermined directories of described the second equipment, stand-by program bag is installed: control program access media, the application program backing up in corresponding medium is installed at random or in order.In step S105, recover equally data: control program access media, returns to the information of data field in the application of each correspondence in data/data.Also corresponding authority is set to the access rights of original correspondence if necessary.
By the technique scheme of the present embodiment, can be fast in two equipment switch application and corresponding data.Recovery is dispatched from the factory after pattern, also can utilize this mechanism to recover application and data.After needn't changing mobile phone, refitting is applied.
Embodiment bis-:
Fig. 2 represents the flow chart of the method for data synchronization described in the embodiment of the present invention two.
Shown in Figure 2, method of data synchronization comprises:
Step 201: judge whether to need application and the data in synchronous medium.To 202, no to 204.
In this step, judge whether to need application and the data in synchronous medium, judgement is herein what according to user's demand, to judge, can preset the standard of a judgement, for the synchronous application of needs and data, just backup in medium, highlight a selectivity, rather than any one program and data all want synchronous.
Step 202: control module is called and stand-by program module is installed the application installation procedure of backup is arranged on the equipment with this media communications successively.
This step can realize by three kinds of modes, that is:
Preferably, the described default medium of described control and described the second devices communicating comprise: the network function module by described the second equipment is sent to described the second equipment by the described program in described default medium and described local data.
Preferably, the described default medium of described control and described the second devices communicating comprise: by the network function of described the second equipment, logined after described default medium reads described program and described local data and returned to described the second equipment.
Preferably, the described default medium of described control and described the second devices communicating comprise: by described default medium being installed to described the second equipment, make described the second equipment by directly reading described program and the described local data on described default medium with the corresponding read module of described default medium.
Step 203: control module is called recovery application data module the application data of backup is copied in the relevant position of equipment, carries out the recovery of data.
Step 204: control module call backup installation procedure module original installation procedure file backup to medium.
Step 205: control module is called back-up application data module application data is backuped to medium.
Pass through above-described embodiment, method in two terminal room sharing application and data provided by the invention, can pass through network, also can pass through a kind of medium, T-flash card for example, the corresponding installation procedure of application and the data of corresponding generation of installing of backup, are then installed to the application on network or in this medium in another terminal automatically by network or this medium and a corresponding installation procedure, and data placement is arrived to corresponding position, with this, reach sharing of two mobile phones application and data.
Embodiment tri-
Fig. 3 represents the structural representation of the data synchronization unit described in the embodiment of the present invention three.
Shown in Figure 3, data synchronization unit provided by the invention comprises: control module 301, for the program of installing at the first equipment that default medium is stored and when moving local data that described program produces and being synchronized to the second equipment, control described default medium and described the second devices communicating; Installation module 303, for reading described program and the first predetermined directories to described the second equipment by described installation from described default medium; Synchronization module 305, for reading described local data and described local data being synchronized to the second predetermined directories of described the second equipment from described default medium.
Alternatively, data synchronization unit also comprises: backup module (not shown), and for program that the first equipment is installed and move the local data that described program produces and backup to default medium.
Alternatively, data synchronization unit also comprises: judge module (not shown), for judging according to default backup standard whether described program and local data need to backup to described default medium, and carry out the program that the first equipment is installed in described program and described related data need to backup to described default medium time and move the local data that described program produces and backup in default medium.
Alternatively, described control module 301 comprises: sending module (not shown), is sent to described the second equipment for the network function module by described the second equipment by the described program of described default medium and described local data.
Alternatively, described control module 301 comprises: login module (not shown), and for the network function by described the second equipment, login after described default medium reads described program and described local data and return to described the second equipment.
Alternatively, described control 301 comprises: read module (not shown), for by described default medium being installed to described the second equipment, make described the second equipment by directly reading described program and the described local data on described default medium with the corresponding read module of described default medium.
Alternatively, described default medium is T-flash card.
The invention provides a kind of terminal and comprise above-mentioned synchronizer.
Method in two terminal room sharing application and data provided by the invention, can pass through network, also can pass through a kind of medium, T-flash card for example, the corresponding installation procedure of application and the data of corresponding generation of installing of backup, then by network or this medium and a corresponding installation procedure, automatically the application on network or in this medium is installed in another terminal, and data placement to corresponding position, with this, reach sharing of two mobile phones application and data.For recovering, dispatch from the factory after pattern, also can utilize this mechanism to recover application and data.After needn't changing mobile phone, refitting is applied.
Claims (15)
1. a method of data synchronization, is characterized in that, comprising:
In the program that the first equipment of storing in default medium is installed and when moving local data that described program produces and being synchronized to the second equipment, control described default medium and described the second devices communicating;
From described default medium read described program and by described installation to the first predetermined directories of described the second equipment;
From described default medium, read described local data and described local data be synchronized to the second predetermined directories of described the second equipment.
2. synchronous method as claimed in claim 1, it is characterized in that, in the program that the first equipment of storing in default medium is installed and when moving local data that described program produces and being synchronized to the second equipment, the step of controlling described default medium and described the second devices communicating also comprises before:
The program that the first equipment is installed and move the local data that described program produces and backup in default medium.
3. synchronous method as claimed in claim 2, is characterized in that, in the described program that the first equipment is installed and move local data that described program produces backup to default medium in before, described method also comprises:
According to default backup standard, judge whether described program and local data need to backup in described default medium, and carry out the program that the first equipment is installed in described program and described related data need to backup to described default medium time and move the local data that described program produces and backup in default medium.
4. synchronous method as claimed in claim 1, is characterized in that, the described default medium of described control and described the second devices communicating comprise:
Network function module by described the second equipment is sent to described the second equipment by the described program in described default medium and described local data.
5. synchronous method as claimed in claim 1, is characterized in that, the described default medium of described control and described the second devices communicating comprise:
By the network function of described the second equipment, login after described default medium reads described program and described local data and return to described the second equipment.
6. synchronous method as claimed in claim 1, is characterized in that, the described default medium of described control and described the second devices communicating comprise:
By described default medium being installed to described the second equipment, make described the second equipment by directly reading described program and the described local data on described default medium with the corresponding read module of described default medium.
7. synchronous method as claimed in claim 5, is characterized in that, described default medium is T-flash card.
8. a data synchronization unit, is characterized in that, comprising:
Control module, for the program of installing at the first equipment that default medium is stored and when moving local data that described program produces and being synchronized to the second equipment, controls described default medium and described the second devices communicating;
Installation module, for reading described program and the first predetermined directories to described the second equipment by described installation from described default medium;
Synchronization module, for reading described local data and described local data being synchronized to the second predetermined directories of described the second equipment from described default medium.
9. synchronizer as claimed in claim 8, is characterized in that, also comprises:
Backup module, for program that the first equipment is installed and move the local data that described program produces and backup to default medium.
10. synchronizer as claimed in claim 9, is characterized in that, also comprises:
Judge module, for judging according to default backup standard whether described program and local data need to backup to described default medium, and carry out the program that the first equipment is installed in described program and described related data need to backup to described default medium time and move the local data that described program produces and backup in default medium.
11. synchronizers as claimed in claim 8, is characterized in that, described control module comprises:
Sending module, is sent to described the second equipment for the network function module by described the second equipment by the described program of described default medium and described local data.
12. synchronizers as claimed in claim 8, is characterized in that, described control module comprises:
Login module, logins after described default medium reads described program and described local data and returns to described the second equipment for the network function by described the second equipment.
13. synchronizers as claimed in claim 8, is characterized in that, described control module comprises:
Read module, for by described default medium being installed to described the second equipment, makes described the second equipment by directly reading described program and the described local data on described default medium with the corresponding read module of described default medium.
14. synchronizers as claimed in claim 8, is characterized in that, described default medium is T-flash card.
15. 1 kinds of terminals, is characterized in that, comprise the synchronizer described in claim 8 to 14 any one.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310195262.3A CN104184764A (en) | 2013-05-23 | 2013-05-23 | Data synchronization method, apparatus and terminal |
PCT/CN2013/083590 WO2014187048A1 (en) | 2013-05-23 | 2013-09-16 | Data synchronization method, device and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310195262.3A CN104184764A (en) | 2013-05-23 | 2013-05-23 | Data synchronization method, apparatus and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104184764A true CN104184764A (en) | 2014-12-03 |
Family
ID=51932757
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310195262.3A Pending CN104184764A (en) | 2013-05-23 | 2013-05-23 | Data synchronization method, apparatus and terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104184764A (en) |
WO (1) | WO2014187048A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112333490A (en) * | 2020-09-10 | 2021-02-05 | 深圳Tcl新技术有限公司 | Application synchronous installation method, device, equipment and readable storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1602100A (en) * | 2004-10-21 | 2005-03-30 | 康健 | Method of backup of cell phone note based on STK or UTK tech |
US20070136391A1 (en) * | 2005-12-09 | 2007-06-14 | Tomoya Anzai | Storage system, NAS server and snapshot acquisition method |
WO2009088112A1 (en) * | 2008-01-04 | 2009-07-16 | Comin Information Systems Inc. | Portable storage device and application operating method using the portable storage device |
JP2009237930A (en) * | 2008-03-27 | 2009-10-15 | Kddi Technology Corp | Application transfer system, and application transfer method and program |
US20100153944A1 (en) * | 2008-12-16 | 2010-06-17 | Shenzhen Futaihong Precision Industry Co., Ltd. | Software installation system and method |
CN102110031A (en) * | 2011-02-23 | 2011-06-29 | 宇龙计算机通信科技(深圳)有限公司 | Android system-based application program backup and recovery method |
CN102750162A (en) * | 2011-04-21 | 2012-10-24 | 株式会社吉恩网络 | Method for installing applications installed in an old mobile terminal to a new mobile terminal |
CN103020051A (en) * | 2011-09-20 | 2013-04-03 | 奇智软件(北京)有限公司 | Data transferring method for plug-in equipment |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102629935A (en) * | 2012-03-07 | 2012-08-08 | 中兴通讯股份有限公司 | Method for installing application software based on cloud service, device thereof and system thereof |
CN102929653A (en) * | 2012-09-25 | 2013-02-13 | 东莞宇龙通信科技有限公司 | Method for loading application program, and communication terminal |
CN103049287A (en) * | 2012-12-10 | 2013-04-17 | 东莞宇龙通信科技有限公司 | Mobile terminal and method for installing application programs of mobile terminal |
-
2013
- 2013-05-23 CN CN201310195262.3A patent/CN104184764A/en active Pending
- 2013-09-16 WO PCT/CN2013/083590 patent/WO2014187048A1/en active Application Filing
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1602100A (en) * | 2004-10-21 | 2005-03-30 | 康健 | Method of backup of cell phone note based on STK or UTK tech |
US20070136391A1 (en) * | 2005-12-09 | 2007-06-14 | Tomoya Anzai | Storage system, NAS server and snapshot acquisition method |
WO2009088112A1 (en) * | 2008-01-04 | 2009-07-16 | Comin Information Systems Inc. | Portable storage device and application operating method using the portable storage device |
JP2009237930A (en) * | 2008-03-27 | 2009-10-15 | Kddi Technology Corp | Application transfer system, and application transfer method and program |
US20100153944A1 (en) * | 2008-12-16 | 2010-06-17 | Shenzhen Futaihong Precision Industry Co., Ltd. | Software installation system and method |
CN102110031A (en) * | 2011-02-23 | 2011-06-29 | 宇龙计算机通信科技(深圳)有限公司 | Android system-based application program backup and recovery method |
CN102750162A (en) * | 2011-04-21 | 2012-10-24 | 株式会社吉恩网络 | Method for installing applications installed in an old mobile terminal to a new mobile terminal |
WO2012144756A2 (en) * | 2011-04-21 | 2012-10-26 | (주)지온네트웍스 | Method for transferring and installing an application across portable terminals |
CN103020051A (en) * | 2011-09-20 | 2013-04-03 | 奇智软件(北京)有限公司 | Data transferring method for plug-in equipment |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112333490A (en) * | 2020-09-10 | 2021-02-05 | 深圳Tcl新技术有限公司 | Application synchronous installation method, device, equipment and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2014187048A1 (en) | 2014-11-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108029011B (en) | Method, equipment and system for migrating SIM card to eUICC | |
WO2017133691A1 (en) | Intelligent device networking method and apparatus | |
CN106997306B (en) | Method, device and system for migrating physical machine data to cloud | |
EP3005611B1 (en) | Virtual mobile phone interface system and method thereof | |
CN104885055A (en) | Method and device for application data synchronization | |
CN105306697B (en) | A kind of information processing method and electronic equipment | |
CN102497424A (en) | Method for achieving cloud storage through mobile storage device | |
CN104168309A (en) | Data backup and operation method based on cloud service | |
CN101162988A (en) | Data synchronization method of implementing uninterrupted service using main standby data section | |
CN103384263A (en) | Timestamp management method for data synchronization and terminal therefor | |
CN109597626A (en) | A kind of deployment of components method and apparatus | |
CN101163050A (en) | Equipment near-end maintenance method, system and equipment | |
CN105100214A (en) | Information synchronization method, device and system | |
CN104468947B (en) | A kind of information processing method and electronic equipment | |
CN103327108A (en) | Cross-platform software management platform based on cloud and construction method thereof | |
CN106201783A (en) | A kind of data reconstruction method and device | |
CN104780058A (en) | Electronic equipment configuration method and system | |
CN104243602A (en) | User information synchronization device, system and method | |
CN108572855A (en) | A kind of mobile terminal desktop thematic system and switching method | |
CN114205796A (en) | Method for connecting household electrical appliance to network | |
CN105205100A (en) | Data synchronization method based on MTP between terminals and terminals | |
CN104079610A (en) | Cloud server, and method and system for cloud synchronization of application software | |
CN101901157A (en) | Management software self-starting installation method and system | |
CN103581262A (en) | Master-and-backup data synchronizing method, device and system | |
CN104426918A (en) | Device setting method and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20141203 |