CN110297842A - A kind of data comparison method, device, terminal and storage medium - Google Patents

A kind of data comparison method, device, terminal and storage medium Download PDF

Info

Publication number
CN110297842A
CN110297842A CN201910553551.3A CN201910553551A CN110297842A CN 110297842 A CN110297842 A CN 110297842A CN 201910553551 A CN201910553551 A CN 201910553551A CN 110297842 A CN110297842 A CN 110297842A
Authority
CN
China
Prior art keywords
data
comparison
keyword
weight
comparison data
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
CN201910553551.3A
Other languages
Chinese (zh)
Other versions
CN110297842B (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.)
Wuhan United Imaging Healthcare Co Ltd
Original Assignee
Wuhan United Imaging Healthcare 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 Wuhan United Imaging Healthcare Co Ltd filed Critical Wuhan United Imaging Healthcare Co Ltd
Priority to CN201910553551.3A priority Critical patent/CN110297842B/en
Publication of CN110297842A publication Critical patent/CN110297842A/en
Application granted granted Critical
Publication of CN110297842B publication Critical patent/CN110297842B/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/24Querying
    • G06F16/242Query formulation
    • G06F16/2433Query languages
    • 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

Landscapes

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

Abstract

The embodiment of the invention discloses a kind of data comparison method, device, terminal and storage mediums, wherein data comparison method includes: to receive the execution logic of the default comparison rules of user's input;According to the data query conditions received, target data corresponding with data query conditions is obtained from database, target data includes the first comparison data and the second comparison data;Target data is divided at least two groups sub-goal data, and a comparing processing server in distribution server cluster is distinguished for every group of sub-goal data, at least two groups sub-goal data are respectively sent to corresponding comparing processing server, and comparing processing server is controlled according to logic is executed, processing is compared to the first comparison data and the second comparison data.The technical solution of the embodiment of the present invention can realize the effect for efficiently target data being compared processing under big data environment.

Description

