CN114971605A - Verification processing method and device for offline payment, computer equipment and medium - Google Patents

Verification processing method and device for offline payment, computer equipment and medium Download PDF

Info

Publication number
CN114971605A
CN114971605A CN202210446993.XA CN202210446993A CN114971605A CN 114971605 A CN114971605 A CN 114971605A CN 202210446993 A CN202210446993 A CN 202210446993A CN 114971605 A CN114971605 A CN 114971605A
Authority
CN
China
Prior art keywords
information
offline payment
payment bill
order
bill
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
CN202210446993.XA
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 International Financial Leasing Co Ltd
Original Assignee
Ping An International Financial Leasing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An International Financial Leasing Co Ltd filed Critical Ping An International Financial Leasing Co Ltd
Priority to CN202210446993.XA priority Critical patent/CN114971605A/en
Publication of CN114971605A publication Critical patent/CN114971605A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/085Payment architectures involving remote charge determination or related payment systems
    • G06Q20/0855Payment architectures involving remote charge determination or related payment systems involving a third party
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification

Abstract

The invention discloses a verification processing method, a device, computer equipment and a medium for offline payment, wherein the method comprises the following steps: receiving at least one order information of a user to be processed, and acquiring an offline payment bill information list of the user to be processed according to a preset period; verifying whether the order information is matched with the offline payment bill information list or not, and generating a verification result; when the verification result is abnormal, initializing a preset dynamic bill abnormal strategy library; mapping the strategy information corresponding to the verification result from the dynamic bill abnormal strategy library to generate a mapping result; and judging whether the order information passes the verification according to the mapping result. According to the method and the device, the order information is matched with the offline payment bill information list, if the order information is matched with the offline payment bill information list, the order information is processed through the offline payment bill information list, and if the order information is matched with the offline payment bill information list, exception automatic processing is performed through the dynamic bill exception policy library, so that the workload of offline running water matching can be greatly reduced, and the order processing efficiency is improved.

Description

