CN105069161A - Data interaction method and data interaction device - Google Patents

Data interaction method and data interaction device Download PDF

Info

Publication number
CN105069161A
CN105069161A CN201510531095.4A CN201510531095A CN105069161A CN 105069161 A CN105069161 A CN 105069161A CN 201510531095 A CN201510531095 A CN 201510531095A CN 105069161 A CN105069161 A CN 105069161A
Authority
CN
China
Prior art keywords
information
data
target data
difference
major key
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510531095.4A
Other languages
Chinese (zh)
Inventor
王乐
左立峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Software Co Ltd
Original Assignee
Inspur Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Software Co Ltd filed Critical Inspur Software Co Ltd
Priority to CN201510531095.4A priority Critical patent/CN105069161A/en
Publication of CN105069161A publication Critical patent/CN105069161A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques

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)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a data interaction method and a data interaction device. The method comprises the following steps of: 1, obtaining target data from a source end; 2, obtaining first information of each piece of target data; 3, sending the target data to a target end; 4, obtaining second information of each piece of receiving data received by the target end; 5, matching all of the second information with the first information; judging whether each piece of first information has the matched second information or not; if so, ending the current flow process; and if not, executing the step 6; and 6, determining differential first information which does not have the matched second information in all of the first information; determining differential target data corresponding to the differential first information; obtaining the differential target data; and using the differential target data as the target data to return to the step 2. The data interaction method and the data interaction device provided by the invention have the advantage that the consistency of the target data sent from the source end and the data received from the target end can be ensured.

Description

