CN107741950A - Processing method, device, processor and the service end of data syn-chronization task - Google Patents
Processing method, device, processor and the service end of data syn-chronization task Download PDFInfo
- Publication number
- CN107741950A CN107741950A CN201710791080.0A CN201710791080A CN107741950A CN 107741950 A CN107741950 A CN 107741950A CN 201710791080 A CN201710791080 A CN 201710791080A CN 107741950 A CN107741950 A CN 107741950A
- Authority
- CN
- China
- Prior art keywords
- data
- data syn
- chronization
- task
- chronization 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
- G06F16/275—Synchronous replication
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Computing Systems (AREA)
- Data Mining & Analysis (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a kind of processing method, device, processor and the service end of data syn-chronization task.This method includes:Pending data syn-chronization task is obtained, wherein, realize data syn-chronization between the object table in master meter and object library that data syn-chronization task is used in pattern library;Perform data syn-chronization task.The present invention is solved in correlation technique searching by hand and the low technical problem of efficiency by way of the list data changed in sync database.
Description
Technical field
The present invention relates to computer realm, in particular to a kind of processing method of data syn-chronization task, device, place
Manage device and service end.
Background technology
Basic data refers to meet in database that the data of operation flow normal operation (maintain normal program operation can not
Or scarce data), without including business pipelined data caused by application (such as:Payment behavior data caused by online ticketing).
In correlation technique, basic data is to perform SQL (SQL) in different type test environment database by craft
The mode of sentence is safeguarded.And test environment basic data due to test scene need it is to be modified, and change after very
Be possible without being changed back raw value (such as:Assuming that raw value is 1, and because test scene needs, the raw value quilt
Be revised as 2, but after test process terminates, and unmodified time 1), thus may result in the test result that subsequently obtains with
It is expected inconsistent.For this reason, it may be necessary to which the reason for such abnormal occurs for positioning first, then synchronously changed by manual mode again
Configuration data.As can be seen here, the open defect of such a maintenance mode is:Efficiency is low.
In Experience of Software Testing Work, the regular maintenance of test environment is a vital job.If test environment
Can not properly it be safeguarded, then test job efficiency will be had a strong impact on, wherein, the synchronous working of Basis of Database data is just
It is the important step that test environment is safeguarded.
For it is above-mentioned the problem of, not yet propose effective solution at present.
The content of the invention
At least part embodiment of the present invention provides a kind of processing method, device, processor and the clothes of data syn-chronization task
Business end, the efficiency in a manner of the list data at least solving to search by craft in correlation technique and changed in sync database
Low technical problem.
According to a wherein embodiment of the invention, there is provided a kind of processing method of data syn-chronization task, including:
Pending data syn-chronization task is obtained, wherein, data syn-chronization task is used for master meter and mesh in pattern library
Data syn-chronization is realized between object table in mark storehouse;Perform data syn-chronization task.
Alternatively, before data syn-chronization task is obtained, in addition to:Newdata synchronous task;Inputted according to user
Configuration data creates configuration file, wherein, configuration file comprises at least:The identification information of master meter, the identification information of object table,
Identification information, the synchronous mode of test environment used in data synchronization process.
Alternatively, performing data syn-chronization task includes:Obtain the status attribute of data syn-chronization task;When status attribute is to open
When opening state, by the data syn-chronization in master meter to object table.
Alternatively, performing data syn-chronization task also includes:Data in object table are backed up, obtain backup file;
Consistency verification of data is carried out between master meter and object table;If not by consistency verification of data, using backup text
Part recovers to the data in object table.
Alternatively, backup file is stored under catalogue at the same level with configuration file.
Alternatively, before data syn-chronization task is obtained, in addition to:Enter edlin to data synchronous task in user to touch
Give, create configuration file corresponding with the data syn-chronization task after editor.
According to a wherein embodiment of the invention, a kind of processing unit of data syn-chronization task is additionally provided, including:
Acquisition module, for obtaining pending data syn-chronization task, wherein, data syn-chronization task is used in pattern library
Master meter and object library in object table between realize data syn-chronization;Execution module, for performing data syn-chronization task.
Alternatively, said apparatus also includes:Module is established, is inputted for newdata synchronous task, and according to user
Configuration data create configuration file, wherein, configuration file comprises at least:The identification information of master meter, the mark letter of object table
Identification information, the synchronous mode of breath, test environment used in data synchronization process.
Alternatively, execution module includes:Acquiring unit, for obtaining the status attribute of data syn-chronization task;Execution unit,
For when status attribute is opening, by the data syn-chronization in master meter to object table.
Alternatively, execution module also includes:Backup units, for being backed up to the data in object table, backed up
File;Verification unit, for carrying out consistency verification of data between master meter and object table;Recovery unit, if for not
By consistency verification of data, then the data in object table are recovered using backup file.
Alternatively, backup file is stored under catalogue at the same level with configuration file.
Alternatively, module is established, is additionally operable in the case where user enters the triggering of edlin to data synchronous task, creates and edits
Configuration file corresponding to data syn-chronization task afterwards.
According to a wherein embodiment of the invention, a kind of storage medium is additionally provided, storage medium includes the program of storage, its
In, equipment performs the processing method of above-mentioned data syn-chronization task where controlling storage medium when program is run.
According to a wherein embodiment of the invention, a kind of processor is additionally provided, processor is used for operation program, wherein, journey
The processing method of above-mentioned data syn-chronization task is performed during sort run.
According to a wherein embodiment of the invention, a kind of service end is additionally provided, including:One or more processors, storage
Device, display device and one or more programs, wherein, one or more of programs are stored in the memory, and
And be configured as by one or more of computing devices, one or more of programs are used to perform above-mentioned data syn-chronization times
The processing method of business.
In at least part embodiment of the present invention, using the pending data syn-chronization task of acquisition, the data syn-chronization task
It is same by performing data for realizing the mode of data syn-chronization between the object table in the master meter and object library in pattern library
Step task, the purpose of the Data Migration of database table granularity is reached, so as to improve between disparate databases list data
Synchronous efficiency and accuracy, and then solve the form number in correlation technique by searching and being changed in sync database by hand
According to the low technical problem of mode efficiency.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, forms the part of the application, this hair
Bright schematic description and description is used to explain the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 shows a kind of hardware block diagram for being used to realize the service end of the processing method of data syn-chronization task;
Fig. 2 is the flow chart according to the processing method of the data syn-chronization task of a wherein embodiment of the invention;
Fig. 3 is the flow chart according to the interpolation data synchronous task process of a wherein preferred embodiment of the invention;
Fig. 4 is the flow chart according to editor's data syn-chronization task process of a wherein preferred embodiment of the invention;
Fig. 5 is the flow chart according to the execution data syn-chronization task process of a wherein preferred embodiment of the invention;
Fig. 6 is the structured flowchart according to the processing unit of the data syn-chronization task of a wherein embodiment of the invention;
Fig. 7 is the structured flowchart according to the processing unit of the data syn-chronization task of a wherein preferred embodiment of the invention.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention
Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people
The every other embodiment that member is obtained under the premise of creative work is not made, it should all belong to the model that the present invention protects
Enclose.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, "
Two " etc. be for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so use
Data can exchange in the appropriate case, so as to embodiments of the invention described herein can with except illustrating herein or
Order beyond those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover
Cover it is non-exclusive include, be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment
Those steps or unit clearly listed, but may include not list clearly or for these processes, method, product
Or the intrinsic other steps of equipment or unit.
According to a wherein embodiment of the invention, there is provided a kind of embodiment of the processing method of data syn-chronization task, it is necessary to
Illustrate, can be in the computer system of such as one group computer executable instructions the flow of accompanying drawing illustrates the step of
Perform, although also, show logical order in flow charts, in some cases, can be with suitable different from herein
Sequence performs shown or described step.
This method embodiment can perform in service end.Fig. 1 shows a kind of place for being used to realize data syn-chronization task
The hardware block diagram of the service end of reason method.As shown in figure 1, service end 10 can include processor 102, (processor 102 can
To include but is not limited to the processing unit of microprocessor (MCU) or PLD (FPGA) etc.), for data storage
Memory 104 and the transport module 106 for communication function.In addition, (not shown) can also be included:Display
Device, input/output interface (I/O interfaces), USB (USB) port (can be as one in the port of I/O interfaces
Port is included), network interface and power supply.It will appreciated by the skilled person that the structure shown in Fig. 1 is only to show
Meaning, it does not cause to limit to the structure of above-mentioned service end.For example, service end 10 may also include it is more more than shown in Fig. 1 or
Less component, or there is the configuration different from shown in Fig. 1.
It is to be noted that said one or multiple processors 102 and/or other data processing circuits lead to herein
It can often be referred to as " data processing circuit ".The data processing circuit can be presented as software, hardware, firmware with all or part of
Or other any combination.In addition, data processing circuit can be single independent processing module, or all or part of it is attached to clothes
It is engaged in any one in the other elements in end 10.As involved in the embodiment of the present application, the data processing circuit is made
(such as the selection for the variable resistor end path being connected with interface) is controlled for a kind of processor.
Memory 104 can be used for the software program and module of storage application software, such as the data in the embodiment of the present invention
Programmed instruction/data storage device corresponding to the processing method of synchronous task, processor 102 are stored in memory by operation
Software program and module in 104, so as to perform various function application and data processing, that is, realize above-mentioned data syn-chronization
The processing method of task.Memory 104 may include high speed random access memory, may also include nonvolatile memory, such as one or
The multiple magnetic storage devices of person, flash memory or other non-volatile solid state memories.In some instances, memory 104 can enter
One step includes that relative to the remotely located memory of processor 102, these remote memories network connection to service can be passed through
End 10.The example of above-mentioned network includes but is not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Transmitting device 106 is used to data are received or sent via a network.Above-mentioned network instantiation may include
The wireless network that the communication providerses of service end 10 provide.In an example, transmitting device 106 includes a network adapter
(Network Interface Controller, referred to as NIC), its can be connected by base station with other network equipments so as to
Communicated with internet.In an example, transmitting device 106 can be radio frequency (Radio Frequency, referred to as RF)
Module, it is used to wirelessly be communicated with internet.
Display can such as touch-screen type liquid crystal display (LCD), the liquid crystal display may be such that user can be with
The user interface of service end 10 (or mobile device) interacts.
Specifically, above-mentioned service end 10 can realize the Data Migration of database table granularity, dataX branch based on dataX
The database species held is more, and can also support the data syn-chronization of heterogeneous database.Therefore, it is same that dataX is arranged into data
Engine is walked, and is encapsulated as a web services, and then increases the functions such as data backup/recovery, data consistent check.Should
Web services, which provide background task administration page, can carry out man-machine interaction, i.e. addition/editor's number on background task administration interface
According to synchronous task, and it can also manually operate triggering in background task administration interface and perform data syn-chronization task, also may be used
Data syn-chronization task is performed to be triggered automatically by timed task.
Above-mentioned web services use browser and server framework (B/S) structure, and its function of providing can include but unlimited
In:Interpolation data synchronous task, inquiry data syn-chronization task, editor's data syn-chronization task, execution data syn-chronization task, backstage are fixed
When task.
Under above-mentioned running environment, this application provides the processing method of data syn-chronization task as shown in Figure 2.Fig. 2 is
According to the flow chart of the processing method of the data syn-chronization task of a wherein embodiment of the invention, as shown in Fig. 2 this method is included such as
Lower step:
Step S23, pending data syn-chronization task is obtained, wherein, data syn-chronization task is used for the base in pattern library
Data syn-chronization is realized between object table in quasi- table and object library;
Step S25, perform data syn-chronization task.
By above-mentioned steps, the pending data syn-chronization task that obtains can be used, the data syn-chronization task is used in base
The mode of data syn-chronization is realized between the object table in master meter and object library in quasi- storehouse, by performing data syn-chronization task,
The purpose of the Data Migration of database table granularity is reached, so as to improve the synchronous efficiency between disparate databases list data
And accuracy, and then solve in correlation technique by way of the list data searched and changed in sync database by hand
The low technical problem of efficiency.
Alternatively, in step S23, before obtaining data syn-chronization task, step performed below can also be included:
Step S20, newdata synchronous task;
Step S21, the configuration data inputted according to user create configuration file, wherein, configuration file comprises at least:Benchmark
The identification information of table, the identification information of object table, the identification information of test environment used in data synchronization process, synchronization
Pattern.
User can select addition task or batch addition button to enter in the main operation interface of basic data management platform
Enter to add task interface.User can continue to input configuration data in addition task interface, and it can include but is not limited to:Industry
Business line, synchronous mode, test environment numbering, the address information of pattern library, the port of pattern library, user name, password, benchmark library name
Title, benchmark table name, the address information of object library, the port of object library, user name, password, target library name, target table name
(option).After Mission Success is added, database-name, test environment numbering, task status attribute etc. can also be passed through
Mode carries out service inquiry.
Fig. 3 is according to the flow chart of the interpolation data synchronous task process of a wherein preferred embodiment of the invention, such as Fig. 3 institutes
Show, the process can include following processing step:
Step S302, it is necessary to judge whether the data syn-chronization task has deposited during interpolation data synchronous task
It is in data syn-chronization assignment database (it is independently of the independent database outside pattern library and object library);If do not deposit
Then continuing executing with step S304;If it is present jump to step S306.
Step S304, data syn-chronization task is added to data syn-chronization assignment database.
Step S306, judges whether the configuration file of data syn-chronization task is already present on data syn-chronization assignment database
In;If it is present jump to step S308;If it does not exist, then continue executing with step S310.
Step S308, configuration file is deleted, and continue executing with step S310.
Step S310, create configuration file.
Specifically, user can by browser open the QDataManager pages, by configuration file (such as:.json lattice
Formula file) it is inserted into qDataTask databases, wherein, configuration file can include but is not limited to:The title of pattern library, mutually
Networking protocol (IP) address, port, the title of master meter, username and password in pattern library, the title of object library, internet protocol
Discuss (IP) address, port, the title of object table, username and password in object library, the test environment used in synchronizing process
Identification information (such as:Numbering), synchronous mode.Then, configuration file is generated in the specified path of server, the configuration file is
Application call dataX performs the configuration information that task needs to use.
Further, above-mentioned synchronous mode can include following two:
Pattern one, the pattern supported using dataX synchronization engines, are configured to alternative patterns, it can be adopted by task
The data in object table are replaced or covered with the data in master meter.
Pattern two, the pattern supported using dataX synchronization engines, are configured to incremental mode, by independent by task
Task list record the maximum mark after last synchronization, start further according to the maximum mark after last synchronization real from master meter
Existing increment synchronization.
Alternatively, in step S23, before obtaining data syn-chronization task, step performed below can also be included:
Step S22, in the case where user enters the triggering of edlin to data synchronous task, create and appoint with the data syn-chronization after editor
Configuration file corresponding to business.
Fig. 4 is according to the flow chart of editor's data syn-chronization task process of a wherein preferred embodiment of the invention, such as Fig. 4 institutes
Show, the process can include following processing step:
Step S402, it is necessary to deposited in data synchronous task database during data syn-chronization task is edited
Data syn-chronization task be updated.
Step S404, judges whether the configuration file of data syn-chronization task is already present on data syn-chronization assignment database
In;If it is present jump to step S406;If it does not exist, then continue executing with step S408.
Step S406, configuration file is deleted, and continue executing with step S408.
Step S408, create configuration file.
Alternatively, in step s 25, step performed below can be included by performing data syn-chronization task:
Step S251, obtain the status attribute of data syn-chronization task;
Step S252, when status attribute is opening, by the data syn-chronization in master meter to object table.
Each newly-built data syn-chronization task is provided with status attribute, and it can include:Opening and closed mode.And
It can be only performed in the data syn-chronization task of opening, and then by the data syn-chronization in master meter to object table.
Alternatively, in step s 25, step performed below can also be included by performing data syn-chronization task:
Step S253, the data in object table are backed up, obtain backup file;
Step S254, consistency verification of data is carried out between master meter and object table;
Step S255, if do not carried out by consistency verification of data using backup file to the data in object table
Recover.
Cause failure of data synchronization, it is necessary to perform data syn-chronization mistake to prevent from occurring in data synchronization process exception
Before journey, the data in object table are backed up, so as to occur it is abnormal when, can be in time by the data recovery in object table
Original state.During being preferable to carry out, backup file is stored under catalogue at the same level with configuration file.
Fig. 5 is according to the flow chart of the execution data syn-chronization task process of a wherein preferred embodiment of the invention, such as Fig. 5 institutes
Show, service end can provide the user get mode http interfaces, and required parameter could be arranged to pending data syn-chronization task
Identification information.During data syn-chronization tasks carrying, it can select only to perform a data synchronous task, can also select
Batch performs multiple data syn-chronization tasks, and implementing result is shown after being finished.The process can include following processing and walk
Suddenly:
Step S502, the data in object table in object library are backed up.
Specifically, can be by calling shell (shell) backup script to realize data backup, backup file can be stored in
.json under the catalogue at the same level of formatted file.Backup script can utilize mysqldump generation .sql files to complete number in object table
According to backup, and be redirected under the catalogue at the same level of .json formatted files.
Step S504, task status is checked, whether the status attribute for judging data syn-chronization task is opening, if
It is then to continue executing with step S506;If it is not, then jump to step S508.
Step S506, by the data syn-chronization in master meter to object table.
Step S508, consistency verification of data is carried out between master meter and object table, if both data are consistent, after
It is continuous to perform step S512;If both data are inconsistent, step S510 is jumped to.
Specifically, it is consistent to carrying out data between master meter and object table by calling shell data checks script to realize
Property verification, script consistency check realized by pt-table-checksum instruments.
Step S510, the data in object table are recovered using Backup Data, continue executing with step S512.
Specifically, can be by calling shell to recover the .sql files that script performs backup, to realize the number in object table
According to recovery.
Step S512, data syn-chronization implementing result is sent to interpolation data by communication modes such as mail, short message, wechats
The user of synchronous task.
According to a wherein embodiment of the invention, there is provided a kind of embodiment of the processing unit of data syn-chronization task, Fig. 6 are
According to the structured flowchart of the processing unit of the data syn-chronization task of a wherein embodiment of the invention, as shown in fig. 6, the device bag
Include:Acquisition module 10, for obtaining pending data syn-chronization task, wherein, data syn-chronization task is used in pattern library
Data syn-chronization is realized between object table in master meter and object library;Execution module 20, for performing data syn-chronization task.
Alternatively, Fig. 7 is the structure according to the processing unit of the data syn-chronization task of a wherein preferred embodiment of the invention
Block diagram, as shown in fig. 7, said apparatus also includes:Module 30 is established, it is defeated for newdata synchronous task, and according to user
The configuration data entered creates configuration file, wherein, configuration file comprises at least:The identification information of master meter, the mark of object table
Identification information, the synchronous mode of information, test environment used in data synchronization process.
Alternatively, execution module 20 includes:Acquiring unit (not shown), for obtaining the state of data syn-chronization task
Attribute;Execution unit (not shown), for when status attribute is opening, by the data syn-chronization in master meter to mesh
Mark table.
Alternatively, execution module 20 also includes:Backup units (not shown), for being carried out to the data in object table
Backup, obtains backup file;Verification unit (not shown), for carrying out data consistency between master meter and object table
Verification;Recovery unit (not shown), if for by consistency verification of data, not using backup file to object table
In data recovered.
Alternatively, backup file is stored under catalogue at the same level with configuration file.
Alternatively, module 30 is established, is additionally operable in the case where user enters the triggering of edlin to data synchronous task, creates and compiles
Configuration file corresponding to data syn-chronization task after volume.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not have in some embodiment
The part of detailed description, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed technology contents, others can be passed through
Mode is realized.Wherein, device embodiment described above is only schematical, such as the division of the unit, Ke Yiwei
A kind of division of logic function, can there is an other dividing mode when actually realizing, for example, multiple units or component can combine or
Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual
Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, unit or module
Connect, can be electrical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On unit.Some or all of unit therein can be selected to realize the purpose of this embodiment scheme according to the actual needs.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use
When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part to be contributed in other words to prior art or all or part of the technical scheme can be in the form of software products
Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer
Equipment (can be personal computer, server or network equipment etc.) perform each embodiment methods described of the present invention whole or
Part steps.And foregoing storage medium includes:USB flash disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with store program codes
Medium.
Described above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should
It is considered as protection scope of the present invention.
Claims (15)
- A kind of 1. processing method of data syn-chronization task, it is characterised in that including:Pending data syn-chronization task is obtained, wherein, the data syn-chronization task is used for master meter and mesh in pattern library Data syn-chronization is realized between object table in mark storehouse;Perform the data syn-chronization task.
- 2. according to the method for claim 1, it is characterised in that before the data syn-chronization task is obtained, in addition to:The newly-built data syn-chronization task;The configuration data inputted according to user creates configuration file, wherein, the configuration file comprises at least:The master meter Identification information, the identification information of the object table, the identification information of test environment used in data synchronization process, synchronization Pattern.
- 3. according to the method for claim 2, it is characterised in that performing the data syn-chronization task includes:Obtain the status attribute of the data syn-chronization task;When the status attribute is opening, by the data syn-chronization in the master meter to the object table.
- 4. according to the method for claim 3, it is characterised in that performing the data syn-chronization task also includes:Data in the object table are backed up, obtain backup file;Consistency verification of data is carried out between the master meter and the object table;If the data in the object table are not carried out using the backup file extensive by the consistency verification of data It is multiple.
- 5. according to the method for claim 4, it is characterised in that the backup file is stored in peer with the configuration file Under catalogue.
- 6. according to the method for claim 2, it is characterised in that before the data syn-chronization task is obtained, in addition to:In the case where the user enters the triggering of edlin to the data syn-chronization task, create and the data syn-chronization task pair after editor The configuration file answered.
- A kind of 7. processing unit of data syn-chronization task, it is characterised in that including:Acquisition module, for obtaining pending data syn-chronization task, wherein, the data syn-chronization task is used in pattern library Master meter and object library in object table between realize data syn-chronization;Execution module, for performing the data syn-chronization task.
- 8. device according to claim 7, it is characterised in that described device also includes:Module is established, for the newly-built data syn-chronization task, and the configuration data inputted according to user creates configuration file, Wherein, the configuration file comprises at least:The identification information, same in data of the identification information of the master meter, the object table The identification information of used test environment, synchronous mode during step.
- 9. device according to claim 8, it is characterised in that the execution module includes:Acquiring unit, for obtaining the status attribute of the data syn-chronization task;Execution unit, for when the status attribute is opening, by the data syn-chronization in the master meter to the mesh Mark table.
- 10. device according to claim 9, it is characterised in that the execution module also includes:Backup units, for being backed up to the data in the object table, obtain backup file;Verification unit, for carrying out consistency verification of data between the master meter and the object table;Recovery unit, if for by the consistency verification of data, not using the backup file to the object table In data recovered.
- 11. device according to claim 10, it is characterised in that the backup file is stored in together with the configuration file Under level catalogue.
- 12. device according to claim 8, it is characterised in that it is described to establish module, it is additionally operable in the user to described Data syn-chronization task is entered under the triggering of edlin, creates configuration file corresponding with the data syn-chronization task after editor.
- A kind of 13. storage medium, it is characterised in that the storage medium includes the program of storage, wherein, run in described program When control the storage medium where data syn-chronization task in equipment perform claim requirement 1 to 6 described in any one processing Method.
- A kind of 14. processor, it is characterised in that the processor is used for operation program, wherein, right of execution when described program is run Profit requires the processing method of the data syn-chronization task described in any one in 1 to 6.
- A kind of 15. service end, it is characterised in that including:One or more processors, memory, display device and one or Multiple programs, wherein, one or more of programs are stored in the memory, and be configured as by one or Multiple computing devices, one or more of programs are used for the data syn-chronization described in any one in perform claim requirement 1 to 6 The processing method of task.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710791080.0A CN107741950A (en) | 2017-09-05 | 2017-09-05 | Processing method, device, processor and the service end of data syn-chronization task |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710791080.0A CN107741950A (en) | 2017-09-05 | 2017-09-05 | Processing method, device, processor and the service end of data syn-chronization task |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107741950A true CN107741950A (en) | 2018-02-27 |
Family
ID=61235196
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710791080.0A Pending CN107741950A (en) | 2017-09-05 | 2017-09-05 | Processing method, device, processor and the service end of data syn-chronization task |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107741950A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109144784A (en) * | 2018-08-23 | 2019-01-04 | 南京壹进制信息技术股份有限公司 | Method of data synchronization and system between a kind of data backup system |
CN109284334A (en) * | 2018-09-05 | 2019-01-29 | 拉扎斯网络科技(上海)有限公司 | Real-time database synchronization method and device, electronic equipment and storage medium |
CN110209741A (en) * | 2019-06-14 | 2019-09-06 | 上海中通吉网络技术有限公司 | Method of data synchronization, device and equipment between heterogeneous data source |
CN110545301A (en) * | 2018-05-29 | 2019-12-06 | 视联动力信息技术股份有限公司 | monitoring resource synchronization method and device |
CN111061798A (en) * | 2019-12-23 | 2020-04-24 | 杭州雷数科技有限公司 | Configurable data transmission and monitoring method, equipment and medium |
CN111124696A (en) * | 2019-12-30 | 2020-05-08 | 北京三快在线科技有限公司 | Unit group creation method, unit group creation device, unit group data synchronization method, unit group data synchronization device, unit and storage medium |
CN111339207A (en) * | 2020-03-20 | 2020-06-26 | 宁夏菲麦森流程控制技术有限公司 | Method for synchronizing data among multi-type databases |
CN111984731A (en) * | 2020-08-27 | 2020-11-24 | 平安国际智慧城市科技股份有限公司 | Method and device for synchronizing data among large data platform bins and storage medium |
CN115277681A (en) * | 2022-07-29 | 2022-11-01 | 山石网科通信技术股份有限公司 | File synchronization method and device for avoiding synchronization process conflict |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101038591A (en) * | 2007-04-11 | 2007-09-19 | 华为技术有限公司 | Method and system for synchronizing data base |
CN101226527A (en) * | 2007-12-28 | 2008-07-23 | 中国移动通信集团四川有限公司 | Data synchronization method for double-nucleus library |
-
2017
- 2017-09-05 CN CN201710791080.0A patent/CN107741950A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101038591A (en) * | 2007-04-11 | 2007-09-19 | 华为技术有限公司 | Method and system for synchronizing data base |
CN101226527A (en) * | 2007-12-28 | 2008-07-23 | 中国移动通信集团四川有限公司 | Data synchronization method for double-nucleus library |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110545301B (en) * | 2018-05-29 | 2022-06-17 | 视联动力信息技术股份有限公司 | Monitoring resource synchronization method and device |
CN110545301A (en) * | 2018-05-29 | 2019-12-06 | 视联动力信息技术股份有限公司 | monitoring resource synchronization method and device |
CN109144784A (en) * | 2018-08-23 | 2019-01-04 | 南京壹进制信息技术股份有限公司 | Method of data synchronization and system between a kind of data backup system |
CN109284334A (en) * | 2018-09-05 | 2019-01-29 | 拉扎斯网络科技(上海)有限公司 | Real-time database synchronization method and device, electronic equipment and storage medium |
CN109284334B (en) * | 2018-09-05 | 2022-01-28 | 拉扎斯网络科技(上海)有限公司 | Real-time database synchronization method and device, electronic equipment and storage medium |
CN110209741A (en) * | 2019-06-14 | 2019-09-06 | 上海中通吉网络技术有限公司 | Method of data synchronization, device and equipment between heterogeneous data source |
CN111061798A (en) * | 2019-12-23 | 2020-04-24 | 杭州雷数科技有限公司 | Configurable data transmission and monitoring method, equipment and medium |
CN111061798B (en) * | 2019-12-23 | 2024-03-08 | 杭州雷数科技有限公司 | Configurable data transmission and monitoring method, equipment and medium |
CN111124696A (en) * | 2019-12-30 | 2020-05-08 | 北京三快在线科技有限公司 | Unit group creation method, unit group creation device, unit group data synchronization method, unit group data synchronization device, unit and storage medium |
CN111124696B (en) * | 2019-12-30 | 2023-06-23 | 北京三快在线科技有限公司 | Unit group creation, data synchronization method, device, unit and storage medium |
CN111339207A (en) * | 2020-03-20 | 2020-06-26 | 宁夏菲麦森流程控制技术有限公司 | Method for synchronizing data among multi-type databases |
CN111984731A (en) * | 2020-08-27 | 2020-11-24 | 平安国际智慧城市科技股份有限公司 | Method and device for synchronizing data among large data platform bins and storage medium |
CN115277681A (en) * | 2022-07-29 | 2022-11-01 | 山石网科通信技术股份有限公司 | File synchronization method and device for avoiding synchronization process conflict |
CN115277681B (en) * | 2022-07-29 | 2024-04-02 | 山石网科通信技术股份有限公司 | File synchronization method and device for avoiding conflict in synchronization process |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107741950A (en) | Processing method, device, processor and the service end of data syn-chronization task | |
CN106528395B (en) | The generation method and device of test case | |
US10237295B2 (en) | Automated event ID field analysis on heterogeneous logs | |
CN105005532B (en) | A kind of system and method for automatic test application programming interfaces stability | |
CN109828903A (en) | Automated testing method, device, computer installation and storage medium | |
CN106302008A (en) | Data-updating method and device | |
CN104978258B (en) | Automatic software test method and system | |
CN105095059B (en) | A kind of method and apparatus of automatic test | |
CN106033393B (en) | A kind of applied program testing method and system and mobile terminal | |
CN107608874A (en) | Method of testing and device | |
CN105184575B (en) | Transaction system construction method, transaction flow control device and third party transaction platform | |
CN108491322A (en) | Automated testing method, device and storage medium | |
CN106022007A (en) | Cloud platform system and method oriented to biological omics big data calculation | |
CN110413528A (en) | Test environment intelligent configuration method and system | |
CN109669717A (en) | Data processing method, device, equipment and storage medium based on deployment platform | |
CN110489324A (en) | Method, apparatus that test page jumps, storage medium, electronic device | |
CN109902251A (en) | Scheme Choice method, apparatus, terminal and readable storage medium storing program for executing based on decision tree | |
CN108459792A (en) | A kind of flow switching method, device and computer equipment | |
CN112579455B (en) | Automatic interface testing method and device, electronic equipment and storage medium | |
CN106155769A (en) | A kind of workflow processing method, device and workflow engine | |
CN109582560A (en) | Test file edit methods, device, equipment and computer readable storage medium | |
CN106970870B (en) | Webpage test platform, webpage test method and webpage test system | |
CN108369590A (en) | For commending system, the devices and methods therefor for instructing Self-Service to analyze | |
US20180349932A1 (en) | Methods and systems for determining persona of participants by the participant use of a software product | |
CN104239212A (en) | Query method and device of test case and establishment method and device of test case |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20181217 Address after: Room 906, Building No. 16, 968 Jinzhong Road, Changning District, Shanghai, 2005 (8 floors of actual floor) Applicant after: Ctrip Financial Technology (Shanghai) Co., Ltd. Address before: 100080 17th Floor, Yuanwei Building, 29 Suzhou Street, Haidian District, Beijing Applicant before: BEIJING QUNAR SOFTWARE TECHNOLOGY CO., LTD. |
|
TA01 | Transfer of patent application right | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180227 |
|
RJ01 | Rejection of invention patent application after publication |