CN103810281A - Method for achieving data synchronization through timing task based on cloud computing - Google Patents

Method for achieving data synchronization through timing task based on cloud computing Download PDF

Info

Publication number
CN103810281A
CN103810281A CN201410056799.6A CN201410056799A CN103810281A CN 103810281 A CN103810281 A CN 103810281A CN 201410056799 A CN201410056799 A CN 201410056799A CN 103810281 A CN103810281 A CN 103810281A
Authority
CN
China
Prior art keywords
timing task
data
timed task
cloud computing
task
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
CN201410056799.6A
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.)
Inspur Group Co Ltd
Original Assignee
Inspur Group 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 Inspur Group Co Ltd filed Critical Inspur Group Co Ltd
Priority to CN201410056799.6A priority Critical patent/CN103810281A/en
Publication of CN103810281A publication Critical patent/CN103810281A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2308Concurrency control
    • G06F16/2336Pessimistic concurrency control approaches, e.g. locking or multiple versions without time stamps
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor

Abstract

The invention provides a method for achieving data synchronization through a timing task based on cloud computing. The method includes the specific implementation steps that firstly, a class is defined, the function of extracting required data is achieved, a sql statement is achieved, and a system automatically generates an xml message; the class is added to the timing task, the timing task is added, the name of the task, the name of the class, execution time, execution strategies and validity duration are added, and the timing task automatically synchronizes data according to system settings and time stamps or synchronization marks; eventually, the timing task executes data synchronization operation according to the execution strategies and the execution time, and the timing task is synchronized through a mechanism of a database lock; the timing task is destroyed after being executed. Compared with the prior art, the method for achieving data synchronization through the timing task based on cloud computing has the advantages that calling of concurrency control tasks under the cloud computing environment is achieved in a database lock mode, and the method is high in practicality, wide in application range and easy to popularize.

Description

A kind of timed task based on cloud computing is realized the synchronous method of data
Technical field
The present invention relates to cloud computing technology field, specifically a kind of accurate grasp blood information, facilitate calling resource, timed task based on cloud computing to realize the synchronous method of data.
Background technology
The continuous integrated service of cloud computing service server end, various systems are all incorporated in cloud computing server, and the data of each system all isolate; Conventionally the mode adopting is that the database technique data such as database Materialized View, goldengate are synchronous, there are in this way several drawbacks and adopt, the one, between internal system modules, data are synchronously all right, if inter-system data synchronization generally just cannot have been realized.The 2nd, synchronous data are not accurate enough, may have part junk data.The 3rd, each database association is too strong, if system need to be upgraded or business changes, all affects data synchronous working.Based on this, a kind of method that adopts the mode of Database lock to realize the work of calling of concurrent control task under cloud computing environment is now provided, the one, guarantee the efficiency that data are synchronous; The 2nd, system needs our synchronous which type of data just of which type of data.
Summary of the invention
Technical assignment of the present invention is to solve the deficiencies in the prior art, provides a kind of timed task based on cloud computing to realize the synchronous method of data.
Technical scheme of the present invention realizes in the following manner, and this kind of timed task based on cloud computing is realized the synchronous method of data, and its specific implementation process is:
First define a class, realization need to be extracted the function of which data, realizes sql statement, and system generates xml message automatically;
Then such is added in timed task, add timed task, add task names, class title, execution time, implementation strategy and the term of validity, timed task, according to system setting, carrys out synchrodata according to timestamp or synchronous mark automatically;
Last timed task is according to implementation strategy and execution time executing data synchronous operation, and this operation adopts the mechanism of Database lock to carry out synchronization timing task;
After timed task is carried out, this timed task is destroyed.
In described step 3, inter-system data synchronization is realized service call between system by the mode of service registry, adopts webservice or EJB to realize.
The beneficial effect that the present invention compared with prior art produced is:
A kind of timed task based on cloud computing of the present invention is realized the synchronous method of data and is utilized the mode of Database lock to realize the work of calling of concurrent control task under cloud computing environment, and the configuration effort of simplification timed task, and timed task is realized to compensation mechanism; Practical, applied widely, can be applied to the industries such as bank, the tax, stock market, commodity inspection, post and telecommunications, government affairs, be a kind of fool proof efficient timed task; Realize data and effectively share, be easy to promote.
Accompanying drawing explanation
Accompanying drawing 1 is realization flow figure of the present invention.
Embodiment
Below in conjunction with accompanying drawing, a kind of timed task based on cloud computing of the present invention being realized to the synchronous method of data is described in detail below.
As shown in Figure 1, this kind of timed task based on cloud computing is realized the synchronous method of data, realizes between each system or the method that intermodular data is synchronous, safe and efficient timed task accurately.
Utilize the mode of Database lock to realize the work of calling of concurrent control task under cloud computing environment, according to the synchronous necessary data of system requirements, concrete methods of realizing:
First define a class, realization need to be extracted the function of which data, as long as it is just passable to realize sql statement, system can generate xml message automatically.
Then such is added in timed task, add timed task very simple, have page guide, add task names, class title, execution time, implementation strategy and the term of validity just passable in the page, system can be added task in the works to automatically.Timed task can, according to system setting, carry out synchrodata according to timestamp or synchronous mark automatically.
Last timed task can, according to implementation strategy and execution time executing data synchronous operation, owing to being in cloud computing, need synchronization timing task, has adopted the mechanism of Database lock to carry out synchronization timing task.Inter-system data synchronization need to be realized service call between system by the mode of service registry, can adopt webservice or EJB.
The foregoing is only embodiments of the invention, within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (2)

