CN102761567A - Information synchronization method, information synchronization engine and information synchronization agent - Google Patents

Information synchronization method, information synchronization engine and information synchronization agent Download PDF

Info

Publication number
CN102761567A
CN102761567A CN2011101056566A CN201110105656A CN102761567A CN 102761567 A CN102761567 A CN 102761567A CN 2011101056566 A CN2011101056566 A CN 2011101056566A CN 201110105656 A CN201110105656 A CN 201110105656A CN 102761567 A CN102761567 A CN 102761567A
Authority
CN
China
Prior art keywords
synchronous
information synchronization
information
cloud computing
cloud
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
CN2011101056566A
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.)
China Mobile Group Guangdong Co Ltd
Original Assignee
China Mobile Group Guangdong 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 China Mobile Group Guangdong Co Ltd filed Critical China Mobile Group Guangdong Co Ltd
Priority to CN2011101056566A priority Critical patent/CN102761567A/en
Publication of CN102761567A publication Critical patent/CN102761567A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides an information synchronization method, an information synchronization engine and an information synchronization agent. The information synchronization method comprises the following steps that: a cloud computing end receives an synchronized information data packet sent by a cloud client end; the cloud computing end interprets the synchronized information data packet to obtain synchronization elements; and the cloud computing end executes synchronization processing to data of the cloud client end at the cloud computing end according to the synchronization elements. According to the information synchronization method, the information synchronization engine and the information synchronization agent, the types of synchronous information can be enriched, and the flexibility of information synchronization can be improved.

Description

