CN116701895A - Information comparison method, device and computer equipment - Google Patents
Information comparison method, device and computer equipment Download PDFInfo
- Publication number
- CN116701895A CN116701895A CN202310768388.9A CN202310768388A CN116701895A CN 116701895 A CN116701895 A CN 116701895A CN 202310768388 A CN202310768388 A CN 202310768388A CN 116701895 A CN116701895 A CN 116701895A
- Authority
- CN
- China
- Prior art keywords
- verified
- information
- service information
- piece
- interaction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 58
- 230000003993 interaction Effects 0.000 claims abstract description 133
- 238000012937 correction Methods 0.000 claims abstract description 63
- 238000003860 storage Methods 0.000 claims abstract description 52
- 238000012795 verification Methods 0.000 claims abstract description 40
- 238000004590 computer program Methods 0.000 claims abstract description 24
- 230000015654 memory Effects 0.000 claims description 24
- 230000002452 interceptive effect Effects 0.000 claims description 9
- 238000013507 mapping Methods 0.000 claims description 5
- 238000012790 confirmation Methods 0.000 claims description 3
- 238000010200 validation analysis Methods 0.000 claims description 3
- 238000004891 communication Methods 0.000 abstract description 8
- 238000012545 processing Methods 0.000 abstract description 5
- 238000013500 data storage Methods 0.000 description 8
- 238000012546 transfer Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000000926 separation method Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000012549 training Methods 0.000 description 2
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000013135 deep learning Methods 0.000 description 1
- 229910021389 graphene Inorganic materials 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007787 long-term memory Effects 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003062 neural network model Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000006403 short-term memory Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/217—Validation; Performance evaluation; Active pattern learning techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/22—Matching criteria, e.g. proximity measures
Landscapes
- Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Artificial Intelligence (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application relates to the technical field of communication processing, in particular to an information comparison method, an interaction device, computer equipment, a storage medium and a computer program product. The information comparison method comprises the following steps: determining service information to be verified corresponding to the initial service information according to at least one piece of initial service information and a target correction coefficient; acquiring interaction information to be verified according to each service information to be verified; according to at least one verification rule, comparing and matching each business information to be verified and each interaction information to be verified; when the corresponding interaction information to be verified exists in each piece of business information to be verified, the business information to be verified and the interaction information to be verified are considered to be successfully compared, and the method can carry out at least one comparison matching on the business information to be verified and the interaction information to be verified according to at least one verification rule with sequentially weakened priorities, so that the accuracy of information comparison is improved, and comparison omission caused by combination and splitting of the business information is avoided.
Description
Technical Field
The present application relates to the field of communications processing technologies, and in particular, to an information comparison method, an interaction method, an apparatus, a computer device, a storage medium, and a computer program product.
Background
Generally, after providing a service for a service consumer, a service provider needs to obtain a corresponding resource value from a resource storage corresponding to the service consumer.
However, in most cases, after the service provider completes service, the staff needs to call the interaction information generated by the resource storage party and the service provider down to the resource storage party corresponding to the service demand party according to the resource value information generated by the actual service, and manually compare the resource value information of the service provider with the interaction information generated by the resource storage party and the service provider to determine whether the service demand party completes resource transfer.
Disclosure of Invention
In view of the foregoing, it is desirable to provide an information comparison method, an interaction method, an apparatus, a computer device, a storage medium, and a computer program product that can improve the accuracy and the rate of information comparison.
In a first aspect, the present application provides an information comparison method, including:
determining service information to be verified corresponding to the initial service information according to at least one piece of initial service information and a target correction coefficient;
acquiring interaction information to be verified according to each piece of service information to be verified;
according to at least one verification rule which is arranged in sequence, comparing and matching each piece of business information to be verified and each piece of interaction information to be verified;
and when the corresponding interaction information to be verified exists in each piece of to-be-verified service information, the to-be-verified service information is considered to be successfully compared with the to-be-verified interaction information.
In one embodiment, before determining the service information to be verified corresponding to the initial service information according to at least one piece of initial service information and the target correction coefficient, the method includes:
receiving a correction instruction; the correction instruction carries target resource storage address information;
and matching the correction coefficient corresponding to the target resource storage address information from the mapping relation of the pre-stored resource storage address and the correction coefficient as the target correction coefficient.
In one embodiment, before the correcting the coefficient according to the initial service information and the target, the method further includes:
and when the correction instruction is not received, taking a preset initial correction coefficient as the target correction coefficient.
In one embodiment, the service information to be verified carries time information;
the obtaining the interaction information to be verified according to the service information to be verified includes:
and acquiring interaction information to be verified, which is matched with the time information, according to the time information carried by the service information to be verified.
In one embodiment, the verification rule includes comparing each piece of to-be-verified service information with each piece of to-be-verified interaction information, comparing each piece of to-be-verified service information with at least two pieces of to-be-verified interaction information, comparing at least two pieces of to-be-verified service information with each piece of to-be-verified interaction information, and comparing at least two pieces of to-be-verified service information with at least two pieces of to-be-verified interaction information;
the comparing and matching each piece of service information to be verified and each piece of interaction information to be verified according to at least one verification rule arranged in sequence comprises the following steps:
sequentially comparing and matching each piece of service information to be verified with each piece of interaction information to be verified;
when the service information to be verified which cannot be successfully matched exists, sequentially performing comparison matching according to the sequence of comparing each piece of service information to be verified with at least two pieces of interaction information to be verified, comparing at least two pieces of service information to be verified with each piece of interaction information to be verified and comparing at least two pieces of service information to be verified with at least two pieces of interaction information to be verified;
when the corresponding interaction information to be verified exists in each piece of to-be-verified service information, the comparison between the to-be-verified service information and the to-be-verified interaction information is considered to be successful, and the method comprises the following steps:
and when at least one piece of corresponding interaction information to be verified exists in each piece of service information to be verified, the service information to be verified is considered to be successfully compared with the interaction information to be verified.
In one embodiment, the method further comprises:
and when any piece of to-be-verified service information does not have at least one corresponding to-be-verified interaction information, generating prompt information according to the piece of to-be-verified service information so as to prompt that the piece of to-be-verified service information fails in comparison.
In a second aspect, the present application further provides an information comparing apparatus, including:
the determining module is used for determining the service information to be verified corresponding to the initial service information according to at least one piece of initial service information and the target correction coefficient;
the acquisition module is used for acquiring interaction information to be verified according to each piece of service information to be verified;
the comparison module is used for comparing and matching the business information to be verified and the interaction information to be verified according to at least one verification rule which is arranged in sequence;
and the confirmation module is used for considering that the comparison between the business information to be verified and the interactive information to be verified is successful when the corresponding interactive information to be verified exists in each business information to be verified.
In a third aspect, the present application also provides a computer device. The computer device includes a memory storing a computer program and a processor implementing the information comparison method of any of the above embodiments when the processor executes the computer program.
In a fourth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the information comparison method described in any of the above embodiments.
In a fifth aspect, the present application also provides a computer program product. The computer program product comprises a computer program which, when executed by a processor, implements the information comparison method of any of the embodiments described above.
The information comparison method, the device, the computer equipment, the storage medium and the computer program product adopt an automatic information acquisition and information comparison mode, save a great deal of manpower, avoid information comparison errors caused by manpower factors and ensure the accuracy of information comparison; the method and the device can perform at least one comparison matching on the service information to be verified and the interaction information to be verified according to at least one verification rule with sequentially weakened priorities, so that the accuracy of information comparison is improved, and comparison omission caused by combination and splitting of the service information is avoided.
Drawings
FIG. 1 is a diagram of an application environment for an information comparison method in one embodiment;
FIG. 2 is a flow chart of a method of information comparison in one embodiment;
FIG. 3 is a flow chart of a method of information comparison in one embodiment;
FIG. 4 is a flow chart of a method of information comparison in one embodiment;
FIG. 5 is a flow chart of a method of information comparison in one embodiment;
FIG. 6 is a flow chart of a method of information comparison in one embodiment;
FIG. 7 is a block diagram of an information alignment device according to an embodiment;
fig. 8 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The information comparison method provided by the embodiment of the application can be applied to an application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network.
For example, the information comparison method is applied to the terminal 102, the terminal 102 may first obtain at least one piece of initial service information from the data storage system of the server 104, then determine, according to the at least one piece of initial service information and the target correction coefficient, service information to be verified corresponding to the initial service information, and obtain, according to each piece of service information to be verified, interaction information to be verified; according to at least one verification rule which is arranged in sequence, comparing and matching the business information to be verified and the interaction information to be verified; and when the corresponding interaction information to be verified exists in each piece of business information to be verified, the business information to be verified is considered to be successfully compared with the interaction information to be verified. The terminal 102 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, among others. The portable wearable device may be a smart watch, smart bracelet, headset, or the like. The server 104 may be implemented as a stand-alone server or as a server cluster of multiple servers. The terminal 102 and the server 104 may be connected directly or indirectly through wired or wireless communication means, for example, through a network connection.
For another example, the information comparison method is applied to the server 104, the server 104 may obtain at least one piece of initial service information from the data storage system, then determine, according to the at least one piece of initial service information and the target correction coefficient, service information to be verified corresponding to the initial service information, and obtain interaction information to be verified according to each piece of service information to be verified; according to at least one verification rule which is arranged in sequence, comparing and matching the business information to be verified and the interaction information to be verified; and when the corresponding interaction information to be verified exists in each piece of business information to be verified, the business information to be verified is considered to be successfully compared with the interaction information to be verified. It will be appreciated that the data storage system may be a stand-alone storage device, or the data storage system may be located on a server, or the data storage system may be located on another terminal.
In one embodiment, an information comparison method is provided, and the embodiment uses the information comparison method to be applied to a terminal for example. As shown in fig. 2, the information comparison method includes:
step 202, determining the service information to be verified corresponding to the initial service information according to at least one piece of initial service information and the target correction coefficient.
The initial service information may refer to related information corresponding to a service provided by a service provider for a service demander. As an example, the initial service information may be a resource value that the service provider needs to acquire from a resource storage corresponding to the service demander after providing the service for the service demander.
When the service demand party transfers the corresponding resource value from the corresponding resource storage party according to the initial service information, the resource storage party generally generates the corresponding resource additional value according to the resource value to be transferred, so that the resource value required to be acquired by the service provider and the resource value finally transferred by the service demand party have deviation, and the processor needs to correct the initial service information given by the service provider to make up the deviation.
The target correction coefficient refers to a value for compensating for a deviation between a resource value that the service provider needs to acquire and a resource value that the service demander finally transfers. As an example, the target correction factor is typically greater than 1.
The service information to be verified refers to the resource value after the deviation between the resource value required to be acquired by the service provider and the resource value finally transferred by the service demander is compensated on the basis of the initial service information.
As an example, the processor may receive a comparison instruction input by a worker of the service provider from the human-computer interaction interface, obtain initial service information from the data storage system according to the comparison instruction, and then determine the service information to be verified according to the initial service information and the target correction coefficient.
Or the processor can monitor the quantity of the initial service information stored in the data storage system in real time, automatically trigger to acquire the initial service information with the preset quantity threshold from the data storage system when the quantity of the initial service information reaches the preset quantity threshold, and then determine the service information to be verified according to the initial service information and the target correction coefficient.
And 204, acquiring interaction information to be verified according to the business information to be verified.
The interactive information to be verified refers to the resource value transferred by the corresponding resource storage party after the service provider uses the service provided by the service provider. The interaction information to be verified may be stored in an additional memory by the resource storage party, and the processor obtains the corresponding interaction information to be verified from the memory corresponding to the resource storage party according to the service information to be verified after determining the service information to be verified in step 202.
And 206, comparing and matching the business information to be verified and the interaction information to be verified according to at least one verification rule which is arranged in sequence.
The verification rule refers to a rule for comparing the interaction information to be verified with the service information to be verified.
The processor stores at least one verification rule with sequentially reduced priority in advance, after obtaining the interaction information to be verified in step 204, the processor can compare and match each interaction information to be verified with each service information to be verified according to one verification rule with highest priority first, if the interaction information to be verified corresponding to each service information to be verified cannot be successfully matched, the processor continues to compare and match each interaction information to be verified with each service information to be verified according to the priority arrangement sequence by adopting the next verification rule.
It should be noted that, when the processor cannot successfully match to the to-be-verified interaction information corresponding to each piece of to-be-verified service information according to one verification rule with the highest priority, the processor may continue to compare and match all to-be-verified interaction information with all to-be-verified service information again according to the verification rule with the second highest priority, and so on.
Or when the processor cannot successfully match the to-be-verified interaction information corresponding to each piece of to-be-verified service information according to one verification rule with the highest priority, the processor can continuously match the to-be-verified service information which is not matched with the corresponding to-be-verified interaction information with the to-be-verified interaction information according to the verification rule with the second highest priority, and the like.
And step 208, when the corresponding interaction information to be verified exists in each piece of service information to be verified, the service information to be verified is considered to be successfully compared with the interaction information to be verified.
When the processor can match all the to-be-verified service information from the to-be-verified interaction information provided by the resource storage party, the service demand party can be considered to transfer the resource values corresponding to all the used service services to the service provider through the corresponding resource storage party after using the service services provided by the service provider.
In the information comparison method, the processor can correct the deviation between the resource value required to be acquired by the service provider and the resource value finally transferred by the service demand party through the resource storage party according to the target correction coefficient, and can compare and match the service information to be verified and the interaction information to be verified at least once according to at least one verification rule with sequentially weakened priorities, so that the accuracy of information comparison is improved, comparison omission caused by combination and separation of the service information is avoided, the information comparison method adopts an automatic information acquisition and information comparison mode, a large amount of manpower is saved, the information comparison error caused by the manpower factor is avoided, and the information comparison accuracy is ensured.
As shown in fig. 3, in some alternative embodiments, prior to step 202, comprising:
step 201a, receiving a correction instruction; the correction instruction carries target resource storage address information;
step 201b, matching the correction coefficient corresponding to the target resource storage address information from the mapping relation between the pre-stored resource storage address and the correction coefficient as the target correction coefficient.
The correction instruction may be an instruction input by a worker of the service provider through the man-machine interaction interface and used for selecting a resource storage party corresponding to the service requiring party by the processor.
The target resource storage address information refers to a resource storage address of a resource storage party corresponding to the service requiring party.
One service requiring party can be correspondingly provided with a plurality of resource storing parties, and the rules of generating the resource additional values of the resource storing parties are different, and the service provider can determine the resource storing party for providing the resource transfer service for the service requiring party through the correction instruction, and further correct the service information to be verified according to the rules of generating the resource additional values of the resource storing party on the basis of determining the resource storing party.
As an example, the mapping relationship between the resource storage address and the correction coefficient may be not only a correspondence relationship between the resource storage address and one correction coefficient, but also a correspondence relationship between the resource storage address and a resource value-correction coefficient pair, where the resource value-correction coefficient pair includes at least one resource value range and a corresponding correction coefficient. It can be understood that the processor can be matched to the corresponding relation between at least one resource numerical range and the correction coefficient according to the target resource storage address information, so that for each piece of initial service information, the processor can be matched to the corresponding correction coefficient from the corresponding relation between at least one resource numerical range and the correction coefficient according to the resource numerical value to be transferred corresponding to each piece of initial service information, and further determine the service information to be verified according to the matched correction coefficient.
In some alternative embodiments, prior to step 202, comprising:
and when the correction instruction is not received, taking the preset initial correction coefficient as a target correction coefficient.
The initial correction coefficient may be a coefficient having a large value. The initial correction coefficient can cover the rule that more resource storages generate additional values of resources by a larger-range correction mode.
As shown in fig. 4, in some alternative embodiments, the service information to be verified carries time information;
step 204 includes:
step 204a, according to the time information carried by the service information to be verified, obtaining the interaction information to be verified, which is matched with the time information.
In this embodiment, the processor may determine, according to time information carried by each piece of service information to be verified, a time period corresponding to all pieces of service information to be verified, and further obtain all interaction information generated by the resource storage party and the service provider in the time period as the interaction information to be verified. As an example, the earliest time information carried by the service information to be verified is taken as a starting point of the time period, and the latest time information carried by the service information to be verified is taken as an ending point of the time period.
Or the processor can advance the error duration at the starting point of the time period and delay the error duration at the ending point of the time period according to the preset error duration after acquiring the time periods corresponding to all the service information to be verified, so as to acquire the error time period, and further acquire all the interaction information generated by the resource storage party and the service provider in the error time period as the interaction information to be verified.
As shown in fig. 5, in some alternative embodiments, the verification rule includes comparing each piece of to-be-verified service information with each piece of to-be-verified interaction information, comparing each piece of to-be-verified service information with at least two pieces of to-be-verified interaction information, comparing at least two pieces of to-be-verified service information with each piece of to-be-verified interaction information, and comparing at least two pieces of to-be-verified service information with at least two pieces of to-be-verified interaction information;
step 206 comprises:
step 2062, comparing and matching each business information to be verified with each interaction information to be verified in sequence;
step 2064, when there is service information to be verified which cannot be successfully matched, sequentially comparing and matching the service information to be verified with at least two pieces of interactive information to be verified, comparing the at least two pieces of service information to be verified with each piece of interactive information to be verified, and comparing the at least two pieces of service information to be verified with the at least two pieces of interactive information to be verified according to the sequence of comparing the service information to be verified with the at least two pieces of interactive information to be verified.
The processor in this embodiment stores four verification rules in advance: one-to-one, one-to-many, many-to-one, and many-to-many. Namely, each piece of business information to be verified is respectively compared with each piece of interaction information to be verified, each piece of business information to be verified is compared with at least two pieces of interaction information to be verified, at least two pieces of business information to be verified is compared with each piece of interaction information to be verified, and at least two pieces of business information to be verified is compared with at least two pieces of interaction information to be verified.
In some alternative embodiments, the information comparison method further comprises:
and storing each initial service information and the corresponding verification rule correspondingly.
After the processor performs comparison and matching on the service information to be verified according to the four verification rules in sequence, the service information to be verified which is successfully compared and matched with the verification rule adopted by the service information to be verified can be correspondingly stored, for example, the service information a to be verified is successfully matched with the interaction information to be verified through the verification rule of 'comparing each service information to be verified with each interaction information to be verified', the service information b to be verified is successfully matched with the interaction information to be verified through the verification rule of 'comparing at least two service information to be verified with at least two interaction information in sequence', and then the processor correspondingly stores the service information a to be verified with 'comparing each service information to be verified with each interaction information to be verified', 'verifying the service information b' and 'comparing at least two service information to be verified with at least two interaction information to be verified' into two training samples.
And then, inputting all the generated training samples into an initial rule matching model by the processor to obtain a trained rule matching model, wherein the rule matching model can be any model capable of performing deep learning, such as a deep neural network model, a long-term and short-term memory network model and the like.
The rule matching model can be used for rapidly matching the verification rule used by the business information to be verified, and is used for assisting the processor in accelerating the comparison matching process.
In the subsequent processing, before executing step 206, the processor may input the to-be-verified service information into the trained rule matching model, and take the predicted optimal verification rule output by the rule matching model as the verification rule most suitable for the current to-be-verified service information, so as to execute the comparison matching action in step 206.
Under the setting, for each piece of service information to be verified, the processor can firstly compare and match the service information to be verified with the interaction information to be verified according to the predicted optimal verification rule output by the rule matching model, and then perform subsequent matching according to the verification rules arranged in sequence when the comparison and matching are unsuccessful.
As shown in fig. 6, in some alternative embodiments, step 208 includes: step 208a, when each piece of to-be-verified service information has at least one corresponding to-be-verified interaction information, the to-be-verified service information is considered to be successfully compared with the to-be-verified interaction information.
According to the four verification rules, one piece of to-be-verified business information can have one or more pieces of corresponding to-be-verified interaction information, so that after traversing the four verification rules, if each piece of to-be-verified business information has the corresponding to-be-verified interaction information, the processor considers that the to-be-verified business information and the to-be-verified interaction information are successfully compared, namely, after using the business services provided by the business provider, the business demander transfers the corresponding resource values of all the used business services to the business provider through the corresponding resource storage party.
In some alternative embodiments, the information comparison method further comprises:
when any piece of to-be-verified service information does not have at least one corresponding to-be-verified interaction information, generating prompt information according to the piece of to-be-verified service information so as to prompt that the piece of to-be-verified service information fails in comparison.
After traversing the four verification rules, if any piece of to-be-verified service information still exists and cannot be matched with the corresponding to-be-verified interaction information, the processor considers that the to-be-verified service information and the to-be-verified interaction information are failed to be compared, namely, the service requiring party corresponding to the to-be-verified service information which cannot be matched with the corresponding to-be-verified interaction information does not pass through the corresponding resource storage party after using the service provided by the service provider, and all the resource values corresponding to the used service are transferred to the service provider.
In this embodiment, the processor may further generate, according to the to-be-verified service information for which there is no corresponding to-be-verified interaction information, a prompt message, for example, may carry an identity tag of the to-be-verified service information for which there is no corresponding to-be-verified interaction information, where the identity tag may be at least one of letters, characters, or numbers, and is configured to uniquely identify the to-be-verified service information.
The processor displays the prompt information through the man-machine interaction interface, and a worker of the service provider can determine the service requiring party which does not perform the resource transfer action according to the identity tag carried by the prompt information.
In the information comparison method, the processor can correct the deviation between the resource value required to be acquired by the service provider and the resource value finally transferred by the service demand party through the resource storage party according to the target correction coefficient, and can compare and match the service information to be verified and the interaction information to be verified at least once according to at least one verification rule with sequentially weakened priorities, so that the accuracy of information comparison is improved, comparison omission caused by combination and separation of the service information is avoided, the information comparison method adopts an automatic information acquisition and information comparison mode, a large amount of manpower is saved, the information comparison error caused by the manpower factor is avoided, and the information comparison accuracy is ensured.
It should be understood that, although the steps in the flowcharts related to the above embodiments are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides an information comparison device for realizing the information comparison method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation of one or more embodiments of the information comparing device provided below may refer to the limitation of the information comparing method hereinabove, and will not be described herein.
In one embodiment, as shown in fig. 7, an information comparison apparatus 700 is provided: a determining module 702, an acquiring module 704, a comparing module 706, and a confirming module 708, wherein:
the determining module 702 is configured to determine, according to at least one piece of initial service information and the target correction coefficient, service information to be verified corresponding to the initial service information;
the acquisition module 704 is configured to acquire interaction information to be verified according to each service information to be verified;
the comparison module 706 is configured to compare and match each service information to be verified with each interaction information to be verified according to at least one verification rule that is sequentially arranged;
the confirmation module 708 is configured to consider that the comparison between the to-be-verified service information and the to-be-verified interaction information is successful when the to-be-verified interaction information exists in each to-be-verified service information.
In some alternative embodiments, the determination module 702 is further configured to:
receiving a correction instruction; the correction instruction carries target resource storage address information;
and matching the correction coefficient corresponding to the target resource storage address information from the mapping relation of the pre-stored resource storage address and the correction coefficient as a target correction coefficient.
In some alternative embodiments, the determination module 702 is further configured to:
and when the correction instruction is not received, taking the preset initial correction coefficient as a target correction coefficient.
In some alternative embodiments, the service information to be verified carries time information;
the acquisition module 704 is further configured to:
and acquiring interaction information to be verified, which is matched with the time information, according to the time information carried by the service information to be verified.
In some optional embodiments, the verification rule includes comparing each piece of to-be-verified business information with each piece of to-be-verified interaction information, comparing each piece of to-be-verified business information with at least two pieces of to-be-verified interaction information, comparing at least two pieces of to-be-verified business information with each piece of to-be-verified interaction information, and comparing at least two pieces of to-be-verified business information with at least two pieces of to-be-verified interaction information;
the comparison module 706 is further configured to:
sequentially comparing and matching the business information to be verified with the interaction information to be verified;
when the service information to be verified which cannot be successfully matched exists, sequentially performing comparison matching according to the sequence of comparing each service information to be verified with at least two pieces of interaction information to be verified, comparing at least two pieces of service information to be verified with each interaction information to be verified and comparing at least two pieces of service information to be verified with at least two pieces of interaction information to be verified;
the validation module 708 is further configured to:
and when each piece of to-be-verified service information has at least one corresponding to-be-verified interaction information, the to-be-verified service information is considered to be successfully compared with the to-be-verified interaction information.
In some alternative embodiments, the validation module 708 is further configured to:
when any piece of to-be-verified service information does not have at least one corresponding to-be-verified interaction information, generating prompt information according to the piece of to-be-verified service information so as to prompt that the piece of to-be-verified service information fails in comparison.
The above-mentioned various modules in the information comparison device may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure thereof may be as shown in fig. 8. The computer device includes a processor, a memory, an input/output interface, a communication interface, a display unit, and an input means. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement an information comparison method. The display unit of the computer device is used for forming a visual picture, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be a key, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in FIG. 8 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of the above-described information comparison method.
In one embodiment, a computer program product is provided comprising a computer program which, when executed by a processor, performs the steps of the above information comparison method.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the embodiments provided herein may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processor referred to in the embodiments provided in the present application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, or the like, but is not limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of the application should be assessed as that of the appended claims.
Claims (10)
1. An information comparison method is characterized by comprising the following steps:
determining service information to be verified corresponding to the initial service information according to at least one piece of initial service information and a target correction coefficient;
acquiring interaction information to be verified according to each piece of service information to be verified;
according to at least one verification rule which is arranged in sequence, comparing and matching each piece of business information to be verified and each piece of interaction information to be verified;
and when the corresponding interaction information to be verified exists in each piece of to-be-verified service information, the to-be-verified service information is considered to be successfully compared with the to-be-verified interaction information.
2. The method according to claim 1, wherein before determining the service information to be verified corresponding to the initial service information according to at least one piece of initial service information and the target correction coefficient, the method comprises:
receiving a correction instruction; the correction instruction carries target resource storage address information;
and matching the correction coefficient corresponding to the target resource storage address information from the mapping relation of the pre-stored resource storage address and the correction coefficient as the target correction coefficient.
3. The method of claim 2, further comprising, prior to said modifying the coefficients based on the initial traffic information and the target:
and when the correction instruction is not received, taking a preset initial correction coefficient as the target correction coefficient.
4. The method according to claim 1, wherein the service information to be verified carries time information;
the obtaining the interaction information to be verified according to the service information to be verified includes:
and acquiring interaction information to be verified, which is matched with the time information, according to the time information carried by the service information to be verified.
5. The method of claim 1, wherein the validation rules include comparing each of the to-be-validated business information with each of the to-be-validated interaction information, comparing each of the to-be-validated business information with at least two of the to-be-validated interaction information, comparing at least two of the to-be-validated business information with each of the to-be-validated interaction information, and comparing at least two of the to-be-validated business information with at least two of the to-be-validated interaction information;
the comparing and matching each piece of service information to be verified and each piece of interaction information to be verified according to at least one verification rule arranged in sequence comprises the following steps:
sequentially comparing and matching each piece of service information to be verified with each piece of interaction information to be verified;
when the service information to be verified which cannot be successfully matched exists, sequentially performing comparison matching according to the sequence of comparing each piece of service information to be verified with at least two pieces of interaction information to be verified, comparing at least two pieces of service information to be verified with each piece of interaction information to be verified and comparing at least two pieces of service information to be verified with at least two pieces of interaction information to be verified;
when the corresponding interaction information to be verified exists in each piece of to-be-verified service information, the comparison between the to-be-verified service information and the to-be-verified interaction information is considered to be successful, and the method comprises the following steps:
and when at least one piece of corresponding interaction information to be verified exists in each piece of service information to be verified, the service information to be verified is considered to be successfully compared with the interaction information to be verified.
6. The method of claim 5, wherein the method further comprises:
and when any piece of to-be-verified service information does not have at least one corresponding to-be-verified interaction information, generating prompt information according to the piece of to-be-verified service information so as to prompt that the piece of to-be-verified service information fails in comparison.
7. An information comparison apparatus, comprising:
the determining module is used for determining the service information to be verified corresponding to the initial service information according to at least one piece of initial service information and the target correction coefficient;
the acquisition module is used for acquiring interaction information to be verified according to each piece of service information to be verified;
the comparison module is used for comparing and matching the business information to be verified and the interaction information to be verified according to at least one verification rule which is arranged in sequence;
and the confirmation module is used for considering that the comparison between the business information to be verified and the interactive information to be verified is successful when the corresponding interactive information to be verified exists in each business information to be verified.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the information comparison method of any of claims 1 to 6 when the computer program is executed.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, carries out the steps of the information comparison method according to any one of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the steps of the information comparison method of any of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310768388.9A CN116701895A (en) | 2023-06-27 | 2023-06-27 | Information comparison method, device and computer equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310768388.9A CN116701895A (en) | 2023-06-27 | 2023-06-27 | Information comparison method, device and computer equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116701895A true CN116701895A (en) | 2023-09-05 |
Family
ID=87823786
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310768388.9A Pending CN116701895A (en) | 2023-06-27 | 2023-06-27 | Information comparison method, device and computer equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116701895A (en) |
-
2023
- 2023-06-27 CN CN202310768388.9A patent/CN116701895A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110245220B (en) | Electronic document signing method, electronic document signing device, electronic document server and storage medium | |
CN113268336B (en) | Service acquisition method, device, equipment and readable medium | |
US10708207B2 (en) | Emoticon sending method, computer device and computer-readable storage medium | |
CN113505520A (en) | Method, device and system for supporting heterogeneous federated learning | |
CN111428884A (en) | Federal modeling method, device and readable storage medium based on forward law | |
US20140316828A1 (en) | System and method for exchanging an electronic ticket | |
CN114003510A (en) | Script testing method, device, equipment and medium based on Mock service | |
CN117473130A (en) | Service processing method, device, equipment, medium and program product | |
CN110347973B (en) | Method and device for generating information | |
CN116701895A (en) | Information comparison method, device and computer equipment | |
CN116112485A (en) | Cloud resource using method and related equipment | |
CN110532186B (en) | Method, device, electronic equipment and storage medium for testing by using verification code | |
US9210147B1 (en) | Method, apparatus and computer program product for assessing risk associated with authentication requests | |
US20190303182A1 (en) | System and method for providing advice and assistance through task-tracking systems | |
CN107272920B (en) | Method and device for changing corresponding relation between keys and characters | |
CN114281849B (en) | Data query method and device | |
CN116707972A (en) | Device authentication method, device, computer device and storage medium thereof | |
CN117194036A (en) | Contract information processing method and device and computer equipment | |
CN116149750A (en) | Data processing method, device, computer equipment and storage medium | |
CN116823269A (en) | Resource scheduling method, device, computer equipment and storage medium | |
CN116915434A (en) | Verification code asynchronous acquisition method and device based on RxJS and computer equipment | |
CN116795871A (en) | Task state determining method and device and computer equipment | |
CN116978377A (en) | Data processing method, apparatus, computer device, storage medium, and program product | |
CN115599968A (en) | Transaction data processing method and device, computer equipment and storage medium | |
CN116975440A (en) | Attribute classification method, attribute classification device and computer equipment |
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 |