CN103701925B - Source synchronous management-control method - Google Patents

Source synchronous management-control method Download PDF

Info

Publication number
CN103701925B
CN103701925B CN201310753070.XA CN201310753070A CN103701925B CN 103701925 B CN103701925 B CN 103701925B CN 201310753070 A CN201310753070 A CN 201310753070A CN 103701925 B CN103701925 B CN 103701925B
Authority
CN
China
Prior art keywords
equipment end
resource information
control method
center
equipment
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
CN201310753070.XA
Other languages
Chinese (zh)
Other versions
CN103701925A (en
Inventor
斯俊伟
孙凌阁
曲喆
梁志勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING NETENTSEC Inc
Original Assignee
BEIJING NETENTSEC Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING NETENTSEC Inc filed Critical BEIJING NETENTSEC Inc
Priority to CN201310753070.XA priority Critical patent/CN103701925B/en
Publication of CN103701925A publication Critical patent/CN103701925A/en
Application granted granted Critical
Publication of CN103701925B publication Critical patent/CN103701925B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to a kind of source synchronous management-control method, the method includes:When the resource information of the first equipment end changes, the first equipment end sends the resource information of the first equipment end and is sent to the second equipment end, and the second equipment end receives the resource information of the first equipment end transmission and synchronizes;When first equipment end resource information and the second equipment resource information all change, reference edge is determined according to resource information type of first equipment end with the second equipment end, reference edge sends its resource information to another equipment end, and another equipment end receives the resource information of reference edge transmission and synchronizes;First equipment end or the second equipment end update the resource information of the first equipment end or the second equipment end according to the resource information for sending/receiving.The present invention provide source synchronous management-control method can synchronously as configuration, data, or even operation etc. multiple resources, even if fine Consumer's Experience can be also obtained in the case where network condition is not good.

Description

Source synchronous management-control method
Technical field
The present invention relates to computer realm, more particularly to a kind of source synchronous management-control method.
Background technology
Source synchronous generally refer to various files between center-side and equipment end etc. and synchronize.With computer and net The source synchronous of the continuous development of network technology, center-side and equipment end become more and more important, and synchronous resource also becomes variation. And prior art is generally by remote operation interface, direct simultaneously operating other equipment, and this method interface is more complicated, It is particularly more in equipment, in the case that network is huger, it is unfavorable for the exploitation and maintenance of system.In center-side and equipment end Source synchronous in synchronous resource it is also relatively simple, the such as synchronization of various files, typically also do not possess configuration such as equipment, Data, in addition operation etc. resource synchronization.In addition, when there are the situations such as network-like exception, user needs to wait, Experience Degree compared with Difference.
The content of the invention
It is an object of the invention to provide a kind of synchronous management-control method for being capable of synchronous multiple resources resource.
For achieving the above object, the invention provides a kind of source synchronous management-control method, it is characterised in that including at least One equipment end and the second equipment end, the method comprising the steps of:
When the resource information of first equipment end changes, first equipment end sends first equipment end Resource information is sent to second equipment end, and second equipment end receives the resource information of the first equipment end transmission and enters Row is synchronous;
When the first equipment end resource information and second equipment resource information all change, according to described first Equipment end determines reference edge with the resource information type of second equipment end, and the reference edge sends its resource information to another Equipment end, another equipment end receive the resource information of the reference edge transmission and synchronize;
First equipment end or the second equipment end update first equipment end according to the resource information for sending/receiving Or the resource information of second equipment end.
Preferably, hold centered on first equipment end, second equipment end is equipment end.
Preferably, the resource information includes global context and device context.
Preferably, when the resource information type is the global context, hold on the basis of the first equipment end.
Preferably, when the resource information type is the device context, the first equipment end and the second equipment end are equal Can be used as reference edge.
Preferably, when the resource information is global context, the resource information can only be sent to from the center-side The equipment end, the resource information can not be sent to the center-side from the equipment end.
Preferably, when the resource information is device context, the resource information can be sent to by the center-side The equipment end, the resource information can be sent to the center-side from the equipment end again.
Preferably, the resource between the equipment end is completely independent.
Preferably, when the resource information is various, determine according to priority and perform synchronous order.
The beneficial effect that the present invention brings is:The source synchronous management-control method that the present invention is provided can synchronously such as configuration, number According to, in addition operation etc. multiple resources, even if fine Consumer's Experience can be also obtained in the case where network condition is not good.
Description of the drawings
Fig. 1 is the flow chart of source synchronous management-control method in one embodiment of the invention.
Specific embodiment
Below by drawings and Examples, technical scheme is described in further detail.
Fig. 1 is the flow chart of source synchronous management-control method in one embodiment of the invention.
As shown in figure 1, first in a step 101, when the resource information of the first equipment end changes, the first equipment end is sent out The resource information of the first equipment end is sent to be sent to the second equipment end, the second equipment end receives the resource information that the first equipment end sends Synchronize.
In embodiment, hold centered on preferably the first equipment end, the second equipment end is equipment end.Wherein, center-side can be with Source synchronous are carried out with many equipment ends, in embodiment, selects a center-side and an equipment end to be illustrated.Center Wanted with the equipment end synchronous resource information in end includes configuring, data, or even operate etc. can be abstract for various types of moneys Source.Classify from type, center-side and the wanted synchronous resource information of equipment end can be divided into global context and device context. Wherein, global context information can only be synchronized to equipment end from center-side, and can not be synchronized to center-side from equipment end.Namely Say, when the global context information of center-side changes, center-side derives changed global context resource information and sends out Equipment end is given, equipment end receives the global context information of center-side transmission and synchronizes, update the context letter of equipment end Breath.And the global context resource for being synchronized to equipment end does not allow to change, or information equipment end can not when changing Derive changed contextual information and be sent to center-side.I.e.:Global context information can only be synchronized to equipment end from center-side, And center-side can not be synchronized to from equipment end, it is one-way synchronization.When center-side and the wanted synchronous resource information of equipment end are to set During standby context, it is possible to achieve the bi-directional synchronization of center-side and equipment end.
In embodiment, during center-side is synchronized with equipment end, center-side and equipment end will respectively produce version Number, wherein version number is self-defining special identifier, after center-side and equipment end are synchronously completed, the version of center-side and equipment end This number synchronization is consistent, is identical synchronous version number.When the resource information of center-side or equipment end changes, such as center-side Resource information change, then center-side locally generates a new local version number, if the local version number of equipment end It is identical with the synchronous version number of equipment end, represent that equipment end resource information does not change.Now, the sheet that center-side is generated Ground version number is different with the synchronous version number of equipment end from center-side, illustrates that the resource information of only center-side changes.This When, center-side derives changed resource information and is sent to equipment end, and equipment end receives the resource information of center-side transmission and enters Row is synchronous, updates the resource information of itself.
In secondarily the step of 102, when the first equipment end resource information and the second equipment resource information all change, root Reference edge is determined according to resource information type of first equipment end with the second equipment end, reference edge sends its resource information and sets to another Standby end, another equipment end receive the resource information of reference edge transmission and synchronize.
In embodiment, when the resource information of center-side and equipment end all changes, if the resource information for being changed It is not global context, it is if center-side and the wanted synchronous information of equipment end are device context, synchronous as needed Resource information determines reference edge.I.e.:It is to need to make resource information be synchronized to equipment end from center-side to need for making resource information Center-side is synchronized to from equipment end.When needing synchronous resource information that there is center-side priority symbol, determine that center-side is base Quasi- end, now center-side synchronous resource information will be needed to derive and be sent to equipment end, equipment end receives what center-side sent Resource information is synchronized, and updates the resource information of itself.When needing synchronous resource information that there is equipment end priority symbol, Hold on the basis of determining equipment end, now equipment end will need synchronous resource information to derive and be sent to center-side, center termination The resource information that receiving unit end sends is synchronized, and updates the resource information of itself.
In subsequent step 103, the first equipment end or the second equipment end are updated according to the resource information for sending/receiving The resource information of the first equipment end or the second equipment end.
In embodiment, after center-side/equipment end carries out source synchronous, terminate this source synchronous management and control.
It should be noted that the resource information that ought have multiple species needs to synchronize in center-side and equipment end simultaneously When, according to the species of resource information, it is divided into priority and synchronizes, the higher resource priority of priority is synchronized.
The source synchronous management-control method of the present invention can make center-side simple with equipment end interface, can be by unified money Source sync cap, for the modification of various species resource information, is easy to the exploitation and maintenance of system.The source synchronous pipe of the present invention Prosecutor method can make the compatible good of multi version/product, the context resource independence of distinct device resource manage many simultaneously The equipment of individual version and/or multiple species, is easy to extension in the case of the complexity for not increasing interface.
Resource management-control method center-side and the equipment end that the present invention is provided carry out resource information it is synchronous when, resource information is changed Can be in local side(Center-side or equipment end), the resource information of center-side and equipment end is synchronous in backstage automatic running, and Disposable synchronization process can be carried out according to network condition, it is also possible to carry out backstage is asynchronous.So, even if in network condition not Good Consumer's Experience can be also obtained in the case of good.
In sum, the resource synchronization method that the present invention is provided by configuration, data, or even can be operated abstract for synchronous money A kind of source information, there is provided the efficient resource two-way synchronization method of center-side and equipment end.Friendship between center-side and equipment end All it is mutually a kind of synchronization of resource information, when the resource information of one end changes, backstage resource synchronization module triggers resource automatically Synchronize.Through the asynchronization process that above-mentioned resource information is operated and transmitted, center-side can be reached more efficient with equipment end Resource information synchronization, it is and less by web influence, it is possible to obtain good Consumer's Experience.
Professional should further appreciate that, with reference to each example of the embodiments described herein description Unit and algorithm steps, can with electronic hardware, computer software or the two be implemented in combination in, it is hard in order to clearly demonstrate The interchangeability of part and software, generally describes the composition and step of each example in the above description according to function. These functions actually with hardware or software mode performing, depending on the application-specific and design constraint of technical scheme. Professional and technical personnel can use different methods to realize to each specific application described function, but this realization It is not considered that beyond the scope of this invention.
Hardware, computing device can be used with reference to the method for the embodiments described herein description or the step of algorithm Software module, or the combination of the two is implementing.Software module can be placed in random access memory(RAM), internal memory, read-only storage (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field In any other form of storage medium well known to interior.
Above-described specific embodiment, has been carried out further to the purpose of the present invention, technical scheme and beneficial effect Describe in detail, the be should be understood that specific embodiment that the foregoing is only the present invention is not intended to limit the present invention Protection domain, all any modification, equivalent substitution and improvements within the spirit and principles in the present invention, done etc. all should include Within protection scope of the present invention.

Claims (9)

1. a kind of source synchronous management-control method, it is characterised in that including at least the first equipment end and the second equipment end, methods described Comprise the following steps:
When the resource information of first equipment end changes, first equipment end sends the resource of first equipment end Information is sent to second equipment end, and second equipment end receives the resource information of the first equipment end transmission and carries out together Step;
When the first equipment end resource information and second equipment resource information all change, according to first equipment The resource information type with second equipment end is held to determine reference edge, the reference edge sends its resource information to another equipment End, another equipment end receive the resource information of the reference edge transmission and synchronize;
First equipment end or the second equipment end update first equipment end or institute according to the resource information for sending/receiving State the resource information of the second equipment end.
2. source synchronous management-control method as claimed in claim 1, it is characterised in that hold centered on first equipment end, institute The second equipment end is stated for equipment end.
3. source synchronous management-control method as claimed in claim 1, it is characterised in that the resource information includes global context And device context.
4. source synchronous management-control method as claimed in claim 3, it is characterised in that when the resource information type is described complete During office's context, hold on the basis of the first equipment end.
5. source synchronous management-control method as claimed in claim 3, it is characterised in that when the resource information type is set for described During standby context, the first equipment end and the second equipment end can be used as reference edges.
6. source synchronous management-control method as claimed in claim 2, it is characterised in that the resource information is global context When, the resource information can only be sent to the equipment end from the center-side, and the resource information can not be from the equipment end It is sent to the center-side.
7. source synchronous management-control method as claimed in claim 2, it is characterised in that the resource information is device context When, the resource information can be sent to the equipment end by the center-side, and the resource information again can be from the equipment end It is sent to the center-side.
8. source synchronous management-control method as claimed in claim 2, it is characterised in that between the center-side and the equipment end Resource be completely independent.
9. source synchronous management-control method as claimed in claim 1, it is characterised in that when the resource information for it is various when, press Determine according to priority and perform synchronous order.
CN201310753070.XA 2013-12-31 2013-12-31 Source synchronous management-control method Active CN103701925B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310753070.XA CN103701925B (en) 2013-12-31 2013-12-31 Source synchronous management-control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310753070.XA CN103701925B (en) 2013-12-31 2013-12-31 Source synchronous management-control method

Publications (2)

Publication Number Publication Date
CN103701925A CN103701925A (en) 2014-04-02
CN103701925B true CN103701925B (en) 2017-04-05

Family

ID=50363319

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310753070.XA Active CN103701925B (en) 2013-12-31 2013-12-31 Source synchronous management-control method

Country Status (1)

Country Link
CN (1) CN103701925B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107306290B (en) * 2016-04-22 2021-06-18 中国移动通信集团重庆有限公司 Session sharing method and application server

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1741404A (en) * 2004-08-27 2006-03-01 华为技术有限公司 Method for negat main spare board in communication equipment
CN1956452A (en) * 2005-10-27 2007-05-02 华为技术有限公司 Method, system, user terminal and server for implementing data synchronous
CN101431741A (en) * 2008-12-19 2009-05-13 北京邮电大学 Method for maintaining PIM data consistency
CN101526950A (en) * 2009-04-09 2009-09-09 酷派软件技术(深圳)有限公司 Method and system of automatic synchronization of data and terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6148414A (en) * 1998-09-24 2000-11-14 Seek Systems, Inc. Methods and systems for implementing shared disk array management functions

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1741404A (en) * 2004-08-27 2006-03-01 华为技术有限公司 Method for negat main spare board in communication equipment
CN1956452A (en) * 2005-10-27 2007-05-02 华为技术有限公司 Method, system, user terminal and server for implementing data synchronous
CN101431741A (en) * 2008-12-19 2009-05-13 北京邮电大学 Method for maintaining PIM data consistency
CN101526950A (en) * 2009-04-09 2009-09-09 酷派软件技术(深圳)有限公司 Method and system of automatic synchronization of data and terminal

Also Published As

Publication number Publication date
CN103701925A (en) 2014-04-02

Similar Documents

Publication Publication Date Title
CN109542865A (en) Distributed cluster system configuration file synchronous method, device, system and medium
CN109949111A (en) Electronic bill mark distributing method, electronic bill generation method, apparatus and system
CN109284334A (en) Real-time data base synchronous method, device, electronic equipment and storage medium
CN105162875B (en) Big data group method for allocating tasks and device
CN104636321B (en) Text display method and device
CN106599104A (en) Mass data association method based on redis cluster
CN103716370B (en) The method and apparatus that data syn-chronization is carried out between multiple client
CN105574109A (en) Database synchronizing method and equipment and system
CN101673289A (en) Method and device for constructing distributed file storage framework
CN106802892A (en) For the method and apparatus of master/slave data consistency verification
CN107784016B (en) Data sync control device and data synchronous system and method
CN105306273B (en) Process configuration method and device
CN104503868B (en) Method of data synchronization, device and system
CN103825918A (en) Data synchronization method, terminal equipment, server and data synchronization system
CN103701925B (en) Source synchronous management-control method
CN106156044B (en) Database switching method and device
CN104536852B (en) Data recovery method and device
CN105786925A (en) Reference model based dynamic data modeling method and apparatus
EP2868027A1 (en) User-selectable ieee 1588 clock class and quality level mapping
CN102868746B (en) Method for realizing mobile informationization
CN110471697A (en) Configuration method and Related product
CN104023056B (en) The method and relevant device updated the data
CN110022323A (en) A kind of method and system of the cross-terminal real-time, interactive based on WebSocket and Redux
CN108600347A (en) A kind of distributed computational data synchronous method and device
CN105700870B (en) A kind of methods of exhibiting and server of the flow content of multi-source

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant