CN105653653A - Order form data synchronization method and system - Google Patents

Order form data synchronization method and system Download PDF

Info

Publication number
CN105653653A
CN105653653A CN201511004763.4A CN201511004763A CN105653653A CN 105653653 A CN105653653 A CN 105653653A CN 201511004763 A CN201511004763 A CN 201511004763A CN 105653653 A CN105653653 A CN 105653653A
Authority
CN
China
Prior art keywords
data
order data
order
synchronous
module
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.)
Granted
Application number
CN201511004763.4A
Other languages
Chinese (zh)
Other versions
CN105653653B (en
Inventor
温涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Hanzhiyou Information Technology Service Co Ltd
Original Assignee
Shanghai Hanzhiyou Information Technology Service 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 Shanghai Hanzhiyou Information Technology Service Co Ltd filed Critical Shanghai Hanzhiyou Information Technology Service Co Ltd
Priority to CN201511004763.4A priority Critical patent/CN105653653B/en
Publication of CN105653653A publication Critical patent/CN105653653A/en
Application granted granted Critical
Publication of CN105653653B publication Critical patent/CN105653653B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • 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/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24552Database cache management

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Computing Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses an order form data synchronization method and system, and belongs to the technical field of data synchronization. The method comprises the following steps: S1: in an order form database, obtaining order form data which is updated, and storing the order form data in a first cache unit as synchronization data; S2: inquiring and obtaining statement data which is stored in a statement database and is matched with the synchronization data; and S3: adopting a preset data template to process the synchronization data, and adopting the processed synchronization data to replace the statement data obtained in the S3. The system comprises an order form storage unit, a statement storage unit, an acquisition unit, a first cache unit, a query unit and a processing unit. The technical scheme has the beneficial effects that the problem that the statement data and the order form data can not be synchronized due to the dynamic change of the order form data is avoided, and response speed and data accuracy between the statement data and the order form data are improved.

Description

A kind of order data synchronous method and system
Technical field
The present invention relates to data synchronization technology field, particularly relate to a kind of order data synchronous method and system.
Background technology
Usually due to the increase of order volume, the order data stored in order database also can get more and more, and the number of times upgraded can be more and more frequent. Particularly (such as it is in obligations state) when some orders are in situation about not yet completing, the order data being associated with this order is in the state of a dynamic change usually, this further increases and carries out synchronous degree of difficulty between order database with report database. Traditional data syn-chronization mode is adopted to carry out the synchronous operation of order data, it is more likely that to cause the omission problem of same step data for above-mentioned reasons, and the problem such as sync response is slower.
Summary of the invention
According to the above-mentioned problems in the prior art, the technical scheme of a kind of order data synchronous method and system is now provided, be intended to avoid the dynamic change due to order data to cause problem that form data cannot be synchronous with order data, promotes the response speed between form data and order data and data accuracy.
Technique scheme specifically comprises:
A kind of order data synchronous method, wherein, in an order database, preserve multiple order data, and in a report database, preserve multiple form data of corresponding described order data, also comprise:
Step S1, obtains the described order data through upgrading in described order database, and is stored in one first buffer memory using described order data as same step data;
Step S2, inquires about and obtains the described form data with described synchronous data match being kept in described report database;
Step S3, adopts the data template preset to be processed by described same step data, and adopts treated described same step data to replace in described step S2 the described form data obtained.
Preferably, this order data synchronous method, wherein, in described step S1, comprises through the described order data upgraded:
Described order data newly-increased in described order database; And/or
The described order data of change is there is in described order database.
Preferably, this order data synchronous method, wherein, in described step 1, according to the very first time interval that presets, periodically obtains the described order data through upgrading in described order database.
Preferably, this order data synchronous method, wherein, in described step S1, after obtaining the described order data through upgrading, produces the synchronous task of a corresponding same step data every time;
Then in described step S1, using described order data as before described same step data is stored in described first buffer memory, first performing following step:
Step S11, is stored in described order data in one the 2nd buffer memory, and described order data is verified:
If not by verification, then sending information, exiting subsequently;
Step S12, judges whether current described synchronous task the abnormal event preset occurs:
If occurring, then send information, exit subsequently;
If not occurring, then described order data is stored in described first buffer memory as described same step data, with step S2 described in rear steering.
Preferably, this order data synchronous method, wherein, described step S3 specifically comprises:
The described form data obtained in described step S2 are deleted by step S31 from described report database;
Step S32, adopts the described data template preset to be processed by described same step data;
Step S33, is saved in described report database using treated described same step data as described form data, to replace deleted described form data.
Preferably, this order data synchronous method, wherein, preset for one the 2nd timed interval;
In described step S32, adopt the described data template preset, the described same step data being stored in described 3rd buffer memory is processed, and treated described same step data is stored in one the 3rd buffer memory;
Then in described step S33, according to described 2nd timed interval, by the treated described synchronous data segment sync that is stored in described 3rd buffer memory to described report database.
A kind of order data synchronous system, wherein, comprising:
Order storage unit, preserves multiple order data;
Form storage unit, preserves multiple form data of corresponding described order data;
Acquiring unit, connects described order storage unit, for obtaining the described order data through upgrading in described order storage unit, and is stored in one first buffer memory unit using the described order data obtained as same step data;
Query unit, connects described first buffer memory unit and described form storage unit respectively, for inquiring about and obtain the described form data with described synchronous data match being kept in described form storage unit;
Processing unit, connects described query unit and described form storage unit respectively, for adopting default data template to be processed by described same step data, and adopts treated described same step data to replace the described form data being acquired.
Preferably, this order data synchronous system, wherein, comprises through the described order data upgraded:
Described order data newly-increased in described order storage unit; And/or
The described order data of change is there is in described order storage unit.
Preferably, this order data synchronous system, wherein, described acquiring unit comprises:
First timing module, is preset with a very first time interval;
Acquisition module, connects described first timing module, for according to described very first time interval, periodically obtaining the described order data through upgrading in described order storage unit.
Preferably, this order data synchronous system, wherein, each described acquiring unit obtains once after the described order data upgraded, and produces the synchronous task of a corresponding same step data;
Described acquiring unit comprises:
2nd cache module, connects described acquisition module, for the described order data that buffer memory is acquired;
Verification module, connects described 2nd cache module, for described order data is verified, and output verification result;
Control module, connect described verification module, for according to described check results, do not exit this order data synchronous process by during verification in described order data, or by during verification, described order data is preserved as described same step data in described first buffer memory unit in described order data;
Reminding module, connects described verification module, for according to described check results, not exporting corresponding information by during verification in described order data;
Judge module, connection control module, for judging whether current synchronous task the abnormal event preset occurs, and export judged result;
Described control module is also for according to described judged result, exit this order data synchronous process when described abnormal event occurs in current described synchronous task, or when described abnormal event does not occur in described synchronous task, described order data is preserved in described first buffer memory unit as described same step data.
Preferably, this order data synchronous system, wherein, described processing unit comprises:
Extraction module, for extracting described same step data from described first buffer memory unit; Removing module, connects described 2nd acquisition module, deletes from described form storage unit for the described form data that will be acquired;
Processing module, connects described 2nd acquisition module, for adopting default described data template to be processed by described same step data, and is stored in one the 3rd cache module by treated described same step data;
Replace module, connect described 3rd cache module, for being saved in described form storage unit using the described same step data of buffer memory as described form data, to replace deleted described form data.
Preferably, this order data synchronous system, wherein, described processing unit also comprises:
2nd timing module, connects described replacement module, is preset with for one the 2nd timed interval in described 2nd timing module;
Described replacement module was used for according to described 2nd timed interval, by the treated described synchronous data segment sync that is stored in described 3rd cache module to described form storage unit.
The useful effect of technique scheme is:
1) provide a kind of order data synchronous method, it is possible to avoid the dynamic change due to order data to cause problem that form data cannot be synchronous with order data, promote the response speed between form data and order data and data accuracy;
2) a kind of order data synchronous system is provided, it is possible to support to realize the above order method of data synchronization.
Accompanying drawing explanation
Fig. 1 is in the preferred embodiment of the present invention, the overall procedure schematic diagram of a kind of order data synchronous method;
Fig. 2-3 is in the preferred embodiment of the present invention, on the basis of Fig. 1, and the schematic flow sheet step by step of order data synchronous method;
Fig. 4 is in the preferred embodiment of the present invention, the overall structure schematic diagram of a kind of order data synchronous system;
Fig. 5-6 is in the preferred embodiment of the present invention, on the basis of Fig. 4, and the subdivision structural representation of order data synchronous system.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only the present invention's part embodiment, instead of whole embodiments. Based on the embodiment in the present invention, other embodiments all that those of ordinary skill in the art obtain under the prerequisite not making creative work, all belong to the scope of protection of the invention.
It should be noted that, when not conflicting, the embodiment in the present invention and the feature in embodiment can combine mutually.
Below in conjunction with the drawings and specific embodiments, the invention will be further described, but not as limiting to the invention.
In the preferred embodiment of the present invention, based on the above-mentioned problems in the prior art, a kind of order data synchronous method is now provided, in this synchronous method, pre-prior to an order database is preserved multiple order data, and in a report database, preserve multiple form data of corresponding order data.
Then as shown in Figure 1, the above order method of data synchronization specifically comprises:
Step S1, obtains the order data through upgrading in order database, and is stored in one first buffer memory using the order data obtained in step S2 as same step data;
Step S2, inquires about and obtains the form data with synchronous data match being kept in report database;
Step S3, adopts the data template preset to be processed by same step data, and adopts the form data obtained in treated same step data replacement step S2.
In a specific embodiment, first an order database is set, and a report database.
The above order database is preserved the order data being associated with different orders. In other words, often generate an order, just by comprising every order data be saved in the above order database.
Above-mentioned report database is preserved the form data corresponding to different order data. So-called form data are the data comprised in the form according to the formation of the above order data. In other words, the generation of the form data in report database all depends on corresponding order data in order database.
Then in this embodiment, judge subsequently and obtain the order data passed through in the above order database and upgrade. The so-called order data through upgrading, it is possible to be the order data newly increased in order database, it is also possible to the new order data formed after the order data preserved in order database is changed. In other words, these order data are likely associated with the order newly increased, it is also possible to be the result after the dynamic change of existing order.
In this embodiment, one first buffer memory is put into through the order data upgraded by what get, subsequently according to the order data being placed in the first buffer memory goes to inquire about whether there are the form data corresponding to this order data in above-mentioned report database, and obtain these form data.
May there is the ununified problem of form in the order data owing to being stored in different order databases, but the form of the form data being stored in report database must be unified, therefore before adopting the order data in above-mentioned first buffer memory to replace form data, first default data template is adopted these order data to be processed, to unify the form of order data, treated order data is adopted to replace the form data being queried in above-mentioned report database and get subsequently, to complete the synchronous operation of order data.
In the preferred embodiment of the present invention, in above-mentioned steps 1, according to the very first time interval that presets, in order database, periodically obtain the order data through upgrading. Specifically, the order data renewal rewards theory in order database may be very frequent, if immediately obtaining the order data through upgrading after each renewal rewards theory, then the number of times that acquisition operates equally can be very frequent, be unfavorable for the Appropriate application of system resource. Therefore, set a very first time interval, and according to this very first time interval, and adopt and regularly inquire about from the above order database and obtain the mode of the order data through renewal, it is possible to saving system resource.
In the preferred embodiment of the present invention, inquire about and obtain the mode through the order data upgraded and can have multiple, the content of such as, order data before recording, and whether the content comparing current order data is different from order data before, thus judge that whether order data is through upgrading; Or in the order data upgraded, add mark at each, when inquiring about, it is only necessary to obtain the order data being labeled.
In the preferred embodiment of the present invention, in above-mentioned steps S1, after obtaining the order data through upgrading, produce the synchronous task of a corresponding same step data every time;
Then still in above-mentioned steps S1, using order data as before same step data is stored in the first buffer memory, first performing following step as shown in Figure 2:
Step S11, is stored in order data in one the 2nd buffer memory, and order data is verified:
If not by verification, then sending information, exiting subsequently;
Step S12, judges whether current synchronous task the abnormal event preset occurs:
If occurring, then send information, exit subsequently;
If not occurring, then order data is stored in the first buffer memory as same step data, with rear steering step S2.
Specifically, in the preferred embodiment of the present invention, before order data is put into above-mentioned first buffer memory unit, first order data is verified. Before verifying, first the order data of renewal that has got before is put to one the 2nd buffer memory preservation, start checking procedure subsequently.
In the preferred embodiment of the present invention, the parameter of verification institute foundation can comprise the parameter of the time of being associated with, it is also possible to comprises the parameter being associated with data layout.
In the preferred embodiment of the present invention, carry out judging further according to the result obtained after above-mentioned verification:
If by verification, then continue to perform following step (namely continuing to perform step S12);
If by verification, then send not by verification information, exit subsequently.
Further, in the preferred embodiment of the present invention, if there is order data not by verification, then then manually verify, and start manual synchronous process. Owing to the above order method of data synchronization mainly emphasizes the process of operation automatically, therefore above describing " if not by verification, then send information, exit subsequently ". But in actual applications, still can as the subsequent step of correlation step in the above order method of data synchronization by the process of the artificial verification after verification and manual synchronization. Do not repeat them here.
In the preferred embodiment of the present invention, in above-mentioned steps S12, judge whether current synchronous task the abnormal event preset occurs, and export judged result. The so-called abnormal event preset, it is possible to comprise hereinafter described at least one:
1) synchronous task that the abnormal representations of events preset currently exists simultaneously is more than a default value. This default value can be the suitable numerical value set in advance such as 5 or 6. Then such as this default value is set to 5, then when the synchronous task currently simultaneously existed is more than 5, it is possible to think and create default abnormal event, and send information.
2) currently there is abnormal synchronous task in the abnormal representations of events preset. If the current synchronous task that there is exception then being detected, then send information.
Specifically, in the preferred embodiment of the present invention, the abnormal information monitoring service process of a synchronous task can be opened in system background, and it is used for regularly adding up the synchronous task performed whether existing and abnormal event occurring:
If existing, then system can notify user, namely sends corresponding information to user;
If not existing, then continue to judge that whether this synchronous task is as automatically carrying out, and at this synchronous task for automatically carrying out this synchronous task of Shi Chongqi. The object of this step is to avoid some synchronous task the locking state that unlimited automated cycle performs occur.
In the preferred embodiment of the present invention, system can use corresponding Distributed Application Program Coordination service equally, locks to the synchronous task performed, and detects the state locked. Once get corresponding lock, then the synchronous task representing corresponding occurs abnormal, and now system can be initiated before new synchronous task processes automatically not by synchronous order data.
3) the abnormal representations of events preset currently there is manual synchronous task and automatic synchronous task carries out simultaneously, then send information.
In the preferred embodiment of the present invention, if monitoring above-mentioned 1)-3) in any one abnormal event, then stop current synchronous task, and send corresponding information, to remind user to note.
In the preferred embodiment of the present invention, as noted before, in above-mentioned steps S12, if abnormal event occurs, then transfer to start manual synchronous process. Owing to the above order method of data synchronization mainly emphasizes the process of operation automatically, therefore above describing " if occurring, then send information, exit subsequently ". But in actual applications, occur that the manual synchronization process after abnormal event still can as the subsequent step of correlation step in the above order method of data synchronization. Do not repeat them here.
In the preferred embodiment of the present invention, as shown in Figure 3, above-mentioned steps S3 specifically comprises:
The form data obtained in step S2 are deleted by step S31 from report database;
Step S32, adopts the data template preset to be processed by same step data;
Step S33, is saved in report database using treated same step data as form data, to replace deleted form data.
Specifically, in the preferred embodiment of the present invention, the form data obtained according to the synchronous data query preserved in the first buffer memory are deleted from above-mentioned report database. Default data template is adopted to be processed by above-mentioned same step data subsequently. Be specifically as follows such as according to applicantsCode and merchCode of above-mentioned same step data now then data processing model above-mentioned same step data is processed, with the unified form with step data.
Finally, in the preferred embodiment of the present invention, treated same step data is preserved in above-mentioned report database, with the corresponding form data being deleted before substituting.
In the preferred embodiment of the present invention, preset for one the 2nd timed interval;
Then in above-mentioned steps S32, adopt the data template preset, the same step data being stored in the 3rd buffer memory is processed, and treated same step data is stored in one the 3rd buffer memory;
In above-mentioned steps S33, according to the 2nd timed interval, by the treated synchronous data segment sync that is stored in the 3rd buffer memory in report database.
Specifically, in the preferred embodiment of the present invention, first the synchronous data of preparation are saved in the 3rd buffer memory from above-mentioned first buffer memory, subsequently by the same step data in above-mentioned 3rd buffer memory, carrying out segment sync according to the 2nd default timed interval, this 2nd timed interval preset can in seconds, namely carry out synchronously according to the order data in every second time period, or can by minute in units of, namely carry out synchronously according to the order data in every minutes section. The mode of above-mentioned segment sync can the transfer pressure of mitigation system.
In sum, in technical solution of the present invention, first regularly obtain the order data through upgrading in order database, and as being saved in one first buffer memory with step data. Subsequently, according to being stored in the synchronous data search report database in the first buffer memory whether there are corresponding form data, and delete from report database and search the form data obtained, finally same step data is done the process of uniform format, and treated same step data is preserved in report database, to replace deleted form data, thus complete the synchronous operation of order data.
In the preferred embodiment of the present invention, based on above described order data synchronous method, a kind of order data synchronous system of existing offer, its structure is concrete as shown in Figure 4, comprising:
Order storage unit 1, preserves multiple order data;
Form storage unit 2, preserves multiple form data of corresponding order data;
Acquiring unit 3, connects order storage unit 1, for obtaining the order data through upgrading in order storage unit 1, and the order data of acquisition is stored in one first buffer memory unit 4;
Query unit 5, connects the first buffer memory unit 4 and form storage unit 2 respectively, for inquiring about and obtain the form data with synchronous data match being kept in form storage unit 2;
Processing unit 6, respectively Connection inquiring unit 5 and form storage unit 2, for adopting default data template to be processed by same step data, and adopt treated same step data to replace the form data being acquired.
In the preferred embodiment of the present invention, as noted before, can comprise through the order data upgraded:
Order data newly-increased in order storage unit; And/or
The order data of change is there is in order storage unit.
In the preferred embodiment of the present invention, as shown in Figure 5, above-mentioned acquiring unit 3 comprises:
First timing module 31, is preset with a very first time interval;
Acquisition module 32, connects the first timing module 31, for according to very first time interval, periodically obtaining the order data through upgrading in order storage unit 1.
In the preferred embodiment of the present invention, each acquiring unit 3 obtains once after the order data upgraded, and produces the synchronous task of a corresponding same step data;
Then as shown in Figure 5, above-mentioned acquiring unit 3 also comprises:
2nd cache module 33, connects acquisition module 32, for the order data that buffer memory is acquired;
Verification module 34, connects the 2nd cache module 33, for order data is verified, and output verification result;
Control module 35, connects verification module 34, for according to check results, not exiting this order data synchronous process by during verification in order data, or order data is preserved as same step data in the first buffer memory unit 4 by during verification in order data;
Reminding module 36, connects verification module 34, for according to check results, not exporting corresponding information by during verification in order data;
Judge module 37, connection control module 35, for judging whether current synchronous task the abnormal event preset occurs, and export judged result;
Control module 35 is also for according to judged result, exiting this order data synchronous process when abnormal event occurs in current synchronous task, or order data preserved in the first buffer memory unit as same step data when abnormal event does not occur in synchronous task.
In the preferred embodiment of the present invention, as shown in Figure 6, above-mentioned processing unit 6 comprises:
2nd acquisition module 61, for obtaining same step data from the first buffer memory unit 4;
Removing module 62, connects the 2nd acquisition module 61, deletes for the form data that will be acquired from form storage unit;
Processing module 63, connects the 2nd acquisition module 61, for adopting default data template to be processed by same step data, and is stored in by treated same step data in one the 3rd cache module 64;
Replace module 65, connect the 3rd cache module 64, for being saved in form storage unit 2 using the same step data of buffer memory as form data, to replace deleted form data.
In the preferred embodiment of the present invention, still as shown in Figure 6, above-mentioned processing unit 6 also comprises:
2nd timing module 66, connects and replaces module 65, and above-mentioned 2nd timing module 66 was preset with for one the 2nd timed interval;
Then above-mentioned replacement module 65 is also for according to the 2nd timed interval, by the treated synchronous data segment sync that is stored in the 3rd cache module 64 in form storage unit 2. .
The foregoing is only preferred embodiment of the present invention; not thereby embodiments of the present invention and protection domain is limited; to those skilled in the art; should recognize and all should be included in protection scope of the present invention the scheme that the equivalent replacement done by all utilizations specification sheets of the present invention and diagramatic content and apparent change obtain.