Verification processing method and device for offline payment, computer equipment and medium
Technical Field
The invention relates to the technical field of computers, in particular to a verification processing method and device for offline payment, computer equipment and a medium.
Background
In the automobile financing lease market, a lease company needs to cooperate with a large number of dealers in business, and provides various fund exchange services including lease money, selling of automobile spare and accessory parts and accessories, vehicle maintenance packages and the like for a vehicle purchasing customer. In reality, because of the purchasing habits of valuables, vehicle-purchasing customers are accustomed to completing transactions by way of a line-based payment. After the transaction is over, the system needs to verify the multiple offline transaction information and the order information to ensure that the transaction is error-free.
In the prior art, as described in the patent application "a trade method for online and offline payment for online trade", the method adopted is to achieve the intention of trade in the system, generate an order, perform offline bank transfer payment, check a contract bill by the system, confirm the receipt by a buyer, and unfreeze the payment flow by the system. The method is suitable for supervision of a party with a platform, and is not suitable for a scene of a dealer leasing the channel. Meanwhile, the method is low in efficiency, is suitable for processing a single flow record, when a customer rents a vehicle, other value-added service products are selected to be purchased, and the account is transferred to a receiving account in a mode of transferring for multiple times or gathering for multiple times in an offline mode, so that the transfer flow information of multiple times can appear. In this case, it is often difficult for the receiver to completely associate the plurality of flow records with the order information.
Disclosure of Invention
In view of the above, it is necessary to provide a verification processing method, an apparatus, a computer device, and a medium for offline payment, in order to solve the problem of low accuracy of data recommendation.
A verification processing method for offline payment comprises the following steps: receiving at least one order information of a user to be processed, and acquiring offline payment bill information of the user to be processed according to a preset period to obtain an offline payment bill information list; verifying whether the order information is matched with the offline payment bill information list or not, and generating a verification result; when the verification result is abnormal, initializing a preset dynamic bill abnormal strategy library; mapping the strategy information corresponding to the verification result from the dynamic bill abnormal strategy library to generate a mapping result; and judging whether the order information passes the verification according to the mapping result.
In one embodiment, the obtaining offline payment bill information of a user to be processed according to a preset period to obtain an offline payment bill information list includes: connecting a block chain transaction platform; starting a timer to count down the duration of a preset period; after the countdown is finished, a bill payment request instruction is created according to the identity information of the user to be processed; sending a bill payment request instruction to a blockchain transaction platform; receiving offline payment bill information fed back by the blockchain transaction platform; continuing to execute the step of starting a timer to count down the duration of the preset period until the information fed back by the blockchain transaction platform is empty and the traversal times exceed the preset duration, and obtaining a plurality of pieces of offline payment bill information; and constructing an offline payment bill information list of the user to be processed according to the plurality of pieces of offline payment bill information.
In one embodiment, the constructing the offline payment bill information list of the user to be processed according to the plurality of pieces of offline payment bill information includes: acquiring the priority of each piece of offline payment bill information in a plurality of pieces of offline payment bill information; sequencing the plurality of pieces of offline payment bill information according to the high-low sequence of the priority, and generating an offline payment bill information sequence; creating a target array according to the quantity of the plurality of pieces of offline payment bill information; and sequentially inserting the offline payment bill information sequence into the target array to generate an offline payment bill information list of the user to be processed.
In one embodiment, verifying whether the order information matches the offline payment bill information list, and generating a verification result includes: performing word segmentation on the order information to generate a first word segmentation result of the order information; extracting a plurality of first keywords of the order information from the first segmentation result by adopting a keyword extraction algorithm; performing word segmentation on each piece of offline payment bill information in the offline payment bill information list to generate a second word segmentation result of each piece of offline payment bill information; extracting keywords from the second word segmentation result of each piece of offline payment bill information by adopting a keyword extraction algorithm, and generating a plurality of second keywords of each piece of offline payment bill information; and verifying according to the plurality of first key words and the plurality of second key words of each piece of offline payment bill information to generate a verification result.
In one embodiment, the verifying according to the plurality of first keywords and the plurality of second keywords of each offline payment bill information to generate a verification result comprises: determining first collection information and a total amount of the commodity order according to a plurality of first keywords of the order information; determining a plurality of second collection information and a total payment amount according to a plurality of second keywords of each offline payment bill information; when the first collection information is the same as the plurality of second collection information and the total amount of the commodity order is the same as the total amount of the payment, generating a verification result without abnormality; or when the first collection information is different from the plurality of second collection information and/or the total amount of the commodity order is different from the total amount of the payment, generating a verification result with abnormity.
In one embodiment, before receiving at least one piece of order information of a user to be processed, the method further includes: creating a ternary array; acquiring historical abnormal information in each historical order; historical strategy information corresponding to the historical abnormal information in each historical order is established; creating a history mapping relation between history abnormal information in each history order and history strategy information corresponding to the history abnormal information; and storing the historical abnormal information in each historical order, the historical strategy information corresponding to the historical abnormal information and the historical mapping relation in a ternary array to generate a dynamic bill abnormal strategy library.
In one embodiment, determining whether the order information passes the verification according to the mapping result includes: when target strategy information exists in the mapping result, correcting the abnormity existing in the verification result based on the strategy information, and determining that the order information passes the verification; or when the target strategy information does not exist in the mapping result, determining that the order information is not verified, generating an abnormal description text and sending the abnormal description text to the client; receiving current policy information sent by a client, and creating a mapping relation between the current policy information and the abnormity existing in the verification result; and storing the current strategy information, the abnormity existing in the verification result and the mapping relation into a preset dynamic bill abnormity strategy library.
An offline payment verification processing apparatus, the apparatus comprising: the offline payment bill information acquisition module is used for receiving at least one order information of the user to be processed, acquiring the offline payment bill information of the user to be processed according to a preset period, and acquiring an offline payment bill information list; the verification result generation module is used for verifying whether the order information is matched with the offline payment bill information list or not and generating a verification result; the dynamic bill exception policy base initialization module is used for initializing a preset dynamic bill exception policy base when an exception exists in a verification result; the mapping result generation module is used for mapping the strategy information corresponding to the verification result from the dynamic bill abnormal strategy library to generate a mapping result; and the information verification module is used for judging whether the order information passes the verification according to the mapping result.
A computer device comprising a memory and a processor, the memory having stored therein computer readable instructions which, when executed by the processor, cause the processor to carry out the steps of the above method of verification processing of offline payments.
A medium having computer-readable instructions stored thereon which, when executed by one or more processors, cause the one or more processors to perform the steps of the method for verification processing of offline payments described above.
According to the verification processing method, device, equipment and medium for offline payment, the verification processing device for offline payment firstly receives at least one order information of a user to be processed, acquires an offline payment bill information list of the user to be processed according to a preset period, then verifies whether the order information is matched with the offline payment bill information list to generate a verification result, then initializes a preset dynamic bill abnormity policy base when the verification result is abnormal, then maps the policy information corresponding to the verification result from the dynamic bill abnormity policy base to generate a mapping result, and finally judges whether the order information passes the verification according to the mapping result. According to the method and the device, the order information is matched with the offline payment bill information list, if the order information is matched with the offline payment bill information list, the order information is processed to pass, and if the order information is matched with the offline payment bill information list to be abnormal, the abnormal order information is processed automatically through the dynamic bill abnormal strategy library, so that the workload of offline running water matching can be greatly reduced, and the order processing efficiency is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a diagram of an environment for implementing a method for verifying an offline payment according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an internal structure of a computer device according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a method for verification processing of an offline payment according to an embodiment of the present application;
FIG. 4 is a block diagram illustrating a process for verification processing of an offline payment as provided in one embodiment of the present application;
fig. 5 is a schematic device diagram of a verification processing device for offline payment according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another.
Fig. 1 is a diagram of an implementation environment of a verification processing method for offline payment provided in an embodiment, as shown in fig. 1, in which the implementation environment includes a server 110 and a client 120.
The server 110 may be a server, which may specifically be an independent server, or may be a cloud server that provides basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a Content Delivery Network (CDN), a big data and artificial intelligence platform, and the like, for example, a server device that stores order information and a dynamic bill exception policy library. The server 110 receives at least one piece of order information of a user to be processed sent by the client 120, and obtains offline payment bill information of the user to be processed according to a preset period to obtain an offline payment bill information list, the server 110 verifies whether the order information is matched with the offline payment bill information list to generate a verification result, the server 110 initializes a preset dynamic bill abnormity policy base when the verification result is abnormal, the server 110 maps policy information corresponding to the verification result from the dynamic bill abnormity policy base to generate a mapping result, the server 110 judges whether the order information passes verification according to the mapping result, and generates verification failure description information to send to the client 120 when the verification fails.
It should be noted that the client 120 may be, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, and the like. The server 110 and the client 120 may be connected through bluetooth, USB (Universal Serial Bus), or other communication connection methods, which is not limited herein.
FIG. 2 is a diagram illustrating an internal structure of a computer device according to an embodiment. As shown in fig. 2, the computer device includes a processor, a medium, a memory, and a network interface connected through a system bus. The computer device comprises a medium, an operating system, a database and computer readable instructions, wherein the database can store control information sequences, and the computer readable instructions can enable a processor to realize a verification processing method of offline payment when being executed by the processor. The processor of the computer device is used for providing calculation and control capability and supporting the operation of the whole device. The memory of the computer device may have stored therein computer readable instructions that, when executed by the processor, may cause the processor to perform a method of verification processing of offline payments. The network interface of the computer device is used for connecting and communicating with the terminal. Those skilled in the art will appreciate that the architecture shown in fig. 2 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components. Wherein the medium is a readable storage medium.
The method for verifying offline payment provided by the embodiment of the present application will be described in detail below with reference to fig. 3 to 4. The method may be implemented in dependence on a computer program, executable on a verification processing means for offline payments based on the von neumann architecture. The computer program may be integrated into the application or may run as a separate tool-like application.
The embodiment of the application can acquire and process related data based on an artificial intelligence technology. Among them, Artificial Intelligence (AI) is a theory, method, technique and application system that simulates, extends and expands human Intelligence using a digital computer or a machine controlled by a digital computer, senses the environment, acquires knowledge and uses the knowledge to obtain the best result.
The artificial intelligence base technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technologies, operation/interaction systems, mechatronics, and the like. The artificial intelligence software technology mainly comprises a computer vision technology, a robot technology, a biological recognition technology, a voice processing technology, a natural language processing technology, machine learning/deep learning and the like.
Referring to fig. 3, a flow chart of a verification processing method for offline payment is provided in the embodiment of the present application. As shown in fig. 3, the method of the embodiment of the present application may include the following steps:
s101, receiving at least one order information of a user to be processed, and acquiring offline payment bill information of the user to be processed according to a preset period to obtain an offline payment bill information list;
the order information is information generated after the user places an order, and may include, but is not limited to, payer information, payee information, package purchase content, and other data. The preset period is an information acquisition interval set by the system, for example, a request for acquiring the offline payment bill information of the user to be processed once can be set for 5 minutes, and a request for acquiring the offline payment bill information of the user to be processed once can be set for 10 minutes.
It should be noted that the duration of the preset period may be set according to an actual scene, and is not limited herein.
In the embodiment of the application, after the user orders at the client, the order information is generated and sent to the server, the server firstly receives at least one order information of the user to be processed, then connecting a block chain transaction platform, starting a timer to count down the duration of a preset period, and after the countdown is finished, a bill payment request instruction is created according to the identity information of the user to be processed, secondly, sending a bill payment request instruction to the blockchain transaction platform, receiving off-line bill payment information fed back by the blockchain transaction platform, and continuously executing the step of starting the timer to count down the duration of the preset period until the information fed back by the blockchain transaction platform is empty and the traversal times exceed the preset duration, and finally, establishing an offline payment bill information list of the user to be processed according to the plurality of offline payment bill information.
Specifically, when an offline payment bill information list of a user to be processed is constructed according to a plurality of pieces of offline payment bill information, the priority of each piece of offline payment bill information in the plurality of pieces of offline payment bill information is firstly obtained, then the plurality of pieces of offline payment bill information are sequenced according to the sequence of the priorities to generate an offline payment bill information sequence, a target array is created according to the number of the plurality of pieces of offline payment bill information, and finally the offline payment bill information sequence is sequentially inserted into the target array to generate the offline payment bill information list of the user to be processed.
Specifically, when the priority of each piece of offline payment bill information in the plurality of pieces of offline payment bill information is obtained, the amount of each piece of offline payment bill information is counted first, and the priority of each piece of offline payment bill information is determined based on the amount of each piece of offline payment bill information.
For example, offline payment billing information with larger amounts has higher priority.
Specifically, when the priority of each piece of offline payment bill information in the plurality of pieces of offline payment bill information is obtained, the payment time of each piece of offline payment bill information is obtained first, and the priority of each piece of offline payment bill information is determined according to the distance between the payment time of each piece of offline payment bill information and the current time.
For example, offline payment billing information with shorter payment time has higher priority.
It should be noted that the blockchain transaction platform is a platform system for user transaction, and the information and the amount of money of the user are stored by the blockchain, which can improve the security of the transaction.
S102, verifying whether the order information is matched with the offline payment bill information list or not, and generating a verification result;
in a possible implementation manner, when matching is performed, firstly, word segmentation is performed on order information to generate a first word segmentation result of the order information, then, a plurality of first keywords of the order information are extracted from the first word segmentation result by adopting a keyword extraction algorithm, then, word segmentation is performed on each offline payment bill information in an offline payment bill information list to generate a second word segmentation result of each offline payment bill information, then, keywords are extracted from the second word segmentation result of each offline payment bill information by adopting a keyword extraction algorithm to generate a plurality of second keywords of each offline payment bill information, and finally, verification is performed according to the plurality of first keywords and the plurality of second keywords of each offline payment bill information to generate a verification result.
Specifically, the matching includes, but is not limited to, payer information, payee information, payment amount, and the like.
S103, initializing a preset dynamic bill exception policy library when an exception exists in a verification result;
in a possible implementation mode, when the verification result has an exception, initializing a preset dynamic bill exception policy library; or when the verification result does not have the abnormality, determining that the order information passes the verification.
Further, when a preset dynamic bill exception policy library is generated, firstly, a ternary array is created, historical exception information in each historical order is obtained, historical policy information corresponding to the historical exception information in each historical order is constructed, then, a historical mapping relation between the historical exception information in each historical order and the historical policy information corresponding to the historical exception information is created, and finally, the historical exception information in each historical order, the historical policy information corresponding to the historical exception information and the historical mapping relation are stored in the ternary array to generate the dynamic bill exception policy library.
Specifically, when a preset dynamic bill exception policy library is initialized, the preset dynamic bill exception policy library is loaded from a memory, then parameters of the dynamic bill exception policy library are reset, and whether each policy exists in the dynamic bill exception policy library is judged one by one.
S104, mapping the strategy information corresponding to the verification result from the abnormal strategy library of the dynamic bill to generate a mapping result;
in a possible implementation manner, firstly, abnormal information existing in the verification result is obtained, a mapping relation of the abnormal information is calculated, and the strategy information corresponding to the verification result is mapped from the dynamic bill abnormal strategy library according to the mapping relation to generate a mapping result.
Specifically, when the mapping relation of the abnormal information is calculated, the multi-dimensional vector of the abnormal information is solved, the hyperplane of the multi-dimensional vector is calculated by adopting a Linear kernel function, and the mapping relation of the abnormal information is determined through the hyperplane.
And S105, judging whether the order information passes the verification according to the mapping result.
In a possible implementation mode, when judging whether order information passes verification according to a mapping result, firstly, when target strategy information exists in the mapping result, then, correcting the abnormity existing in the verification result based on the strategy information to determine that the order information passes verification; or when the target policy information does not exist in the mapping result, determining that the order information is not verified, generating an exception description text and sending the exception description text to the client, receiving the current policy information sent by the client, creating a mapping relation between the current policy information and the exception existing in the verification result, and finally storing the current policy information and the exception existing in the verification result and the mapping relation into a preset dynamic bill exception policy library.
For example, as shown in fig. 4, fig. 4 is a schematic block diagram of a process of verification processing of offline payment provided by the present application, first, a client obtains order information after making an order online, and obtains an offline payment bill after completing an offline transaction by using an offline payment method in combination with a blockchain transaction platform, then, after receiving the order information, a server obtains the offline payment bill according to a preset period, and verifies whether the order information and the offline payment bill are matched, if the order information and the offline payment bill are matched normally, the offline payment bill is automatically matched, and the verification is passed, if the order information and the offline payment bill are matched abnormally, a policy of abnormal data is determined by combining with a dynamic bill abnormal policy library, if so, the abnormal data is automatically corrected according to the policy and then passes the verification, and if not, an abnormal description text is generated and sent to the client to prompt the user to perform processing.
For example, when the amount of an order for a customer to purchase a car is 2 ten thousand yuan, and the customer transfers 1 ten thousand yuan from each of two accounts, the problem that the amount of the order is not matched with a flow record can occur, the flow record which is the same as the information of a payer can be searched in the flow record of nearly 30 days at intervals (such as 5 minutes) through the method and the system, the flow record is merged until the completion, whether the order information is matched with the merged flow is judged finally, if the matching fails, a strategy is determined from a strategy library according to abnormal information for processing, and if no strategy exists in the strategy library, an abnormal description text is generated to remind a preset processing person to perform manual processing.
If the amount of the order for the customer to purchase the vehicle is 2 ten thousand yuan, the amount of the matched accessories is 2000 yuan, the amount of the service pack is 1000 yuan, the total amount is 2.3 ten thousand yuan, and the actual flow transfer of the customer is 2.2 yuan, the system judges that the system is abnormal, and informs a corresponding processor to process the abnormal account.
The actual scenes of the flowing water abnormal library include but are not limited to the scenes, and system operators can continuously update abnormal conditions, so that the automation degree is improved.
In the embodiment of the application, at least one order information of a user to be processed is received, an offline payment bill information list of the user to be processed is obtained according to a preset period, whether the order information is matched with the offline payment bill information list is verified, a verification result is generated, a preset dynamic bill abnormity policy base is initialized when the verification result is abnormal, policy information corresponding to the verification result is mapped from the dynamic bill abnormity policy base, a mapping result is generated, and whether the order information passes verification is judged according to the mapping result. According to the method and the device, the order information is matched with the offline payment bill information list, if the order information is matched with the offline payment bill information list, the order information is processed to pass, and if the order information is matched with the offline payment bill information list to be abnormal, the abnormal order information is processed automatically through the dynamic bill abnormal strategy library, so that the workload of offline running water matching can be greatly reduced, and the order processing efficiency is improved.
The following are embodiments of the apparatus of the present invention that may be used to perform embodiments of the method of the present invention. For details which are not disclosed in the embodiments of the apparatus of the present invention, reference is made to the embodiments of the method of the present invention.
Referring to fig. 5, a schematic structural diagram of a verification processing apparatus for offline payment according to an exemplary embodiment of the present invention is shown. The verification processing means for the offline payment may be implemented as all or part of the device in software, hardware, or a combination of both. The device 1 comprises an offline payment bill information acquisition module 10, a verification result generation module 20, a dynamic bill exception policy base initialization module 30, a mapping result generation module 40 and an information verification module 50.
The offline payment bill information acquiring module 10 is configured to receive at least one piece of order information of a user to be processed, acquire offline payment bill information of the user to be processed according to a preset period, and obtain an offline payment bill information list;
a verification result generation module 20, configured to verify whether the order information matches the offline payment bill information list, and generate a verification result;
a dynamic bill exception policy library initialization module 30, configured to initialize a preset dynamic bill exception policy library when an exception exists in the verification result;
the mapping result generation module 40 is configured to map policy information corresponding to the verification result from the dynamic bill exception policy library to generate a mapping result;
and the information verification module 50 is used for judging whether the order information passes the verification according to the mapping result.
It should be noted that, when the high-voltage rear part identification device provided in the foregoing embodiment executes the high-voltage rear part identification method, only the division of the above functional modules is exemplified, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions. In addition, the high-pressure rear part identification device provided by the embodiment and the high-pressure rear part identification method embodiment belong to the same concept, and the embodiment of the implementation process is described in detail in the method embodiment, which is not described again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In the embodiment of the application, at least one order information of a user to be processed is received, an offline payment bill information list of the user to be processed is obtained according to a preset period, whether the order information is matched with the offline payment bill information list is verified, a verification result is generated, a preset dynamic bill abnormity policy base is initialized when the verification result is abnormal, policy information corresponding to the verification result is mapped from the dynamic bill abnormity policy base, a mapping result is generated, and whether the order information passes verification is judged according to the mapping result. According to the method and the device, the order information is matched with the offline payment bill information list, if the order information is matched with the offline payment bill information list, the order information is processed to pass, and if the order information is matched with the offline payment bill information list to be abnormal, the abnormal order information is processed automatically through the dynamic bill abnormal strategy library, so that the workload of offline running water matching can be greatly reduced, and the order processing efficiency is improved.
In one embodiment, a computer device is provided, the device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program: receiving at least one order information of a user to be processed, and acquiring offline payment bill information of the user to be processed according to a preset period to obtain an offline payment bill information list; verifying whether the order information is matched with the offline payment bill information list or not, and generating a verification result; when the verification result is abnormal, initializing a preset dynamic bill abnormal strategy library; mapping the strategy information corresponding to the verification result from the dynamic bill abnormal strategy library to generate a mapping result; and judging whether the order information passes the verification according to the mapping result.
In one embodiment, the processor performs the following operation when acquiring offline payment bill information of a user to be processed according to a preset period and obtaining an offline payment bill information list: connecting a block chain transaction platform; starting a timer to count down the duration of a preset period; after the countdown is finished, a bill payment request instruction is created according to the identity information of the user to be processed; sending a bill payment request instruction to a blockchain transaction platform; receiving offline payment bill information fed back by the blockchain transaction platform; continuing to execute the step of starting a timer to count down the duration of the preset period until the information fed back by the blockchain transaction platform is empty and the traversal times exceed the preset duration, and obtaining a plurality of pieces of offline payment bill information; and constructing an offline payment bill information list of the user to be processed according to the plurality of pieces of offline payment bill information.
In one embodiment, when the processor constructs the offline payment bill information list of the user to be processed according to the plurality of pieces of offline payment bill information, the following operations are specifically performed: acquiring the priority of each piece of offline payment bill information in a plurality of pieces of offline payment bill information; sequencing the plurality of pieces of offline payment bill information according to the high-low sequence of the priority, and generating an offline payment bill information sequence; creating a target array according to the quantity of the plurality of pieces of offline payment bill information; and sequentially inserting the offline payment bill information sequence into the target array to generate an offline payment bill information list of the user to be processed.
In one embodiment, the processor performs verification whether the order information matches the offline payment bill information list, and when generating the verification result, specifically performs the following operations: performing word segmentation on the order information to generate a first word segmentation result of the order information; extracting a plurality of first keywords of the order information from the first segmentation result by adopting a keyword extraction algorithm; performing word segmentation on each piece of offline payment bill information in the offline payment bill information list to generate a second word segmentation result of each piece of offline payment bill information; extracting keywords from the second word segmentation result of each piece of offline payment bill information by adopting a keyword extraction algorithm, and generating a plurality of second keywords of each piece of offline payment bill information; and verifying according to the plurality of first key words and the plurality of second key words of each piece of offline payment bill information to generate a verification result.
In one embodiment, the processor performs verification according to the plurality of first keywords and a plurality of second keywords of each offline payment bill information, and when generating a verification result, specifically performs the following operations: determining first collection information and a total amount of the commodity order according to a plurality of first keywords of the order information; determining a plurality of second collection information and a total payment amount according to a plurality of second keywords of each offline payment bill information; when the first collection information is the same as the plurality of second collection information and the total amount of the commodity order is the same as the total amount of the payment, generating a verification result without abnormality; or when the first collection information is different from the plurality of second collection information and/or the total amount of the commodity order is different from the total amount of the payment, generating a verification result with abnormity.
In one embodiment, before receiving at least one piece of order information of a user to be processed, the processor further performs the following operations: creating a ternary array; acquiring historical abnormal information in each historical order; historical strategy information corresponding to historical abnormal information in each historical order is constructed; creating a history mapping relation between history abnormal information in each history order and history strategy information corresponding to the history abnormal information; and storing the historical abnormal information in each historical order, the historical strategy information corresponding to the historical abnormal information and the historical mapping relation in a ternary array to generate a dynamic bill abnormal strategy library.
In one embodiment, the processor performs the following operations when judging whether the order information passes the verification according to the mapping result: when target strategy information exists in the mapping result, correcting the abnormity existing in the verification result based on the strategy information, and determining that the order information passes the verification; or when the target strategy information does not exist in the mapping result, determining that the order information is not verified, generating an abnormal description text and sending the abnormal description text to the client; receiving current policy information sent by a client, and creating a mapping relation between the current policy information and the abnormity existing in the verification result; and storing the current strategy information, the abnormity existing in the verification result and the mapping relation into a preset dynamic bill abnormity strategy library.
In the embodiment of the application, at least one order information of a user to be processed is received, an offline payment bill information list of the user to be processed is obtained according to a preset period, whether the order information is matched with the offline payment bill information list is verified, a verification result is generated, a preset dynamic bill abnormity policy base is initialized when the verification result is abnormal, policy information corresponding to the verification result is mapped from the dynamic bill abnormity policy base, a mapping result is generated, and whether the order information passes verification is judged according to the mapping result. According to the method and the device, the order information is matched with the offline payment bill information list, if the order information is matched with the offline payment bill information list, the order information is processed to pass, and if the order information is matched with the offline payment bill information list to be abnormal, the abnormal order information is processed automatically through the dynamic bill abnormal strategy library, so that the workload of offline running water matching can be greatly reduced, and the order processing efficiency is improved. In one embodiment, a medium is presented having computer-readable instructions stored thereon which, when executed by one or more processors, cause the one or more processors to perform the steps of: receiving at least one order information of a user to be processed, and acquiring offline payment bill information of the user to be processed according to a preset period to obtain an offline payment bill information list; verifying whether the order information is matched with the offline payment bill information list or not, and generating a verification result; when the verification result is abnormal, initializing a preset dynamic bill abnormal strategy library; mapping the strategy information corresponding to the verification result from the dynamic bill abnormal strategy library to generate a mapping result; and judging whether the order information passes the verification according to the mapping result.
In one embodiment, the processor performs the following operation when acquiring offline payment bill information of a user to be processed according to a preset period and obtaining an offline payment bill information list: connecting a block chain transaction platform; starting a timer to count down the duration of a preset period; after the countdown is finished, a bill payment request instruction is created according to the identity information of the user to be processed; sending a bill payment request instruction to a blockchain transaction platform; receiving offline payment bill information fed back by the blockchain transaction platform; continuing to execute the step of starting a timer to count down the duration of the preset period until the information fed back by the blockchain transaction platform is empty and the traversal times exceed the preset duration, and obtaining a plurality of pieces of offline payment bill information; and constructing an offline payment bill information list of the user to be processed according to the plurality of pieces of offline payment bill information.
In one embodiment, when the processor constructs the offline payment bill information list of the user to be processed according to the plurality of pieces of offline payment bill information, the following operations are specifically performed: acquiring the priority of each piece of offline payment bill information in a plurality of pieces of offline payment bill information; sequencing the plurality of pieces of offline payment bill information according to the high-low sequence of the priority, and generating an offline payment bill information sequence; creating a target array according to the quantity of the plurality of pieces of offline payment bill information; and sequentially inserting the offline payment bill information sequence into the target array to generate an offline payment bill information list of the user to be processed.
In one embodiment, the processor performs verification whether the order information matches the offline payment bill information list, and when generating the verification result, specifically performs the following operations: performing word segmentation on the order information to generate a first word segmentation result of the order information; extracting a plurality of first keywords of the order information from the first segmentation result by adopting a keyword extraction algorithm; performing word segmentation on each piece of offline payment bill information in the offline payment bill information list to generate a second word segmentation result of each piece of offline payment bill information; extracting keywords from the second word segmentation result of each piece of offline payment bill information by adopting a keyword extraction algorithm, and generating a plurality of second keywords of each piece of offline payment bill information; and verifying according to the plurality of first key words and the plurality of second key words of each piece of offline payment bill information to generate a verification result.
In one embodiment, the processor performs verification according to the plurality of first keywords and a plurality of second keywords of each offline payment bill information, and when generating a verification result, specifically performs the following operations: determining first collection information and a total amount of the commodity order according to a plurality of first keywords of the order information; determining a plurality of second collection information and a total payment amount according to the plurality of second keywords of each offline payment bill information; when the first collection information is the same as the plurality of second collection information and the total amount of the commodity order is the same as the total amount of the payment, generating a verification result without abnormality; or when the first collection information is different from the plurality of second collection information and/or the total amount of the commodity order is different from the total amount of the payment, generating a verification result with abnormality.
In one embodiment, before receiving at least one piece of order information of a user to be processed, the processor further performs the following operations: creating a ternary array; acquiring historical abnormal information in each historical order; historical strategy information corresponding to the historical abnormal information in each historical order is established; creating a history mapping relation between history abnormal information in each history order and history strategy information corresponding to the history abnormal information; and storing the historical abnormal information in each historical order, the historical strategy information corresponding to the historical abnormal information and the historical mapping relation in a ternary array to generate a dynamic bill abnormal strategy library.
In one embodiment, the processor performs the following operations when judging whether the order information passes the verification according to the mapping result: when target strategy information exists in the mapping result, correcting the abnormity existing in the verification result based on the strategy information, and determining that the order information passes the verification; or when the target strategy information does not exist in the mapping result, determining that the order information is not verified, generating an abnormal description text and sending the abnormal description text to the client; receiving current policy information sent by a client, and creating a mapping relation between the current policy information and the abnormity existing in the verification result; and storing the current strategy information, the abnormity existing in the verification result and the mapping relation into a preset dynamic bill abnormity strategy library.
In the embodiment of the application, at least one order information of a user to be processed is received, an offline payment bill information list of the user to be processed is obtained according to a preset period, whether the order information is matched with the offline payment bill information list is verified, a verification result is generated, a preset dynamic bill abnormity policy base is initialized when the verification result is abnormal, policy information corresponding to the verification result is mapped from the dynamic bill abnormity policy base, a mapping result is generated, and whether the order information passes verification is judged according to the mapping result. According to the method and the device, the order information is matched with the offline payment bill information list, if the order information is matched with the offline payment bill information list, the order information is processed to pass, and if the order information is matched with the offline payment bill information list to be abnormal, the abnormal order information is processed automatically through the dynamic bill abnormal strategy library, so that the workload of offline running water matching can be greatly reduced, and the order processing efficiency is improved.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer readable medium, and when executed, can include the processes of the embodiments of the methods described above. The medium may be a non-volatile medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a Random Access Memory (RAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only show some embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that various changes and modifications can be made by those skilled in the art without departing from the spirit of the invention, and these changes and modifications are all within the scope of the invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for verification processing of offline payments, the method comprising:
receiving at least one order information of a user to be processed, and acquiring offline payment bill information of the user to be processed according to a preset period to obtain an offline payment bill information list;
verifying whether the order information is matched with the offline payment bill information list or not, and generating a verification result;
when the verification result is abnormal, initializing a preset dynamic bill abnormal strategy library;
mapping the strategy information corresponding to the verification result from the dynamic bill abnormal strategy library to generate a mapping result;
and judging whether the order information passes the verification according to the mapping result.
2. The method of claim 1, wherein the obtaining offline payment bill information of the user to be processed according to the preset period to obtain an offline payment bill information list comprises:
connecting a block chain transaction platform;
starting a timer to count down the duration of a preset period;
after the countdown is finished, a bill payment request instruction is created according to the identity information of the user to be processed;
sending the bill payment request instruction to the blockchain transaction platform;
receiving offline payment bill information fed back by the blockchain transaction platform;
continuously executing the step of counting down the duration of a preset period by the starting timer until the information fed back by the block chain transaction platform is empty and the traversal times exceed the preset duration to obtain a plurality of pieces of offline payment bill information;
and constructing an offline payment bill information list of the user to be processed according to the plurality of pieces of offline payment bill information.
3. The method of claim 2, wherein the constructing the offline payment bill information list of the pending user from the plurality of pieces of offline payment bill information comprises:
acquiring the priority of each piece of offline payment bill information in the plurality of pieces of offline payment bill information;
sequencing the plurality of pieces of offline payment bill information according to the high-low sequence of the priority, and generating an offline payment bill information sequence;
creating a target array according to the quantity of the plurality of pieces of offline payment bill information;
and sequentially inserting the offline payment bill information sequence into the target array to generate an offline payment bill information list of the user to be processed.
4. The method of claim 1, wherein verifying whether the order information matches the list of offline payment billing information, generating a verification result, comprises:
performing word segmentation on the order information to generate a first word segmentation result of the order information;
extracting a plurality of first keywords of the order information from the first segmentation result by adopting a keyword extraction algorithm;
performing word segmentation on each piece of offline payment bill information in the offline payment bill information list to generate a second word segmentation result of each piece of offline payment bill information;
extracting keywords from the second word segmentation result of each piece of offline payment bill information by adopting a keyword extraction algorithm, and generating a plurality of second keywords of each piece of offline payment bill information;
and verifying according to the plurality of first key words and the plurality of second key words of each piece of offline payment bill information to generate a verification result.
5. The method of claim 4, wherein verifying according to the plurality of first keywords and the plurality of second keywords of each offline payment bill information to generate a verification result comprises:
determining first collection information and a total amount of the commodity order according to the plurality of first keywords of the order information;
determining a plurality of second collection information and a total payment amount according to the plurality of second keywords of each offline payment bill information;
when the first collection information is the same as the plurality of second collection information and the total amount of the commodity order is the same as the total amount of the payment, generating a verification result without abnormality;
alternatively, the first and second electrodes may be,
and when the first collection information is different from the plurality of second collection information and/or the total amount of the commodity order is different from the total payment amount, generating a verification result with abnormality.
6. The method of claim 1, wherein before receiving at least one order message of a pending user, further comprising:
creating a ternary array;
acquiring historical abnormal information in each historical order;
historical strategy information corresponding to the historical abnormal information in each historical order is constructed;
creating a historical mapping relation between the historical abnormal information in each historical order and the historical strategy information corresponding to the historical abnormal information;
and storing the historical abnormal information in each historical order, the historical strategy information corresponding to the historical abnormal information and the historical mapping relation in the ternary array to generate a dynamic bill abnormal strategy library.
7. The method according to claim 1, wherein said determining whether the order information is verified according to the mapping result comprises:
when target strategy information exists in the mapping result, correcting the abnormity existing in the verification result based on the strategy information, and determining that the order information passes the verification;
alternatively, the first and second electrodes may be,
when the target strategy information does not exist in the mapping result, determining that the order information is not verified, generating an abnormal description text and sending the abnormal description text to a client;
receiving current policy information sent by a client, and creating a mapping relation between the current policy information and the abnormity existing in the verification result;
and storing the current policy information, the abnormity existing in the verification result and the mapping relation into the preset dynamic bill abnormity policy library.
8. An apparatus for verification processing of offline payments, the apparatus comprising:
the offline payment bill information acquisition module is used for receiving at least one order information of a user to be processed, acquiring the offline payment bill information of the user to be processed according to a preset period, and acquiring an offline payment bill information list;
the verification result generation module is used for verifying whether the order information is matched with the offline payment bill information list or not and generating a verification result;
the dynamic bill exception policy base initialization module is used for initializing a preset dynamic bill exception policy base when the verification result has exception;
the mapping result generation module is used for mapping the strategy information corresponding to the verification result from the dynamic bill abnormal strategy library to generate a mapping result;
and the information verification module is used for judging whether the order information passes the verification according to the mapping result.
9. A computer device comprising a memory and a processor, the memory having stored therein computer readable instructions which, when executed by the processor, cause the processor to carry out the steps of a method of validation processing of offline payments according to any of claims 1 to 7.
10. A medium having computer-readable instructions stored thereon which, when executed by one or more processors, cause the one or more processors to perform the steps of a process of verifying an offline payment according to any one of claims 1 to 7.
CN202210446993.XA 2022-04-26 2022-04-26 Verification processing method and device for offline payment, computer equipment and medium Pending CN114971605A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210446993.XA CN114971605A (en) 2022-04-26 2022-04-26 Verification processing method and device for offline payment, computer equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210446993.XA CN114971605A (en) 2022-04-26 2022-04-26 Verification processing method and device for offline payment, computer equipment and medium

Publications (1)

Publication Number Publication Date
CN114971605A true CN114971605A (en) 2022-08-30

Family

ID=82980168

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210446993.XA Pending CN114971605A (en) 2022-04-26 2022-04-26 Verification processing method and device for offline payment, computer equipment and medium

Country Status (1)

Country Link
CN (1) CN114971605A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116245642A (en) * 2023-02-16 2023-06-09 北京一心向上科技有限公司 Stock right cost checking method, computer equipment and medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116245642A (en) * 2023-02-16 2023-06-09 北京一心向上科技有限公司 Stock right cost checking method, computer equipment and medium

Similar Documents

Publication Publication Date Title
CN110782240B (en) Business data processing method and device, computer equipment and storage medium
CN105678546B (en) Digital asset processing method based on distributed shared general ledger
US20160019632A1 (en) Method and apparatus for processing transaction information for commodity object
CN103778358B (en) A kind of method and system for realizing shopping online
CN112712429A (en) Remittance service auditing method, remittance service auditing device, computer equipment and storage medium
CN106875167B (en) Detection method and device for fund transaction path in electronic payment process
CN107665463A (en) Method for processing resource, device, storage medium and the computer equipment of investment product
US20160300203A1 (en) Settlement system, server device, terminal device, recording medium, method and program
CN114971605A (en) Verification processing method and device for offline payment, computer equipment and medium
CN111105244B (en) Refund-based service scheme determination method and refund-based service scheme determination device
CN110781134A (en) Data processing method and device, computer storage medium and electronic equipment
CN113656497A (en) Data verification method and device based on block chain
CN114219497A (en) Account information determination method and device and server
CN112347110B (en) Data difference determining method, device, equipment and storage medium
CN111047322A (en) Intelligent contract deployment method and device based on block chain and hardware equipment
US20230050176A1 (en) Method of processing a transaction request
CN112633996B (en) Credit order distribution method, computer equipment and readable storage medium thereof
CN113888340A (en) Docking processing method, device, equipment and storage medium for configured insurance products
CN113052727A (en) House purchasing recommendation device and method based on house purchasing qualification verification
CN108564354A (en) settlement method, service platform and server
CN108961039B (en) Transaction processing method, device and system
CN114493538A (en) Intelligent verification and cancellation method and system for automatically importing order files
CN110910234A (en) Resource transfer method, device, computer equipment and storage medium
CN113795857A (en) System and method for communicating anonymized transactions between nodes of a computer network
CN109949037A (en) A kind of method of payment and relevant device based on net card

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