Information synchronization method, information synchronization engine and information synchronization agency
Technical field
The present invention relates to the data service technical field, particularly a kind of information synchronization method, information synchronization engine and information synchronization agency.
Background technology
At present, number book house keeper is that the personal information management that China Mobile provides one of is served, and is the concrete application of a kind of information synchronization aspect.Number book house keeper's major function is a back up or restore cell-phone number book at any time, keep cell-phone number book and network number book synchronously, solve number book transport difficulties and solution cell-phone number book capacity problem when changing planes.
Though number book house keeper function aspect address book backup is more complete, the data type of supporting is limited, upgrades pass through mechanism and remains to be reformed.
Summary of the invention
Technical problem to be solved by this invention provides a kind of information synchronization method, information synchronization engine and information synchronization agency, to enrich synchronous information type, improves the flexibility of information synchronization.
For solving the problems of the technologies described above, the present invention provides technical scheme following:
A kind of information synchronization engine is arranged in the cloud computing end, comprising:
The synchronizing information receiver module is used to receive the synchronizing information packet that the cloud client is sent;
The element explanation module is used for said synchronizing information packet is made an explanation synchronously, obtains synchronous element;
The information synchronization Executive Module is used for according to said synchronous element the cloud client being carried out Synchronous Processing in the data of cloud computing end.
Above-mentioned information synchronization engine wherein, also comprises:
The active synchronization module is used for according to the information synchronization process of information synchronization strategy startup with the cloud client;
The element generation module is used for after the information synchronization process starts synchronously, from the cloud computing end, extracts the lastest imformation of cloud client data, generate synchronous element according to said lastest imformation, and the synchronous element that will generate is assembled into the synchronizing information packet;
The synchronizing information sending module is used for the synchronizing information packet that synchronous element generation module assembling obtains is sent to the cloud client, so that the cloud client is carried out Synchronous Processing to local data.
Above-mentioned information synchronization engine wherein, also comprises:
The synchronization conflicts detection module is used for the synchronous element that synchronous element explanation module obtains is carried out collision detection;
The synchronization conflicts processing module is used for detecting when clashing when said synchronization conflicts detection module, according to the processing that conflicts of information synchronization strategy, obtains the result of conflicting;
Said information synchronization Executive Module is further used for, and according to said conflict result the cloud client is carried out Synchronous Processing in the data of cloud computing end, obtains the Synchronous Processing result;
Said synchronous element generation module is further used for, and generates synchronous element according to said Synchronous Processing result, and the synchronous element that will generate is assembled into the synchronizing information packet.
A kind of information synchronization agency is arranged in the cloud client, comprising:
The active synchronization module is used for according to the information synchronization process of information synchronization strategy startup with the cloud computing end;
The element generation module is used for after the information synchronization process starts synchronously, from the cloud client, extracts the lastest imformation of cloud client data, generates synchronous element according to said lastest imformation, and said synchronous element is assembled into the synchronizing information packet;
The synchronizing information sending module is used for said synchronizing information packet is sent to the cloud computing end, so that the cloud computing end is carried out Synchronous Processing to the cloud client in the data of cloud computing end.
Above-mentioned information synchronization agency wherein, also comprises:
The synchronizing information receiver module is used to receive the synchronizing information packet that the cloud computing end sends;
Synchronous element explanation module, the synchronizing information packet that is used for the synchronizing information receiver module is received makes an explanation, and obtains synchronous element;
The information synchronization Executive Module is used for according to the synchronous element that synchronous element explanation module obtains local data being carried out Synchronous Processing.
Above-mentioned information synchronization agency wherein, also comprises:
The synchronization conflicts detection module is used for the synchronous element that synchronous element explanation module obtains is carried out collision detection;
The synchronization conflicts processing module is used for detecting when clashing when said synchronization conflicts detection module, according to the processing that conflicts of information synchronization strategy, obtains the result of conflicting;
Said information synchronization Executive Module is further used for, and according to said conflict result local data is carried out Synchronous Processing, obtains the Synchronous Processing result;
Said synchronous element generation module is further used for, and generates synchronous element according to said Synchronous Processing result, and the synchronous element that will generate is assembled into the synchronizing information packet.
A kind of information synchronization method comprises:
The cloud computing termination is received the synchronizing information packet that the cloud client is sent;
The cloud computing end makes an explanation to said synchronizing information packet, obtains synchronous element;
The cloud computing end is carried out Synchronous Processing to the cloud client in the data of cloud computing end according to said synchronous element.
Above-mentioned information synchronization method wherein, also comprises:
The cloud computing end is according to the information synchronization process of information synchronization strategy startup with the cloud client;
After the information synchronization process started, the cloud computing end extracted the lastest imformation of cloud client data from the cloud computing end, generate synchronous element according to said lastest imformation, and the synchronous element that will generate is assembled into the synchronizing information packet;
The cloud computing end sends to the cloud client with the synchronizing information packet that assembling obtains, so that the cloud client is carried out Synchronous Processing to local data.
Above-mentioned information synchronization method wherein, also comprises:
The cloud computing end carries out collision detection to the synchronous element that explanation obtains;
When detecting when clashing, the cloud computing end obtains the result of conflicting according to the processing that conflicts of information synchronization strategy;
The cloud computing end is carried out Synchronous Processing to the cloud client in the data of cloud computing end according to said conflict result, obtains the Synchronous Processing result;
The cloud computing end generates synchronous element according to said Synchronous Processing result, and the synchronous element that will generate is assembled into the synchronizing information packet.
A kind of information synchronization method comprises:
The cloud client is according to the information synchronization process of information synchronization strategy startup with the cloud computing end;
After the information synchronization process started, the cloud client was extracted the lastest imformation of cloud client data from the cloud client, generate synchronous element according to said lastest imformation, and said synchronous element is assembled into the synchronizing information packet;
The cloud client sends to the cloud computing end with said synchronizing information packet, so that the cloud computing end is carried out Synchronous Processing to the cloud client in the data of cloud computing end.
Above-mentioned information synchronization method wherein, also comprises:
The cloud client receives the synchronizing information packet that the cloud computing end sends;
The cloud client makes an explanation to the synchronizing information packet that receives, and obtains synchronous element;
The cloud client is carried out Synchronous Processing according to the synchronous element that explanation obtains to local data.
Above-mentioned information synchronization method wherein, also comprises:
The cloud client is carried out collision detection to the synchronous element that explanation obtains;
When detecting when clashing, the cloud client obtains the result of conflicting according to the processing that conflicts of information synchronization strategy;
The cloud client is carried out Synchronous Processing according to said conflict result to local data, obtains the Synchronous Processing result;
The cloud client generates synchronous element according to said Synchronous Processing result, and the synchronous element that will generate is assembled into the synchronizing information packet.
Compared with prior art, the invention has the beneficial effects as follows:
The present invention combines through cloud computing and the communication technology; Make full use of advantages such as the resource of cloud computing is abstract; Can increase and decrease corresponding IT resource according to what of calling party, can satisfy the needs of using with the userbase change; Have great flexibility, be enough to adapt to the application of all kinds and the scale in each develop and field stage.And, adopt all very effective for enriching synchronous information type and terminal type based on the information synchronization scheme of cloud computing.
Description of drawings
Fig. 1 is the structural representation based on the information synchronization system of cloud computing;
Fig. 2 is the structural representation of the information synchronization engine 40 of the embodiment of the invention;
Fig. 3 is the information synchronization agency's 80 of the embodiment of the invention a structural representation;
The schematic flow sheet of the information synchronization that Fig. 4 initiatively triggers for the cloud client;
The schematic flow sheet of the information synchronization that Fig. 5 initiatively triggers for the cloud computing end.
Embodiment
For making the object of the invention, technical scheme and advantage clearer, will combine accompanying drawing and specific embodiment to describe the present invention below.
Fig. 1 is the structural representation based on the information synchronization system of cloud computing.With reference to Fig. 1, said information synchronization system comprises cloud computing end 1 and cloud client 2, and cloud client 2 is carried out local data and cloud computing end 1 through communication network synchronously.
Cloud computing end 1 comprises: synchronous protocol adapter 10, synchronous protocol interface 20, information synchronization agency 30, information synchronization engine 40 and information synchronization use 50.Cloud client 2 comprises: synchronous protocol adapter 60, synchronous protocol interface 70, information synchronization agency 80 and information synchronization use 90.
The information synchronization operation is acted on behalf of the synchronous whole operation process of 80 management information based on the information synchronization agreement by information synchronization engine 40 and information synchronization.Information synchronization is acted on behalf of the visit of 40 pairs of networks of 30 management information synchronization engines, and carries out the mutual communication process of information synchronization between management information synchronous applications 50 and the information synchronization application 90.Synchronous protocol adapter 10 and synchronous protocol adapter 60 are responsible for the communication information between the sending and receiving cloud computing end 1 and cloud client 2 in the information synchronization process, are responsible for simultaneously creating and maintenance information synchronous applications 50 is connected with network between the information synchronization application 90.Synchronous protocol interface 20 is the API towards synchronous protocol adapter 10, and synchronous protocol interface 70 is the API towards synchronous protocol adapter 60.Information synchronization is used 90 and is acted on behalf of 80 accesses network and synchronous protocol adapter 60 through information synchronization.
Generally speaking, the information synchronization process is initiatively triggered by cloud client 2.The information synchronization process that is initiatively triggered by cloud client 2 is:
Cloud client 2 is acted on behalf of 80 invoke synchronous protocol interfaces 70 through information synchronization and is communicated with cloud computing end 1, converts the synchronizing information of cloud client 2 to the protocol format packets of information by synchronous protocol adapter 60 and sends to cloud computing end 1;
After cloud computing end 1 receives the protocol format packets of information; Acting on behalf of 30 invoke synchronous protocol adaptors 10 by information synchronization resolves; And the synchronizing information packet that 40 pairs of parsings of recalls information synchronization engine obtain carries out Synchronization Analysis and Synchronous Processing; In Synchronous Processing, comprise and detect and manage conflict, return to cloud client 2 to result then.
But also some situation is by cloud computing end 1 active trigger message synchronizing process.The information synchronization process that is initiatively triggered by cloud computing end 1 is:
The information synchronization engine 40 of cloud computing end 1 is acted on behalf of 30 invoke synchronous protocol interfaces 20 through information synchronization and is communicated with cloud client 1, converts the synchronizing information of cloud computing end 2 to the protocol format packets of information by synchronous protocol adapter 10 and sends to cloud client 2;
After cloud client 2 receives the protocol format packets of information; Acting on behalf of 80 invoke synchronous protocol adaptors 10 by information synchronization resolves; And the information synchronization packet that is obtained by 80 pairs of parsings of information synchronization agency carries out Synchronization Analysis and Synchronous Processing; In Synchronous Processing, comprise and detect and manage conflict, return to cloud computing end 1 to result then.
Following embodiment of the present invention provides: the concrete structure and the workflow thereof of the information synchronization engine 40 in the cloud computing end 1; Information synchronization agency 80 concrete structure and workflow thereof in the cloud client 2.
Fig. 2 is the structural representation of the information synchronization engine 40 of the embodiment of the invention.Information synchronization engine 40 is based on the core of the information synchronization service of cloud computing, mainly is responsible for the basic controlling management of information synchronization, is responsible for the transmission and the reception of synchronizing information packet; The structure of protocol elements and explanation; The management of data change daily record also comprises source and the purpose of discerning synchrodata, identification needs to increase/revise/and the data item of deleting; The conflict that detects synchrodata also manages conflict, and realizes with being connected of cloud synchrodata source, backstage etc.
With reference to Fig. 2, said information synchronization engine 40 comprises: synchronizing information sending module 41, synchronizing information receiver module 42, synchronous element generation module 43, synchronous element explanation module 44, information synchronization policy module 45, synchronization conflicts detection module 46, synchronization conflicts processing module 47, active synchronization module 48, information synchronization Executive Module 49, synchronous service administration module 57, synchronous safety service module 51, log management module 52, cloud stores processor module 53, cloud data mining interface 54, cloud search engine interface 55 and cloud data warehouse interface 56.
Log management module 52 is used for record is carried out in the operation of the operation of information synchronization and system, and the content of operation of record comprises the time of synchronous generation, lasting time, and synchronous information is revised, the information synchronization strategy of execution etc.
Synchronous safety service module 51 provides and the user is carried out services such as authentication and security association.
The management of the synchronous service that synchronous service administration module 57 is used for each user is being used.
Cloud stores processor module 53 provides the preliminary treatment that synchronizing information is stored, and the memory interface of visit cloud file system is provided.
Information synchronization Executive Module 49 provides the execution service of information synchronization, comprises the extraction of the increase/modification/deletion action of sync data items and the execution of operation.Specifically be cloud client 2 to be carried out Synchronous Processing in the data of cloud computing end 1 according to the conflict result of synchronous element or synchronization conflicts processing module 47.
Synchronizing information sending module 41 is interfaces that information synchronization engine 40 and information synchronization are acted on behalf of 30 interactive information with synchronizing information receiver module 42.Synchronizing information sending module 41 sends the synchronizing information packet to cloud client 2 through information synchronization agency 30; Synchronizing information receiver module 42 receives the synchronizing information packet that cloud client 2 is sent through information synchronization agency 30.
Element generation module 43 is synchronous protocol information adaptation layers of information synchronization engine 40 with synchronous element explanation module 44 synchronously.Element generation module 43 is responsible for the format of information synchronously, and element explanation module 44 is responsible for the explanation of formatted message synchronously.
Particularly; Element generation module 43 is used for after the information synchronization process starts (cloud computing end 1 triggers) synchronously; From cloud computing end 1, extract the lastest imformation of cloud client data, generate synchronous element according to said lastest imformation, and the synchronous element that will generate is assembled into the synchronizing information packet; Perhaps, generate synchronous element according to the Synchronous Processing result of information synchronization Executive Module 49 (cloud client 2 trigger synchronously), and the synchronous element that will generate is assembled into the synchronizing information packet.
Element explanation module 44 is used for the synchronizing information packet is made an explanation synchronously, obtains synchronous element.
Wherein, synchronously element is the minimum unit that synchronizing information is explained, element comprises version information, authentication information, the session information of data synchronously, and sync data items, simultaneous operation order etc.Said simultaneous operation order comprises increase, modification and deletion action.
Active synchronization module 48 is that information synchronization engine 40 is the module that cloud client 2 provides the function of taking the initiative in offering a hand, and specifically is according to the information synchronization process of information synchronization strategy startup with cloud client 2.In addition, active synchronization module 48 also can with the other system of cloud computing end 1, for example cloud data warehouse, cloud data mining, cloud search engine etc. are mutual.
Synchronization conflicts detection module 46 is to carry out the module of carrying out the synchronizing information collision detection in the process of information synchronization at information synchronization engine 40, specifically is synchronous element explanation module 44 is explained that the synchronous element that obtains carries out collision detection.
Synchronization conflicts processing module 47 is that information synchronization engine 40 carries out the module that the information synchronization conflict is handled, and specifically is when synchronization conflicts detection module 46 detects the conflict generation, according to the processing that conflicts of information synchronization strategy.
Information synchronization policy module 45 is modules that information synchronization engine 40 provides the information synchronization policing feature.
Wherein, the information synchronization strategy comprises the startup strategy of information synchronization and the conflict processing policy of information synchronization.Whether said startup strategy comprises by user's start-up by hand, according to the time and regularly starts, revises according to data and trigger to start etc.
About the conflict of information synchronization, if in the data of cloud computing end 1 and cloud client 2, revised same data item, can cause identical data two different versions to occur, carry out information synchronization this moment, then synchronization conflicts can take place.The conventional method of handling synchronization conflicts is to be as the criterion with the data manipulation that a side wherein carries out, or the merging of two sides modification item.
Mainly comprise following two kinds of conflict processing policies:
(1) data manipulation of carrying out with cloud computing end 1 is as the criterion, and ignores the operation of user's collisions data on cloud client 2;
(2) be as the criterion with the data manipulation of carrying out on the cloud client 2, ignore user's operation that the collisions data are carried out on cloud computing end 1.
Cloud data warehouse interface 56 is mutual interfaces of data warehouse of information synchronization engine 40 and cloud computing end 1; Cloud data mining interface 54 is mutual interfaces of Data Mining Tools of information synchronization engine 40 and cloud computing end 1; Cloud search engine interface 55 is mutual interfaces of search engine system of information synchronization engine 40 and cloud computing end 1.
Fig. 3 is the information synchronization agency's 80 of the embodiment of the invention a structural representation.This information synchronization agency 80 is arranged in the cloud client 2; The main basic controlling management of being responsible for cloud client 2 information synchronization is responsible for the transmission and the reception of synchronizing information packet, the structure of protocol elements and parsing; The management of data change daily record; Comprise that also the source of discerning synchrodata and purpose, identification need to increase/revise/data item of deleting, detect the conflict of synchrodata and manage conflict, realize with being connected of local data source etc.
With reference to Fig. 3, said information synchronization agency 80 comprises: synchronizing information sending module 81, synchronizing information receiver module 82, synchronous element generation module 83, synchronous element explanation module 84, information synchronization policy module 85, synchronization conflicts detection module 86, synchronization conflicts processing module 87, active synchronization module 88, information synchronization Executive Module 89, synchronous service administration module 94, synchronous safety service module 91, log management module 92 and stores processor module 93.
Log management module 92 is used for record is carried out in the operation of the operation of information synchronization and system, and the content of operation of record comprises the time of synchronous generation, lasting time, and synchronous information is revised, the information synchronization strategy of execution etc.
Synchronous safety service module 91 provides and the user is carried out services such as authentication and security association.
Synchronous service administration module 94 is used for the management to the synchronous service of using.
Stores processor module 93 provides the preliminary treatment that synchronizing information is stored, and the file system memory interface is provided.
Information synchronization Executive Module 89 provides the execution service of information synchronization, comprises the extraction of the increase/modification/deletion action of sync data items and the execution of operation.Specifically be local data to be carried out Synchronous Processing according to the conflict result of synchronous element or synchronization conflicts processing module 80.
Synchronizing information sending module 81 is interfaces of information synchronization agency 80 and synchronous protocol interface 70 interactive information with synchronizing information receiver module 82.Synchronizing information sending module 81 sends the synchronizing information packet to cloud computing end 1 through synchronous protocol adapter 60; Synchronizing information receiver module 82 receives the synchronizing information packet that cloud computing end 1 sends through synchronous protocol adapter 60.
Element generation module 83 is synchronous protocol information adaptation layers of information synchronization agency 80 with synchronous element explanation module 84 synchronously.Element generation module 83 is responsible for the format of information synchronously, and element explanation module 84 is responsible for the explanation of formatted message synchronously.
Particularly; Element generation module 83 is used for after the information synchronization process starts (cloud client 2 triggers) synchronously; Extract the lastest imformation of cloud client data from this locality, generate synchronous element according to said lastest imformation, and the synchronous element that will generate is assembled into the synchronizing information packet; Perhaps, generate synchronous element according to the Synchronous Processing result of information synchronization Executive Module 89 (cloud computing end 1 trigger synchronously), and the synchronous element that will generate is assembled into the synchronizing information packet.
Element explanation module 84 is used for the synchronizing information packet is made an explanation synchronously, obtains synchronous element.
Wherein, synchronously element is the minimum unit that synchronizing information is explained, element comprises version information, authentication information, the session information of data synchronously, and sync data items, simultaneous operation order etc.Said simultaneous operation order comprises increase, modification and deletion action.
Active synchronization module 88 is according to the information synchronization process of information synchronization strategy startup with cloud computing end 1.
Synchronization conflicts detection module 86 is to carry out the module of carrying out the synchronizing information collision detection in the process of information synchronization information synchronization agency 80, specifically is that synchronous element explanation module 84 is explained that the synchronous element that obtains carries out collision detection.
Synchronization conflicts processing module 87 is that information synchronization agency 80 carries out the module that the information synchronization conflict is handled, and specifically is when synchronization conflicts detection module 86 detects the conflict generation, according to the processing that conflicts of information synchronization strategy.
Information synchronization policy module 85 is modules that information synchronization agency 80 provides the information synchronization policing feature.
Wherein, the information synchronization strategy comprises the startup strategy of information synchronization and the conflict processing policy of information synchronization.Whether said startup strategy comprises by user's start-up by hand, according to the time and regularly starts, revises according to data and trigger to start etc.
About the conflict of information synchronization, if in the data of cloud computing end 1 and cloud client 2, revised same data item, can cause identical data two different versions to occur, carry out information synchronization this moment, then synchronization conflicts can take place.The conventional method of handling synchronization conflicts is to be as the criterion with the data manipulation that a side wherein carries out, or the merging of two sides modification item.
Mainly comprise following two kinds of conflict processing policies:
(1) data manipulation of carrying out with cloud computing end 1 is as the criterion, and ignores the operation of user's collisions data on cloud client 2;
(2) be as the criterion with the data manipulation of carrying out on the cloud client 2, ignore user's operation that the collisions data are carried out on cloud computing end 1.
Below the information synchronization agency's 80 of the information synchronization engine 40 of cloud computing end 1 and cloud client 2 workflow is elaborated.
The schematic flow sheet of the information synchronization that Fig. 4 initiatively triggers for the cloud client.With reference to Fig. 4, comprise the steps:
Step 401: the cloud client is according to the information synchronization process of information synchronization strategy startup with the cloud computing end;
The information synchronization strategy comprises the startup strategy of information synchronization and the conflict processing policy of information synchronization.Whether said startup strategy comprises by user's start-up by hand, according to the time and regularly starts, revises according to data and trigger to start etc.
Step 402: after the information synchronization process started, the cloud client was extracted the lastest imformation of cloud client data from the cloud client, generate synchronous element according to said lastest imformation, and said synchronous element is assembled into the synchronizing information packet;
Synchronously element comprises version information, authentication information, the session information of data, and sync data items, simultaneous operation order etc.Said simultaneous operation order comprises increase, modification and deletion action.
Step 403: the cloud client sends to the cloud computing end with said synchronizing information packet;
Step 404: the cloud computing termination is received the synchronizing information packet that the cloud client is sent;
Step 405: the cloud computing end makes an explanation to said synchronizing information packet, obtains synchronous element;
Wherein, Between step 405 and step 406, also can comprise: the synchronous element that obtains according to explanation judges whether that safety is relevant, if then need carry out after the synchronous security service such as authentication and security association processing execution in step 406 again; Otherwise, directly get into step 406.
When carrying out authentication, if the legal identity of confirming as is then carried out said security association processing, and then execution in step 406, if confirm as illegal identity, then directly finish synchronizing process.
Step 406: the cloud computing end carries out collision detection to the synchronous element that explanation obtains;
Step 407: when detecting when clashing, the cloud computing end obtains the result of conflicting according to the processing that conflicts of information synchronization strategy;
The information synchronization strategy comprises the startup strategy of information synchronization and the conflict processing policy of information synchronization.The conventional method of handling synchronization conflicts is to be as the criterion with the data manipulation that a side wherein carries out, or the merging of two sides modification item.
Step 408: the cloud computing end is carried out Synchronous Processing to the cloud client in the data of cloud computing end according to said conflict result, obtains the Synchronous Processing result;
Wherein, when detecting that no conflict occurred, the cloud computing end is carried out Synchronous Processing to the cloud client in the data of cloud computing end according to said synchronous element.
Said Synchronous Processing comprises increase, modification or the deletion action to sync data items.
Step 409: the cloud computing end generates synchronous element according to said Synchronous Processing result, the synchronous element that generates is assembled into the synchronizing information packet, and this synchronizing information packet is sent to the cloud client.
Step 410: the cloud client receives the synchronizing information packet that the cloud computing end sends;
Step 411: the cloud client makes an explanation to the synchronizing information packet that receives, and obtains synchronous element;
Step 412: the cloud client is carried out Synchronous Processing according to the synchronous element that explanation obtains to local data.
Need to prove that above-mentioned steps 406~step 412 is an optional step.The cloud client also can not carried out collision detection after explanation obtains synchronous element, directly according to said synchronous element the cloud client is carried out Synchronous Processing in the data of cloud computing end.
The schematic flow sheet of the information synchronization that Fig. 5 initiatively triggers for the cloud computing end.With reference to Fig. 5, comprise the steps:
Step 501: the cloud computing end is according to the information synchronization process of information synchronization strategy startup with the cloud client;
The information synchronization strategy comprises the startup strategy of information synchronization and the conflict processing policy of information synchronization.Whether said startup strategy comprises by user's start-up by hand, according to the time and regularly starts, revises according to data and trigger to start etc.
Step 502: after the information synchronization process started, the cloud computing end extracted the lastest imformation of cloud client data from the cloud computing end, generate synchronous element according to said lastest imformation, and said synchronous element is assembled into the synchronizing information packet;
Synchronously element comprises version information, authentication information, the session information of data, and sync data items, simultaneous operation order etc.Said simultaneous operation order comprises increase, modification and deletion action.
Step 503: the cloud computing end sends to the cloud client with said synchronizing information packet;
Step 504: the cloud client receives the synchronizing information packet that the cloud computing end sends;
Step 505: the cloud client makes an explanation to said synchronizing information packet, obtains synchronous element;
Wherein, Between step 505 and step 506, also can comprise: the synchronous element that obtains according to explanation judges whether that safety is relevant, if then need carry out after the synchronous security service such as authentication and security association processing execution in step 506 again; Otherwise, directly get into step 506.
When carrying out authentication, if the legal identity of confirming as is then carried out said security association processing, and then execution in step 506, if confirm as illegal identity, then directly finish synchronizing process.
Step 506: the cloud client is carried out collision detection to the synchronous element that explanation obtains;
Step 507: when detecting when clashing, the cloud client obtains the result of conflicting according to the processing that conflicts of information synchronization strategy;
The information synchronization strategy comprises the startup strategy of information synchronization and the conflict processing policy of information synchronization.The conventional method of handling synchronization conflicts is to be as the criterion with the data manipulation that a side wherein carries out, or the merging of two sides modification item.
Step 508: the cloud client is carried out Synchronous Processing according to said conflict result to local data, obtains the Synchronous Processing result;
Wherein, when detecting that no conflict occurred, the cloud client is carried out Synchronous Processing according to said synchronous element to local data.
Said Synchronous Processing comprises increase, modification or the deletion action to sync data items.
Step 509: the cloud client generates synchronous element according to said Synchronous Processing result, the synchronous element that generates is assembled into the synchronizing information packet, and this synchronizing information packet is sent to the cloud computing end.
Step 510: the cloud computing termination is received the synchronizing information packet that the cloud client is sent;
Step 511: the cloud computing end makes an explanation to the synchronizing information packet that receives, and obtains synchronous element;
Step 512: the cloud computing end is carried out Synchronous Processing to the cloud client in the data of cloud computing end according to the synchronous element that explanation obtains.
Need to prove that above-mentioned steps 506~step 512 is an optional step.The cloud computing end also can not carry out collision detection after explanation obtains synchronous element, directly according to said synchronous element local data is carried out Synchronous Processing.
In sum; The embodiment of the invention combines through cloud computing and the communication technology, makes full use of advantages such as the resource of cloud computing is abstract, can be according to what of calling party; Increase and decrease corresponding IT resource; Can satisfy the needs of using with the userbase change, have great flexibility, be enough to adapt to the application of all kinds and the scale in each develop and field stage.And, adopt all very effective for enriching synchronous information type and terminal type based on the information synchronization scheme of cloud computing.
Should be noted that at last; Above embodiment is only unrestricted in order to technical scheme of the present invention to be described; Those of ordinary skill in the art is to be understood that; Can make amendment or be equal to replacement technical scheme of the present invention, and not break away from the spirit of technical scheme of the present invention, it all should be encompassed in the middle of the claim scope of the present invention.

