CN109471790A - Send nuclear parameter comparison method and device, computer installation and readable storage medium storing program for executing - Google Patents

Send nuclear parameter comparison method and device, computer installation and readable storage medium storing program for executing Download PDF

Info

Publication number
CN109471790A
CN109471790A CN201811025456.8A CN201811025456A CN109471790A CN 109471790 A CN109471790 A CN 109471790A CN 201811025456 A CN201811025456 A CN 201811025456A CN 109471790 A CN109471790 A CN 109471790A
Authority
CN
China
Prior art keywords
field
nuclear parameter
send
eap
message digest
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
CN201811025456.8A
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.)
Ping An Life Insurance Company of China Ltd
Original Assignee
Ping An Life Insurance Company of China 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 Ping An Life Insurance Company of China Ltd filed Critical Ping An Life Insurance Company of China Ltd
Priority to CN201811025456.8A priority Critical patent/CN109471790A/en
Publication of CN109471790A publication Critical patent/CN109471790A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3664Environments for testing or debugging software

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

One kind sending nuclear parameter comparison method, comprising: obtain application program production version first send nuclear parameter;It send nuclear parameter to be assemblied into the first field for first, calculates the eap-message digest of the first field, send the first field and its eap-message digest write-in to nuclear parameter table;The first field and its eap-message digest sent in nuclear parameter table are imported into the first test table;Obtain Application testing version second send nuclear parameter;It send nuclear parameter to be assemblied into the second field for second, calculates the eap-message digest of the second field, send the second field and its eap-message digest write-in to nuclear parameter table;If the eap-message digest of the second field is different with the eap-message digest of the first field, the second field and its eap-message digest are imported into the second test table;First field is compared with the second field, what is had differences send nuclear parameter.The present invention also provides one kind to send nuclear parameter comparison device, computer installation and computer readable storage medium.The present invention may be implemented fast and accurately nuclear parameter to be sent to compare.

Description

