CN103929491B - Method of data synchronization and system and mobile terminal - Google Patents

Method of data synchronization and system and mobile terminal Download PDF

Info

Publication number
CN103929491B
CN103929491B CN201410175801.1A CN201410175801A CN103929491B CN 103929491 B CN103929491 B CN 103929491B CN 201410175801 A CN201410175801 A CN 201410175801A CN 103929491 B CN103929491 B CN 103929491B
Authority
CN
China
Prior art keywords
node
terminal
data
renewal
transport network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410175801.1A
Other languages
Chinese (zh)
Other versions
CN103929491A (en
Inventor
陈一
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201410175801.1A priority Critical patent/CN103929491B/en
Publication of CN103929491A publication Critical patent/CN103929491A/en
Application granted granted Critical
Publication of CN103929491B publication Critical patent/CN103929491B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of method of data synchronization and system and mobile terminal, comprise step: after multiple terminal sets up synchronized relation, upgrade initiating terminal and generate the data transport network transmitted step by step, in described data transport network, renewal initiating terminal is defined in host node, upgrading receiving terminal is defined in from node, and describedly comprise the first order from node to N level from node from node, wherein N >=2; According to described data transport network, the renewal initiating terminal of described host node sends more new data the renewal receiving terminal of the first order from node to, described more new data transmits downwards from the renewal receiving terminal of node, until send the renewal receiving terminal of N level from node to by every one-level step by step afterwards.Thus, more new data is transmitted to another terminal step by step by a terminal, load has been shared multiple terminal, reduce the load upgrading initiating terminal, make the load of each terminal more balanced, optimize data synchronous system, improve Consumer's Experience.

Description

Method of data synchronization and system and mobile terminal
Technical field
The present invention relates to communication technical field, especially relate to a kind of method of data synchronization and system and mobile terminal.
Background technology
Chinese patent 201010288817.5 discloses a kind of data synchronous system and method, in this system, a mobile terminal can set up synchronized relation with multiple destination mobile terminal, then this mobile terminal can to multiple destination mobile terminal transmitting system parameters, automatically setting is upgraded with the corresponding system of carrying out making multiple destination mobile terminal synchronous, when the data change of arbitrary mobile terminal, can send change data to other multiple mobile terminal, the automatic synchronization realizing data upgrades.
But method of data synchronization of the prior art, when carrying out data synchronization updating, the renewal initiating terminal of initiating Data Update invitation needs renewal data group to send to multiple mobile terminal, cause the load of this renewal initiating terminal excessive, flow and electric quantity consumption are comparatively large, and Consumer's Experience is not good.
Summary of the invention
Main purpose of the present invention is to provide a kind of method of data synchronization and system and mobile terminal, is intended to optimization data synchro system, solves the problem that in data synchronization process, terminate load is excessive.
To achieve these objectives, the present invention proposes a kind of method of data synchronization, comprises step:
After multiple terminal sets up synchronized relation, upgrade initiating terminal and generate the data transport network transmitted step by step, in described data transport network, renewal initiating terminal is defined in host node, upgrading receiving terminal is defined in from node, and describedly comprise the first order from node to N level from node from node, wherein N >=2;
According to described data transport network, the renewal initiating terminal of described host node sends more new data the renewal receiving terminal of the first order from node to, described more new data transmits downwards from the renewal receiving terminal of node, until send the renewal receiving terminal of N level from node to by every one-level step by step afterwards.
Preferably, every one-level has multiple from the renewal receiving terminal of node, and the renewal receiving terminal of each upper level from the renewal receiving terminal of node at least one next stage from node transmit described in more new data.
Preferably, if the first order has M to upgrade receiving terminal from node, then each upper level from the renewal receiving terminal of node to M or at most M next stage from more new data described in the renewal receiving terminal transmission of node.
Preferably, described renewal initiating terminal generation data transport network comprises:
Upgrade initiating terminal and detect the load of each renewal receiving terminal, generate data transport network according to testing result, renewal receiving terminal larger for load is defined in afterbody in described data transport network from node.
The present invention proposes a kind of data synchronous system simultaneously, comprises the multiple terminals setting up synchronized relation, and described multiple terminal comprises renewal initiating terminal and upgrades receiving terminal, wherein:
Upgrade initiating terminal, for generating the data transport network transmitted step by step, in described data transport network, renewal initiating terminal being defined in host node, upgrading receiving terminal and being defined in from node, and describedly comprise the first order from node to N level from node from node, wherein N >=2; And send more new data according to the renewal receiving terminal of described data transport network to the first order from node;
Upgrade receiving terminal, for receiving the more new data that host node or upper level send from node, if having next stage from node, and according to described data transport network, the more new data described in transmission to next stage from node.
Preferably, every one-level has multiple from the renewal receiving terminal of node, and the renewal receiving terminal of each upper level from the renewal receiving terminal of node at least one next stage from node transmit described in more new data.
Preferably, if the first order has M to upgrade receiving terminal from node, then each upper level from the renewal receiving terminal of node to M or at most M next stage from more new data described in the renewal receiving terminal transmission of node.
Preferably, described renewal initiating terminal is used for: the load detecting each renewal receiving terminal, generates data transport network according to testing result, renewal receiving terminal larger for load is defined in afterbody in described data transport network from node.
The present invention also proposes a kind of mobile terminal, comprises link block and data simultaneous module, wherein:
Link block, for setting up synchronized links relation with multiple exterior terminal;
Data simultaneous module, for generating the data transport network transmitted step by step, in described data transport network, the machine is defined in host node, described multiple exterior terminal is defined in from node, and describedly comprise the first order from node to N level from node from node, wherein N >=2; And send more new data according to described data transport network to the first order from the exterior terminal of node, described in then making, more new data transmits downwards step by step, until send the exterior terminal of N level from node to.
Preferably, described data simultaneous module is used for: the load detecting each exterior terminal, generates data transport network according to testing result, exterior terminal larger for load is defined in afterbody in described data transport network from node.
A kind of data synchronous system provided by the present invention, when carrying out Data Update, the data transport network transmitted step by step is generated by the renewal initiating terminal of initiating Data Update invitation, more new data is transmitted to another terminal step by step by a terminal, load is shared multiple terminal, more new data is sent to all renewal receiving terminals without the need to upgrading initiating terminal, reduce the load upgrading initiating terminal, make the load of each terminal more balanced, optimize data synchronous system, improve Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is the structured flowchart of data synchronous system one embodiment of the present invention;
Fig. 2 is the structured flowchart of mobile terminal one embodiment of the present invention;
Fig. 3 is the structure chart of data transport network one embodiment in the present invention;
Fig. 4 is the structure chart of another embodiment of data transport network in the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
See Fig. 1, propose data synchronous system one embodiment of the present invention, described data synchronous system comprises multiple terminal, and each terminal establishes synchronized relation, and multiple terminal comprises renewal initiating terminal and upgrades receiving terminal.Whenever carrying out data synchronization updating, what initiate Data Update invitation is then renewal initiating terminal, and all the other terminals accepting Data Update invitation are then renewal receiving terminal.Such as, after terminal A and multiple terminal set up data syn-chronization relation, initiatively initiate Data Update and invite, invite the terminal establishing with it synchronized relation to carry out data sharing, then now terminal A is then for upgrading initiating terminal, and all the other terminals are then for upgrading receiving terminal; And for example, after terminal B and each terminal carry out data syn-chronization, Partial synchronization data are changed, then initiate Data Update to all the other terminals to invite, to make the more change done of new terminal B of other terminal synchronizes, now terminal B is then for upgrading initiating terminal, and all the other terminals are then for upgrading receiving terminal.Therefore, any one terminal in data synchronous system all may become renewal initiating terminal.Described data are the arbitrary data that terminal use is ready to share, and comprise theme, file, system set-up parameters etc.
Upgrade initiating terminal: for generating the data transport network transmitted step by step, in data transport network, renewal initiating terminal is defined in host node, upgrade receiving terminal to be defined in from node, and comprise the first order from node to N level from node from node, wherein N >=2; And sending more new data according to the renewal receiving terminal of data transport network to the first order from node, this more carries transmission information or the agreement of data transport network in new data.
Upgrade initiating terminal can be random or according to preset rules generate data transport network, as preferably, upgrade the load that initiating terminal detects each renewal receiving terminal, generate data transport network according to testing result, renewal receiving terminal larger for load is defined in afterbody in described data transport network from node.
Every one-level has multiple from the renewal receiving terminal of node, and the renewal receiving terminal of each upper level from the renewal receiving terminal of node at least one next stage from node transmit described in more new data.As optimal way, if the first order has M to upgrade receiving terminal from node, then each upper level from the renewal receiving terminal of node to M or at most M next stage from more new data described in the renewal receiving terminal transmission of node.To make the load of each terminal more balanced.
Upgrade receiving terminal: for receiving the more new data that host node or upper level send from node, if having next stage from node, then send more new data according to data transport network to next stage from node.Simultaneously carry out Data Update according to more new data.
Described terminal can be mobile terminal or immobile terminal, and the present embodiment is described in detail for mobile terminal.As shown in Figure 2, described mobile terminal comprises link block and data simultaneous module, wherein:
Link block: for setting up synchronized links relation with multiple exterior terminal.
Data simultaneous module: for receive exterior terminal send more new data carry out data synchronization updating, or externally terminal send more new data with sends Data Update invitation.
When mobile terminal is as renewal initiating terminal, data simultaneous module random or generate the data transport network transmitted step by step according to preset rules, in data transport network, the machine is defined in host node, multiple exterior terminal is defined in from node, and comprise the first order from node to N level from node from node, wherein N >=2; And send more new data according to data transport network to the first order from the exterior terminal of node, this more carries transmission information or the agreement of data transport network in new data, then more new data is made to transmit step by step downwards, until send the exterior terminal of N level from node to, realize synchronized update with the data and the machine that make exterior terminal.Thus, when mobile terminal is as renewal initiating terminal, without the need to sending more new data to all renewal receiving terminals setting up with it synchronized relation, only need send more new data to first from the renewal receiving terminal of Nodes, reducing the load upgrading initiating terminal.
Further, data simultaneous module is when generating data transport network, detect the load of each exterior terminal, data transport network is generated according to testing result, exterior terminal larger for load is defined in afterbody in data transport network from node i.e. N level from node, make it without the need to transmitting more new data to other terminal, to alleviate its load.
When mobile terminal is as renewal receiving terminal, the more new data that data simultaneous module then receives exterior terminal transmission carries out data synchronization updating, this exterior terminal may be renewal initiating terminal also may be upgrade receiving terminal, depending on the node location of the machine in data transport network.As the machine not in the end one-level from node namely also have next stage from node, also need according to data transport network, the renewal receiving terminal to next stage from node sends more new data.
As shown in Figure 3, be data transport network in the present invention one example.Wherein, upgrading initiating terminal is the main equipment being positioned at host node, and upgrading receiving terminal is to be positioned at from the M*N of node from equipment, is arranged into the capable M row of N in matrix.Wherein, the first order comprises from equipment 11 ~ 1M M renewal receiving terminal altogether from node, and N level comprises from equipment N1 ~ NM M renewal receiving terminal altogether from node.Main equipment is connected from equipment 11 ~ 1M from the M of node is individual with the first order respectively, each upper level is connected from the renewal receiving terminal of node with the renewal receiving terminal of a next stage from node, N level is connected to successively from node from the first order from node, as from equipment 11,21 ... N1 connects successively, from equipment 1M, 2M ... NM connects successively.
Now describe the idiographic flow of method of data synchronization of the present invention in detail with the data transport network shown in Fig. 3: first main equipment generates data transport network as shown in Figure 3; Then more new data is sent from node from equipment 11 ~ 1M respectively to the first order; At different levelsly receive the laggard row data synchronization updating of more new data from node, and according to data transport network, more new data is transmitted successively to next stage from node, until be sent to afterbody from node i.e. N level from node, as from equipment 11,21 ... N1 transmits more new data step by step successively, from equipment 1M, 2M ... NM transmits more new data step by step successively.
As shown in Figure 4, be another example of data transport network in the present invention.Wherein, upgrading initiating terminal is the main equipment being positioned at host node, two-stage is had from node, the first order comprises from equipment 1 ~ 3 totally 3 renewal receiving terminals from node, the second level comprises 32 from node and upgrades receiving terminal, wherein connect from equipment 11,12,13 respectively from equipment 1, connect from equipment 21,22,23 respectively from equipment 2, connect respectively from equipment 31,32,33 from equipment 3.
Now describe the idiographic flow of method of data synchronization of the present invention in detail with the data transport network shown in Fig. 4: first main equipment generates data transport network as shown in Figure 4; Then more new data is sent from node from equipment 1 ~ 3 respectively to the first order; The laggard row data synchronization updating of more new data is received from equipment 1 ~ 3, and according to data transport network, more new data is transmitted to the second level from node, namely more new data is sent from equipment 1 respectively to from equipment 11,12,13, send more new data from equipment 2 respectively to from equipment 21,22,23, send more new data from equipment 3 respectively to from equipment 31,32,33; 9 of Section Point receive more new data from equipment and carry out data synchronization updating.In this example, transmit more new data to three equipment due to main equipment with from equipment all simultaneously, make the load of each equipment more balanced.
Accordingly, data synchronous system of the present invention, when carrying out Data Update, the data transport network transmitted step by step is generated by the renewal initiating terminal of initiating Data Update invitation, more new data is transmitted to another terminal step by step by a terminal, load is shared multiple terminal, more new data is sent to all renewal receiving terminals without the need to upgrading initiating terminal, reduce the load upgrading initiating terminal, make the load of each terminal more balanced, optimize data synchronous system, improve Consumer's Experience.
One of ordinary skill in the art will appreciate that, realize the hardware that all or part of step in above-described embodiment method can control to be correlated with by program to complete, described program can be stored in a computer read/write memory medium, and described storage medium can be ROM/RAM, disk, CD etc.
Should be understood that; these are only the preferred embodiments of the present invention; can not therefore limit the scope of the claims of the present invention; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (7)

1. a method of data synchronization, is characterized in that, comprises step:
After multiple terminal sets up synchronized relation, upgrade initiating terminal and generate the data transport network transmitted step by step, in described data transport network, renewal initiating terminal is defined in host node, upgrading receiving terminal is defined in from node, and describedly comprise the first order from node to N level from node from node, wherein N >=2;
According to described data transport network, the renewal initiating terminal of described host node sends more new data the renewal receiving terminal of the first order from node to, described more new data transmits downwards from the renewal receiving terminal of node, until send the renewal receiving terminal of N level from node to by every one-level step by step afterwards;
Wherein, any one terminal in described multiple terminal can as renewal initiating terminal; And, described renewal initiating terminal is when generating data transport network, detect the load of each exterior terminal, data transport network is generated according to testing result, exterior terminal larger for load is defined in afterbody in data transport network from node i.e. N level from node, make it without the need to transmitting more new data to other terminal, to alleviate its load.
2. method of data synchronization according to claim 1, it is characterized in that, every one-level has multiple from the renewal receiving terminal of node, and the renewal receiving terminal of each upper level from the renewal receiving terminal of node at least one next stage from node transmit described in more new data.
3. method of data synchronization according to claim 1, it is characterized in that, if the first order has M to upgrade receiving terminal from node, then each upper level from the renewal receiving terminal of node to M or at most M next stage from more new data described in the renewal receiving terminal transmission of node.
4. a data synchronous system, it is characterized in that, comprise the multiple terminals setting up synchronized relation, described multiple terminal comprises renewal initiating terminal and upgrades receiving terminal, and any one terminal in described multiple terminal can as renewal initiating terminal, wherein:
Upgrade initiating terminal, for generating the data transport network transmitted step by step, in described data transport network, renewal initiating terminal being defined in host node, upgrading receiving terminal and being defined in from node, and describedly comprise the first order from node to N level from node from node, wherein N >=2; And send more new data according to the renewal receiving terminal of described data transport network to the first order from node;
Upgrade receiving terminal, for receiving the more new data that host node or upper level send from node, if having next stage from node, and according to described data transport network, the more new data described in transmission to next stage from node;
Wherein, described renewal initiating terminal is when generating data transport network, detect the load of each exterior terminal, data transport network is generated according to testing result, exterior terminal larger for load is defined in afterbody in data transport network from node i.e. N level from node, make it without the need to transmitting more new data to other terminal, to alleviate its load.
5. data synchronous system according to claim 4, it is characterized in that, every one-level has multiple from the renewal receiving terminal of node, and the renewal receiving terminal of each upper level from the renewal receiving terminal of node at least one next stage from node transmit described in more new data.
6. data synchronous system according to claim 4, it is characterized in that, if the first order has M to upgrade receiving terminal from node, then each upper level from the renewal receiving terminal of node to M or at most M next stage from more new data described in the renewal receiving terminal transmission of node.
7. a mobile terminal, is characterized in that, comprises link block and data simultaneous module, wherein:
Link block, for setting up synchronized links relation with multiple exterior terminal;
Data simultaneous module, for generating the data transport network transmitted step by step, in described data transport network, the machine is defined in host node, described multiple exterior terminal is defined in from node, and describedly comprise the first order from node to N level from node from node, wherein N >=2; And send more new data according to described data transport network to the first order from the exterior terminal of node, described in then making, more new data transmits downwards step by step, until send the exterior terminal of N level from node to;
Wherein, described data simultaneous module is when generating data transport network, detect the load of each exterior terminal, data transport network is generated according to testing result, exterior terminal larger for load is defined in afterbody in data transport network from node i.e. N level from node, make it without the need to transmitting more new data to other terminal, to alleviate its load.
CN201410175801.1A 2014-04-28 2014-04-28 Method of data synchronization and system and mobile terminal Active CN103929491B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410175801.1A CN103929491B (en) 2014-04-28 2014-04-28 Method of data synchronization and system and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410175801.1A CN103929491B (en) 2014-04-28 2014-04-28 Method of data synchronization and system and mobile terminal

Publications (2)

Publication Number Publication Date
CN103929491A CN103929491A (en) 2014-07-16
CN103929491B true CN103929491B (en) 2016-02-03

Family

ID=51147563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410175801.1A Active CN103929491B (en) 2014-04-28 2014-04-28 Method of data synchronization and system and mobile terminal

Country Status (1)

Country Link
CN (1) CN103929491B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105451210A (en) * 2014-09-29 2016-03-30 中兴通讯股份有限公司 Data synchronous processing method and data synchronous processing device
WO2021168773A1 (en) * 2020-02-28 2021-09-02 华为技术有限公司 Communication method and communication apparatus
CN114637896B (en) * 2022-05-23 2022-09-09 杭州闪马智擎科技有限公司 Data auditing method and device, storage medium and electronic device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1592248A (en) * 2003-08-29 2005-03-09 华为技术有限公司 Layered content distributing network and method thereof
CN101137042A (en) * 2006-09-29 2008-03-05 中兴通讯股份有限公司 Static program distribution and service method in cluster type stream media system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2002224448A1 (en) * 2000-10-26 2002-05-06 Prismedia Networks, Inc. Method and apparatus for large payload distribution in a network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1592248A (en) * 2003-08-29 2005-03-09 华为技术有限公司 Layered content distributing network and method thereof
CN101137042A (en) * 2006-09-29 2008-03-05 中兴通讯股份有限公司 Static program distribution and service method in cluster type stream media system

Also Published As

Publication number Publication date
CN103929491A (en) 2014-07-16

Similar Documents

Publication Publication Date Title
US9270395B2 (en) Method for robust PTP synchronization with default 1588V2 profile
CN105451165B (en) near field communication method and device based on multiple protocols
CN101317476B (en) Topological structure scanning method and scanning system
CN103929492A (en) Method, devices and system for load balancing of service chain
CN104253767A (en) Virtual shard network implementing method and switch
WO2013063598A3 (en) Systems and methods for fast initial network link setup
CN102665297B (en) Communication device and system as well as method of wireless cloud sensor network
CN103929491B (en) Method of data synchronization and system and mobile terminal
US20160198285A1 (en) Method And Internet Of Things System For Controlling An Electronic Device
CN105681225A (en) Network resource acquisition method and device
CN110069288A (en) USB device sharing method, apparatus and system
CN106294015A (en) A kind of data back up method and device
CN104393966A (en) CAN (Controller Area Network) bus communication method
CN106664638A (en) Data transmission method, apparatus and system
CN206962836U (en) Intelligent commodity shelf Communication topology and intelligent commodity shelf based on CAN
US20110142074A1 (en) Serial communication module with multiple receiver/transmitters
CN104009943B (en) LLDP message transmitting methods and DCB equipment
US10250477B2 (en) Method and controller for announcing bandwidth of cluster system
CN104333872A (en) Method and system for establishing session based on bidirectional forwarding detection technology
CN105553703B (en) A kind of information processing method, electronic equipment and system
US10797957B2 (en) Network management apparatus, network management method, network management system, and program
CN105262815B (en) Radio transmitting method and system based on radio frequency
CN105119675B (en) A kind of synchronous method and synchronization system of target device
CN103607242A (en) Access method and device for RRU
CN110971716B (en) Address configuration method, device, system and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
CB02 Change of applicant information

Address after: A District No. 9018 Han innovation building in Nanshan District high tech Zone in Shenzhen city of Guangdong Province, North Central Avenue, 518000 floor 10

Applicant after: Nubian Technologies Ltd.

Address before: A District No. 9018 Han innovation building in Nanshan District high tech Zone in Shenzhen city of Guangdong Province, North Central Avenue, 518000 floor 10

Applicant before: Shenzhen ZTE Mobile Tech Co., Ltd.

COR Change of bibliographic data
GR01 Patent grant