1. the timed task based on cloud computing is realized the synchronous method of data, it is characterized in that its specific implementation process is:
First define a class, realization need to be extracted the function of which data, realizes sql statement, and system generates xml message automatically;
Then such is added in timed task, add timed task, add task names, class title, execution time, implementation strategy and the term of validity, timed task, according to system setting, carrys out synchrodata according to timestamp or synchronous mark automatically;
Last timed task is according to implementation strategy and execution time executing data synchronous operation, and this operation adopts the mechanism of Database lock to carry out synchronization timing task;
After timed task is carried out, this timed task is destroyed.
2. a kind of timed task based on cloud computing according to claim 1 is realized the synchronous method of data, it is characterized in that: in described step 3, inter-system data synchronization is realized service call between system by the mode of service registry, adopt webservice or EJB to realize.
CN201410056799.6A 2014-02-20 2014-02-20 Method for achieving data synchronization through timing task based on cloud computing Pending CN103810281A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410056799.6A CN103810281A (en) 2014-02-20 2014-02-20 Method for achieving data synchronization through timing task based on cloud computing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410056799.6A CN103810281A (en) 2014-02-20 2014-02-20 Method for achieving data synchronization through timing task based on cloud computing

Publications (1)

Publication Number Publication Date
CN103810281A true CN103810281A (en) 2014-05-21

Family

ID=50707051

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410056799.6A Pending CN103810281A (en) 2014-02-20 2014-02-20 Method for achieving data synchronization through timing task based on cloud computing

Country Status (1)