Claims (12)

1. an order data synchronous method, it is characterised in that, in an order database, preserve multiple order data, and in a report database, preserve multiple form data of corresponding described order data, also comprise:
Step S1, obtains the described order data through upgrading in described order database, and is stored in one first buffer memory using described order data as same step data;
Step S2, inquires about and obtains the described form data with described synchronous data match being kept in described report database;
Step S3, adopts the data template preset to be processed by described same step data, and adopts treated described same step data to replace in described step S2 the described form data obtained.
2. order data synchronous method as claimed in claim 1, it is characterised in that, in described step S1, comprise through the described order data upgraded:
Described order data newly-increased in described order database; And/or
The described order data of change is there is in described order database.
3. order data synchronous method as claimed in claim 1, it is characterised in that, in described step 1, according to the very first time interval that presets, in described order database, periodically obtain the described order data through upgrading.
4. order data synchronous method as claimed in claim 1, it is characterised in that, in described step S1, after obtaining the described order data through upgrading, produce the synchronous task of a corresponding same step data every time;
Then in described step S1, using described order data as before described same step data is stored in described first buffer memory, first performing following step:
Step S11, is stored in described order data in one the 2nd buffer memory, and described order data is verified:
If not by verification, then sending information, exiting subsequently;
Step S12, judges whether current described synchronous task the abnormal event preset occurs:
If occurring, then send information, exit subsequently;
If not occurring, then described order data is stored in described first buffer memory as described same step data, with step S2 described in rear steering.
5. order data synchronous method as claimed in claim 1, it is characterised in that, described step S3 specifically comprises:
The described form data obtained in described step S2 are deleted by step S31 from described report database;
Step S32, adopts the described data template preset to be processed by described same step data;
Step S33, is saved in described report database using treated described same step data as described form data, to replace deleted described form data.
6. order data synchronous method as claimed in claim 5, it is characterised in that, preset for one the 2nd timed interval; In described step S32, adopt the described data template preset, the described same step data being stored in described 3rd buffer memory is processed, and treated described same step data is stored in one the 3rd buffer memory;
Then in described step S33, according to described 2nd timed interval, by the treated described synchronous data segment sync that is stored in described 3rd buffer memory to described report database.
7. an order data synchronous system, it is characterised in that, comprising:
Order storage unit, preserves multiple order data;
Form storage unit, preserves multiple form data of corresponding described order data;
Acquiring unit, connects described order storage unit, for obtaining the described order data through upgrading in described order storage unit, and is stored in one first buffer memory unit using the described order data obtained as same step data;
Query unit, connects described first buffer memory unit and described form storage unit respectively, for inquiring about and obtain the described form data with described synchronous data match being kept in described form storage unit;
Processing unit, connects described query unit and described form storage unit respectively, for adopting default data template to be processed by described same step data, and adopts treated described same step data to replace the described form data being acquired.
8. order data synchronous system as claimed in claim 7, it is characterised in that, comprise through the described order data upgraded:
Described order data newly-increased in described order storage unit; And/or
The described order data of change is there is in described order storage unit.
9. order data synchronous system as claimed in claim 7, it is characterised in that, described acquiring unit comprises:
First timing module, is preset with a very first time interval;
Acquisition module, connects described first timing module, for according to described very first time interval, periodically obtaining the described order data through upgrading in described order storage unit.
10. order data synchronous system as claimed in claim 9, it is characterised in that, each described acquiring unit obtains once after the described order data upgraded, and produces the synchronous task of a corresponding same step data;
Described acquiring unit also comprises:
2nd cache module, connects described acquisition module, for the described order data that buffer memory is acquired;
Verification module, connects described 2nd cache module, for described order data is verified, and output verification result;
Control module, connect described verification module, for according to described check results, do not exit this order data synchronous process by during verification in described order data, or by during verification, described order data is preserved as described same step data in described first buffer memory unit in described order data;
Reminding module, connects described verification module, for according to described check results, not exporting corresponding information by during verification in described order data;
Judge module, connection control module, for judging whether current synchronous task the abnormal event preset occurs, and export judged result;
Described control module is also for according to described judged result, exit this order data synchronous process when described abnormal event occurs in current described synchronous task, or when described abnormal event does not occur in described synchronous task, described order data is preserved in described first buffer memory unit as described same step data.
11. order data synchronous systems as claimed in claim 7, it is characterised in that, described processing unit comprises:
Extraction module, for extracting described same step data from described first buffer memory unit; Removing module, connects described 2nd acquisition module, deletes from described form storage unit for the described form data that will be acquired;
Processing module, connects described 2nd acquisition module, for adopting default described data template to be processed by described same step data, and is stored in one the 3rd cache module by treated described same step data;
Replace module, connect described 3rd cache module, for being saved in described form storage unit using the described same step data of buffer memory as described form data, to replace deleted described form data.
12. order data synchronous systems as claimed in claim 11, it is characterised in that, described processing unit also comprises:
2nd timing module, connects described replacement module, is preset with for one the 2nd timed interval in described 2nd timing module;
Described replacement module was used for according to described 2nd timed interval, by the treated described synchronous data segment sync that is stored in described 3rd cache module to described form storage unit.
CN201511004763.4A 2015-12-28 2015-12-28 order data synchronization method and system Active CN105653653B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511004763.4A CN105653653B (en) 2015-12-28 2015-12-28 order data synchronization method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511004763.4A CN105653653B (en) 2015-12-28 2015-12-28 order data synchronization method and system