Claims (12)

1. an information synchronization engine is arranged in the cloud computing end, it is characterized in that, comprising:
The synchronizing information receiver module is used to receive the synchronizing information packet that the cloud client is sent;
The element explanation module is used for said synchronizing information packet is made an explanation synchronously, obtains synchronous element;
The information synchronization Executive Module is used for according to said synchronous element the cloud client being carried out Synchronous Processing in the data of cloud computing end.
2. information synchronization engine as claimed in claim 1 is characterized in that, also comprises:
The active synchronization module is used for according to the information synchronization process of information synchronization strategy startup with the cloud client;
The element generation module is used for after the information synchronization process starts synchronously, from the cloud computing end, extracts the lastest imformation of cloud client data, generate synchronous element according to said lastest imformation, and the synchronous element that will generate is assembled into the synchronizing information packet;
The synchronizing information sending module is used for the synchronizing information packet that synchronous element generation module assembling obtains is sent to the cloud client, so that the cloud client is carried out Synchronous Processing to local data.
3. information synchronization engine as claimed in claim 2 is characterized in that, also comprises:
The synchronization conflicts detection module is used for the synchronous element that synchronous element explanation module obtains is carried out collision detection;
The synchronization conflicts processing module is used for detecting when clashing when said synchronization conflicts detection module, according to the processing that conflicts of information synchronization strategy, obtains the result of conflicting;
Said information synchronization Executive Module is further used for, and according to said conflict result the cloud client is carried out Synchronous Processing in the data of cloud computing end, obtains the Synchronous Processing result;
Said synchronous element generation module is further used for, and generates synchronous element according to said Synchronous Processing result, and the synchronous element that will generate is assembled into the synchronizing information packet.
4. an information synchronization agency is arranged in the cloud client, it is characterized in that, comprising:
The active synchronization module is used for according to the information synchronization process of information synchronization strategy startup with the cloud computing end;
The element generation module is used for after the information synchronization process starts synchronously, from the cloud client, extracts the lastest imformation of cloud client data, generates synchronous element according to said lastest imformation, and said synchronous element is assembled into the synchronizing information packet;
The synchronizing information sending module is used for said synchronizing information packet is sent to the cloud computing end, so that the cloud computing end is carried out Synchronous Processing to the cloud client in the data of cloud computing end.
5. information synchronization agency as claimed in claim 4 is characterized in that, also comprises:
The synchronizing information receiver module is used to receive the synchronizing information packet that the cloud computing end sends;
Synchronous element explanation module, the synchronizing information packet that is used for the synchronizing information receiver module is received makes an explanation, and obtains synchronous element;
The information synchronization Executive Module is used for according to the synchronous element that synchronous element explanation module obtains local data being carried out Synchronous Processing.
6. information synchronization agency as claimed in claim 5 is characterized in that, also comprises:
The synchronization conflicts detection module is used for the synchronous element that synchronous element explanation module obtains is carried out collision detection;
The synchronization conflicts processing module is used for detecting when clashing when said synchronization conflicts detection module, according to the processing that conflicts of information synchronization strategy, obtains the result of conflicting;
Said information synchronization Executive Module is further used for, and according to said conflict result local data is carried out Synchronous Processing, obtains the Synchronous Processing result;
Said synchronous element generation module is further used for, and generates synchronous element according to said Synchronous Processing result, and the synchronous element that will generate is assembled into the synchronizing information packet.
7. an information synchronization method is characterized in that, comprising:
The cloud computing termination is received the synchronizing information packet that the cloud client is sent;
The cloud computing end makes an explanation to said synchronizing information packet, obtains synchronous element;
The cloud computing end is carried out Synchronous Processing to the cloud client in the data of cloud computing end according to said synchronous element.
8. information synchronization method as claimed in claim 7 is characterized in that, also comprises:
The cloud computing end is according to the information synchronization process of information synchronization strategy startup with the cloud client;
After the information synchronization process started, the cloud computing end extracted the lastest imformation of cloud client data from the cloud computing end, generate synchronous element according to said lastest imformation, and the synchronous element that will generate is assembled into the synchronizing information packet;
The cloud computing end sends to the cloud client with the synchronizing information packet that assembling obtains, so that the cloud client is carried out Synchronous Processing to local data.
9. like claim 7 or 8 described information synchronization methods, it is characterized in that, also comprise:
The cloud computing end carries out collision detection to the synchronous element that explanation obtains;
When detecting when clashing, the cloud computing end obtains the result of conflicting according to the processing that conflicts of information synchronization strategy;
The cloud computing end is carried out Synchronous Processing to the cloud client in the data of cloud computing end according to said conflict result, obtains the Synchronous Processing result;
The cloud computing end generates synchronous element according to said Synchronous Processing result, and the synchronous element that will generate is assembled into the synchronizing information packet.
10. an information synchronization method is characterized in that, comprising:
The cloud client is according to the information synchronization process of information synchronization strategy startup with the cloud computing end;
After the information synchronization process started, the cloud client was extracted the lastest imformation of cloud client data from the cloud client, generate synchronous element according to said lastest imformation, and said synchronous element is assembled into the synchronizing information packet;
The cloud client sends to the cloud computing end with said synchronizing information packet, so that the cloud computing end is carried out Synchronous Processing to the cloud client in the data of cloud computing end.
11. information synchronization method as claimed in claim 10 is characterized in that, also comprises:
The cloud client receives the synchronizing information packet that the cloud computing end sends;
The cloud client makes an explanation to the synchronizing information packet that receives, and obtains synchronous element;
The cloud client is carried out Synchronous Processing according to the synchronous element that explanation obtains to local data.
12. information synchronization method as claimed in claim 11 is characterized in that, also comprises:
The cloud client is carried out collision detection to the synchronous element that explanation obtains;
When detecting when clashing, the cloud client obtains the result of conflicting according to the processing that conflicts of information synchronization strategy;
The cloud client is carried out Synchronous Processing according to said conflict result to local data, obtains the Synchronous Processing result;
The cloud client generates synchronous element according to said Synchronous Processing result, and the synchronous element that will generate is assembled into the synchronizing information packet.
CN2011101056566A 2011-04-26 2011-04-26 Information synchronization method, information synchronization engine and information synchronization agent Pending CN102761567A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101056566A CN102761567A (en) 2011-04-26 2011-04-26 Information synchronization method, information synchronization engine and information synchronization agent

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101056566A CN102761567A (en) 2011-04-26 2011-04-26 Information synchronization method, information synchronization engine and information synchronization agent