Country Link
CN (1) CN103810281A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104301421A (en) * 2014-10-24 2015-01-21 浪潮集团有限公司 Cloud calculation real-time data synchronization method
CN107391188A (en) * 2017-07-17 2017-11-24 聚好看科技股份有限公司 A kind of method and apparatus for controlling timed task
CN107577780A (en) * 2017-09-13 2018-01-12 郑州云海信息技术有限公司 A kind of data center's cloud resource synchronous method and device
CN114049754A (en) * 2021-12-06 2022-02-15 青岛鼎信通讯股份有限公司 Temporary collection task mechanism based on electric energy collection terminal of transformer substation

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002132551A (en) * 2000-10-18 2002-05-10 Nec Corp Database system
US20070162421A1 (en) * 2006-01-12 2007-07-12 Sybase, Inc. Real-Time Messaging System for Bridging RDBMSs and Message Buses
CN101067814A (en) * 2007-05-10 2007-11-07 浪潮集团山东通用软件有限公司 Mapping conversion method between data access level Xml format data and relational data
CN101119408A (en) * 2007-08-16 2008-02-06 中兴通讯股份有限公司 Interface, method and communication system for implementing interface data consistency
CN101464884A (en) * 2008-12-31 2009-06-24 阿里巴巴集团控股有限公司 Distributed task system and data processing method using the same
CN101702176A (en) * 2009-11-25 2010-05-05 南开大学 XML data concurrency control method based on local path lock
CN103197969A (en) * 2013-03-27 2013-07-10 百度在线网络技术(北京)有限公司 Distributed timed task control device and method
CN103607469A (en) * 2013-11-28 2014-02-26 东莞中国科学院云计算产业技术创新与育成中心 Cloud platform for achieving distributed isomerous data sharing and data sharing method thereof

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002132551A (en) * 2000-10-18 2002-05-10 Nec Corp Database system
US20070162421A1 (en) * 2006-01-12 2007-07-12 Sybase, Inc. Real-Time Messaging System for Bridging RDBMSs and Message Buses
CN101067814A (en) * 2007-05-10 2007-11-07 浪潮集团山东通用软件有限公司 Mapping conversion method between data access level Xml format data and relational data
CN101119408A (en) * 2007-08-16 2008-02-06 中兴通讯股份有限公司 Interface, method and communication system for implementing interface data consistency
CN101464884A (en) * 2008-12-31 2009-06-24 阿里巴巴集团控股有限公司 Distributed task system and data processing method using the same
CN101702176A (en) * 2009-11-25 2010-05-05 南开大学 XML data concurrency control method based on local path lock
CN103197969A (en) * 2013-03-27 2013-07-10 百度在线网络技术(北京)有限公司 Distributed timed task control device and method
CN103607469A (en) * 2013-11-28 2014-02-26 东莞中国科学院云计算产业技术创新与育成中心 Cloud platform for achieving distributed isomerous data sharing and data sharing method thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104301421A (en) * 2014-10-24 2015-01-21 浪潮集团有限公司 Cloud calculation real-time data synchronization method
CN107391188A (en) * 2017-07-17 2017-11-24 聚好看科技股份有限公司 A kind of method and apparatus for controlling timed task
CN107577780A (en) * 2017-09-13 2018-01-12 郑州云海信息技术有限公司 A kind of data center's cloud resource synchronous method and device
CN114049754A (en) * 2021-12-06 2022-02-15 青岛鼎信通讯股份有限公司 Temporary collection task mechanism based on electric energy collection terminal of transformer substation

Similar Documents

Publication Publication Date Title
CN103699580A (en) Database synchronization method and database synchronization device
CN103810281A (en) Method for achieving data synchronization through timing task based on cloud computing
CN103699638B (en) Method for realizing cross-database type synchronous data based on configuration parameters
MX2016004097A (en) Method, device and system for managing calendar information.
SG11201909885QA (en) Methods and apparatuses for searching for target person, devices, program products, and media
HK1138405A1 (en) Method and system for analyzing a component
EP2270665A3 (en) Systems and methods for web logging of trace data in a multi-core system
GB201303662D0 (en) Database system transaction management
CN102541730A (en) Semantic identification and automatic generation method for spacecraft test script
HK1131231A1 (en) System and method for automating etl applications
SG11201810595PA (en) Mobile payment method, device and system
CN105930493A (en) Method and system for data synchronization between different databases
WO2012099801A3 (en) Ordering document content
MY170276A (en) Method and system for synchronizing operations of multiple groups
IN2014MN02481A (en)
MY166219A (en) Information processing device, information processing system, control method, and storage medium
WO2014092827A3 (en) System and method for improving gps accuracy in a device by utilizing increased time stamp accuracy
CN103246641A (en) Text semantic information analyzing system and method
WO2020047292A3 (en) Method for communicating and debugging across iot systems
GB2438120A (en) Multiple language support system and method for application
CN104156198A (en) Method and device for automatically generating software integration version updating description
CN105760485A (en) Financial data extraction method and system
IN2013MU02590A (en)
CN102750374A (en) Data tracing and influence relationship analysis method based on database script
IL227332B (en) System and method for automated generation of web decoding templates

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140521