Publications (2)

Publication Number Publication Date
CN105653653A true CN105653653A (en) 2016-06-08
CN105653653B CN105653653B (en) 2019-12-06

Family

ID=56477101

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511004763.4A Active CN105653653B (en) 2015-12-28 2015-12-28 order data synchronization method and system

Country Status (1)

Country Link
CN (1) CN105653653B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106484806A (en) * 2016-09-22 2017-03-08 广州唯品会信息科技有限公司 Link up the method and device of data
CN106846030A (en) * 2016-07-27 2017-06-13 宁波圆形网络科技有限公司 A kind of commodity prize drawing runtime and method
CN108536798A (en) * 2018-04-02 2018-09-14 携程旅游网络技术(上海)有限公司 The restoration methods and system of the other database data of order level
WO2019076001A1 (en) * 2017-10-18 2019-04-25 北京京东尚科信息技术有限公司 Information updating method and device
CN110046948A (en) * 2018-01-16 2019-07-23 北京京东尚科信息技术有限公司 Order processing method, system, electronic equipment and computer-readable medium
CN110119426A (en) * 2019-03-27 2019-08-13 携程计算机技术(上海)有限公司 The synchronous method and system of hotel's order report data
CN112307060A (en) * 2019-08-01 2021-02-02 北京京东振世信息技术有限公司 Method and device for processing picking task
CN113779138A (en) * 2021-02-04 2021-12-10 北京京东振世信息技术有限公司 Order management method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5684984A (en) * 1994-09-29 1997-11-04 Apple Computer, Inc. Synchronization and replication of object databases
CN101393526A (en) * 2008-10-16 2009-03-25 宁波玺玛克智能科技有限公司 Data synchronization method capable of implementing programmable data conversion and file conversion function
CN101833580A (en) * 2010-05-12 2010-09-15 中兴通讯股份有限公司 Report inquiring system and data acquisition method and device thereof
CN102542007A (en) * 2011-12-13 2012-07-04 中国电子科技集团公司第十五研究所 Method and system for synchronization of relational databases
CN103678686A (en) * 2013-12-26 2014-03-26 金蝶软件(中国)有限公司 Financial statement query method, system and server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5684984A (en) * 1994-09-29 1997-11-04 Apple Computer, Inc. Synchronization and replication of object databases
CN101393526A (en) * 2008-10-16 2009-03-25 宁波玺玛克智能科技有限公司 Data synchronization method capable of implementing programmable data conversion and file conversion function
CN101833580A (en) * 2010-05-12 2010-09-15 中兴通讯股份有限公司 Report inquiring system and data acquisition method and device thereof
CN102542007A (en) * 2011-12-13 2012-07-04 中国电子科技集团公司第十五研究所 Method and system for synchronization of relational databases
CN103678686A (en) * 2013-12-26 2014-03-26 金蝶软件(中国)有限公司 Financial statement query method, system and server

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106846030A (en) * 2016-07-27 2017-06-13 宁波圆形网络科技有限公司 A kind of commodity prize drawing runtime and method
CN106484806A (en) * 2016-09-22 2017-03-08 广州唯品会信息科技有限公司 Link up the method and device of data
WO2019076001A1 (en) * 2017-10-18 2019-04-25 北京京东尚科信息技术有限公司 Information updating method and device
CN110046948A (en) * 2018-01-16 2019-07-23 北京京东尚科信息技术有限公司 Order processing method, system, electronic equipment and computer-readable medium
CN108536798A (en) * 2018-04-02 2018-09-14 携程旅游网络技术(上海)有限公司 The restoration methods and system of the other database data of order level
CN110119426A (en) * 2019-03-27 2019-08-13 携程计算机技术(上海)有限公司 The synchronous method and system of hotel's order report data
CN112307060A (en) * 2019-08-01 2021-02-02 北京京东振世信息技术有限公司 Method and device for processing picking task
CN112307060B (en) * 2019-08-01 2024-04-23 北京京东振世信息技术有限公司 Method and device for processing picking task
CN113779138A (en) * 2021-02-04 2021-12-10 北京京东振世信息技术有限公司 Order management method and device