A kind of method of data interaction and device
Technical field
The present invention relates to field of computer technology, the method for particularly a kind of data interaction and device.
Background technology
Carry out across data center business cooperation with handle in process, data need to exchange in the database of different local data center, for example, in education sector, the electronics student status of students in middle and primary schools is deposited and manages in units of economizing, and establishes the mechanism of business handling of transfeing to another school between each provincial data center transprovincially.
In existing method for interchanging data, directly set up data cube computation between the database needing to carry out exchanges data, the data in source database are sent in target database.But, because basic environment is unstable, time source disunity and operate the factors such as lack of standardization, may cause will sending in source database the target data of target database not can completely be stored in target database, or the target data that will send in source database is variant with the data be stored in target database.In a word, in the data interactive method of prior art, the consistance of the data received in the data that send in source database and target database cannot be ensured.
Summary of the invention
In view of this, the invention provides a kind of method and device of data interaction, the data consistent received in the target data that sends in source and destination end can be ensured.
On the one hand, the invention provides a kind of method of data interaction, comprising:
S1: obtain target data from source;
S2: the first information obtaining every objective data;
S3: described target data is sent to destination end;
S4: the second information obtaining every bar reception data that described destination end receives;
S5: all second information mated with all first information, judges whether each first information all has the second information matched, and if so, then terminates current process, otherwise, perform step S6;
S6: the difference first information determining the second information do not matched in all first information, determine the difference target data that the difference first information is corresponding, obtain described difference target data, using described difference target data as described target data, return described step S2.
Further, the first information of described target data comprises: the major key of described target data; Second information of described reception data comprises: the major key of described reception data.
Further, in described S5, describedly judge whether each first information all has the second information matched, and comprising:
Judge whether the major key of each target data all has the major key of identical reception data, if, then determine that each first information all has the second information matched, otherwise, determine the difference first information that there is the second information do not matched in all first information;
The described difference first information comprises: difference major key;
In described S6, the described difference first information determining the second information do not matched in all first information, determine to comprise the difference target data that the difference first information is corresponding:
Determine the difference major key of the major key not having identical reception data in the major key of described target data, determine the difference target data that difference major key is corresponding.
Further, also comprise: pre-set trigger;
Described S1, comprising: when the data in source change, and triggers described trigger and obtains the delta data changed, using described delta data as target data.
Further, also comprise: between described source and described destination end, setting data exchanges front end processor;
Described S3, comprising: described target data is sent to described exchanges data front end processor, by described exchanges data front end processor, described target data is sent to described destination end.
Further, described S3, comprising: described target data packed, and the target data after packing is sent to described destination end.
Further, the method also comprises: pre-set checklist;
Also comprise: all first information and/or all second information are stored in described checklist.
Further, described S1, comprising:
According to timestamp and the default acquisition cycle of bar data every in described source, periodically obtain the target data in acquisition time section from described source, described acquisition time section be obtained target data last time time to the time that this obtains target data between time period.
On the other hand, the invention provides a kind of device of data interaction, comprising:
First acquiring unit, for obtaining target data from source;
Second acquisition unit, for obtaining the first information of every objective data;
Transmitting element, for sending to destination end by described target data;
3rd acquiring unit, the every bar received for obtaining described destination end receives the second information of data;
Matching unit, for all second information being mated with all first information, judging whether each first information all has the second information matched, if so, then completing this data interaction, otherwise, notice determining unit;
Described determining unit, for determining the difference first information of the second information do not matched in all first information, determine the difference target data that the difference first information is corresponding, obtain described difference target data, using described difference target data as described target data, notify described second acquisition unit.
Further, the first information of described target data comprises: the major key of described target data; Second information of described reception data comprises: the major key of described reception data.
Further, described matching unit, perform described judge whether each first information all has the second information matched time, specifically perform:
Judge whether the major key of each target data all has the major key of identical reception data, if, then determine that each first information all has the second information matched, otherwise, determine the difference first information that there is the second information do not matched in all first information;
The described difference first information comprises: difference major key;
Described determining unit, at the described difference first information determining the second information do not matched in all first information of execution, when determining difference target data corresponding to the difference first information, specifically performs:
Determine the difference major key of the major key not having identical reception data in the major key of described target data, determine the difference target data that difference major key is corresponding.
Further, described first acquiring unit, comprising: trigger;
Described first acquiring unit, for when the data in source change, triggers described trigger and obtains the delta data changed, using described delta data as target data.
Further, described transmitting element, comprising: be arranged on the exchanges data front end processor between described source and described destination end;
Described transmitting element, for described target data is sent to described exchanges data front end processor, sends to described destination end by described exchanges data front end processor by described target data.
Further, described transmitting element, for described target data being packed, sends to described destination end by the target data after packing.
Further, also comprise: storage unit, in the checklist that pre-sets described in all first information and/or all second information are stored into.
Further, described first acquiring unit, for according to bar data every in described source timestamp and preset the acquisition cycle, periodically obtain the target data in acquisition time section from described source, described acquisition time section be obtained target data last time time to the time that this obtains target data between time period.
The method of a kind of data interaction provided by the invention and device, target data in acquisition source and the first information of target data, obtain the second information of the reception data that destination end receives, by the first information and the second information are mated, determine that whether target data is consistent with reception data, if consistent, then this exchanges data completes, if inconsistent, then need again to obtain inconsistent difference target data, the reception data referred to are consistent with target data, and then the data consistent received in the target data that sends and destination end in guarantee source.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the process flow diagram of the method for a kind of data interaction that one embodiment of the invention provides;
Fig. 2 is the process flow diagram of the method for the another kind of data interaction that one embodiment of the invention provides;
Fig. 3 is the schematic diagram of the device of a kind of data interaction that one embodiment of the invention provides;
Fig. 4 is the schematic diagram of the device of the another kind of data interaction that one embodiment of the invention provides.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly; below in conjunction with the accompanying drawing in the embodiment of the present invention; technical scheme in the embodiment of the present invention is clearly and completely described; obviously; described embodiment is the present invention's part embodiment, instead of whole embodiments, based on the embodiment in the present invention; the every other embodiment that those of ordinary skill in the art obtain under the prerequisite not making creative work, all belongs to the scope of protection of the invention.
As shown in Figure 1, embodiments provide a kind of method of data interaction, the method can comprise the following steps:
S1: obtain target data from source;
S2: the first information obtaining every objective data;
S3: described target data is sent to destination end;
S4: the second information obtaining every bar reception data that described destination end receives;
S5: all second information mated with all first information, judges whether each first information all has the second information matched, and if so, then terminates current process, otherwise, perform step S6;
S6: the difference first information determining the second information do not matched in all first information, determine the difference target data that the difference first information is corresponding, obtain described difference target data, using described difference target data as described target data, return described step S2.
The method of a kind of data interaction that the embodiment of the present invention provides, target data in acquisition source and the first information of target data, obtain the second information of the reception data that destination end receives, by the first information and the second information are mated, determine that whether target data is consistent with reception data, if consistent, then this exchanges data completes, if inconsistent, then need again to obtain inconsistent difference target data, the reception data referred to are consistent with target data, and then the data consistent received in the target data that sends and destination end in guarantee source.
The all corresponding major key of every bar data in tables of data, can identify every bar data by major key, therefore, and can using the major key of data as the first information and the second information.In a kind of possible implementation, the first information of described target data comprises: the major key of described target data; Second information of described reception data comprises: the major key of described reception data.
When using the major key of data as the first information and the second information time, by comparing, whether major key identical can determine whether the first information mates with the second information.Particularly, in described S5, describedly judge whether each first information all has the second information matched, and comprising:
Judge whether the major key of each target data all has the major key of identical reception data, if, then determine that each first information all has the second information matched, otherwise, determine the difference first information that there is the second information do not matched in all first information;
The described difference first information comprises: difference major key;
In described S6, the described difference first information determining the second information do not matched in all first information, determine to comprise the difference target data that the difference first information is corresponding:
Determine the difference major key of the major key not having identical reception data in the major key of described target data, determine the difference target data that difference major key is corresponding.
May be modified in the data of source, deletion etc., there occurs data variation, in order in time the data changed are transferred to destination end, can arrange trigger, when data change, trigger flip-flops obtains delta data.Particularly, in this implementation, the method also comprises: pre-set trigger;
Described S1, comprising: when the data in source change, and described trigger obtains the delta data changed, using described delta data as target data.Wherein, trigger can be the igniter module in source database.
If source and destination end are two databases respectively, if source and destination end are directly carried out alternately, destination end and source can be caused to be directly exposed in network, make source and destination end more dangerous, data wherein are easily destroyed, source and destination end more unstable, in order to ensure the safety of data in source and destination end and stable, the method, also comprises: between described source and described destination end, setting data exchanges front end processor;
Described S3, comprising: described target data is sent to described exchanges data front end processor, by described exchanges data front end processor, described target data is sent to described destination end.
Come for source and data terminal transmit data by exchanges data front end processor, source and destination end, without the need to providing data-interface for outside, only need be carried out alternately with exchanges data front end processor, ensure that the safety of source and destination end and stablize.
In addition, in order to ensure the safety of data in transmitting procedure, can by data packing transmission.Described S3, comprising: described target data packed, and the target data after packing is sent to described destination end.Further, the data of packing are encrypted transmission, or digital signature and third-party authentication are carried out to packing data.In addition, the difference target data of acquisition can be packed according to the rule identical with target data, but adopt different names, to distinguish difference target data and target data, other process are identical with target data.
In order to the first information of acquisition, the second information be saved, can arrange a checklist, the method also comprises: pre-set checklist;
Also comprise: all first information and/or all second information are stored in described checklist.
Data in source may constantly change, and as required the data changed in source can be sent to destination end.When determining that in source, which data changes, can be determined by the timestamp that every bar data are corresponding, this timestamp have recorded the last more new state of corresponding data.Described S1, comprise: according to timestamp and the default acquisition cycle of bar data every in described source, periodically obtain the target data in acquisition time section from described source, described acquisition time section be obtained target data last time time to the time that this obtains target data between time period.
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with drawings and the specific embodiments, the present invention is described in further detail.
Source is database A, and destination end is database B.The data C in database A and data D is needed to send to database B.The major key that data C is corresponding is the major key that major key C, data D are corresponding is major key D.
As shown in Figure 2, embodiments provide a kind of method of data interaction, the method can comprise the following steps:
Step 201: pre-set checklist.
Step 202: obtain data C and data D from database A.
In addition, all right: to pre-set trigger;
Tentation data E has been sent to database B, when the data E in database A changes, triggers described trigger and obtains the delta data E changed, described delta data E is sent to database B as target data.
Step 203: the major key C obtaining data C, obtains the major key D of data D.
Step 204: the major key C of data C and the major key D of data D is stored in described checklist.
Step 205: data C and data D is sent to database B.
Step 206: the major key C obtaining the data C that database B receives.
Due to data C and data D being transferred in the process of database B, may break down, causing database B just to have received data C.
Step 207: according to checklist, the major key of the data C that the major key of the data received by database B and database A send and data D is compared, and determines that the major key D of data D does not have corresponding major key.
Because database B does not receive data D, therefore, major key not corresponding with data D in data is being received.
Step 208: determine to obtain data D by the data D that major key D is corresponding from database A.
Because data D does not have transmission success, therefore need again to transmit.
Step 209: the major key D obtaining data D.
Step 210: major key D is saved in checklist.
Step 211: data D is sent to database B.
Step 212: the major key D obtaining the data D that database B receives.
Step 213: according to checklist, the major key of the data D that the major key of the data received by database B and database A send is compared, and determines that the major key of the data that database B receives is identical with the major key of the data D that database A sends, and terminates current process.
By the transmission again to data D, data C and data D is successfully transferred in database B, ensure that the consistance that data are transmitted, reduce the Loss Rate of data transmission.This secondary data is transmitted, and can carry out the data transmission of next round, such as: according to the cycle, periodically from database A, obtain data.
Wherein, data C and data D can be the student's table be stored in database A, and the checklist in this embodiment can be that student shows checklist, and the data in student's table can be business datums of transfeing to another school, database A is the database of province A, and database B is the database of province B.Realize by the method the business datum of transfeing to another school economized in A to transmit to province B, business work efficiency of transfeing to another school can be improved transprovincially.
In addition, between database A and database B, setting data front end processor can be exchanged.Between database A and exchanges data front end processor, can using database A as source, using exchanges data front end processor as destination end, if the data obtained in database A packing is sent to exchanges data front end processor, then can using the data before packing as target data, using the data after packing as reception data, ensure that data are not lost after packing.Between exchanges data front end processor and database B, can using exchanges data front end processor as source, using database B as destination end, the data sent by exchanges data front end processor are as target data, and the data received by database B are as reception data.
Further, the timestamp of every bar data can also be stored in checklist, be determined the more new state of current data by the timestamp of every bar data.When the data that same major key is corresponding are repeatedly revised, only record last more new state at checklist, can ensure that checklist data volume and source are consistent like this, simultaneously as the shadow table of source, for verification of data provides comparison condition.Due in prior art, each data modification all can a corresponding record, only records last more new state here, can reduce the maintenance costs such as the backup cleaning of the his-and-hers watches that record data stream water causes.Source can be arrived by the timestamp in checklist and search data in certain hour, find and abnormal data occur.
The method of a kind of data interaction that the embodiment of the present invention provides, can be applied to various different database platform.When setting up checklist, automatically checklist can be set up as required.
As shown in Figure 3, Figure 4, a kind of device of data interaction is embodiments provided.Device embodiment can pass through software simulating, also can be realized by the mode of hardware or software and hardware combining.Say from hardware view; as shown in Figure 3; a kind of hardware structure diagram of the device place equipment of a kind of data interaction provided for the embodiment of the present invention; except the processor shown in Fig. 3, internal memory, network interface and nonvolatile memory; in embodiment, the equipment at device place can also comprise other hardware usually, as the forwarding chip etc. of responsible process message.For software simulating, as shown in Figure 4, as the device on a logical meaning, be by the CPU of its place equipment, computer program instructions corresponding in nonvolatile memory is read operation in internal memory to be formed.The device of a kind of data interaction that the present embodiment provides, comprising:
First acquiring unit 401, for obtaining target data from source;
Second acquisition unit 402, for obtaining the first information of every objective data;
Transmitting element 403, for sending to destination end by described target data;
3rd acquiring unit 404, the every bar received for obtaining described destination end receives the second information of data;
Matching unit 405, for all second information being mated with all first information, judging whether each first information all has the second information matched, if so, then completing this data interaction, otherwise, notice determining unit 406;
Described determining unit 406, for determining the difference first information of the second information do not matched in all first information, determine the difference target data that the difference first information is corresponding, obtain described difference target data, using described difference target data as described target data, notify described second acquisition unit 402.
In a kind of possible implementation, the first information of described target data comprises: the major key of described target data; Second information of described reception data comprises: the major key of described reception data.
Described matching unit 405, perform described judge whether each first information all has the second information matched time, specifically perform:
Judge whether the major key of each target data all has the major key of identical reception data, if, then determine that each first information all has the second information matched, otherwise, determine the difference first information that there is the second information do not matched in all first information;
The described difference first information comprises: difference major key;
Described determining unit 406, at the described difference first information determining the second information do not matched in all first information of execution, when determining difference target data corresponding to the difference first information, specifically performs:
Determine the difference major key of the major key not having identical reception data in the major key of described target data, determine the difference target data that difference major key is corresponding.
In a kind of possible implementation, described first acquiring unit 401, comprising: trigger;
Described first acquiring unit, for when the data in source change, triggers described trigger and obtains the delta data changed, using described delta data as target data.
In a kind of possible implementation, described transmitting element 403, comprising: be arranged on the exchanges data front end processor between described source and described destination end;
Described transmitting element 403, for described target data is sent to described exchanges data front end processor, sends to described destination end by described exchanges data front end processor by described target data;
In a kind of possible implementation, described transmitting element, for described target data being packed, sends to described destination end by the target data after packing;
In a kind of possible implementation, this device also comprises: storage unit, in the checklist that pre-sets described in all first information and/or all second information being stored into.
In a kind of possible implementation, described first acquiring unit 401, for according to bar data every in described source timestamp and preset the acquisition cycle, periodically obtain the target data in acquisition time section from described source, described acquisition time section be obtained target data last time time to the time that this obtains target data between time period.
The content such as information interaction, implementation between each unit in said apparatus, due to the inventive method embodiment based on same design, particular content can see in the inventive method embodiment describe, repeat no more herein.
The method of a kind of data interaction that the embodiment of the present invention provides and device, have following beneficial effect:
1, the method of a kind of data interaction that the embodiment of the present invention provides and device, target data in acquisition source and the first information of target data, obtain the second information of the reception data that destination end receives, by the first information and the second information are mated, determine that whether target data is consistent with reception data, if consistent, then this exchanges data completes, if inconsistent, then need again to obtain inconsistent difference target data, the reception data referred to are consistent with target data, and then the data consistent received in the target data sent in guarantee source and destination end.
2, a kind of method of data interaction that provides of the embodiment of the present invention and device, obtains by arranging trigger the data that source changes in time, and then in time the data changed is transferred to destination end.
3, a kind of method of data interaction that provides of the embodiment of the present invention and device, exchanging front end processor by setting data comes for source and data terminal transmit data, source and destination end are without the need to providing data-interface for outside, only need carry out alternately with exchanges data front end processor, ensure that the safety of source and destination end and stablize.
It should be noted that, in this article, the relational terms of such as first and second and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element " being comprised a 〃 〃 〃 〃 〃 〃 " limited by statement, and be not precluded within process, method, article or the equipment comprising described key element and also there is other same factor.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that programmed instruction is relevant, aforesaid program can be stored in the storage medium of embodied on computer readable, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium in.
Finally it should be noted that: the foregoing is only preferred embodiment of the present invention, only for illustration of technical scheme of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.