A kind of data comparison method, device, terminal and storage medium
Technical field
The present embodiments relate to technical field of data processing more particularly to a kind of data comparison method, device, terminal and Storage medium.
Background technique
With the development of modern society, payment information amount is increasing, scale, structure and the growth speed of these payment informations Degree all brings huge test to conventional data storage and reconciliation processing.
Existing account checking method mainly obtains reconciliation file, program from Upstream Canal (financial institutions such as bank, Unionpay) Parsing storage line by line compares the record of business datum and reconciliation data line by line, searches error log.What above-mentioned use compared line by line Method low efficiency, and without preferable optimisation strategy on algorithm.If storage and reconciliation process are all completed in database side, logarithm It is affected according to library performance, and reconciliation logic is difficult to extend.In the case where portfolio is very big, the load pressure of reconciliation server It is very big, inefficiency and easy delay machine.
Summary of the invention
The present invention provides a kind of data comparison method, device, terminal and storage medium, under big data environment, Neng Goushi Processing efficiently now is compared to target data.
In a first aspect, the embodiment of the invention provides a kind of data comparison methods, which comprises
Receive the execution logic of the default comparison rules of user's input;
According to the data query conditions received, target corresponding with the data query conditions is obtained from database Data, the target data include the first comparison data and the second comparison data;
The target data is divided at least two groups sub-goal data, and distinguishes distribution server for every group of sub-goal data At least two groups sub-goal data are respectively sent to corresponding data ratio by a comparing processing server in cluster To processing server, and the comparing processing server is controlled according to the execution logic, to first comparison data Processing is compared with second comparison data.
Second aspect, the embodiment of the invention also provides a kind of comparing device, described device includes:
Logic receiving module is executed, the execution logic of the default comparison rules for receiving user's input;
Target data obtains module, for being obtained and the number from database according to the data query conditions received According to the corresponding target data of querying condition, the target data includes the first comparison data and the second comparison data;
Comparing processing module for the target data to be divided at least two groups sub-goal data, and is every group of son Target data distinguishes a comparing processing server in distribution server cluster, by at least two groups sub-goal data It is respectively sent to corresponding comparing processing server, and controls the comparing processing server and is patrolled according to the execution Volume, processing is compared to first comparison data and second comparison data.
The third aspect, the embodiment of the invention also provides a kind of comparing terminal, the terminal includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes the data comparison method as described in any embodiment of the present invention.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer Program realizes the data comparison method as described in any embodiment of the present invention when the computer program is executed by processor.
The embodiment of the present invention provides a kind of data comparison method, device, terminal and storage medium, passes through and receives user's input Default comparison rules execution logic;According to the data query conditions received, obtained and data query item from database The corresponding target data of part, target data include the first comparison data and the second comparison data;Target data is divided at least Two groups of sub-goal data, and distinguish a comparing in distribution server cluster for every group of sub-goal data and handle service At least two groups sub-goal data are respectively sent to corresponding comparing processing server by device, and control comparing processing Processing is compared to the first comparison data and the second comparison data according to logic is executed in server, can be in big data environment Under, realize the effect for efficiently target data being compared processing.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to do one simply to introduce, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the flow chart of one of the embodiment of the present invention one data comparison method;
Fig. 2 is the flow chart of one of the embodiment of the present invention two data comparison method;
Fig. 3 is the structural schematic diagram of one of embodiment of the present invention three comparing device;
Fig. 4 is the structural schematic diagram of one of embodiment of the present invention four comparing terminal.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is a kind of flow chart for data comparison method that the embodiment of the present invention one provides, and the present embodiment is applicable to need Comparison data is treated to be compared, between determination data to be compared whether identical situation, this method can be by counting It executes according to comparison device, can specifically be implemented by the software and/or hardware in comparing device.As shown in Figure 1, this The method of embodiment specifically includes:
S110, the execution logic for receiving the default comparison rules that user inputs.
Wherein, presetting comparison rules is pre-set for treating the rule that comparison data is compared, can root It is adjusted according to actual demand, is not specifically limited herein.Executing logic is source code corresponding to default comparison rules, In, it is series of human that source code, which refers to the uncompiled text file according to certain programming language specification writing, Readable computer foretells instruction.In the present embodiment, it is preferred that user can patrol executing the input execution of logical edit interface Volume, from the background the execution logic can be received by executing logical edit interface.
Each step in the present embodiment can be executed using server cluster, it is preferred that the cluster in the present embodiment It can be Hadoop platform.This step is specifically described so that cluster is Hadoop platform as an example: under Hadoop platform, being used Family can be based on MapReduce programming model, be write using various programming languages opposite with default comparison rules in editing interface The MapReduce program answered.Wherein, Hadoop platform is the software frame that distributed treatment can be carried out to mass data Frame.MapReduce programming model is a simple software frame, can be used for the parallel computation of large-scale dataset, base It can be operated in the large construction cluster being made of thousands of a business machines in the application program that the programming model writes out. MapReduce programming model includes Map programming model and Reduce programming model two parts, wherein Map is partially by each data Mapping function is passed to generate output valve and merge, the part Reduce is then the output valve merged in conjunction with the part Map, is returned Return complete data set.Various programming languages can be any one in Java, Ruby, Python and C++.
The data query conditions that S120, basis receive, obtain mesh corresponding with data query conditions from database Data are marked, target data includes the first comparison data and the second comparison data.
Wherein, data query conditions are the query statements for inquiring corresponding target data in the database, exemplary , query statement can be SQL (Structured Query Language, structured query language) query statement, can also be with It is HQL (Hibernate Query Language, the query language of object-oriented) query statement.The query statement may include The basic table name of target and aiming field title, wherein target base table is the base table where target data, aiming field name The condition of target data is inquired referred to as in base table.Preferably, aiming field title can be true according to the attribute of target data It is fixed, such as can be the title of target data or the date of formation of target data etc..
Database in the present embodiment can be under big data environment, database for storing data.Preferably, number It can be the non-relational database of column storage according to library, for such database towards retrieval, storage organization is column structures, with pass Be that the line structure of type database is compared, this structure can allow many statistics and convergences operations more simple and convenient, make system have compared with High scalability.Such database may also adapt to the increase of mass data and the variation of data structure.
Illustratively, database corresponding with Hadoop platform can be Hbase database.Hbase database can be with Sqoop tool is provided, which is mainly used for carrying out the transmitting of data between Hadoop and traditional database, one is closed It is that data in type database imported into Hadoop distributed file system or Hadoop database and (such as can be Hbase Database) in, or the data in Hadoop database are imported into relevant database.Hbase database can also provide User query interface, user can carry out target data inquiry by SQL query statement or HQL query statement.
Specifically, user is by operation interface input data querying condition, basis receives the data query conditions from the background, Target data is searched in Hbase database, and target data is imported by Hadoop distributed field system by Sqoop tool In system, wait to be compared.Wherein, target data is the set of each data to be compared, may include that at least one waits comparing in the set To data.Target data set may include the first comparison data set and the second comparison data set.
S130, target data is divided at least two groups sub-goal data, and distributes service respectively for every group of sub-goal data At least two groups sub-goal data are respectively sent to corresponding comparing by a comparing processing server in device cluster Processing server, and comparing processing server is controlled according to logic is executed, to the first comparison data and the second comparison data Processing is compared.
In the present embodiment, in order to improve the efficiency of comparing, server cluster preferably can use, according to above-mentioned steps Distributed treatment is carried out to target data.Wherein, in server cluster, each comparing processing server is preferably ok Distributed treatment is carried out to received sub-goal data.
Illustratively, still by taking Hadoop platform as an example, Hadoop distributed file system receive target data it Afterwards, corresponding comparing processing server is distributed to after target data being grouped, comparing processing server is according to reception Processing is compared to the first comparison data and the second comparison data in the execution logic arrived.
Preferably, after completing comparing, corresponding clearance strategy can also be configured, it can be right using the clearance strategy Comparison data carries out corresponding clearance operation.
A kind of data comparison method provided in this embodiment is patrolled by receiving the execution of default comparison rules of user's input Volume;According to the data query conditions received, target data corresponding with data query conditions, target are obtained from database Data include the first comparison data and the second comparison data;Target data is divided at least two groups sub-goal data, and is every group Sub-goal data distinguish a comparing processing server in distribution server cluster, by least two groups sub-goal data point It is not sent to corresponding comparing processing server, and controls comparing processing server according to logic is executed, to first Processing is compared in comparison data and the second comparison data, under big data environment, has reached and has efficiently carried out to target data Compare the effect of processing.
On the basis of the various embodiments described above, further, patrolled in the execution for the default comparison rules for receiving user's input Before volume, further includes:
Receive the authentication information of user's input;
If authentication information matches with default authentication information, enters and execute logical edit interface.
In order to ensure the safety of comparison data and comparing process, it is preferred that user's input can received Before the execution logic of default comparison rules, the identity of user is verified.
Embodiment two
Fig. 2 is a kind of flow chart of data comparison method provided by Embodiment 2 of the present invention.The present embodiment is in above-mentioned each reality On the basis of applying example, the optional control comparing processing server compares logarithm to described first according to the execution logic Processing is compared according to second comparison data, comprising: by the sub-goal data in each comparing processing server First than other side service numbers, second than other side service numbers and ident value as the first keyword key1, will be with first ratio It is crucial to generate described first as the first weight value1 for other side's service numbers and the described second numerical value more corresponding than other side service numbers The relationship pair of word key1 and the first weight Value1, wherein the ident value is the attribute of the target data, wherein The ident value of first comparison data is first identifier, and the ident value of second comparison data is second identifier;According to institute The ident value in the first keyword key1 is stated, by the corresponding relationship pair of the target data, is divided into described first Comparison data corresponding first compares relationship and compares relationship pair to corresponding with second comparison data second;In each data Compare inside processing server and between every two comparing processing server, according to described first than other side service numbers and Described second than other side service numbers, and the first keyword key1 for comparing relationship centering for described first and described second compares relationship First keyword key1 of centering is matched, and generates the second keyword Key2 and the second weight Value2 according to matching result; Comparison result is determined according to the second keyword Key2 and the second weight Value2.As shown in Fig. 2, the method for the present embodiment has Body includes:
S210, the execution logic for receiving the default comparison rules that user inputs.
The data query conditions that S220, basis receive, obtain mesh corresponding with data query conditions from database Data are marked, target data includes the first comparison data and the second comparison data.
S230, target data is divided at least two groups sub-goal data, and distributes service respectively for every group of sub-goal data At least two groups sub-goal data are respectively sent to corresponding comparing by a comparing processing server in device cluster Processing server.
S240, first of the sub-goal data in each comparing processing server is compared than other side service numbers, second Other side's service numbers and ident value as the first keyword key1, will with first than other side service numbers and second than other side service numbers pair The numerical value answered generates the relationship pair of the first keyword key1 and the first weight Value1 as the first weight value1, wherein mark Knowledge value is the attribute of target data, wherein the ident value of the first comparison data is first identifier, the ident value of the second comparison data For second identifier.
In order to distinguish the first comparison data and the second comparison data, it is preferred that can for each of target data to than One corresponding ident value is arranged to data, wherein be not belonging to the data to be compared of same comparison data set, corresponding mark Knowledge value is also different.Illustratively, the corresponding ident value of the first correlation data is first identifier, the corresponding mark of the second comparison data Value is second identifier, wherein first identifier is different from second identifier.Ident value can be will be from data base querying to number of targets According to adding during target data is imported into respective server group system file.It is being looked into specifically, can be When asking target data, ident value is added for target data, is also possible to target data importeding into respective server cluster When in system file, ident value is added for target data.
Preferably, the attribute of each of target data data to be compared is other than it may include ident value, can be with Including first than other side service numbers and second than other side service numbers.Wherein, service numbers can be business corresponding to target data Business number, illustratively, service numbers can be order number or serial number etc..
Illustratively, the first comparison data can be user service data, and the second comparison data can be bank's reconciliation number According to wherein user service data and the attribute of bank's reconciliation data all include service order businessNo, bank's serial number BankNo and ident value.Wherein, the corresponding ident value of user service data can be 1, the corresponding ident value of bank's reconciliation data It can be -1.Correspondingly, the corresponding first keyword key1 of user service data is { businessNO, bankNo, 1 }, bank The corresponding first keyword key1 of reconciliation data is { businessNO, bankNo, -1 }.User service data and bank's reconciliation number According to attribute further include with the first numerical value more corresponding than other side service numbers than other side service numbers and second, correspondingly, customer service The corresponding first weight value1 of data be and the first numerical value more corresponding than other side service numbers than other side service numbers and second valueUser, the corresponding first weight value1 of bank's reconciliation data be with first than other side service numbers and second than other side business Number corresponding numerical value valueBank.Above-mentioned first keyword key1 and the first weight value1 forms the corresponding relationship of target data It is right.
S250, the corresponding relationship pair of target data is divided by the first ratio according to the ident value in the first keyword key1 Corresponding to data first, which compares relationship, compares relationship pair to corresponding with the second comparison data second.
Since the corresponding ident value of the first comparison data ident value corresponding from the second comparison data is different, it can be with According to the ident value in the first keyword key1 by the corresponding relationship pair of target data, it is divided into the first comparison data corresponding One, which compares relationship, compares relationship pair to corresponding with the second comparison data second.
Illustratively, still using the first comparison data as user service data, the second comparison data is bank's reconciliation data For be illustrated, the first comparison data corresponding first compare relationship to for { businessNO, bankNo, 1 } and [valueUser];Second comparison data corresponding second compare relationship to for { businessNO, bankNo, -1 } and [valueBank];
S260, inside each comparing processing server and between every two comparing processing server, root According to first than other side service numbers and second than other side service numbers, the first keyword key1 and second for comparing relationship centering for first First keyword key1 of comparison relationship centering is matched, and generates the second keyword Key2 and the second weight according to matching result Value2。
S270, comparison result is determined according to the second keyword Key2 and the second weight Value2.
In the present embodiment, comparing can be inside each comparing processing server and in every two comparing It is carried out between processing server, if compared inside processing server in current data, some data to be compared can not be compared into Function, the then data to be compared that can not compare this in successful data to be compared and other comparing processing servers carry out It compares.
If first compare relationship centering the first keyword key1 in first than other side service numbers and second than other side industry Business number, with second compare in the first keyword key1 of relationship centering first than other side service numbers and second than other side service numbers It is all the same, then illustrate the first comparison relationship to corresponding data to be compared and the second comparison relationship to corresponding number to be compared According to the same business event is belonged to, at this point, the first the first keyword key1 and second for comparing relationship centering compares relationship centering The first keyword key1 successful match.Correspondingly, the power of the second keyword Key2 and second can be generated according to the matching result Value Value2.If first compare relationship centering the first keyword key1 in first than other side service numbers and second than other side industry Business number, with second compare in the first keyword key1 of relationship centering first than other side service numbers and second than other side service numbers It is not identical, then illustrate the first comparison relationship to corresponding data to be compared and the second comparison relationship to corresponding number to be compared According to the same business event is not belonging to, at this point, the first the first keyword key1 and second for comparing relationship centering compares relationship pair In the first non-successful match of keyword key1.Correspondingly, according to the matching result also can be generated the second keyword Key2 and Second weight Value2.Wherein, successful match and non-successful match respectively correspond different the second keyword Key2 and different Second weight Value2.Correspondingly, can determine comparison result according to the second keyword Key2 and the second weight Value2.
Illustratively, if the first the first keyword key1 for comparing relationship centering is { businessNO1, bankNo1,1 }, Second the first keyword key1 for comparing relationship centering is { businessNO1, bankNo1, -1 }, then first compares relationship at this time First keyword key1 of centering and second compares the first keyword key1 successful match of relationship centering.If first compares relationship First keyword key1 of centering is { businessNO1, bankNo1,1 }, and second compares the first keyword of relationship centering Key1 is { businessNO2, bankNo2, -1 }, then the first the first keyword key1 and second for comparing relationship centering compares at this time To the first non-successful match of keyword key1 of relationship centering.
A kind of data comparison method provided in this embodiment, on the basis of the above embodiments, by by each data ratio To first of the sub-goal data in processing server than other side service numbers, second than other side service numbers and ident value as first Keyword key1, will be with the first numerical value more corresponding than other side service numbers than other side service numbers and second as the first weight Value1 generates the relationship pair of the first keyword key1 and the first weight Value1, wherein ident value is the category of target data Property, wherein the ident value of the first comparison data is first identifier, and the ident value of the second comparison data is second identifier, according to the The corresponding relationship pair of target data is divided into corresponding first ratio of the first comparison data by the ident value in one keyword key1 Relationship pair is compared to corresponding with the second comparison data second to relationship, inside each comparing processing server and every Between two comparing processing servers, according to first than other side service numbers and second than other side service numbers, first is compared First keyword key1 of the comparison relationship centering of the first keyword key1 of relationship centering and second is matched, and is tied according to matching Fruit generates the second keyword Key2 and the second weight Value2, determines ratio according to the second keyword Key2 and the second weight Value2 Pair as a result, under big data environment having achieved the effect that processing efficiently is compared to target data.
On the basis of the various embodiments described above, further,
The second keyword Key2 and the second weight Value2 is generated according to matching result, comprising:
If first compares the first keyword key1 that the first keyword key1 of relationship centering and second compares relationship centering Match, then according to default operation rule to the first identifier of the first comparison data pair and the second identifier of the second comparison data pair It is handled, obtains third mark;
It is used as the second keyword key2 than other side service numbers and third mark than other side service numbers, second by first, by the One, which compares the first weight Value1 of relationship centering and second, compares the first weight Value1 of relationship centering as the second weight Value2。
Wherein, preset at least one of operation rule addition subtraction multiplication and division arithmetic, can determine according to actual needs, It is not specifically limited herein.
Illustratively, the first the first keyword key1 for comparing relationship centering is { businessNO1, bankNo1,1 }, the One the first weight value1 for comparing relationship centering is valueUser 1, second comparison relationship centering the first keyword key1 be { businessNO1, bankNo1, -1 }, the second the first weight value1 for comparing relationship centering is valueBank 1, preset operation Rule is adduction.Adduction processing is done to first identifier 1 and second identifier -1, obtains third mark 0.Correspondingly, the second keyword Key2 is { businessNO1, bankNo1,0 }, and the second weight Value2 is [valueUser1,valueBank 1]。
Further, comparison result is determined according to the second keyword Key2 and the second weight Value2, comprising:
If the first weight Value1 and second of the first comparison relationship centering in the second weight Value2 compares relationship pair In the first weight Value1 it is identical, it is determined that compare relationship with first and pass compared to corresponding the first comparison data and second System compares successfully the second corresponding comparison data;
If the first weight Value1 and second of the first comparison relationship centering in the second weight Value2 compares relationship pair In the first weight Value1 it is not identical, it is determined that compare relationship to the numerical value of the first corresponding comparison data and with first Two, which compare relationship, mismatches the numerical value of the second corresponding comparison data.
Illustratively, if valueUser 1=valueBank 1, it is determined that relationship, which is compared, with first compares logarithm to corresponding first Success is compared to the second corresponding comparison data according to relationship is compared with second.
If valueUser 1≠valueBank 1, it is determined that relationship is compared to the numerical value of the first corresponding comparison data with first Relationship is compared with second to mismatch the numerical value of the second corresponding comparison data.At this point it is possible to determine that the business event is corresponding User service data and/or the corresponding bank's reconciliation data of the business event record when there are mistakes.
Further, the second keyword Key2 and the second weight Value2 is generated according to matching result, comprising:
The first keyword key1 of relationship centering matches second is compared with first if it does not exist and compares relationship centering First keyword key1, then using the first keyword key1 of the first comparison relationship centering as the second keyword Key2, by first First weight Value1 of comparison relationship centering is as the second weight Value2;
Illustratively, the first the first keyword key1 for comparing relationship centering is { businessNO1, bankNo1,1 }, the One the first weight value1 for comparing relationship centering is valueUser 1, there is no the first keywords that relationship centering is compared with first First keyword key1 of the second comparison relationship centering that key1 matches.At this point, the second keyword key2 is { businessNO1, bankNo1,1 }, the second weight Value2 are [valueUser 1]。
The first keyword key1 of relationship centering matches first is compared with second if it does not exist and compares relationship centering First keyword key1, then using the first keyword key1 of the second comparison relationship centering as the second keyword Key2, by second First weight Value1 of comparison relationship centering is as the second weight Value2.
Illustratively, the second the first keyword key1 for comparing relationship centering is { businessNO1, bankNo1, -1 }, Second the first weight value1 for comparing relationship centering is valueBank 1, there is no the first keys that relationship centering is compared with second First keyword key1 of the first comparison relationship centering that word key1 matches.At this point, the second keyword key2 is { businessNO1, bankNo1, -1 }, the second weight Value2 are [valueBank 1]。
Further, comparison result is determined according to the second keyword Key2 and the second weight Value2, comprising:
The first keyword key1 of relationship centering matches second is compared with first if it does not exist and compares relationship centering First keyword key1, it is determined that compare relationship to corresponding first comparison data not in this comparing range with first It is interior, and the second keyword Key2 and corresponding first comparison data of the second weight Value2 are stored to the buffer pool of database In;
Wherein, buffer pool is when the first comparison data is corresponding for storing third comparison data, third comparison data Between the comparison data that generates in preset time period before section, and in default after the first comparison data corresponding period Between the comparison data that generates in section.Second to match if there is no the first keyword key1 for comparing relationship centering with first First keyword key1 of comparison relationship centering, it can be said that the bright first comparison relationship is slow to corresponding first comparison data The data in pond are rushed, and are not belonging to the range for the target data that this is compared.Correspondingly, first comparison data is deposited Storage is into the buffer pool of database.
The first keyword key1 of relationship centering matches first is compared with second if it does not exist and compares relationship centering First keyword key1 compares the second keyword Key2 and the second weight Value2 corresponding second then according to logic is executed Processing is compared with the third comparison data in the buffer pool of database in data;
First to match if there is no the first keyword key1 for comparing relationship centering with second compares relationship centering The first keyword key1, it can be said that there is no second compare relationship with this and compare logarithm to corresponding second in bright target data According to corresponding first comparison data, which may be stored by wrong into buffer pool, it is also possible to record During be missed.At this point it is possible to processing is compared with the third comparison data in buffer pool in second comparison data, To determine in buffer pool with the presence or absence of third comparison data corresponding with second comparison data.
Further, according to logic is executed, the second keyword Key2 and the second weight Value2 corresponding second is compared Processing is compared with third comparison data in data, comprising:
According to first than other side service numbers and second than other side service numbers, by the second keyword key2 and third comparison data Corresponding third keyword key3 is matched, and generates the 4th keyword Key4 and the 4th weight Value4 according to matching result;
If the second keyword key2 and the corresponding third keyword key3 of third comparison data match, and the 4th weight The corresponding third weight Value3 of third comparison data in Value4 is identical as the second weight Value2, it is determined that with the second ratio Success is compared to data and third comparison data;
If the second keyword key2 and the corresponding third keyword key3 of third comparison data match, and the 4th weight Third weight Value3 and the second weight Value2 in Value4 be not identical, it is determined that with the numerical value of the second comparison data and The numerical value of three comparison datas mismatches;
The third keyword key3 to match if it does not exist with the second keyword key2 in the second comparison data, it is determined that Comparison data record failure corresponding with the second comparison data;
Wherein, third keyword key3 include third comparison data first than other side service numbers, second than other side business Number and ident value, third weight value3 include the corresponding numerical value of order number of third comparison data, ident value is first identifier.
Processing is compared with aforementioned first comparison data with the second comparison data in the specific implementation procedure of above steps The step of implementation procedure it is identical, details are not described herein.
Illustratively, the corresponding relationship of the first comparison data is to may include { { A1, B1,1 }, 1 }, { { A2, B2,1 }, 2 } { { A3, B3,1 }, 3 }, the second keyword Key2 and the second weight Value2 corresponding to the second comparison data may include { { A1, B1, -1 }, 1 }, { { A2, B2, -1 }, 3 }, { { A4, B4, -1 }, 4 } and { { A5, B5, -1 }, 5 }.Second keyword Key2 and Second weight Value2 can for { { A1, B1,0 }, 1,1 }, { { A2, B2,0 }, 2,3 }, { { A3, B3,1 }, 3 }, A4, B4 ,- 1 }, 4 } and { { A5, B5, -1 }, 5 }.Wherein, the second keyword Key2 and the second weight Value2 { { A1, B1,0 }, 1,1 } explanation First comparison data and the second comparison data compare successfully;Second keyword Key2 and the second weight Value2 { A2, B2,0 }, 2,3 } illustrate that the first comparison data and the second comparison data belong to identical business event, but its corresponding data record is wrong Accidentally;Second keyword Key2 and the second weight Value2 { { A3, B3,1 }, 3 } illustrate that first comparison data belongs to buffer pool, will Buffer pool is added in first comparison data;Second keyword Key2 and the second weight Value2 { { A4, B4, -1 }, 4 } illustrate target There is no the first comparison datas to match with second comparison data in data, at this point, by second comparison data and buffering Third comparison data in pond compares;Second keyword Key2 and the second weight Value2 { { A5, B5, -1 }, 5 } illustrate mesh There is no the first comparison datas to match with second comparison data in mark data, at this point, by second comparison data and delaying The third comparison data rushed in pond compares;
After if the third comparison data in the second comparison data and buffer pool compares, the 4th keyword Key4 of generation With the 4th weight Value4 include { { A4, B4,0 }, 4,4 } and { { A5, B5, -1 }, 5 }, it can be said that bright buffer pool be stored with and { { A4, B4, -1 }, 4 } corresponding { { A4, B4,1 }, 4 }, do not store with { { A5, B5, -1 }, 5 } it is corresponding { A5, B5,1 }, 5 }, at this point it is possible to which { { A4, B4,1 }, 4 } corresponding first comparison data is imported into target data, and can determine A5, B5,1 }, 5 } corresponding first comparison data is missed during record.
Embodiment three
Fig. 3 is the structural schematic diagram of one of embodiment of the present invention three comparing device.As shown in figure 3, this implementation Example comparing device include:
Logic receiving module 310 is executed, the execution logic of the default comparison rules for receiving user's input;
Target data obtains module 320, for the data query conditions that basis receives, acquisition and data from database The corresponding target data of querying condition, target data include the first comparison data and the second comparison data;
Comparing processing module 330 for target data to be divided at least two groups sub-goal data, and is every group of specific item A comparing processing server in data difference distribution server cluster is marked, at least two groups sub-goal data are sent out respectively It send to corresponding comparing processing server, and controls comparing processing server according to logic is executed, compared to first Processing is compared in data and the second comparison data.
A kind of comparing device provided in this embodiment passes through reception user's input using logic receiving module is executed The execution logic of default comparison rules;Module is obtained according to the data query conditions received, from database using target data Middle to obtain target data corresponding with data query conditions, target data includes the first comparison data and the second comparison data; And target data is divided by least two groups sub-goal data by comparing processing module, and be every group of sub-goal data difference At least two groups sub-goal data are respectively sent to corresponding by a comparing processing server in distribution server cluster Comparing processing server, and comparing processing server is controlled according to logic is executed, to the first comparison data and second Processing is compared in comparison data, under big data environment, has achieved the effect that processing efficiently is compared to target data.
On the basis of the various embodiments described above, further, comparing processing module 330 be can specifically include:
Relationship for target data to be divided at least two groups sub-goal data, and is every group of sub-goal to generation unit Data distinguish a comparing processing server in distribution server cluster, and at least two groups sub-goal data are sent respectively After to corresponding comparing processing server, by the first ratio of the sub-goal data in each comparing processing server Other side's service numbers, second than other side service numbers and ident value as the first keyword key1, will with first than other side service numbers and Second numerical value more corresponding than other side service numbers generates the first keyword key1 and the first weight as the first weight value1 The relationship pair of Value1, wherein ident value is the attribute of target data, wherein the ident value of the first comparison data is the first mark Know, the ident value of the second comparison data is second identifier;
Relationship is to division unit, for according to the ident value in the first keyword key1, by the corresponding relationship of target data It is right, the corresponding first comparison relationship of the first comparison data is divided into the second comparison relationship pair corresponding with the second comparison data;
Second keyword and weight determination unit, for inside each comparing processing server and in every two number According to comparing between processing server, according to first than other side service numbers and second than other side service numbers, compare relationship pair for first In the first keyword key1 and second comparison relationship centering the first keyword key1 matched, generated according to matching result Second keyword Key2 and the second weight Value2;
Comparison result determination unit, for determining comparison result according to the second keyword Key2 and the second weight Value2.
Further, the second keyword specifically can be used for weight determination unit:
If first compares the first keyword key1 that the first keyword key1 of relationship centering and second compares relationship centering Match, then according to default operation rule to the first identifier of the first comparison data pair and the second identifier of the second comparison data pair It is handled, obtains third mark;
It is used as the second keyword key2 than other side service numbers and third mark than other side service numbers, second by first, by the One, which compares the first weight Value1 of relationship centering and second, compares the first weight Value1 of relationship centering as the second weight Value2。
Further, comparison result determination unit specifically can be used for:
If the first weight Value1 and second of the first comparison relationship centering in the second weight Value2 compares relationship pair In the first weight Value1 it is identical, it is determined that compare relationship with first and pass compared to corresponding the first comparison data and second System compares successfully the second corresponding comparison data;
If the first weight Value1 and second of the first comparison relationship centering in the second weight Value2 compares relationship pair In the first weight Value1 it is not identical, it is determined that compare relationship to the numerical value of the first corresponding comparison data and with first Two, which compare relationship, mismatches the numerical value of the second corresponding comparison data.
Further, the second keyword specifically can be also used for weight determination unit:
The first keyword key1 of relationship centering matches second is compared with first if it does not exist and compares relationship centering First keyword key1, then using the first keyword key1 of the first comparison relationship centering as the second keyword Key2, by first First weight Value1 of comparison relationship centering is as the second weight Value2;
The first keyword key1 of relationship centering matches first is compared with second if it does not exist and compares relationship centering First keyword key1, then using the first keyword key1 of the second comparison relationship centering as the second keyword Key2, by second First weight Value1 of comparison relationship centering is as the second weight Value2.
Further, comparison result determination unit specifically can be also used for:
The first keyword key1 of relationship centering matches second is compared with first if it does not exist and compares relationship centering First keyword key1, it is determined that compare relationship to corresponding first comparison data not in this comparing range with first It is interior, and the second keyword Key2 and corresponding first comparison data of the second weight Value2 are stored to the buffer pool of database In;
The first keyword key1 of relationship centering matches first is compared with second if it does not exist and compares relationship centering First keyword key1 compares the second keyword Key2 and the second weight Value2 corresponding second then according to logic is executed Processing is compared with the third comparison data in the buffer pool of database in data;
Wherein, the third comparison data in buffer pool includes: default before the first comparison data corresponding period The ratio generated in the comparison data generated in period, and preset time period after the first comparison data corresponding period To data.
Further, comparison result determination unit can specifically include buffer pool comparison result and determine subelement, and the son is single Member specifically can be used for:
It is compared in relationship pair in compare that the first keyword key1 in relationship pair matches with second if it does not exist first The first keyword key1 after, according to first than other side service numbers and second than other side service numbers, by the second keyword key2 Third keyword key3 corresponding with third comparison data is matched, and generates the 4th keyword Key4 and the according to matching result Four weight Value4;
If the second keyword key2 and the corresponding third keyword key3 of third comparison data match, and the 4th weight The corresponding third weight Value3 of third comparison data in Value4 is identical as the second weight Value2, it is determined that with the second ratio Success is compared to data and third comparison data;
If the second keyword key2 and the corresponding third keyword key3 of third comparison data match, and the 4th weight Third weight Value3 and the second weight Value2 in Value4 be not identical, it is determined that with the numerical value of the second comparison data and The numerical value of three comparison datas mismatches;
The third keyword key3 to match if it does not exist with the second keyword key2 in the second comparison data, it is determined that Comparison data record failure corresponding with the second comparison data;
Wherein, third keyword key3 include third comparison data first than other side service numbers, second than other side business Number and ident value, third weight value3 include the corresponding numerical value of order number of third comparison data, ident value is first identifier.
Data ratio provided by any embodiment of the invention can be performed in comparing device provided by the embodiment of the present invention To method, have the corresponding functional module of execution method and beneficial effect.
Example IV
Fig. 4 is the structural schematic diagram for the comparing terminal that the embodiment of the present invention four provides.Fig. 4, which is shown, to be suitable for being used in fact The example data of existing embodiment of the present invention compares the block diagram of terminal 412.The comparing terminal 412 that Fig. 4 is shown is only One example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in figure 4, comparing terminal 412 is showed in the form of universal computing device.The group of comparing terminal 412 Part can include but is not limited to: one or more processor 416, memory 428, connect (including the storage of different system components Device 428 and processor 416) bus 418.
Bus 418 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC) Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Comparing terminal 412 typically comprises a variety of computer system readable media.These media can be any energy Enough usable mediums accessed by comparing terminal 412, including volatile and non-volatile media, it is moveable and irremovable Medium.
Memory 428 may include the computer system readable media of form of volatile memory, such as arbitrary access is deposited Reservoir (RAM) 430 and/or cache memory 432.Comparing terminal 412 may further include it is other it is removable/no Movably, volatile/non-volatile computer system storage medium.Only as an example, storage device 434 can be used for reading and writing Immovable, non-volatile magnetic media (Fig. 4 do not show, commonly referred to as " hard disk drive ").Although not shown in fig 4, may be used To provide the disc driver for reading and writing to removable non-volatile magnetic disk (such as " floppy disk "), and it is non-volatile to moving Property CD (such as CD-ROM, DVD-ROM or other optical mediums) read and write CD drive.In these cases, each drive Dynamic device can be connected by one or more data media interfaces with bus 418.Memory 428 may include at least one journey Sequence product, the program product have one group of (for example, at least one) program module, these program modules are configured to perform this hair The function of bright each embodiment.
Program/utility 440 with one group of (at least one) program module 442, can store in such as memory In 428, such program module 442 includes but is not limited to operating system, one or more application program, other program modules And program data, it may include the realization of network environment in each of these examples or certain combination.Program module 442 Usually execute the function and/or method in embodiment described in the invention.
Comparing terminal 412 can also be with one or more external equipments 414 (such as keyboard, sensing equipment, display 424 etc., wherein display 424 can decide whether to configure according to actual needs) it communicates, can also to use with one or more The communication of equipment that family can be interacted with the comparing terminal 412, and/or with enable the comparing terminal 412 and one or A number of other any equipment (such as network interface card, modem etc.) communications for calculating equipment and being communicated.This communication can be with It is carried out by input/output (I/O) interface 422.Also, comparing terminal 412 can also pass through network adapter 420 and one A or multiple networks (such as local area network (LAN), wide area network (WAN) and/or public network, such as internet) communication.Such as figure Shown, network adapter 420 is communicated by bus 418 with other modules of comparing terminal 412.Although should be understood that Fig. 4 In be not shown, can with combined data compare terminal 412 use other hardware and/or software module, including but not limited to: micro- generation Code, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and data backup are deposited Storage device etc..
The program that processor 416 is stored in memory 428 by operation, thereby executing various function application and data Processing, such as realize data comparison method provided by the embodiment of the present invention.
Embodiment five
The embodiment of the present invention five provides a kind of computer readable storage medium, is stored thereon with computer program, the journey The data comparison method as provided by the embodiment of the present invention is realized when sequence is executed by processor, comprising:
Receive the execution logic of the default comparison rules of user's input;
According to the data query conditions received, number of targets corresponding with data query conditions is obtained from database According to target data includes the first comparison data and the second comparison data;
Target data is divided at least two groups sub-goal data, and distinguishes distribution server cluster for every group of sub-goal data In a comparing processing server, at least two groups sub-goal data are respectively sent to corresponding comparing processing clothes Business device, and comparing processing server is controlled according to logic is executed, the first comparison data and the second comparison data are compared To processing.
Certainly, computer readable storage medium provided by the embodiment of the present invention, the computer program stored thereon are unlimited In executing method as described above operation, can also be performed provided by any embodiment of the invention based on comparing terminal Relevant operation in data comparison method.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or Device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes: tool There are electrical connection, the portable computer diskette, hard disk, random access memory (RAM), read-only memory of one or more conducting wires (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage Medium can be any tangible medium for including or store program, which can be commanded execution system, device or device Using or it is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, Further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.? Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as mentioned using Internet service It is connected for quotient by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (10)

1. a kind of data comparison method characterized by comprising
Receive the execution logic of the default comparison rules of user's input;
According to the data query conditions received, number of targets corresponding with the data query conditions is obtained from database According to the target data includes the first comparison data and the second comparison data;
The target data is divided at least two groups sub-goal data, and distinguishes distribution server cluster for every group of sub-goal data In a comparing processing server, at least two groups sub-goal data are respectively sent at corresponding comparing Server is managed, and controls the comparing processing server according to the execution logic, to first comparison data and institute It states the second comparison data and processing is compared.
2. the method according to claim 1, wherein the control comparing processing server is according to institute Execution logic is stated, processing is compared to first comparison data and second comparison data, comprising:
By first of the sub-goal data in each comparing processing server than other side service numbers, second than other side service numbers It, will be with described first than other side service numbers and described by second more corresponding than other side service numbers with ident value as the first keyword key1 Numerical value as the first weight value1, generate the relationship pair of the first keyword key1 and the first weight Value1, Wherein, the ident value is the attribute of the target data, wherein the ident value of first comparison data is first identifier, The ident value of second comparison data is second identifier;
The corresponding relationship pair of the target data is divided according to the ident value in the first keyword key1 Relationship, which is compared, at first comparison data corresponding first compares relationship pair to corresponding with second comparison data second;
Inside each comparing processing server and between every two comparing processing server, according to described first Than other side service numbers and described by second than other side service numbers, the first keyword key1 for comparing relationship centering for described first and institute The the first keyword key1 for stating the second comparison relationship centering is matched, and generates the second keyword Key2 and the according to matching result Two weight Value2;
Comparison result is determined according to the second keyword Key2 and the second weight Value2.
3. according to the method described in claim 2, it is characterized in that, it is described according to matching result generate the second keyword Key2 and Second weight Value2, comprising:
If described first, which compares the first keyword key1 of relationship centering and described second, compares the first keyword of relationship centering Key1 matches, then according to default operation rule to the first identifier and second comparison data of first comparison data pair Pair second identifier handle, obtain third mark;
The second keyword is used as than other side service numbers, described by second identify than other side service numbers and the third by described first Key2, the first weight Value1 for comparing relationship centering for described first and described second compare described the of relationship centering One weight Value1 is as the second weight Value2.
4. according to the method described in claim 3, it is characterized in that, described according to the second keyword Key2 and the second weight Value2 determines comparison result, comprising:
If described first in the second weight Value2 compares the first weight Value1 of relationship centering and described the The first weight Value1 of two comparison relationship centerings is identical, it is determined that compares relationship to corresponding first with described first Comparison data compares relationship with described second and compares success to the second corresponding comparison data;
If described first in the second weight Value2 compares the first weight Value1 of relationship centering and described the Two compare relationship centerings the first weight Value1 it is not identical, it is determined that compare relationship to corresponding the with described first The numerical value of one comparison data compares relationship with described second and mismatches to the numerical value of the second corresponding comparison data.
5. according to the method described in claim 2, it is characterized in that, it is described according to matching result generate the second keyword Key2 and Second weight Value2, comprising:
The first keyword key1 of relationship centering matches described second is compared with described first if it does not exist and compares relationship pair In the first keyword key1, then using it is described first compare relationship centering the first keyword key1 as second keyword Key2 compares the first weight Value1 of relationship centering as the second weight Value2 for described first;
The first keyword key1 of relationship centering matches described first is compared with described second if it does not exist and compares relationship pair In the first keyword key1, then using it is described second compare relationship centering the first keyword key1 as second keyword Key2 compares the first weight Value1 of relationship centering as the second weight Value2 for described second.
6. according to the method described in claim 5, it is characterized in that, described according to the second keyword Key2 and the second weight Value2 determines comparison result, comprising:
The first keyword key1 of relationship centering matches described second is compared with described first if it does not exist and compares relationship pair In the first keyword key1, it is determined that compare relationship to corresponding first comparison data not in this data with described first It compares in range, and the second keyword Key2 and corresponding first comparison data of the second weight Value2 is stored to described In the buffer pool of database;
The first keyword key1 of relationship centering matches described first is compared with described second if it does not exist and compares relationship pair In the first keyword key1, then according to the execution logic, by Value2 pairs of the second keyword Key2 and the second weight Processing is compared with the third comparison data in the buffer pool of the database in the second comparison data answered;
Wherein, the third comparison data in the buffer pool includes: before the first comparison data corresponding period In the comparison data generated in preset time period, and preset time period after the first comparison data corresponding period The comparison data of generation.
7. crucial by described second according to the method described in claim 6, it is characterized in that, described according to the execution logic Processing is compared with the third comparison data in word Key2 and corresponding second comparison data of the second weight Value2, comprising:
According to described first than other side service numbers and described by second than other side service numbers, by the second keyword key2 and described The corresponding third keyword key3 of third comparison data is matched, and generates the 4th keyword Key4 and the 4th according to matching result Weight Value4;
If the second keyword key2 and the corresponding third keyword key3 of the third comparison data match, and described The corresponding third weight Value3 of the third comparison data in four weight Value4 is identical as the second weight Value2, It is then determining to compare success with second comparison data and the third comparison data;
If the second keyword key2 and the corresponding third keyword key3 of the third comparison data match, and described The third weight Value3 and the second weight Value2 in four weight Value4 be not identical, it is determined that with described second The numerical value of comparison data and the numerical value of the third comparison data mismatch;
The third keyword key3 to match if it does not exist with the second keyword key2 in second comparison data, then Determine comparison data record failure corresponding with second comparison data;
Wherein, the third keyword key3 includes the first of the third comparison data comparing other side than other side service numbers, second Service numbers and the ident value, the third weight value3 include the corresponding numerical value of order number of the third comparison data, The ident value is the first identifier.
8. a kind of comparing device characterized by comprising
Logic receiving module is executed, the execution logic of the default comparison rules for receiving user's input;
Target data obtains module, for obtaining from database and looking into the data according to the data query conditions received The corresponding target data of inquiry condition, the target data include the first comparison data and the second comparison data;
Comparing processing module for the target data to be divided at least two groups sub-goal data, and is every group of sub-goal Data distinguish a comparing processing server in distribution server cluster, and at least two groups sub-goal data are distinguished It is sent to corresponding comparing processing server, and controls the comparing processing server according to the execution logic, Processing is compared to first comparison data and second comparison data.
9. a kind of comparing terminal, which is characterized in that the terminal includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real Now such as data comparison method of any of claims 1-7.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program Such as data comparison method of any of claims 1-7 is realized when being executed by processor.
CN201910553551.3A 2019-06-25 2019-06-25 Data comparison method, device, terminal and storage medium Active CN110297842B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910553551.3A CN110297842B (en) 2019-06-25 2019-06-25 Data comparison method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910553551.3A CN110297842B (en) 2019-06-25 2019-06-25 Data comparison method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN110297842A true CN110297842A (en) 2019-10-01
CN110297842B CN110297842B (en) 2021-10-15

Family

ID=68028570

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910553551.3A Active CN110297842B (en) 2019-06-25 2019-06-25 Data comparison method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN110297842B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113094338A (en) * 2021-03-15 2021-07-09 上海机电工程研究所 Data comparison method, system, device and medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101968793A (en) * 2010-08-25 2011-02-09 大唐软件技术股份有限公司 Method and system for checking on basis of disparate data source data
US20110072027A1 (en) * 2009-09-22 2011-03-24 Siemens Product Lifecycle Management Software Inc. System and method for customized file comparison
CN103136276A (en) * 2011-12-02 2013-06-05 阿里巴巴集团控股有限公司 System, method and device of verification of data
CN103577571A (en) * 2013-10-31 2014-02-12 北京奇虎科技有限公司 Data processing method and device
US20150254294A1 (en) * 2014-03-04 2015-09-10 International Business Machines Corporation Dynamic result set caching with a database accelerator
CN106326219A (en) * 2015-06-16 2017-01-11 阿里巴巴集团控股有限公司 Business system data check method, apparatus and system
CN107451136A (en) * 2016-05-30 2017-12-08 阿里巴巴集团控股有限公司 Verification of data method and device
CN108319719A (en) * 2018-02-12 2018-07-24 腾讯科技(深圳)有限公司 Database data method of calibration, device, computer equipment and storage medium
CN108733662A (en) * 2017-04-13 2018-11-02 北京京东尚科信息技术有限公司 Method, apparatus, electronic equipment and the readable storage medium storing program for executing of comparison of data consistency
CN109299222A (en) * 2018-09-29 2019-02-01 阿里巴巴集团控股有限公司 Verification of data method and device
CN109413127A (en) * 2017-08-18 2019-03-01 北京京东尚科信息技术有限公司 A kind of method of data synchronization and device
CN109542904A (en) * 2018-11-15 2019-03-29 深圳乐信软件技术有限公司 Business data processing method, device, server and medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110072027A1 (en) * 2009-09-22 2011-03-24 Siemens Product Lifecycle Management Software Inc. System and method for customized file comparison
CN101968793A (en) * 2010-08-25 2011-02-09 大唐软件技术股份有限公司 Method and system for checking on basis of disparate data source data
CN103136276A (en) * 2011-12-02 2013-06-05 阿里巴巴集团控股有限公司 System, method and device of verification of data
CN103577571A (en) * 2013-10-31 2014-02-12 北京奇虎科技有限公司 Data processing method and device
US20150254294A1 (en) * 2014-03-04 2015-09-10 International Business Machines Corporation Dynamic result set caching with a database accelerator
CN106326219A (en) * 2015-06-16 2017-01-11 阿里巴巴集团控股有限公司 Business system data check method, apparatus and system
CN107451136A (en) * 2016-05-30 2017-12-08 阿里巴巴集团控股有限公司 Verification of data method and device
CN108733662A (en) * 2017-04-13 2018-11-02 北京京东尚科信息技术有限公司 Method, apparatus, electronic equipment and the readable storage medium storing program for executing of comparison of data consistency
CN109413127A (en) * 2017-08-18 2019-03-01 北京京东尚科信息技术有限公司 A kind of method of data synchronization and device
CN108319719A (en) * 2018-02-12 2018-07-24 腾讯科技(深圳)有限公司 Database data method of calibration, device, computer equipment and storage medium
CN109299222A (en) * 2018-09-29 2019-02-01 阿里巴巴集团控股有限公司 Verification of data method and device
CN109542904A (en) * 2018-11-15 2019-03-29 深圳乐信软件技术有限公司 Business data processing method, device, server and medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
ALEXEY FEDOROV 等: "Decision rules of signals recognition comparison by results of statistical modelling", 《IEEE》 *
李旭: "面向IMS系统的业务特征冲突管理器的研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
胡志伟: "基于Hadoop的分布式数据检测系统的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113094338A (en) * 2021-03-15 2021-07-09 上海机电工程研究所 Data comparison method, system, device and medium
CN113094338B (en) * 2021-03-15 2022-12-13 上海机电工程研究所 Data comparison method, system, device and medium

Also Published As

Publication number Publication date
CN110297842B (en) 2021-10-15

Similar Documents

Publication Publication Date Title
CN106897322B (en) A kind of access method and device of database and file system
WO2021083239A1 (en) Graph data query method and apparatus, and device and storage medium
CN111177148B (en) Method for automatically building and dividing tables of hydropower database
WO2018226404A1 (en) Machine reasoning based on knowledge graph
JP2017530435A (en) Interactive interface for machine learning model evaluation
US11216474B2 (en) Statistical processing of natural language queries of data sets
Ngu et al. B+-tree construction on massive data with Hadoop
CN109491989A (en) Data processing method and device, electronic equipment, storage medium
CN111861743A (en) Method, device and equipment for reconstructing market quotation based on stroke-by-stroke data
US20220004547A1 (en) Method, apparatus, system, device, and storage medium for answering knowledge questions
CN109947804A (en) Optimization method, device, server and the storage medium of data acquisition system inquiry
US20240126752A1 (en) Joining javascript object notation (json) queries across cloud resources
CN111339743B (en) Account number generation method and device
CN107145574A (en) database data processing method, device and storage medium and electronic equipment
CN111125199B (en) Database access method and device and electronic equipment
CN110297842A (en) A kind of data comparison method, device, terminal and storage medium
US20220300503A1 (en) Querying distributed databases
CN116756298B (en) Cloud database-oriented AI session information optimization method and big data optimization server
Hasan et al. An approach for data transformation in homogeneous and heterogeneous information systems
US11715037B2 (en) Validation of AI models using holdout sets
CN114357180A (en) Knowledge graph updating method and electronic equipment
Dong et al. Research on query optimization of classic art database based on artificial intelligence and edge computing
US20220374399A1 (en) Method and apparatus for smart and extensible schema matching framework
Yuan et al. LGHAE: Local and Global Hyper-relation Aggregation Embedding for Link Prediction
US11467809B2 (en) Evaluation of JavaScript object notation (JSON) queries with first-order logic using context-free grammar

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder

Address after: 430206 Lianying medical headquarters base, No. 99, gaokeyuan Road, Donghu high tech Development Zone, Wuhan, Hubei Province

Patentee after: WUHAN UNITED IMAGING HEALTHCARE Co.,Ltd.

Address before: 430206 b1-7, No. 818, Gaoxin Avenue, Donghu New Technology Development Zone, Wuhan City, Hubei Province

Patentee before: WUHAN UNITED IMAGING HEALTHCARE Co.,Ltd.

CP02 Change in the address of a patent holder