Publications (1)

Publication Number Publication Date
CN102761567A true CN102761567A (en) 2012-10-31

Family

ID=47055888

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101056566A Pending CN102761567A (en) 2011-04-26 2011-04-26 Information synchronization method, information synchronization engine and information synchronization agent

Country Status (1)

Country Link
CN (1) CN102761567A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013189425A2 (en) * 2013-05-27 2013-12-27 中兴通讯股份有限公司 Terminal data synchronization method and system
CN110769061A (en) * 2019-10-24 2020-02-07 华为技术有限公司 Data synchronization method and equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6247135B1 (en) * 1999-03-03 2001-06-12 Starfish Software, Inc. Synchronization process negotiation for computing devices
CN101005428A (en) * 2006-01-19 2007-07-25 华为技术有限公司 Realizing method for detecting and resolving data synchronous conflict
CN101494534A (en) * 2008-01-21 2009-07-29 华为技术有限公司 Method, apparatus and system for synchronizing data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6247135B1 (en) * 1999-03-03 2001-06-12 Starfish Software, Inc. Synchronization process negotiation for computing devices
CN101005428A (en) * 2006-01-19 2007-07-25 华为技术有限公司 Realizing method for detecting and resolving data synchronous conflict
CN101494534A (en) * 2008-01-21 2009-07-29 华为技术有限公司 Method, apparatus and system for synchronizing data

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013189425A2 (en) * 2013-05-27 2013-12-27 中兴通讯股份有限公司 Terminal data synchronization method and system
WO2013189425A3 (en) * 2013-05-27 2014-04-24 中兴通讯股份有限公司 Terminal data synchronization method and system
CN110769061A (en) * 2019-10-24 2020-02-07 华为技术有限公司 Data synchronization method and equipment
US12045247B2 (en) 2019-10-24 2024-07-23 Huawei Technologies Co., Ltd. Data synchronization method and device