Claims (10)

1. a method for data interaction, is characterized in that, comprising:
S1: obtain target data from source;
S2: the first information obtaining every objective data;
S3: described target data is sent to destination end;
S4: the second information obtaining every bar reception data that described destination end receives;
S5: all second information mated with all first information, judges whether each first information all has the second information matched, and if so, then terminates current process, otherwise, perform step S6;
S6: the difference first information determining the second information do not matched in all first information, determine the difference target data that the difference first information is corresponding, obtain described difference target data, using described difference target data as described target data, return described step S2.
2. method according to claim 1, is characterized in that, the first information of described target data comprises: the major key of described target data; Second information of described reception data comprises: the major key of described reception data.
3. method according to claim 2, is characterized in that, in described S5, describedly judges whether each first information all has the second information matched, and comprising:
Judge whether the major key of each target data all has the major key of identical reception data, if, then determine that each first information all has the second information matched, otherwise, determine the difference first information that there is the second information do not matched in all first information;
The described difference first information comprises: difference major key;
In described S6, the described difference first information determining the second information do not matched in all first information, determine to comprise the difference target data that the difference first information is corresponding:
Determine the difference major key of the major key not having identical reception data in the major key of described target data, determine the difference target data that difference major key is corresponding.
4. method according to claim 1, is characterized in that, also comprises: pre-set trigger;
Described S1, comprising: when the data in source change, and triggers described trigger and obtains the delta data changed, using described delta data as target data.
5. method according to claim 1, is characterized in that, also comprises: between described source and described destination end, setting data exchanges front end processor;
Described S3, comprising: described target data is sent to described exchanges data front end processor, by described exchanges data front end processor, described target data is sent to described destination end;
And/or described S3, comprising: described target data packed, the target data after packing is sent to described destination end;
And/or the method also comprises: pre-set checklist;
Also comprise: all first information and/or all second information are stored in described checklist;
And/or described S1, comprising:
According to timestamp and the default acquisition cycle of bar data every in described source, periodically obtain the target data in acquisition time section from described source, described acquisition time section be obtained target data last time time to the time that this obtains target data between time period.
6. a device for data interaction, is characterized in that, comprising:
First acquiring unit, for obtaining target data from source;
Second acquisition unit, for obtaining the first information of every objective data;
Transmitting element, for sending to destination end by described target data;
3rd acquiring unit, the every bar received for obtaining described destination end receives the second information of data;
Matching unit, for all second information being mated with all first information, judging whether each first information all has the second information matched, if so, then completing this data interaction, otherwise, notice determining unit;
Described determining unit, for determining the difference first information of the second information do not matched in all first information, determine the difference target data that the difference first information is corresponding, obtain described difference target data, using described difference target data as described target data, notify described second acquisition unit.
7. device according to claim 6, is characterized in that, the first information of described target data comprises: the major key of described target data; Second information of described reception data comprises: the major key of described reception data.
8. device according to claim 7, is characterized in that, described matching unit, perform described judge whether each first information all has the second information matched time, specifically perform:
Judge whether the major key of each target data all has the major key of identical reception data, if, then determine that each first information all has the second information matched, otherwise, determine the difference first information that there is the second information do not matched in all first information;
The described difference first information comprises: difference major key;
Described determining unit, at the described difference first information determining the second information do not matched in all first information of execution, when determining difference target data corresponding to the difference first information, specifically performs:
Determine the difference major key of the major key not having identical reception data in the major key of described target data, determine the difference target data that difference major key is corresponding.
9. device according to claim 6, is characterized in that, described first acquiring unit, comprising: trigger;
Described first acquiring unit, for when the data in source change, triggers described trigger and obtains the delta data changed, using described delta data as target data.
10. device according to claim 6, is characterized in that, described transmitting element, comprising: be arranged on the exchanges data front end processor between described source and described destination end;
Described transmitting element, for described target data is sent to described exchanges data front end processor, sends to described destination end by described exchanges data front end processor by described target data;
And/or described transmitting element, for described target data being packed, sends to described destination end by the target data after packing;
And/or, also comprise: storage unit, in the checklist that pre-sets described in all first information and/or all second information are stored into;
And/or, described first acquiring unit, for according to bar data every in described source timestamp and preset the acquisition cycle, periodically obtain the target data in acquisition time section from described source, described acquisition time section be obtained target data last time time to the time that this obtains target data between time period.
CN201510531095.4A 2015-08-26 2015-08-26 Data interaction method and data interaction device Pending CN105069161A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510531095.4A CN105069161A (en) 2015-08-26 2015-08-26 Data interaction method and data interaction device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510531095.4A CN105069161A (en) 2015-08-26 2015-08-26 Data interaction method and data interaction device