Send nuclear parameter comparison method and device, computer installation and readable storage medium storing program for executing
Technical field
The present invention relates to software testing technology fields, and in particular to one kind send nuclear parameter comparison method and device, computer Device and computer readable storage medium.
Background technique
The main business of insurance sales system is single process.Single process has five big links: recommendation production, insurance certificate out Production, payment of premium, is accepted insurance at system core guarantor.System core guarantor include: insure rule verification, core protect rule verification, premium calculate, It send the accuracy of nuclear parameter most important as link of forming a connecting link.
The every terms of information of typing when the source of nuclear parameter being sent to be recommendation production and insurance certificate production, containing throwing, warrantee is basic Information and relationship, insurance kind insure information, beneficiary's information, throw warrantee's financial information, throw warrantee's health and fitness information, agent accuse Know information etc., is related to a business datum table and base table more than 100, nearly 200 fields altogether.Average daily insurance application is already expired 100,000, list Day peak value nearly 1,000,000 is single.Different insurance applications, combined situation be it is extremely complex, send the number and value and not of nuclear parameter With, IT means are needed to guarantee to send the accuracy of nuclear parameter.
Have in the industry it is similar send the function of nuclear parameter inspection, but be essentially all to do to test based on specific input combination Card has the shortcomings that timeliness is slow, compares that time-consuming, manual intervention is more, limited coverage area, maintenance cost are high.
Summary of the invention
In view of the foregoing, it is necessary to propose that one kind send nuclear parameter comparison method and device, computer installation and computer Readable storage medium storing program for executing may be implemented fast and accurately nuclear parameter to be sent to compare.
The first aspect of the application provides one kind and send nuclear parameter comparison method, which comprises
In the test environment of disposing application program production packet, obtain application program first send nuclear parameter;
It send nuclear parameter to be assemblied into the first field for described first, calculates the eap-message digest of first field, by described the Nuclear parameter table is sent in the write-in of the eap-message digest of one field and first field;
The eap-message digest of first field sent in nuclear parameter table and first field is imported into the first test Table;
In the test environment of disposing application program test bag, obtains and send nuclear parameter the corresponding application with described first The second of program send nuclear parameter;
It send nuclear parameter to be assemblied into the second field for described second, calculates the eap-message digest of second field, by described the Nuclear parameter table is sent described in the write-in of the eap-message digest of two fields and second field;
Compare described send first described in the eap-message digest of the second field described in nuclear parameter table and the first test table The eap-message digest of field;
If described send the first word described in the eap-message digest of the second field described in nuclear parameter table and the first test table The eap-message digest of section is different, and the eap-message digest of second field sent in nuclear parameter table and second field is imported Second test table;
Second field in first field and the second test table in the first test table is carried out Compare, what is had differences send nuclear parameter.
It is described in the test environment of disposing application program production packet in alternatively possible implementation, obtain application The first of program send the nuclear parameter to include:
In the test environment of disposing application program production packet, the first data in initially nuclear state to be sent are obtained, it will First data send nuclear parameter as described first;Or
In the test environment of disposing application program production packet, the first data in initially nuclear state to be sent are obtained, are looked into The associated data for looking for first data is sent the associated data of first data and first data as described first Nuclear parameter;
It is described in the test environment of disposing application program test bag, obtain with described first send nuclear parameter it is corresponding described in The second of application program send the nuclear parameter to include:
In the test environment of disposing application program test bag, obtains and send nuclear parameter corresponding in initial with described first Second data are sent nuclear parameter by second data of nuclear state to be sent;Or
In the test environment of disposing application program test bag, obtains and send nuclear parameter corresponding in initial with described first Second data of nuclear state to be sent search the associated data of second data, by second data and second data Associated data send nuclear parameter as described second.
It is described to send nuclear parameter comparison method in alternatively possible implementation further include:
By it is described have differences send nuclear parameter to be sent to default contact person.
In alternatively possible implementation, the application program production packet, the Application testing packet are ear packets.
In alternatively possible implementation, the application program is insurance sales system, and described first send nuclear parameter, institute Stating second send nuclear parameter to make the every terms of information with typing when insurance certificate production from the recommendation of the insurance sales system, It is protected including throwing insure information, beneficiary's information, the throwing/warrantee's financial information is thrown/of warrantee's essential information and relationship, insurance kind People's health and fitness information, agent's notification.
It is described in the test environment of disposing application program production packet in alternatively possible implementation, obtain application The first of program send the nuclear parameter to include:
Specified database is connected in the test environment for deploying application program production packet, is obtained from the specified database Described first send nuclear parameter;
It is described in the test environment of disposing application program test bag, obtain with described first send nuclear parameter it is corresponding described in The second of application program send the nuclear parameter to include:
The specified database is connected in the test environment for deploying Application testing packet, from the specified database It obtains described second and send nuclear parameter.
In alternatively possible implementation, the specified database is the library cow.
The second aspect of the application provides one kind and send nuclear parameter comparison device, and described device includes:
First acquisition unit, for obtaining the first of application program in the test environment of disposing application program production packet Send nuclear parameter;
First processing units calculate first field for sending nuclear parameter to be assemblied into the first field for described first Eap-message digest send the write-in of the eap-message digest of first field and first field to nuclear parameter table;
First import unit, for by the message of first field sent in nuclear parameter table and first field Abstract imports the first test table;
Second acquisition unit, for obtaining and sending core with described first in the test environment of disposing application program test bag The second of the corresponding application program of parameter send nuclear parameter;
The second processing unit calculates second field for sending nuclear parameter to be assemblied into the second field for described second Eap-message digest will send nuclear parameter table described in the write-in of the eap-message digest of second field and second field;
First comparing unit, for sending the eap-message digest of the second field described in nuclear parameter table and described first described in comparison Test the eap-message digest of the first field described in table;
Second import unit, if sending the eap-message digest of the second field described in nuclear parameter table and described first to survey for described The eap-message digest of first field described in taking temperature is different, by second field sent in nuclear parameter table and second word The eap-message digest of section imports the second test table;
Second comparing unit, for in first field and the second test table in the first test table Second field is compared, and what is had differences send nuclear parameter.
The third aspect of the application provides a kind of computer installation, and the computer installation includes processor, the processing Device is for sending nuclear parameter comparison method described in realization when executing the computer program stored in memory.
The fourth aspect of the application provides a kind of computer readable storage medium, is stored thereon with computer program, described Nuclear parameter comparison method is sent described in realizing when computer program is executed by processor.
For the present invention in the test environment of disposing application program production packet, obtain application program first send nuclear parameter;It will Described first send nuclear parameter to be assemblied into the first field, the eap-message digest of first field is calculated, by first field and institute Nuclear parameter table is sent in the eap-message digest write-in for stating the first field;By first field and described first sent in nuclear parameter table The eap-message digest of field imports the first test table;In the test environment of disposing application program test bag, obtain and described first The second of the corresponding application program of nuclear parameter is sent to send nuclear parameter;It send nuclear parameter to be assemblied into the second field for described second, counts The eap-message digest for calculating second field will send core to join described in the write-in of the eap-message digest of second field and second field Number table;The first field described in the eap-message digest of the second field described in nuclear parameter table and the first test table is sent described in comparing Eap-message digest;If described send first described in the eap-message digest of the second field described in nuclear parameter table and the first test table The eap-message digest of field is different, and the eap-message digest of second field sent in nuclear parameter table and second field is led Enter the second test table;To second field in first field and the second test table in the first test table It is compared, what is had differences send nuclear parameter.The present invention can greatly promote the efficiency for sending nuclear parameter to compare, and realize large quantities of Amount fast and accurately send nuclear parameter to compare.
Detailed description of the invention
Fig. 1 is the flow chart provided in an embodiment of the present invention for sending nuclear parameter comparison method.
Fig. 2 is the structure chart provided in an embodiment of the present invention for sending nuclear parameter comparison device.
Fig. 3 is the schematic diagram of computer installation provided in an embodiment of the present invention.
Specific embodiment
To better understand the objects, features and advantages of the present invention, with reference to the accompanying drawing and specific real Applying example, the present invention will be described in detail.It should be noted that in the absence of conflict, embodiments herein and embodiment In feature can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, described embodiment is only It is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill Personnel's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Unless otherwise defined, all technical and scientific terms used herein and belong to technical field of the invention The normally understood meaning of technical staff is identical.Term as used herein in the specification of the present invention is intended merely to description tool The purpose of the embodiment of body, it is not intended that in the limitation present invention.
Preferably, of the invention that nuclear parameter comparison method is sent to apply in one or more computer installation.The meter Calculation machine device be it is a kind of can be according to the instruction for being previously set or store, automatic progress numerical value calculating and/or information processing are set Standby, hardware includes but is not limited to microprocessor, specific integrated circuit (Application Specific Integrated Circuit, ASIC), programmable gate array (Field-Programmable Gate Array, FPGA), digital processing unit (Digital Signal Processor, DSP), embedded device etc..
The computer installation can be the calculating such as desktop PC, notebook, palm PC and cloud server and set It is standby.The computer installation can carry out people by modes such as keyboard, mouse, remote controler, touch tablet or voice-operated devices with user Machine interaction.
Embodiment one
Fig. 1 is the flow chart for sending nuclear parameter comparison method that the embodiment of the present invention one provides.It is described that nuclear parameter is sent to compare other side Method is applied to computer installation.It is described send nuclear parameter comparison method rapidly to build version and beta version send nuclear parameter into Row compare, determine beta version and produce version it is inconsistent send nuclear parameter, with facilitate tester search reason of discrepancies, exclude Application error.
As shown in Figure 1, it is described send nuclear parameter comparison method specifically includes the following steps:
Step 101, in the test environment of disposing application program production packet, obtain the application program first send core to join Number.
In the test environment of disposing application program production packet, it is the life of the application program that the first of acquisition, which send nuclear parameter, Produce version send nuclear parameter.
The application program production packet is packaged to obtain by the application code of production version.In one embodiment, The application program production packet can be ear packet.Ear packet, which refers to, is packaged as ear format for code.Ear packet is deployed in server On, newest application can come into force.After producing version publication, in order to keep code in test environment previous generation code and production environment Application program production packet (such as production ear packet) can be synchronized to test environment automatically by consistency, deployment platform.
In one embodiment, described that nuclear parameter comparison method is sent to be applied to insurance sales system, for safety plug Sale system send nuclear parameter to be compared.The main business of the insurance sales system is single process, the single process packet out Include recommendation production, insurance certificate production, system core guarantor, payment of premium, five big links of accepting insurance.The insurance sales system send core The every terms of information of typing when parameter is from recommendation production and insurance certificate production, including throw warrantee's essential information and relationship, Insurance kind is insured information, beneficiary's information, throwing/warrantee's financial information, throwing/warrantee's health and fitness information, agent's notification etc., It is related to a business datum table and base table more than 100, nearly 200 fields altogether.Condition of insuring is different, send the number and value of nuclear parameter Also different.
It is appreciated that it is described send nuclear parameter comparison method can be applied to other generate send nuclear parameter system, for pair Other systems send nuclear parameter to compare.
Described first to send nuclear parameter include multiple fields, ID, name, gender, age, occupation, connection for example including client It is the fields such as phone, mailbox, annual income, work unit.
Specified database can be connected in the test environment for deploying application program production packet, from the specified database It obtains described first and send nuclear parameter.
In one embodiment, the specified database can be the library cow.Packet can be produced in disposing application program Core task is sent in starting in test environment, send nuclear parameter from obtaining described first in specified database (such as the library cow).Can institute The pkg script for disposing test in specified database is stated, core task is sent by calling pkg script triggering first, described in generation First send nuclear parameter.
The library cow is the library for daily periodically importing the data of storage facility located at processing plant, can carry out shielding processing to sensitive information.The library cow Mainly it is available to developer and verifies some production problems, and does some tests verifying of database script.
The first number in initially nuclear state to be sent can be obtained in the test environment that disposing application program produces packet According to sending nuclear parameter for first data as described first.
The data of application program core to be sent (such as can be submitted in the test environment that disposing application program produces packet From the data of core) it is written and send core task list, the processing status for sending core task list that can have a field for flag data, The data being newly written are the state of initially core to be sent.Can to send core task list described in periodic scanning, when judgement have in initially to When sending the data of nuclear state, by the data (i.e. in the data of initial nuclear state to be sent) as described first send nuclear parameter into Row send core, while being that after core is sent in completion, and can be by the status indication of the data in processing by the status indication of the data It is processed.Multiple intermediate state of data mode are while to avoid data drain process or more to rationally carry out data processing Secondary processing.
Alternatively, the in initial nuclear state to be sent can be obtained in the test environment that disposing application program produces packet One data search associated data (such as client's essential information, contact details, health and fitness information, the finance letter of first data Cease, information of insuring etc.), nuclear parameter is sent using first data and its associated data as described first.It can be according to described The major key of one data searches the associated data of first data.
Step 102, it send nuclear parameter to be assemblied into the first field for described first, calculates the eap-message digest of first field, Send the write-in of the eap-message digest of first field and first field to nuclear parameter table.
Nuclear parameter can be sent to be configured to first field by described first in the way of key-value pair, for example, described One field are as follows: { id=******, name=******, sex=***** ... }.
The eap-message digest of first field can be generated using digest algorithm.For example, MD (Message can be used Digest, eap-message digest) algorithm (such as MD5) calculates the eap-message digest of first field.For another example, SHA can be used (Secure Hash Algorithm, secure hash algorithm) algorithm (such as SHA1, SHA256) calculates disappearing for first field Breath abstract.For another example, can using MAC (Message Authentication Code, message authentication code) algorithm (such as HmacMD5, HmacSHA256) calculate the eap-message digest of first field.
Digest algorithm is the algorithm for the input of random length being rubbed up and is generated the fixed pseudorandom input of length.Using phase With digest algorithm, the data no matter inputted have how long, the length for the eap-message digest calculated is fixed.For example, using MD5 The eap-message digest that algorithm obtains has 128 bits, has 160 bits with the eap-message digest that SHA-1 algorithm obtains.As long as defeated Enter difference, the eap-message digest generated after being made a summary is not also identical;But identical input generates identical output.Also, only It can be carried out positive eap-message digest, and any data can not be recovered from eap-message digest.
Step 103, the eap-message digest of first field sent in nuclear parameter table and first field is imported First test table.
The first test table is the isomorphism table for sending nuclear parameter table.The first test table includes first field With the eap-message digest of first field.
The first test is imported in the eap-message digest of first field sent in nuclear parameter table and first field It is described to send nuclear parameter table for sky after table.
Step 104, it in the test environment of disposing application program test bag, obtains and send nuclear parameter corresponding with described first The second of the application program send nuclear parameter.
In the test environment of disposing application program test bag, it is the survey of the application program that the second of acquisition, which send nuclear parameter, Test run sheet send nuclear parameter.
The Application testing packet is packaged to obtain by the application code of beta version.In one embodiment, The Application testing packet can be ear packet.It whether there is problem to test the application program of newest modification, it can be by most Application code (application code of the i.e. newest beta version) packing newly modified obtains the Application testing packet.
Described second to send nuclear parameter include multiple fields, ID, name, gender, age, occupation, connection for example including client It is the fields such as phone, mailbox, annual income, work unit.
Described second send nuclear parameter to send nuclear parameter to include with described first field it is identical.For example, described first send core to join Number includes the fields such as ID, name, gender, age, occupation, telephone number, mailbox, annual income, the work unit of client.Second send Nuclear parameter also includes the fields such as ID, name, gender, age, occupation, telephone number, mailbox, annual income, the work unit of client. It can guarantee that second send nuclear parameter and first to send the consistency of nuclear parameter by specified requirements, such as date, item number etc..
It send nuclear parameter similar with acquisition first, can connect and refer in the test environment for deploying Application testing packet Determine database, obtains described second from the specified database and send nuclear parameter.
The specified database can be the library cow.It can start in the test environment of disposing application program test bag and send Core task send nuclear parameter from obtaining described second in specified database (such as the library cow).It can be in the middle part of the specified database The pkg script for affixing one's name to test generates described second and send nuclear parameter by calling the pkg script triggering second to send core task.
It can obtain in the test environment of disposing application program test bag and send nuclear parameter is corresponding to be in described first Second data are sent nuclear parameter by initially the second data of nuclear state to be sent.
The data of application program core to be sent (such as can be submitted in the test environment of disposing application program test bag From the data of core) it is written and send core task list, the processing status for sending core task list that can have a field for flag data, The data being newly written are the state of initially core to be sent.Can to send core task list described in periodic scanning, when judgement have in initially to When sending the data of nuclear state, by the data (i.e. in the data of initial nuclear state to be sent) as described second send nuclear parameter into Row send core, while being that after core is sent in completion, and can be by the status indication of the data in processing by the status indication of the data It is processed.Multiple intermediate state of data mode are while to avoid data drain process or more to rationally carry out data processing Secondary processing.
Alternatively, can obtain in the test environment of disposing application program test bag and send nuclear parameter corresponding with described first The second data in initial nuclear state to be sent, search associated data (such as the client's essential information, connection of second data It is information, health and fitness information, financial information, information of insuring etc.), it is sent using second data and its associated data as described second Nuclear parameter.The associated data of second data can be searched according to the major key of second data.
Step 105, it send nuclear parameter to be assemblied into the second field for described second, calculates the eap-message digest of second field, Nuclear parameter table will be sent described in the write-in of the eap-message digest of second field and second field.
It is similar with step 102, nuclear parameter can be sent to be configured to second word by described second in the way of key-value pair Section, for example, first field are as follows: { id=******, name=******, sex=***** ... }.
The eap-message digest of second field can be generated using digest algorithm.For example, can using MD algorithm (such as MD5 the eap-message digest of second field) is calculated.For another example, described in being calculated using SHA algorithm (such as SHA1, SHA256) The eap-message digest of second field.For another example, described the can be calculated using MAC algorithm algorithm (such as HmacMD5, HmacSHA256) The eap-message digest of two fields.
Step 106, it is sent in the eap-message digest of the second field described in nuclear parameter table and the first test table described in comparing The eap-message digest of first field.
For example, the eap-message digest of the eap-message digest of first field and second field is calculated using MD5, than The eap-message digest of 128 bits of the eap-message digest and second field of 128 bits of first field, if Each bit is identical, then described to send in the eap-message digest of the second field described in nuclear parameter table and the first test table The eap-message digest of first field is identical.Otherwise, described to send described in nuclear parameter table the if any one bit is different The eap-message digest of two fields is different with the eap-message digest of the first field described in the first test table.
Step 107, if described send institute in the eap-message digest of the second field described in nuclear parameter table and the first test table The eap-message digest for stating the first field is different, by the message of second field sent in nuclear parameter table and second field Abstract imports the second test table.
If described send the first word described in the eap-message digest of the second field described in nuclear parameter table and the first test table The eap-message digest of section is different, show that second field and first field are different, i.e. beta version send nuclear parameter and life Produce version send nuclear parameter different.Therefore, variance data is stored in the second test table, and (machine is sent compared to production version The discrepant beta version of nuclear parameter send nuclear parameter).
The second test table is the isomorphism table for sending nuclear parameter table.
The eap-message digest of the second field described in nuclear parameter table and second field is sent to import the second test table described Afterwards, described to send nuclear parameter table for sky.
Step 108, to described second in first field and the second test table in the first test table Field is compared, and what is had differences send nuclear parameter.
Data in second test table have been variance datas, but all at this time nuclear parameter are sent to be recorded in the same word Duan Zhong.Therefore, it is necessary to which the second field in the first field and test table two in the first test table is carried out parsing comparison, obtain Difference details determine to be specifically which send nuclear parameter to have differences.Parsing the process compared can be realized by contrast function, Details are not described herein again.
Beta version send nuclear parameter inconsistent with production version, may have several situations: 1, the same field, beta version The value of this and production version processing is inconsistent;2, the same field, beta version have biography parameter, and production version does not pass parameter; 3, the same field, beta version do not pass parameter, and production version has biography parameter.Beta version send nuclear parameter with production version It is inconsistent, it may be possible to because beta version is defective, to cause to handle mistake.For example, gender is female, it is contemplated that it is biography SEX=F, but It is that the code developed is corrected mistakes, is passed to SEX=M.It is also likely to be the newly-increased function of beta version, needs one field of more biographies.Example Such as, annual income YEAR_INCOME, production version are passed to YEAR_INCOME=30 without this field, beta version.It may also It is that developer's mistake deletes a field value, such as annual income YEAR_INCOME, original beta version and production version have The field, due to deleting the field from beta version mistake, as a result the field, production version do not have the word to beta version Section.This method send nuclear parameter to be compared beta version and production version, exactly finds beta version and production version not It is consistent to send nuclear parameter, to facilitate tester to search inconsistent reason, exclude application error.
Embodiment one send nuclear parameter comparison method in the test environment of disposing application program production packet, obtains and applies journey The first of sequence send nuclear parameter;It send nuclear parameter to be assemblied into the first field for described first, calculates the eap-message digest of first field, Send the write-in of the eap-message digest of first field and first field to nuclear parameter table;It will be described in described send in nuclear parameter table The eap-message digest of first field and first field imports the first test table;In the test environment of disposing application program test bag In, it obtains and send the second of the corresponding application program of nuclear parameter to send nuclear parameter with described first;Nuclear parameter is sent by described second It is assemblied into the second field, the eap-message digest of second field is calculated, by the message of second field and second field Nuclear parameter table is sent described in abstract write-in;The eap-message digest of the second field described in nuclear parameter table and described first is sent to survey described in comparing The eap-message digest of first field described in taking temperature;If described send the eap-message digest of the second field described in nuclear parameter table and described The eap-message digest of first field described in one test table is different, by second field sent in nuclear parameter table and described the The eap-message digest of two fields imports the second test table;To first field and second test in the first test table Second field in table is compared, and what is had differences send nuclear parameter.Embodiment one, which can greatly promote, send core to join The efficiency that number compares realizes high-volume, fast and accurately nuclear parameter is sent to compare.
In another embodiment, it is described send nuclear parameter comparison method can also include: by it is described have differences send core to join Number is sent to default contact person.
Embodiment two
Fig. 2 is the structure chart provided by Embodiment 2 of the present invention for sending nuclear parameter comparison device.As shown in Fig. 2, described send core Parameter comparison device 10 may include: first acquisition unit 201, first processing units 202, the first import unit 203, second obtain Take unit 204, the second processing unit 205, the first comparing unit 206, the second import unit 207, the second comparing unit 208.
First acquisition unit 201, for obtaining the of application program in the test environment of disposing application program production packet One send nuclear parameter.
In the test environment of disposing application program production packet, it is the life of the application program that the first of acquisition, which send nuclear parameter, Produce version send nuclear parameter.
The application program production packet is packaged to obtain by the application code of production version.In one embodiment, The application program production packet can be ear packet.Ear packet, which refers to, is packaged as ear format for code.Ear packet is deployed in server On, newest application can come into force.After producing version publication, in order to keep code in test environment previous generation code and production environment Application program production packet (such as production ear packet) can be synchronized to test environment automatically by consistency, deployment platform.
In one embodiment, described that nuclear parameter comparison method is sent to be applied to insurance sales system, for safety plug Sale system send nuclear parameter to be compared.The main business of the insurance sales system is single process, the single process packet out Include recommendation production, insurance certificate production, system core guarantor, payment of premium, five big links of accepting insurance.The insurance sales system send core The every terms of information of typing when parameter is from recommendation production and insurance certificate production, including throw warrantee's essential information and relationship, Insurance kind is insured information, beneficiary's information, throwing/warrantee's financial information, throwing/warrantee's health and fitness information, agent's notification etc., It is related to a business datum table and base table more than 100, nearly 200 fields altogether.Condition of insuring is different, send the number and value of nuclear parameter Also different.
It is appreciated that it is described send nuclear parameter comparison method can be applied to other generate send nuclear parameter system, for pair Other systems send nuclear parameter to compare.
Described first to send nuclear parameter include multiple fields, ID, name, gender, age, occupation, connection for example including client It is the fields such as phone, mailbox, annual income, work unit.
Specified database can be connected in the test environment for deploying application program production packet, from the specified database It obtains described first and send nuclear parameter.
In one embodiment, the specified database can be the library cow.Packet can be produced in disposing application program Core task is sent in starting in test environment, send nuclear parameter from obtaining described first in specified database (such as the library cow).Can institute The pkg script for disposing test in specified database is stated, core task is sent by calling pkg script triggering first, described in generation First send nuclear parameter.
The library cow is the library for daily periodically importing the data of storage facility located at processing plant, can carry out shielding processing to sensitive information.The library cow Mainly it is available to developer and verifies some production problems, and does some tests verifying of database script.
The first number in initially nuclear state to be sent can be obtained in the test environment that disposing application program produces packet According to sending nuclear parameter for first data as described first.
The data of application program core to be sent (such as can be submitted in the test environment that disposing application program produces packet From the data of core) it is written and send core task list, the processing status for sending core task list that can have a field for flag data, The data being newly written are the state of initially core to be sent.Can to send core task list described in periodic scanning, when judgement have in initially to When sending the data of nuclear state, by the data (i.e. in the data of initial nuclear state to be sent) as described first send nuclear parameter into Row send core, while being that after core is sent in completion, and can be by the status indication of the data in processing by the status indication of the data It is processed.Multiple intermediate state of data mode are while to avoid data drain process or more to rationally carry out data processing Secondary processing.
Alternatively, the in initial nuclear state to be sent can be obtained in the test environment that disposing application program produces packet One data search associated data (such as client's essential information, contact details, health and fitness information, the finance letter of first data Cease, information of insuring etc.), nuclear parameter is sent using first data and its associated data as described first.It can be according to described The major key of one data searches the associated data of first data.
First processing units 202 calculate first field for sending nuclear parameter to be assemblied into the first field for described first Eap-message digest, by the eap-message digest of first field and first field write-in send nuclear parameter table.
Nuclear parameter can be sent to be configured to first field by described first in the way of key-value pair, for example, described One field are as follows: { id=******, name=******, sex=***** ... }.
The eap-message digest of first field can be generated using digest algorithm.For example, MD (Message can be used Digest, eap-message digest) algorithm (such as MD5) calculates the eap-message digest of first field.For another example, SHA can be used (Secure Hash Algorithm, secure hash algorithm) algorithm (such as SHA1, SHA256) calculates disappearing for first field Breath abstract.For another example, can using MAC (Message Authentication Code, message authentication code) algorithm (such as HmacMD5, HmacSHA256) calculate the eap-message digest of first field.
Digest algorithm is the algorithm for the input of random length being rubbed up and is generated the fixed pseudorandom input of length.Using phase With digest algorithm, the data no matter inputted have how long, the length for the eap-message digest calculated is fixed.For example, using MD5 The eap-message digest that algorithm obtains has 128 bits, has 160 bits with the eap-message digest that SHA-1 algorithm obtains.As long as defeated Enter difference, the eap-message digest generated after being made a summary is not also identical;But identical input generates identical output.Also, only It can be carried out positive eap-message digest, and any data can not be recovered from eap-message digest.
First import unit 203, for by first field sent in nuclear parameter table and first field Eap-message digest imports the first test table.
The first test table is the isomorphism table for sending nuclear parameter table.The first test table includes first field With the eap-message digest of first field.
The first test is imported in the eap-message digest of first field sent in nuclear parameter table and first field It is described to send nuclear parameter table for sky after table.
Second acquisition unit 204, in the test environment of disposing application program test bag, acquisition to be sent with described first The second of the corresponding application program of nuclear parameter send nuclear parameter.
In the test environment of disposing application program test bag, it is the survey of the application program that the second of acquisition, which send nuclear parameter, Test run sheet send nuclear parameter.
The Application testing packet is packaged to obtain by the application code of beta version.In one embodiment, The Application testing packet can be ear packet.It whether there is problem to test the application program of newest modification, it can be by most Application code (application code of the i.e. newest beta version) packing newly modified obtains the Application testing packet.
Described second to send nuclear parameter include multiple fields, ID, name, gender, age, occupation, connection for example including client It is the fields such as phone, mailbox, annual income, work unit.
Described second send nuclear parameter to send nuclear parameter to include with described first field it is identical.For example, described first send core to join Number includes the fields such as ID, name, gender, age, occupation, telephone number, mailbox, annual income, the work unit of client.Second send Nuclear parameter also includes the fields such as ID, name, gender, age, occupation, telephone number, mailbox, annual income, the work unit of client. It can guarantee that second send nuclear parameter and first to send the consistency of nuclear parameter by specified requirements, such as date, item number etc..
It send nuclear parameter similar with acquisition first, can connect and refer in the test environment for deploying Application testing packet Determine database, obtains described second from the specified database and send nuclear parameter.
The specified database can be the library cow.It can start in the test environment of disposing application program test bag and send Core task send nuclear parameter from obtaining described second in specified database (such as the library cow).It can be in the middle part of the specified database The pkg script for affixing one's name to test generates described second and send nuclear parameter by calling the pkg script triggering second to send core task.
It can obtain in the test environment of disposing application program test bag and send nuclear parameter is corresponding to be in described first Second data are sent nuclear parameter by initially the second data of nuclear state to be sent.
The data of application program core to be sent (such as can be submitted in the test environment of disposing application program test bag From the data of core) it is written and send core task list, the processing status for sending core task list that can have a field for flag data, The data being newly written are the state of initially core to be sent.Can to send core task list described in periodic scanning, when judgement have in initially to When sending the data of nuclear state, by the data (i.e. in the data of initial nuclear state to be sent) as described second send nuclear parameter into Row send core, while being that after core is sent in completion, and can be by the status indication of the data in processing by the status indication of the data It is processed.Multiple intermediate state of data mode are while to avoid data drain process or more to rationally carry out data processing Secondary processing.
Alternatively, can obtain in the test environment of disposing application program test bag and send nuclear parameter corresponding with described first The second data in initial nuclear state to be sent, search associated data (such as the client's essential information, connection of second data It is information, health and fitness information, financial information, information of insuring etc.), it is sent using second data and its associated data as described second Nuclear parameter.The associated data of second data can be searched according to the major key of second data.
The second processing unit 205 calculates second field for sending nuclear parameter to be assemblied into the second field for described second Eap-message digest, will the eap-message digest of second field and second field write-in described in send nuclear parameter table.
Similar with first processing units 202, the second processing unit 205 can be sent in the way of key-value pair by described second Nuclear parameter is configured to second field, for example, first field are as follows: { id=******, name=******, sex =* * * * * ... }.
The eap-message digest of second field can be generated using digest algorithm.For example, can using MD algorithm (such as MD5 the eap-message digest of second field) is calculated.For another example, described in being calculated using SHA algorithm (such as SHA1, SHA256) The eap-message digest of second field.For another example, described the can be calculated using MAC algorithm algorithm (such as HmacMD5, HmacSHA256) The eap-message digest of two fields.
First comparing unit 206, for sending the eap-message digest of the second field described in nuclear parameter table and described described in comparison The eap-message digest of first field described in first test table.
For example, the eap-message digest of the eap-message digest of first field and second field is calculated using MD5, than The eap-message digest of 128 bits of the eap-message digest and second field of 128 bits of first field, if Each bit is identical, then described to send in the eap-message digest of the second field described in nuclear parameter table and the first test table The eap-message digest of first field is identical.Otherwise, described to send described in nuclear parameter table the if any one bit is different The eap-message digest of two fields is different with the eap-message digest of the first field described in the first test table.
Second import unit 207, if sending the eap-message digest of the second field described in nuclear parameter table and described for described The eap-message digest of first field described in one test table is different, by second field sent in nuclear parameter table and described the The eap-message digest of two fields imports the second test table.
If described send the first word described in the eap-message digest of the second field described in nuclear parameter table and the first test table The eap-message digest of section is different, show that second field and first field are different, i.e. beta version send nuclear parameter and life Produce version send nuclear parameter different.Therefore, variance data is stored in the second test table, and (machine is sent compared to production version The discrepant beta version of nuclear parameter send nuclear parameter).
The second test table is the isomorphism table for sending nuclear parameter table.
The eap-message digest of the second field described in nuclear parameter table and second field is sent to import the second test table described Afterwards, described to send nuclear parameter table for sky.
Second comparing unit 208, for testing table to first field and described second in the first test table In second field be compared, what is had differences send nuclear parameter.
Data in second test table have been variance datas, but all at this time nuclear parameter are sent to be recorded in the same word Duan Zhong.Therefore, it is necessary to which the second field in the first field and test table two in the first test table is carried out parsing comparison, obtain Difference details determine to be specifically which send nuclear parameter to have differences.Parsing the process compared can be realized by contrast function, Details are not described herein again.
Beta version send nuclear parameter inconsistent with production version, may have several situations: 1, the same field, beta version The value of this and production version processing is inconsistent;2, the same field, beta version have biography parameter, and production version does not pass parameter; 3, the same field, beta version do not pass parameter, and production version has biography parameter.Beta version send nuclear parameter with production version It is inconsistent, it may be possible to because beta version is defective, to cause to handle mistake.For example, gender is female, it is contemplated that it is biography SEX=F, but It is that the code developed is corrected mistakes, is passed to SEX=M.It is also likely to be the newly-increased function of beta version, needs one field of more biographies.Example Such as, annual income YEAR_INCOME, production version are passed to YEAR_INCOME=30 without this field, beta version.It may also It is that developer's mistake deletes a field value, such as annual income YEAR_INCOME, original beta version and production version have The field, due to deleting the field from beta version mistake, as a result the field, production version do not have the word to beta version Section.This method send nuclear parameter to be compared beta version and production version, exactly finds beta version and production version not It is consistent to send nuclear parameter, to facilitate tester to search inconsistent reason, exclude application error.
Embodiment two send nuclear parameter comparison device 10 in the test environment of disposing application program production packet, obtains application The first of program send nuclear parameter;Nuclear parameter is sent to be assemblied into the first field by described first, the message for calculating first field is plucked It wants, send the write-in of the eap-message digest of first field and first field to nuclear parameter table;It is sent described in nuclear parameter table The eap-message digest of first field and first field imports the first test table;In the test of disposing application program test bag In environment, obtains and send the second of the corresponding application program of nuclear parameter to send nuclear parameter with described first;Core is sent by described second Parameter is assemblied into the second field, calculates the eap-message digest of second field, by second field and second field Nuclear parameter table is sent described in eap-message digest write-in;Compare and described send the eap-message digest of the second field described in nuclear parameter table and described the The eap-message digest of first field described in one test table;If described send the eap-message digest of the second field described in nuclear parameter table and institute The eap-message digest for stating the first field described in the first test table is different, by second field and the institute sent in nuclear parameter table The eap-message digest for stating the second field imports the second test table;To first field and described second in the first test table Second field in test table is compared, and what is had differences send nuclear parameter.Embodiment two can be greatly promoted and be sent The efficiency that nuclear parameter compares realizes high-volume, fast and accurately nuclear parameter is sent to compare.
In another embodiment, described to send nuclear parameter comparison device 10 can also include: transmission unit, for depositing described Nuclear parameter is sent to be sent to default contact person in difference.
Embodiment three
The present embodiment provides a kind of computer readable storage medium, computer is stored on the computer readable storage medium Program, the computer program realize the above-mentioned step sent in nuclear parameter comparison method embodiment, such as Fig. 1 when being executed by processor Shown step 101-108:
Step 101, in the test environment of disposing application program production packet, obtain application program first send nuclear parameter;
Step 102, it send nuclear parameter to be assemblied into the first field for described first, calculates the eap-message digest of first field, Send the write-in of the eap-message digest of first field and first field to nuclear parameter table;
Step 103, the eap-message digest of first field sent in nuclear parameter table and first field is imported First test table;
Step 104, it in the test environment of disposing application program test bag, obtains and send nuclear parameter corresponding with described first The second of the application program send nuclear parameter;
Step 105, it send nuclear parameter to be assemblied into the second field for described second, calculates the eap-message digest of second field, Nuclear parameter table will be sent described in the write-in of the eap-message digest of second field and second field;
Step 106, it is sent in the eap-message digest of the second field described in nuclear parameter table and the first test table described in comparing The eap-message digest of first field;
Step 107, if described send institute in the eap-message digest of the second field described in nuclear parameter table and the first test table The eap-message digest for stating the first field is different, by the message of second field sent in nuclear parameter table and second field Abstract imports the second test table;
Step 108, to described second in first field and the second test table in the first test table Field is compared, and what is had differences send nuclear parameter.
Alternatively, the function of each module/unit in above-mentioned apparatus embodiment is realized when the computer program is executed by processor, Such as the unit 201-208 in Fig. 2:
First acquisition unit 201, for obtaining the of application program in the test environment of disposing application program production packet One send nuclear parameter;
First processing units 202 calculate first field for sending nuclear parameter to be assemblied into the first field for described first Eap-message digest, by the eap-message digest of first field and first field write-in send nuclear parameter table;
First import unit 203, for by first field sent in nuclear parameter table and first field Eap-message digest imports the first test table;
Second acquisition unit 204, in the test environment of disposing application program test bag, acquisition to be sent with described first The second of the corresponding application program of nuclear parameter send nuclear parameter;
The second processing unit 205 calculates second field for sending nuclear parameter to be assemblied into the second field for described second Eap-message digest, will the eap-message digest of second field and second field write-in described in send nuclear parameter table;
First comparing unit 206, for sending the eap-message digest of the second field described in nuclear parameter table and described described in comparison The eap-message digest of first field described in first test table;
Second import unit 207, if sending the eap-message digest of the second field described in nuclear parameter table and described for described The eap-message digest of first field described in one test table is different, by second field sent in nuclear parameter table and described the The eap-message digest of two fields imports the second test table;
Second comparing unit 208, for testing table to first field and described second in the first test table In second field be compared, what is had differences send nuclear parameter.
Example IV
Fig. 3 is the schematic diagram for the computer installation that the embodiment of the present invention four provides.The computer installation 1 includes memory 20, processor 30 and the computer program 40 that can be run in the memory 20 and on the processor 30, example are stored in Such as send nuclear parameter alignment programs.The processor 30 is realized when executing the computer program 40 above-mentioned send nuclear parameter comparison method Step in embodiment, such as step 101-108 shown in FIG. 1:
Step 101, in the test environment of disposing application program production packet, obtain application program first send nuclear parameter;
Step 102, it send nuclear parameter to be assemblied into the first field for described first, calculates the eap-message digest of first field, Send the write-in of the eap-message digest of first field and first field to nuclear parameter table;
Step 103, the eap-message digest of first field sent in nuclear parameter table and first field is imported First test table;
Step 104, it in the test environment of disposing application program test bag, obtains and send nuclear parameter corresponding with described first The second of the application program send nuclear parameter;
Step 105, it send nuclear parameter to be assemblied into the second field for described second, calculates the eap-message digest of second field, Nuclear parameter table will be sent described in the write-in of the eap-message digest of second field and second field;
Step 106, it is sent in the eap-message digest of the second field described in nuclear parameter table and the first test table described in comparing The eap-message digest of first field;
Step 107, if described send institute in the eap-message digest of the second field described in nuclear parameter table and the first test table The eap-message digest for stating the first field is different, by the message of second field sent in nuclear parameter table and second field Abstract imports the second test table;
Step 108, to described second in first field and the second test table in the first test table Field is compared, and what is had differences send nuclear parameter.
Alternatively, realizing each module in above-mentioned apparatus embodiment/mono- when the processor 30 executes the computer program 40 The function of member, such as the unit 201-208 in Fig. 2:
First acquisition unit 201, for obtaining the of application program in the test environment of disposing application program production packet One send nuclear parameter;
First processing units 202 calculate first field for sending nuclear parameter to be assemblied into the first field for described first Eap-message digest, by the eap-message digest of first field and first field write-in send nuclear parameter table;
First import unit 203, for by first field sent in nuclear parameter table and first field Eap-message digest imports the first test table;
Second acquisition unit 204, in the test environment of disposing application program test bag, acquisition to be sent with described first The second of the corresponding application program of nuclear parameter send nuclear parameter;
The second processing unit 205 calculates second field for sending nuclear parameter to be assemblied into the second field for described second Eap-message digest, will the eap-message digest of second field and second field write-in described in send nuclear parameter table;
First comparing unit 206, for sending the eap-message digest of the second field described in nuclear parameter table and described described in comparison The eap-message digest of first field described in first test table;
Second import unit 207, if sending the eap-message digest of the second field described in nuclear parameter table and described for described The eap-message digest of first field described in one test table is different, by second field sent in nuclear parameter table and described the The eap-message digest of two fields imports the second test table;
Second comparing unit 208, for testing table to first field and described second in the first test table In second field be compared, what is had differences send nuclear parameter.
Illustratively, the computer program 40 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 20, and are executed by the processor 30, to complete the present invention.Described one A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for Implementation procedure of the computer program 40 in the computer installation 1 is described.For example, the computer program 40 can be by Be divided into first acquisition unit 201 in Fig. 2, first processing units 202, the first import unit 203, second acquisition unit 204, The second processing unit 205, the first comparing unit 206, the second import unit 207, the second comparing unit 208, the specific function of each unit It can be referring to embodiment two.
The computer installation 1 can be the calculating such as desktop PC, notebook, palm PC and cloud server and set It is standby.It will be understood by those skilled in the art that the schematic diagram 3 is only the example of computer installation 1, do not constitute to computer The restriction of device 1 may include perhaps combining certain components or different components, example than illustrating more or fewer components Such as described computer installation 1 can also include input-output equipment, network access equipment, bus.
Alleged processor 30 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor 30 is also possible to any conventional processor Deng the processor 30 is the control centre of the computer installation 1, utilizes various interfaces and connection entire computer dress Set 1 various pieces.
The memory 20 can be used for storing the computer program 40 and/or module/unit, and the processor 30 passes through Operation executes the computer program and/or module/unit being stored in the memory 20, and calls and be stored in memory Data in 20 realize the various functions of the computer installation 1.The memory 20 can mainly include storing program area and deposit Store up data field, wherein storing program area can application program needed for storage program area, at least one function (for example sound is broadcast Playing function, image player function etc.) etc.;Storage data area, which can be stored, uses created data (ratio according to computer installation 1 Such as audio data, phone directory) etc..In addition, memory 20 may include high-speed random access memory, it can also include non-easy The property lost memory, such as hard disk, memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card), at least one disk memory, flush memory device or other Volatile solid-state part.
If the integrated module/unit of the computer installation 1 is realized in the form of SFU software functional unit and as independence Product when selling or using, can store in a computer readable storage medium.Based on this understanding, of the invention It realizes all or part of the process in above-described embodiment method, can also instruct relevant hardware come complete by computer program At the computer program can be stored in a computer readable storage medium, which is being executed by processor When, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the computer program includes computer program code, described Computer program code can be source code form, object identification code form, executable file or certain intermediate forms etc..The meter Calculation machine readable medium may include: can carry the computer program code any entity or device, recording medium, USB flash disk, Mobile hard disk, magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory Device (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It needs to illustrate It is that the content that the computer-readable medium includes can be fitted according to the requirement made laws in jurisdiction with patent practice When increase and decrease, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium does not include electric carrier wave letter Number and telecommunication signal.
In several embodiments provided by the present invention, it should be understood that disclosed computer installation and method, it can be with It realizes by another way.For example, computer installation embodiment described above is only schematical, for example, described The division of unit, only a kind of logical function partition, there may be another division manner in actual implementation.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in same treatment unit It is that each unit physically exists alone, can also be integrated in same unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of hardware adds software function module.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie In the case where without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims Variation is included in the present invention.Any reference signs in the claims should not be construed as limiting the involved claims.This Outside, it is clear that one word of " comprising " does not exclude other units or steps, and odd number is not excluded for plural number.It is stated in computer installation claim Multiple units or computer installation can also be implemented through software or hardware by the same unit or computer installation.The One, the second equal words are used to indicate names, and are not indicated any particular order.
Finally it should be noted that the above examples are only used to illustrate the technical scheme of the present invention and are not limiting, although reference Preferred embodiment describes the invention in detail, those skilled in the art should understand that, it can be to of the invention Technical solution is modified or equivalent replacement, without departing from the spirit and scope of the technical solution of the present invention.

Claims (10)

1. one kind send nuclear parameter comparison method, which is characterized in that the described method includes:
In the test environment of disposing application program production packet, obtain application program first send nuclear parameter;
It send nuclear parameter to be assemblied into the first field for described first, the eap-message digest of first field is calculated, by first word Nuclear parameter table is sent in the write-in of the eap-message digest of section and first field;
The eap-message digest of first field sent in nuclear parameter table and first field is imported into the first test table;
In the test environment of disposing application program test bag, obtains and send nuclear parameter the corresponding application program with described first Second send nuclear parameter;
It send nuclear parameter to be assemblied into the second field for described second, the eap-message digest of second field is calculated, by second word Nuclear parameter table is sent described in the write-in of the eap-message digest of section and second field;
The first field described in the eap-message digest of the second field described in nuclear parameter table and the first test table is sent described in comparing Eap-message digest;
If described send the first field described in the eap-message digest of the second field described in nuclear parameter table and the first test table Eap-message digest is different, and the eap-message digest of second field sent in nuclear parameter table and second field is imported second Test table;
First field in the first test table is compared with second field in the second test table, What is had differences send nuclear parameter.
2. the method as described in claim 1, which is characterized in that it is described in the test environment of disposing application program production packet, Obtain application program first send the nuclear parameter to include:
In the test environment of disposing application program production packet, the first data in initially nuclear state to be sent are obtained, it will be described First data send nuclear parameter as described first;Or
In the test environment of disposing application program production packet, the first data in initially nuclear state to be sent are obtained, search institute The associated data for stating the first data send core to join for the associated data of first data and first data as described first Number;
It is described in the test environment of disposing application program test bag, obtain and send nuclear parameter the corresponding application with described first The second of program send the nuclear parameter to include:
In the test environment of disposing application program test bag, obtains and send nuclear parameter corresponding in initially wait send with described first Second data are sent nuclear parameter by second data of nuclear state;Or
In the test environment of disposing application program test bag, obtains and send nuclear parameter corresponding in initially wait send with described first Second data of nuclear state search the associated data of second data, by the pass of second data and second data Join data as described second and send nuclear parameter.
3. the method as described in claim 1, which is characterized in that described to send nuclear parameter comparison method further include:
By it is described have differences send nuclear parameter to be sent to default contact person.
4. the method as described in claim 1, which is characterized in that the application program production packet, the Application testing packet It is ear packet.
5. the method as described in claim 1, which is characterized in that the application program is insurance sales system, and described first send Typing when nuclear parameter, described second send recommendation production and insurance certificate of the nuclear parameter from the insurance sales system to make Every terms of information, including throw warrantee's essential information and relationship, insurance kind and insure information, beneficiary's information, throwing/warrantee's finance letter Breath, throwing/warrantee's health and fitness information, agent's notification.
6. the method as described in claim 1, which is characterized in that it is described in the test environment of disposing application program production packet, Obtain application program first send the nuclear parameter to include:
Specified database is connected in the test environment for deploying application program production packet, is obtained from the specified database described First send nuclear parameter;
It is described in the test environment of disposing application program test bag, obtain and send nuclear parameter the corresponding application with described first The second of program send the nuclear parameter to include:
The specified database is connected in the test environment for deploying Application testing packet, is obtained from the specified database Described second send nuclear parameter.
7. method as claimed in claim 6, which is characterized in that the specified database is the library cow.
8. one kind send nuclear parameter comparison device, which is characterized in that described device includes:
First acquisition unit, in the test environment of disposing application program production packet, obtain application program first to send core Parameter;
First processing units calculate the message of first field for sending nuclear parameter to be assemblied into the first field for described first Abstract send the write-in of the eap-message digest of first field and first field to nuclear parameter table;
First import unit, for by the eap-message digest of first field sent in nuclear parameter table and first field Import the first test table;
Second acquisition unit, for obtaining and sending nuclear parameter with described first in the test environment of disposing application program test bag The second of the corresponding application program send nuclear parameter;
The second processing unit calculates the message of second field for sending nuclear parameter to be assemblied into the second field for described second Abstract will send nuclear parameter table described in the write-in of the eap-message digest of second field and second field;
First comparing unit, for sending the eap-message digest of the second field described in nuclear parameter table and first test described in comparison The eap-message digest of first field described in table;
Second import unit, if sending the eap-message digest of the second field described in nuclear parameter table and the first test table for described Described in the first field eap-message digest it is different, by second field sent in nuclear parameter table and second field Eap-message digest imports the second test table;
Second comparing unit, for it is described first test table in first field and it is described second test table in described in Second field is compared, and what is had differences send nuclear parameter.
9. a kind of computer installation, it is characterised in that: the computer installation includes processor, and the processor is deposited for executing The computer program stored in reservoir send nuclear parameter comparison method to realize as described in any one of claim 1-7.
10. a kind of computer readable storage medium, computer program, feature are stored on the computer readable storage medium It is: is realized when the computer program is executed by processor and nuclear parameter is sent to compare other side as described in any one of claim 1-7 Method.
CN201811025456.8A 2018-09-04 2018-09-04 Send nuclear parameter comparison method and device, computer installation and readable storage medium storing program for executing Pending CN109471790A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811025456.8A CN109471790A (en) 2018-09-04 2018-09-04 Send nuclear parameter comparison method and device, computer installation and readable storage medium storing program for executing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811025456.8A CN109471790A (en) 2018-09-04 2018-09-04 Send nuclear parameter comparison method and device, computer installation and readable storage medium storing program for executing

Publications (1)

Publication Number Publication Date
CN109471790A true CN109471790A (en) 2019-03-15

Family

ID=65663009

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811025456.8A Pending CN109471790A (en) 2018-09-04 2018-09-04 Send nuclear parameter comparison method and device, computer installation and readable storage medium storing program for executing

Country Status (1)

Country Link
CN (1) CN109471790A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112100070A (en) * 2020-09-15 2020-12-18 北京三快在线科技有限公司 Version defect detection method and device, server and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2627672A1 (en) * 2007-10-25 2009-04-25 Her Majesty The Queen In Right Of Canada As Represented By The Solicitor Or General Of Canada, Royal Canadian Mounted Police Method and device for verifying integrity of data acquisition pathways
CN104504347A (en) * 2015-01-20 2015-04-08 网易宝有限公司 Data consistency matching processing method and device
CN105786911A (en) * 2014-12-25 2016-07-20 阿里巴巴集团控股有限公司 Application data checking method and device
CN105933273A (en) * 2016-01-13 2016-09-07 平安科技(深圳)有限公司 Data verification method and server
CN106533958A (en) * 2016-12-05 2017-03-22 国网浙江省电力公司杭州供电公司 Data consistency check method of heterogeneous system of cross-network isolation device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2627672A1 (en) * 2007-10-25 2009-04-25 Her Majesty The Queen In Right Of Canada As Represented By The Solicitor Or General Of Canada, Royal Canadian Mounted Police Method and device for verifying integrity of data acquisition pathways
CN105786911A (en) * 2014-12-25 2016-07-20 阿里巴巴集团控股有限公司 Application data checking method and device
CN104504347A (en) * 2015-01-20 2015-04-08 网易宝有限公司 Data consistency matching processing method and device
CN105933273A (en) * 2016-01-13 2016-09-07 平安科技(深圳)有限公司 Data verification method and server
CN106533958A (en) * 2016-12-05 2017-03-22 国网浙江省电力公司杭州供电公司 Data consistency check method of heterogeneous system of cross-network isolation device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112100070A (en) * 2020-09-15 2020-12-18 北京三快在线科技有限公司 Version defect detection method and device, server and storage medium

Similar Documents

Publication Publication Date Title
CN109428886B (en) Method and system for review verification and trustworthiness scoring via blockchain
CN109791591B (en) Method and system for identity and credential protection and verification via blockchain
US11449476B2 (en) Extracting data from a blockchain network
CN110121727B (en) Method and system for providing authenticated, auditable and immutable input for intelligent contracts
US20200026785A1 (en) Data Manifest as a Blockchain Service
TWI706665B (en) Blockchain-based data checking system, method, computing equipment and storage media
US20190229919A1 (en) Proof chaining and decomposition
CA3087297A1 (en) Blockchain-based data verification method and apparatus, and electronic device
CN110870253A (en) System and method for managing a common software component ecosystem using a distributed ledger
CN111414413A (en) Block chain endorsement verification
CN112163412B (en) Data verification method and device, electronic equipment and storage medium
CN109934712A (en) Account checking method, account checking apparatus and electronic equipment applied to distributed system
CN112035350B (en) Test method and device for block chain system and computer equipment
CN115186304B (en) Transaction data verification method and system based on block chain
US20230019494A1 (en) Data verification method and apparatus, computer device, and computer readable storage medium
CN109947797B (en) Data inspection device and method
CN109471790A (en) Send nuclear parameter comparison method and device, computer installation and readable storage medium storing program for executing
EP4365808A1 (en) Data verification method and apparatus
WO2019179244A1 (en) Service check method and device
CN110852701A (en) Product demand management method, device and system
CN113934729A (en) Data management method based on knowledge graph, related equipment and medium
CN110879835A (en) Data processing method, device and equipment based on block chain and readable storage medium
CN110599314A (en) Travel information processing method, device, server and storage medium based on block chain
CN116506333B (en) Transaction system production inversion detection method and equipment
US11880824B1 (en) Managing digital blockchains via digital tokens, systems, methods, and apparatus

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190315