Also Published As

Publication number Publication date
CN105653653B (en) 2019-12-06

Similar Documents

Publication Publication Date Title
CN105653653A (en) Order form data synchronization method and system
CN108536752B (en) Data synchronization method, device and equipment
CN103699580A (en) Database synchronization method and database synchronization device
CN104702784B (en) A kind of detection method and system of the hot plug of mobile terminal plurality of SIM cards
CN103237075B (en) A kind of method of data synchronization, Apparatus and system
US20160012150A1 (en) System and method for main distribution network graph/model/data integration based on remote access and information interaction
CN104601366B (en) It is a kind of control, service node configuration service method and device
CN105589797A (en) Method for synchronous data time delay detection between master database and slave database
CN108965383B (en) File synchronization method and device, computer equipment and storage medium
CN107453953B (en) Httpclient-based data updating system and method
CN108459951B (en) Test method and device
CN107231400B (en) Data synchronization method and device
CN110647531A (en) Data synchronization method, device, equipment and computer readable storage medium
US20150227577A1 (en) Method and device for guaranteeing consistency of planning data
CN101866167A (en) Control method and system of EBS (Electronic Brake System) assembly production line
CN104778078A (en) Content management system and information content issuing method
CN105760485A (en) Financial data extraction method and system
CN106055703B (en) Log real-time analysis method and system
CN109491679B (en) CPLD online upgrading method and device
CN104034492B (en) Hydraulic pressure test curve and parameter processing method
CN107463623B (en) Dynamic query method for historical item database of transformer substation
CN103092745B (en) The control method of system journal record and device
CN103971189B (en) A kind of method and apparatus of multimode management
CN103257964A (en) Asynchronous exporting method of mass data
CN103530230A (en) Automatic generation method and automatic generation system of report

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: An order data synchronization method and system

Effective date of registration: 20210926

Granted publication date: 20191206

Pledgee: Bank of Communications Ltd. Shanghai Xuhui sub branch

Pledgor: SHANGHAI HANDPAL INFORMATION TECHNOLOGY SERVICE Co.,Ltd.

Registration number: Y2021310000079