Publications (1)

Publication Number Publication Date
CN105069161A true CN105069161A (en) 2015-11-18

Family

ID=54498530

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510531095.4A Pending CN105069161A (en) 2015-08-26 2015-08-26 Data interaction method and data interaction device

Country Status (1)

Country Link
CN (1) CN105069161A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108153784A (en) * 2016-12-06 2018-06-12 北京京东尚科信息技术有限公司 Synchrodata treating method and apparatus
CN109271454A (en) * 2018-10-26 2019-01-25 金蝶软件(中国)有限公司 A kind of method and the network equipment that data are synchronous
CN110019504A (en) * 2017-09-13 2019-07-16 北京国双科技有限公司 Method of data synchronization and device
CN112578351A (en) * 2020-02-28 2021-03-30 加特兰微电子科技(上海)有限公司 Target matching method, integrated circuit, radio device and apparatus

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1816039A (en) * 2005-02-01 2006-08-09 华为技术有限公司 Method for checking data coherence and data synchronization, and distribution type system
CN1852137A (en) * 2005-07-20 2006-10-25 华为技术有限公司 Method for realizing synchronization of client end data and server end data
US20070194882A1 (en) * 2004-03-10 2007-08-23 Koninklijke Philips Electonics N.V. Authentication system and authentication apparatus
CN101404657A (en) * 2008-10-30 2009-04-08 广州慧扬科技投资有限公司 File integrality checking method for network storage system based on iSCSI protocol
CN101945002A (en) * 2009-07-03 2011-01-12 中兴通讯股份有限公司 Method and equipment for quickly comparing data of main board with data of standby board
WO2013100553A1 (en) * 2011-12-29 2013-07-04 주식회사 안랩 Server, client, and method for verifying data integrity in p2p-based network
CN103258016A (en) * 2013-04-24 2013-08-21 山东中创软件工程股份有限公司 Method and system for data transmission

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070194882A1 (en) * 2004-03-10 2007-08-23 Koninklijke Philips Electonics N.V. Authentication system and authentication apparatus
CN1816039A (en) * 2005-02-01 2006-08-09 华为技术有限公司 Method for checking data coherence and data synchronization, and distribution type system
CN1852137A (en) * 2005-07-20 2006-10-25 华为技术有限公司 Method for realizing synchronization of client end data and server end data
CN101404657A (en) * 2008-10-30 2009-04-08 广州慧扬科技投资有限公司 File integrality checking method for network storage system based on iSCSI protocol
CN101945002A (en) * 2009-07-03 2011-01-12 中兴通讯股份有限公司 Method and equipment for quickly comparing data of main board with data of standby board
WO2013100553A1 (en) * 2011-12-29 2013-07-04 주식회사 안랩 Server, client, and method for verifying data integrity in p2p-based network
CN103258016A (en) * 2013-04-24 2013-08-21 山东中创软件工程股份有限公司 Method and system for data transmission

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108153784A (en) * 2016-12-06 2018-06-12 北京京东尚科信息技术有限公司 Synchrodata treating method and apparatus
CN110019504A (en) * 2017-09-13 2019-07-16 北京国双科技有限公司 Method of data synchronization and device
CN110019504B (en) * 2017-09-13 2021-01-22 北京国双科技有限公司 Data synchronization method and device
CN109271454A (en) * 2018-10-26 2019-01-25 金蝶软件(中国)有限公司 A kind of method and the network equipment that data are synchronous
CN109271454B (en) * 2018-10-26 2021-02-02 金蝶软件(中国)有限公司 Data synchronization method and network equipment
CN112578351A (en) * 2020-02-28 2021-03-30 加特兰微电子科技(上海)有限公司 Target matching method, integrated circuit, radio device and apparatus