Similar Documents

Publication Publication Date Title
CN102456052B (en) Method for data synchronization between embedded device and database
CN101039310B (en) Link sharing service apparatus and communication method thereof
WO2011130940A1 (en) Multi-service integration processing method and service integration platform
CN103841167A (en) User data synchronizing method and device
CN106973050A (en) A kind of method and device of inter-network lock information sharing
KR20050084886A (en) Data synchronization
CN111654415B (en) Block chain based information processing method, device, equipment and readable storage medium
CN103051764A (en) Method for sharing information of contact persons in mobile phone
US20150178400A1 (en) Method and device for acquiring terminal information in heterogeneous terminal environment
WO2012155994A1 (en) Anonymous signalling
CN105306418A (en) Method and system for sharing communication connection by multiple application programs
CN112202744B (en) Multi-system data communication method and device
CN101729557A (en) Method and system for realizing resource sharing of terminal equipment
CN102185917A (en) Method and system for adaptation between server and mobile terminal, and server adaptation device
CN102736923A (en) A method and a system for software customization installation
CN110740195B (en) Distributed system data synchronization method and system based on message engine
CN107872492B (en) Method and device for supporting multi-user editing of data object at server
CN103685485B (en) Mobile terminal VoIP (voice over internet protocol) communication audio management system
CN101730085B (en) Address book data synchronizing method and system
WO2012051811A1 (en) Method, mobile terminal and server for sharing data
CN110445834A (en) A kind of method and system for solving propelling data and losing
CN102761567A (en) Information synchronization method, information synchronization engine and information synchronization agent
CN103034632A (en) Information transmitting method and a system
CN102196044A (en) Data transmission method and system
CN106657360A (en) Synchronization method and system for NIS servers under Linux system

Legal Events

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

Application publication date: 20121031