Similar Documents

Publication Publication Date Title
Kim et al. Integrating blockchain, smart contract-tokens, and IoT to design a food traceability solution
CN105069161A (en) Data interaction method and data interaction device
CN108921692B (en) Multi-chain block chain system with block issuing mechanism
CN103338219B (en) Terminal device performance evaluation information acquisition and processing method, and corresponding device and processing system thereof
CN103268201B (en) A kind of date storage method, memory storage and read method
CN109313752A (en) Guarantee the method and system of the efficient common recognition mechanism of block chain of the formation for being licensed using audit
CN109255622A (en) A kind of back-tracing anti-fake data-storage system
CN109408513A (en) Data processing method, system and storage medium
CN114048217A (en) Incremental data synchronization method and device, electronic equipment and storage medium
CN109561106A (en) A kind of marine communication message real time parsing filter method
CN110830500B (en) Network attack tracking method and device, electronic equipment and readable storage medium
CN111488344A (en) User operation data uplink method and system based on service data block chain
Carrasquel et al. Object-centric replay-based conformance checking: unveiling desire lines and local deviations
CN116541403A (en) Method, system, electronic device and storage medium for capturing database data change in real time
CN104615564A (en) Data transmission method based on QPI bus and computer system
CN110489342A (en) A kind of Android application testing method, system, device and storage medium
CN110457318A (en) The update method of data field, device, medium, electronic equipment in block chain
JP6119101B2 (en) Aggregation device, aggregation method, and aggregation system
CN102004761B (en) Data storage method and system
CN110046172A (en) In line computation data processing method and system
CN115082084A (en) Information processing method and system based on double block chains, electronic equipment and storage medium
CN109960601A (en) A kind of restoration methods of business datum, device and electronic equipment
CN103118367A (en) System and method for safety certification of mobile phones
CN105844525A (en) Creditor and debtor chain processing control method applied to crowd funding
CN104281534A (en) Meta data storing method and device

Legal Events

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

Application publication date: 20151118