Method, apparatus, terminal and storage medium for sending verification information
By selectively sending verification information based on the verification details and the duration of the verification cycle, the problem of wasted communication resources in existing technologies is solved, and more efficient communication management is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING SANKUAI ONLINE TECH CO LTD
- Filing Date
- 2021-09-27
- Publication Date
- 2026-06-23
AI Technical Summary
In existing technologies, payment and settlement systems need to send verification information to error correction systems and fund security systems every time a payment is settled, resulting in a waste of communication resources.
Depending on whether the verification information includes primary information and the duration of the verification period, the verification information is selectively sent to the corresponding resource management systems, including error control systems, fund security systems, clearing systems, and accounting systems, to reduce unnecessary communication.
By optimizing the transmission path of verification information, the waste of communication resources was reduced and communication efficiency was improved.
Smart Images

Figure CN113935740B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of Internet technology, and in particular to a method, apparatus, terminal and storage medium for sending verification information. Background Technology
[0002] With the rapid growth of online transactions, the use of payment clearing systems to reconcile accounts is becoming increasingly important.
[0003] In related technologies, payment clearing systems generally include a verification system, a clearing system, an error correction system, a fund security system, and an accounting system. When payment clearing is required, the verification system needs to obtain internal invoices and external invoices provided by at least one third-party institution, and verify these invoices to obtain verification information, which is then sent to the clearing system. This verification information includes the internal invoice, the external invoice, the total payment amount, and the verification result between the internal and external invoices. The verification result includes whether the internal and external invoices are consistent. If the payment records included in the internal invoice are inconsistent with those included in the external invoice, the verification result also includes the payment order number corresponding to the inconsistent payment record. If the first payment record included in the internal invoice is inconsistent with the corresponding first payment record in the external invoice, the verification result also includes the payment order number corresponding to the first payment record and the reason for the inconsistency. The clearing system forwards the verification information to the error correction system, which then forwards it to the fund security system. Finally, the fund security system forwards the verification information to the accounting system.
[0004] In some cases, it is unnecessary to send verification information to the error correction system and the fund security system. However, using the methods in related technologies, verification information needs to be sent to the error correction system and the fund security system every time, which wastes communication resources. Summary of the Invention
[0005] This application provides a method, apparatus, terminal, and storage medium for sending verification information. This application can determine the resource management systems to which verification information needs to be sent based on the verification information, eliminating the need to send verification information to all resource verification systems each time, thus reducing the waste of communication resources. The technical solution is as follows:
[0006] In a first aspect, embodiments of this application provide a method for sending verification information, the method comprising:
[0007] Based on the internal invoices generated within the current reconciliation period and the corresponding external invoices, a reconciliation process is performed to obtain the reconciliation information corresponding to the internal invoices.
[0008] Determine whether the verification information includes the first information to obtain the determination result corresponding to the verification information, wherein the first information is used to indicate that the internal bill and the corresponding external bill are inconsistent;
[0009] Based on the judgment result corresponding to the verification information and the duration of the verification period, at least one resource management system for processing the verification information is selected from multiple resource management systems.
[0010] The verification information corresponding to the internal invoices is sent in parallel to the resource management system of the at least one verification information to be processed.
[0011] Optionally, the step of selecting at least one resource management system for processing verification information from multiple resource management systems based on the judgment result corresponding to each verification information and the duration of the verification period includes:
[0012] When the determination result corresponding to the verification information is that the verification information includes the first information, and the duration of the verification period is less than or equal to the preset duration, among multiple resource management systems, the error system, fund security system, clearing system, and accounting system are selected as the resource management systems for the verification information to be processed.
[0013] Optionally, the step of selecting at least one resource management system for processing verification information from multiple resource management systems based on the judgment result corresponding to each verification information and the duration of the verification period includes:
[0014] When the determination result corresponding to the verification information is that the verification information includes the first information and the duration of the verification period is longer than the preset duration, among multiple resource management systems, the error system, the clearing system, and the accounting system are selected as the resource management systems for the verification information to be processed.
[0015] Optionally, the step of selecting at least one resource management system for processing verification information from multiple resource management systems based on the judgment result corresponding to each verification information and the duration of the verification period includes:
[0016] When the determination result corresponding to the verification information is that the verification information does not include the first information, and the duration of the verification period is greater than or equal to the preset duration, the clearing system and the accounting system are selected as the resource management systems for the verification information to be processed among multiple resource management systems.
[0017] Optionally, the step of selecting at least one resource management system for processing verification information from multiple resource management systems based on the judgment result corresponding to each verification information and the duration of the verification period includes:
[0018] When the determination result corresponding to the verification information is that the verification information does not include the first information, and the duration of the verification period is less than the preset duration, among multiple resource management systems, the fund security system, the clearing system, and the accounting system are selected as the resource management systems for the verification information to be processed.
[0019] Optionally, the method further includes:
[0020] When at least one resource management system with verification information to be processed is identified, a first status bit corresponding to the resource management system with verification information to be processed is identified in a first status list, and the status value corresponding to the first status bit is set to a first value, and the status values corresponding to the other status bits besides the first status bit are set to a second value. The status bits corresponding to each resource management system in the first status list are sorted in a pre-set order.
[0021] After sending the verification information to at least one resource management system with verification information to be processed, the resource management system that received the verification information is determined based on the confirmation information received within a first preset time period. The second status bit corresponding to the resource management system that received the verification information is determined in the second status list. The status value corresponding to the second status bit is set to the first value, and the status values corresponding to the other status bits except the second status bit are set to the second value. The status bits corresponding to each resource management system in the second status list are sorted according to the preset order.
[0022] If the first status list and the second status list are different, it is determined that there is a resource management system that has failed to receive the verification information. Based on the first status list and the second status list, the resource management system that has failed to receive the verification information is identified, and after a second preset time period, the verification information is resent to the resource management system that has failed to receive the verification information.
[0023] Optionally, the step of determining the resource management system that failed to successfully receive verification information based on the first status list and the second status list includes:
[0024] Determine the state bits whose state values differ between the first state list and the second state list;
[0025] The resource management systems corresponding to the different status bits are identified as those that have failed to successfully receive the verification information.
[0026] Secondly, embodiments of this application provide an apparatus for sending verification information, the apparatus comprising:
[0027] The verification module is configured to perform invoice verification processing based on the internal invoices generated within the current verification period and the corresponding external invoices, and obtain the verification information corresponding to the internal invoices.
[0028] The determination module is configured to determine whether the verification information includes first information, and obtain a determination result corresponding to the verification information, wherein the first information is used to indicate that the internal bill and the corresponding external bill are inconsistent;
[0029] The selection module is configured to select at least one resource management system from multiple resource management systems based on the judgment result corresponding to the verification information and the duration of the verification period.
[0030] The sending module is configured to send the verification information corresponding to the internal invoice to the resource management system of the at least one verification information to be processed in parallel.
[0031] Optionally, the selection module is configured as follows:
[0032] When the determination result corresponding to the verification information is that the verification information includes the first information, and the duration of the verification period is less than or equal to the preset duration, among multiple resource management systems, the error system, fund security system, clearing system, and accounting system are selected as the resource management systems for the verification information to be processed.
[0033] Optionally, the selection module is configured as follows:
[0034] When the determination result corresponding to the verification information is that the verification information includes the first information and the duration of the verification period is longer than the preset duration, among multiple resource management systems, the error system, the clearing system, and the accounting system are selected as the resource management systems for the verification information to be processed.
[0035] Optionally, the selection module is configured as follows:
[0036] When the determination result corresponding to the verification information is that the verification information does not include the first information, and the duration of the verification period is greater than or equal to the preset duration, the clearing system and the accounting system are selected as the resource management systems for the verification information to be processed among multiple resource management systems.
[0037] Optionally, the selection module is configured as follows:
[0038] When the determination result corresponding to the verification information is that the verification information does not include the first information, and the duration of the verification period is less than the preset duration, among multiple resource management systems, the fund security system, the clearing system, and the accounting system are selected as the resource management systems for the verification information to be processed.
[0039] Optionally, the device further includes a retransmission module, which is configured to:
[0040] When at least one resource management system with verification information to be processed is identified, a first status bit corresponding to the resource management system with verification information to be processed is identified in a first status list, and the status value corresponding to the first status bit is set to a first value, and the status values corresponding to the other status bits besides the first status bit are set to a second value. The status bits corresponding to each resource management system in the first status list are sorted in a pre-set order.
[0041] After sending the verification information to at least one resource management system with verification information to be processed, the resource management system that received the verification information is determined based on the confirmation information received within a first preset time period. The second status bit corresponding to the resource management system that received the verification information is determined in the second status list. The status value corresponding to the second status bit is set to the first value, and the status values corresponding to the other status bits except the second status bit are set to the second value. The status bits corresponding to each resource management system in the second status list are sorted according to the preset order.
[0042] If the first status list and the second status list are different, it is determined that there is a resource management system that has failed to receive the verification information. Based on the first status list and the second status list, the resource management system that has failed to receive the verification information is identified, and after a second preset time period, the verification information is resent to the resource management system that has failed to receive the verification information.
[0043] Optionally, the retransmission module is configured as follows:
[0044] Determine the state bits whose state values differ between the first state list and the second state list;
[0045] The resource management systems corresponding to the different status bits are identified as those that have failed to successfully receive the verification information.
[0046] On the one hand, a terminal is provided, which includes a processor and a memory, the memory storing at least one piece of program code, which is loaded and executed by the processor to implement the above-described method for sending verification information.
[0047] On the one hand, a computer-readable storage medium is provided, which stores at least one piece of program code, which is loaded and executed by a processor to implement the above-described method for sending verification information.
[0048] On one hand, a computer program product or computer program is provided, which includes computer program code stored in a computer-readable storage medium. A processor of a computer device reads the computer program code from the computer-readable storage medium and executes the computer program code, causing the computer device to perform the above-described method for sending verification information.
[0049] In this embodiment, internal invoices generated within the current verification period and their corresponding external invoices are reconciled to obtain verification information for the internal invoices. It is then determined whether this verification information includes first information. Based on whether the verification information includes the first information and the duration of the verification period, at least one resource management system for processing verification information is identified. The verification information is then sent in parallel to this resource management system. This eliminates the need to send verification information to all resource management systems, reducing the waste of communication resources to some extent. Attached Figure Description
[0050] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0051] Figure 1 This is a schematic diagram of the implementation environment of a method for sending verification information provided in an embodiment of this application;
[0052] Figure 2 This is a flowchart illustrating a method for sending verification information provided in an embodiment of this application;
[0053] Figure 3 This is a schematic diagram of a method for sending verification information provided in an embodiment of this application;
[0054] Figure 4 This is a schematic diagram of a method for sending verification information provided in an embodiment of this application;
[0055] Figure 5 This is a schematic diagram of a method for sending verification information provided in an embodiment of this application;
[0056] Figure 6 This is a schematic diagram of a method for sending verification information provided in an embodiment of this application;
[0057] Figure 7 This is a schematic diagram of the structure of a terminal provided in an embodiment of this application;
[0058] Figure 8 This is a schematic diagram of the structure of a server provided in an embodiment of this application. Detailed Implementation
[0059] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0060] Figure 1 This is a schematic diagram illustrating the implementation environment of a method for sending verification information provided in an embodiment of this application. For example... Figure 1 As shown, this method can be implemented by terminal 101 or server 102.
[0061] Terminal 101 may include components such as a processor and memory. The processor, such as a CPU (Central Processing Unit), can be used to perform bill reconciliation processing based on internal bills generated within the current reconciliation cycle and their corresponding external bills. This includes obtaining reconciliation information corresponding to the internal bills, determining whether the reconciliation information includes first information, obtaining a determination result corresponding to the reconciliation information, selecting at least one resource management system from multiple resource management systems to process the reconciliation information based on the determination result and the duration of the reconciliation cycle, and sending the reconciliation information corresponding to the internal bills to at least one resource management system in parallel. The memory, such as RAM (Random Access Memory) or Flash memory, can be used to store reconciliation information, the duration of the reconciliation cycle, etc. Terminal 101 may also include a transceiver, an image detection component, a screen, an audio output component, and an audio input component. The audio output component may be a speaker, headphones, etc. The audio input component may be a microphone, etc.
[0062] Server 102 may include components such as a processor and memory. The processor, such as a CPU (Central Processing Unit), can be used to perform bill reconciliation processing based on internal bills generated within the current reconciliation period and their corresponding external bills. This includes obtaining reconciliation information corresponding to the internal bills, determining whether the reconciliation information includes first information, obtaining a determination result corresponding to the reconciliation information, selecting at least one resource management system from multiple resource management systems to process reconciliation information based on the determination result and the duration of the reconciliation period, and sending the reconciliation information corresponding to the internal bills to at least one resource management system to process reconciliation information in parallel. The memory, such as RAM (Random Access Memory) or Flash memory, can be used for reconciliation information, determining the duration of the reconciliation period, etc.
[0063] Figure 2 This is a flowchart illustrating a method for sending verification information according to an embodiment of this application. See also... Figure 2 In this embodiment, the execution entity is a verification system, which can be set up on a terminal or on a server; this embodiment does not impose any limitation. This embodiment includes:
[0064] Step 201: Based on the internal invoices generated within the current reconciliation period and the corresponding external invoices, perform invoice reconciliation processing to obtain the reconciliation information corresponding to the internal invoices.
[0065] Internal bills are generated by applications using the payment clearing system, while external bills are generated by third-party payment institutions, such as banks and Alipay. Each internal or external bill includes at least one payment record. Each payment record includes at least the corresponding payment order number, the time, and the amount. The payment order number is a unique identifier for the payment record; for example, it could be SDH126579. In practice, identical payment records in internal and external bills are identified by searching for the same payment order number. Of course, payment records may also include other information, such as whether the corresponding account is an expense or revenue, which will not be elaborated upon in this embodiment.
[0066] The verification information in this embodiment includes at least internal and external invoices. If the internal and external invoices are inconsistent, the verification information also includes the total payment amount corresponding to the internal invoice, the total payment amount corresponding to the external invoice, the payment order number corresponding to the inconsistent payment record, and the reason for the inconsistency. If the internal and external invoices are consistent, the verification information also includes the total payment amount.
[0067] In practice, each payment record in the internal bill generated within the current verification cycle is compared with the corresponding payment record in the external bill, and the comparison is performed to obtain the verification information.
[0068] Step 202: Determine whether the verification information includes the first information, and obtain the determination result corresponding to the verification information.
[0069] The first information is used to indicate inconsistencies between internal and external invoices. In this embodiment, during the verification of internal and external invoices, the verification system detects consistency in information such as the number of payment records, payment order numbers, payment amounts corresponding to the same payment record, and payment times between the internal and external invoices, and identifies the inconsistent information as the first information. For example, the first information may be that the time, amount, or other information of the payment record corresponding to the same payment order number differs between the internal and external invoices; it may also be that the number of payment records differs between the internal and external invoices, such as the payment order number of at least one additional payment record in the internal invoice compared to the external invoice, or the payment order number of at least one additional payment record in the external invoice compared to the internal invoice.
[0070] During implementation, it is determined whether the verification information includes the first piece of information. If the verification information includes the first piece of information, the determination result is yes. If the verification information does not include the first piece of information, the determination result is no.
[0071] Step 203: Based on the judgment result corresponding to the verification information and the duration of the verification period, select at least one resource management system from multiple resource management systems to process the verification information.
[0072] In this embodiment, the verification period is set by relevant technical personnel based on the security requirements of the clearing and payment system. For example, if the security requirements of the clearing and payment system are higher, the relevant technical personnel will set the verification period to be shorter, such as verifying once every night at 12:00. If the security requirements of the clearing and payment system are lower, the relevant technical personnel can set the verification period to be longer, such as verifying once at the end of each month.
[0073] The resource management system in this embodiment includes at least a clearing system, an error correction system, a fund security system, and an accounting system, and may also include other resource management systems. The clearing system is used to clear funds based on existing invoices. The error correction system is used to correct relevant information in the invoices. The resource security system is used to store invoice information to ensure the security of the clearing and payment system. The accounting system is used to record internal and external invoices, i.e., bookkeeping.
[0074] Optionally, when the judgment result corresponding to the verification information is that the verification information includes the first information, and the verification period is less than or equal to a preset period, the error system, fund security system, clearing system, and accounting system are selected as the resource management systems for the verification information to be processed from among multiple resource management systems. When the judgment result corresponding to the verification information is that the verification information includes the first information, and the verification period is longer than a preset period, the error system, clearing system, and accounting system are selected as the resource management systems for the verification information to be processed from among multiple resource management systems. When the judgment result corresponding to the verification information is that the verification information does not include the first information, and the verification period is longer than or equal to a preset period, the clearing system and accounting system are selected as the resource management systems for the verification information to be processed from among multiple resource management systems. When the judgment result corresponding to the verification information is that the verification information does not include the first information, and the verification period is shorter than a preset period, the fund security system, clearing system, and accounting system are selected as the resource management systems for the verification information to be processed from among multiple resource management systems.
[0075] The preset duration is set by technical personnel based on their technical experience.
[0076] In this embodiment, if the internal and external invoices match, the reconciliation information is not sent to the error correction system. If the internal and external invoices do not match, the reconciliation information is sent to the error correction system. If the reconciliation period is greater than or equal to a preset duration, the reconciliation information is not sent to the resource security system. If the reconciliation period is less than the preset duration, the reconciliation information is sent to the resource security system.
[0077] Meanwhile, in this embodiment of the application, it is necessary to send the verification information to the clearing system and the accounting system. This is because the main function of the clearing system is to clear funds, while the main function of the accounting system is to record accounts. Both systems are essential in the payment clearing process. Therefore, as long as the verification system obtains the verification information based on the internal and external invoices, it can send the verification information to the clearing system and the accounting system.
[0078] Optionally, in this embodiment, the verification system can determine the subscribed resource management system based on pre-set first subscription information, and identify the subscribed resource management system as the resource management system for the verification information to be processed. The first subscription information indicates whether the clearing system and accounting system are subscribed. Specifically, the steps are: obtaining the pre-set first subscription information and determining whether the clearing system and accounting system are subscribed. If both the clearing system and accounting system are subscribed, the verification system identifies both the clearing system and accounting system as resource management systems for the verification information to be processed. If the clearing system is subscribed but the accounting system is not, the verification system identifies the clearing system as the resource management system for the verification information to be processed, but not the accounting system. If the clearing system is not subscribed but the accounting system is subscribed, the verification system identifies the accounting system as the resource management system for the verification information to be processed, but not the clearing system. If neither the clearing system nor the accounting system is subscribed, the verification system does not identify either the clearing system or the accounting system as resource management systems for the verification information to be processed.
[0079] Step 204: Send the verification information corresponding to the internal bills to at least one resource management system with pending verification information in parallel.
[0080] In implementation, the resource management system comprises four systems: Resource Management System A, Resource Management System B, Resource Management System C, and Resource Management System D. Resource Management Systems A, C, and D are designated as the resource management systems for processing verification information. In this case, the verification system can send verification information to Resource Management Systems A, C, and D in parallel, but not send the verification information solely to Resource Management System D.
[0081] Furthermore, when the verification systems for the information to be processed include the error system, fund security system, clearing system, and accounting system, the verification system will send the verification information to these systems in parallel. (This process is repeated three times in the original text.)
[0082] Optionally, in this embodiment, the resource management systems that failed to receive verification information can also be determined by setting a first state list and a second state list. The specific steps are as follows: When at least one resource management system with verification information to be processed is identified, a first state bit corresponding to that resource management system in the first state list is determined, and the state value corresponding to the first state bit is set to a first value. The state values corresponding to other state bits besides the first state bit are set to second values. The state bits corresponding to each resource management system in the first state list are sorted according to a pre-set order. After sending the verification information to at least one resource management system with verification information to be processed, the resource management system that received the verification information is determined based on the confirmation information received within a first preset time period. A second state bit corresponding to the resource management system that received the verification information is determined in the second state list, and the state value corresponding to the second state bit is set to the first value. The state values corresponding to other state bits besides the second state bit are set to second values. The state bits corresponding to each resource management system in the second state list are sorted according to a pre-set order. If the first status list and the second status list are different, it is determined that there is a resource management system that has failed to receive the verification information. Based on the first status list and the second status list, the resource management system that has failed to receive the verification information is identified, and the verification information is resent to the resource management system that has failed to receive the verification information after a second preset time period.
[0083] The first state list includes at least one state bit, with each state bit corresponding to a resource management system. The resource management system for pending verification information corresponds to the first state bit, and the state value corresponding to the first state bit is a first value. The resource management system for non-pending verification information corresponds to a non-first state bit, and the state value corresponding to the non-first state bit is a second value. Taking the resource management systems as an error system, a fund security system, a clearing system, and an accounting system as an example, the first state list includes four state bits, each corresponding one-to-one with the error system, fund security system, clearing system, and accounting system, respectively. Figure 3 As shown, the first status bit in the first status list corresponds to the error system, the second status bit to the fund security system, the third status bit to the clearing system, and the fourth status bit to the accounting system. Taking a first value of 1 and a second value of 0 as an example, when the resource management system for the information to be verified is the error system, the clearing system, or the accounting system, the first status bits are the first, third, and fourth status bits in the first status list, respectively. The status values corresponding to the first, third, and fourth status bits are set to 1, and the status value corresponding to the second status bit is set to 0.
[0084] Similarly, the second state list includes at least one state bit, with each state corresponding to a resource management system. In the second state list, the state bit corresponding to the resource management system that received the verification information is the second state bit, and the state value corresponding to the second state bit is the first value. The state bit corresponding to the resource management system that did not receive the verification information is a non-second state bit, and the state value corresponding to the non-second state bit is the second value. Taking the resource management systems as an error system, a fund security system, a clearing system, and an accounting system as an example, the second state list includes four state bits, each corresponding one-to-one with the error system, fund security system, clearing system, and accounting system, respectively. Figure 4 As shown, the first status bit in the second status list corresponds to the error system, the second status bit to the fund security system, the third status bit to the clearing system, and the fourth status bit to the accounting system. Taking the first value as 1 and the second value as 0 as an example, when the resource management system receiving the verification information is the clearing system or the accounting system, and the resource management system not receiving the verification information is the error system or the fund security system, then the second status bit is the third and fourth status bits. The non-second status bits include the first and second status bits. The status values corresponding to the third and fourth status bits are set to 1, and the status values corresponding to the first and second status bits are set to 0.
[0085] It should be noted that the aforementioned situations where verification information was not received include three categories: First, the verification system did not send verification information to the resource management system. Second, the verification system sent verification information to the resource management system, but due to network issues, the resource management system did not receive the verification information. Third, the resource management system received the verification information, but due to network issues, the verification system did not receive confirmation information from the resource management system within the first preset time period. All three situations are considered as the resource management system not receiving the verification information. By comparing the first status list and the second status list, the first situation can be ruled out, thereby identifying the resource management system that received the verification information among the resource management systems awaiting processing.
[0086] Optionally, in this embodiment of the application, the resource management system that failed to successfully receive the verification information can be directly determined based on the first state list and the second state list. The specific steps are as follows: Determine the state bits with different state values in the first state list and the second state list. The resource management system corresponding to the state bits with different state values is determined as the resource management system that failed to successfully receive the verification information.
[0087] For example, the verification system will Figure 3 The state value of each state bit in the first state list and Figure 4By comparing the state values of the corresponding state bits in the second state list, the state bit with the different state value can be identified as the first state bit. This first state bit corresponds to the error system. Therefore, the verification system can determine that, in cases where verification information needs to be sent to the error system, the error system has not received the verification information. After a second preset time period, the verification information can be sent to the error system separately.
[0088] In this embodiment, when there is a resource management system in the resource management system that has not received the verification information, the resource management system that has not successfully received the verification information can be determined directly according to the pre-established first status list and second status list, and the verification information can be sent only to the resource management system that has not successfully received the verification information. It is not necessary to send the verification information to all resource management systems that have verification information to be processed, thus saving communication resources.
[0089] Optionally, in order to save storage resources of electronic devices, the first status list and the second status list can be deleted after the resource management system that has determined the verification information to be processed receives the verification information.
[0090] In this embodiment, internal invoices generated within the current verification period and their corresponding external invoices are reconciled to obtain verification information for the internal invoices. It is then determined whether this verification information includes first information. Based on whether the verification information includes the first information and the duration of the verification period, at least one resource management system for processing verification information is identified. The verification information is then sent in parallel to this resource management system. This eliminates the need to send verification information to all resource management systems, reducing the waste of communication resources to some extent.
[0091] Optionally, in this embodiment, the verification system does not determine whether the resource management system for the verification information to be processed is an error system based on whether the verification information includes the first information, nor does it determine whether the resource management system for the verification information to be processed is a fund security system based on the length of the verification period. Instead, it determines at least one resource management system for the verification information to be processed based on the subscription status of each resource management system. The specific steps are as follows: The verification system obtains pre-stored second subscription information, wherein the second subscription information includes whether each resource management system is subscribed to. Based on the second subscription information, at least one subscribed resource management system is identified among the resource management systems, and this at least one subscribed resource management system is identified as at least one resource management system for the verification information to be processed. The verification information is then sent in parallel to the at least one resource management system for the verification information to be processed.
[0092] For example, in the error correction system, fund security system, clearing system, and accounting system, the error correction system, clearing system, and accounting system are subscribed to, while the fund security system is not subscribed to. This identifies the error correction system, clearing system, and accounting system as at least one resource management system for processing verification information, and then sends the verification information in parallel to at least one resource management system for processing verification information.
[0093] Figure 6 This is a schematic diagram of a device for sending verification information according to an embodiment of this application. See also... Figure 6 The device includes:
[0094] The verification module 610 is configured to perform invoice verification processing based on the internal invoices generated within the current verification period and the external invoices corresponding to the internal invoices, and obtain the verification information corresponding to the internal invoices.
[0095] The determination module 620 is configured to determine whether the verification information includes first information and obtain a determination result corresponding to the verification information, wherein the first information is used to indicate that the internal bill and the corresponding external bill are inconsistent;
[0096] The selection module 630 is configured to select at least one resource management system for processing the verification information from multiple resource management systems based on the judgment result corresponding to the verification information and the duration of the verification period.
[0097] The sending module 640 is configured to send the verification information corresponding to the internal bill to the resource management system of the at least one verification information to be processed in parallel.
[0098] Optionally, the selection module 630 is configured as follows:
[0099] When the determination result corresponding to the verification information is that the verification information includes the first information, and the duration of the verification period is less than or equal to the preset duration, among multiple resource management systems, the error system, fund security system, clearing system, and accounting system are selected as the resource management systems for the verification information to be processed.
[0100] Optionally, the selection module 630 is configured as follows:
[0101] When the determination result corresponding to the verification information is that the verification information includes the first information and the duration of the verification period is longer than the preset duration, among multiple resource management systems, the error system, the clearing system, and the accounting system are selected as the resource management systems for the verification information to be processed.
[0102] Optionally, the selection module 630 is configured as follows:
[0103] When the determination result corresponding to the verification information is that the verification information does not include the first information, and the duration of the verification period is greater than or equal to the preset duration, the clearing system and the accounting system are selected as the resource management systems for the verification information to be processed among multiple resource management systems.
[0104] Optionally, the selection module 630 is configured as follows:
[0105] When the determination result corresponding to the verification information is that the verification information does not include the first information, and the duration of the verification period is less than the preset duration, among multiple resource management systems, the fund security system, the clearing system, and the accounting system are selected as the resource management systems for the verification information to be processed.
[0106] Optionally, the device further includes a retransmission module, which is configured to:
[0107] When at least one resource management system with verification information to be processed is identified, a first status bit corresponding to the resource management system with verification information to be processed is identified in a first status list, and the status value corresponding to the first status bit is set to a first value, and the status values corresponding to the other status bits besides the first status bit are set to a second value. The status bits corresponding to each resource management system in the first status list are sorted in a pre-set order.
[0108] After sending the verification information to at least one resource management system with verification information to be processed, the resource management system that received the verification information is determined based on the confirmation information received within a first preset time period. The second status bit corresponding to the resource management system that received the verification information is determined in the second status list. The status value corresponding to the second status bit is set to the first value, and the status values corresponding to the other status bits except the second status bit are set to the second value. The status bits corresponding to each resource management system in the second status list are sorted according to the preset order.
[0109] If the first status list and the second status list are different, it is determined that there is a resource management system that has failed to receive the verification information. Based on the first status list and the second status list, the resource management system that has failed to receive the verification information is identified, and after a second preset time period, the verification information is resent to the resource management system that has failed to receive the verification information.
[0110] Optionally, the retransmission module is configured as follows:
[0111] Determine the state bits whose state values differ between the first state list and the second state list;
[0112] The resource management systems corresponding to the different status bits are identified as those that have failed to successfully receive the verification information.
[0113] It should be noted that the above embodiments of the apparatus for sending verification information are only illustrated by the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus for sending verification information and the method embodiments for sending verification information provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.
[0114] Figure 7 This illustration shows a structural block diagram of a terminal 700 provided in an exemplary embodiment of this application. The terminal 700 may be a smartphone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III), MP4 player (Moving Picture Experts Group Audio Layer IV), laptop computer, or desktop computer. The terminal 700 may also be referred to as a user device, portable terminal, laptop terminal, desktop terminal, or other names.
[0115] Typically, terminal 700 includes a processor 701 and a memory 702.
[0116] Processor 701 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 701 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 701 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 701 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 701 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.
[0117] The memory 702 may include one or more computer-readable storage media, which may be non-transitory. The memory 702 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 702 are used to store at least one program code, which is executed by the processor 701 to implement the method for sending verification information provided in the method embodiments of this application.
[0118] In some embodiments, the terminal 700 may also optionally include a peripheral device interface 703 and at least one peripheral device. The processor 701, memory 702, and peripheral device interface 703 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 703 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of the following: a radio frequency circuit 704, a display screen 705, a camera assembly 706, an audio circuit 707, a positioning assembly 708, and a power supply 709.
[0119] Peripheral device interface 703 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 701 and memory 702. In some embodiments, processor 701, memory 702 and peripheral device interface 703 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 701, memory 702 and peripheral device interface 703 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0120] The radio frequency (RF) circuit 704 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 704 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 704 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. Optionally, the RF circuit 704 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 704 can communicate with other terminals through at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: metropolitan area networks (MANs), various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks (WLANs), and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 704 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.
[0121] Display screen 705 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. When display screen 705 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 701 for processing. In this case, display screen 705 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 705, disposed on the front panel of terminal 700; in other embodiments, there may be at least two display screens, disposed on different surfaces of terminal 700 or in a folded design; in still other embodiments, display screen 705 may be a flexible display screen, disposed on a curved or folded surface of terminal 700. Furthermore, display screen 705 may be configured as a non-rectangular irregular shape, i.e., a non-rectangular screen. Display screen 705 may be made of materials such as LCD (Liquid Crystal Display) or OLED (Organic Light-Emitting Diode).
[0122] The camera assembly 706 is used to acquire images or videos. Optionally, the camera assembly 706 includes a front-facing camera and a rear-facing camera. Typically, the front-facing camera is located on the front panel of the terminal, and the rear-facing camera is located on the back of the terminal. In some embodiments, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, a wide-angle camera, and a telephoto camera, to achieve background blurring by fusion of the main camera and the depth-sensing camera, panoramic shooting by fusion of the main camera and the wide-angle camera, VR (Virtual Reality) shooting, or other fusion shooting functions. In some embodiments, the camera assembly 706 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm-light flash and a cool-light flash, which can be used for light compensation at different color temperatures.
[0123] The audio circuit 707 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting the sound waves into electrical signals that are input to the processor 701 for processing, or input to the radio frequency circuit 704 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each located at a different part of the terminal 700. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert the electrical signals from the processor 701 or the radio frequency circuit 704 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 707 may also include a headphone jack.
[0124] The positioning component 708 is used to determine the current geographic location of the terminal 700 in order to enable navigation or LBS (Location Based Service). The positioning component 708 can be a positioning component based on the US GPS (Global Positioning System), China's BeiDou system, Russia's Granas system, or the EU's Galileo system.
[0125] The power supply 709 is used to power the various components in the terminal 700. The power supply 709 can be AC power, DC power, a disposable battery, or a rechargeable battery. When the power supply 709 includes a rechargeable battery, the rechargeable battery can support wired or wireless charging. The rechargeable battery can also be used to support fast charging technology.
[0126] In some embodiments, the terminal 700 further includes one or more sensors 710. The one or more sensors 710 include, but are not limited to: an accelerometer 711, a gyroscope 712, a pressure sensor 713, a fingerprint sensor 714, an optical sensor 715, and a proximity sensor 716.
[0127] Accelerometer 711 can detect the magnitude of acceleration along the three coordinate axes of a coordinate system established by terminal 700. For example, accelerometer 711 can be used to detect the components of gravitational acceleration along the three coordinate axes. Processor 701 can control display screen 705 to display the user interface in either a landscape or portrait view based on the gravitational acceleration signal acquired by accelerometer 711. Accelerometer 711 can also be used for games or for acquiring user motion data.
[0128] The gyroscope sensor 712 can detect the orientation and rotation angle of the terminal 700. The gyroscope sensor 712, in conjunction with the accelerometer sensor 711, can collect 3D motion data from the user on the terminal 700. Based on the data collected by the gyroscope sensor 712, the processor 701 can perform the following functions: motion sensing (e.g., changing the UI based on the user's tilt), image stabilization during shooting, game control, and inertial navigation.
[0129] The pressure sensor 713 can be disposed on the side bezel of the terminal 700 and / or the lower layer of the display screen 705. When the pressure sensor 713 is disposed on the side bezel of the terminal 700, it can detect the user's grip signal on the terminal 700, and the processor 701 can perform left / right hand recognition or quick operation based on the grip signal collected by the pressure sensor 713. When the pressure sensor 713 is disposed on the lower layer of the display screen 705, the processor 701 can control the operable controls on the UI interface based on the user's pressure operation on the display screen 705. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
[0130] The fingerprint sensor 714 is used to collect a user's fingerprint. The processor 701 identifies the user based on the fingerprint collected by the fingerprint sensor 714, or vice versa. When the user's identity is identified as trusted, the processor 701 authorizes the user to perform relevant sensitive operations, including unlocking the screen, viewing encrypted information, downloading software, making payments, and changing settings. The fingerprint sensor 714 can be located on the front, back, or side of the terminal 700. When the terminal 700 has a physical button or manufacturer logo, the fingerprint sensor 714 can be integrated with the physical button or manufacturer logo.
[0131] An optical sensor 715 is used to collect ambient light intensity. In one embodiment, the processor 701 can control the display brightness of the display screen 705 based on the ambient light intensity collected by the optical sensor 715. Specifically, when the ambient light intensity is high, the display brightness of the display screen 705 is increased; when the ambient light intensity is low, the display brightness of the display screen 705 is decreased. In another embodiment, the processor 701 can also dynamically adjust the shooting parameters of the camera assembly 706 based on the ambient light intensity collected by the optical sensor 715.
[0132] The proximity sensor 716, also known as a distance sensor, is typically located on the front panel of the terminal 700. The proximity sensor 716 is used to detect the distance between the user and the front of the terminal 700. In one embodiment, when the proximity sensor 716 detects that the distance between the user and the front of the terminal 700 is gradually decreasing, the processor 701 controls the display screen 705 to switch from a screen-on state to a screen-off state; when the proximity sensor 716 detects that the distance between the user and the front of the terminal 700 is gradually increasing, the processor 701 controls the display screen 705 to switch from a screen-off state to a screen-on state.
[0133] Those skilled in the art will understand that Figure 7 The structure shown does not constitute a limitation on terminal 700, and may include more or fewer components than shown, or combine certain components, or use different component arrangements.
[0134] The computer device provided in this application embodiment can be a server. Figure 8 This is a schematic diagram of a server structure provided in an embodiment of this application. The server 800 can vary significantly due to different configurations or performance. It may include one or more central processing units (CPUs) 801 and one or more memories 802. The memory 802 stores at least one line of program code, which is loaded and executed by the processor 801 to implement the method for sending verification information provided in the various method embodiments described above. Of course, the server may also have wired or wireless network interfaces, a keyboard, and input / output interfaces for input processing. The server may also include other components for implementing device functions, which will not be elaborated upon here.
[0135] In an exemplary embodiment, a computer-readable storage medium is also provided, such as a memory including program code that can be executed by a processor in a terminal or server to complete the method of sending verification information in the above embodiments. For example, the computer-readable storage medium may be read-only memory (ROM), random access memory (RAM), compact-disc read-only memory, magnetic tape, floppy disk, and optical data storage device, etc.
[0136] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware, or by a program or program code related to hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.
[0137] The above description is merely an optional embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A method for sending verification information, characterized in that, The method includes: Based on the internal invoices generated within the current reconciliation period and the corresponding external invoices, a reconciliation process is performed to obtain the reconciliation information corresponding to the internal invoices. Determine whether the verification information includes the first information to obtain the determination result corresponding to the verification information, wherein the first information is used to indicate that the internal bill and the corresponding external bill are inconsistent; Based on the judgment result corresponding to the verification information and the duration of the verification period, at least one resource management system for processing verification information is selected from multiple resource management systems. This includes: when the judgment result corresponding to the verification information indicates that the verification information includes first information, and the duration of the verification period is less than or equal to a preset duration, selecting an error system, a fund security system, a clearing system, and an accounting system as the resource management systems for processing the verification information from among the multiple resource management systems; and when the judgment result corresponding to the verification information indicates that the verification information includes first information, and the duration of the verification period is greater than the preset duration, selecting at least one resource management system for processing the verification information from among the multiple resource management systems. In the system, the error correction system, the clearing system, and the accounting system are selected as the resource management systems for the verification information to be processed; when the judgment result corresponding to the verification information is that the verification information does not include the first information, and the duration of the verification period is greater than or equal to the preset duration, the clearing system and the accounting system are selected as the resource management systems for the verification information to be processed from among the multiple resource management systems; when the judgment result corresponding to the verification information is that the verification information does not include the first information, and the duration of the verification period is less than the preset duration, the fund security system, the clearing system, and the accounting system are selected as the resource management systems for the verification information to be processed from among the multiple resource management systems. The verification information corresponding to the internal invoices is sent in parallel to the resource management system of the at least one verification information to be processed.
2. The method according to claim 1, characterized in that, The method further includes: When at least one resource management system with verification information to be processed is identified, a first status bit corresponding to the resource management system with verification information to be processed is identified in a first status list, and the status value corresponding to the first status bit is set to a first value, and the status values corresponding to the other status bits besides the first status bit are set to a second value. The status bits corresponding to each resource management system in the first status list are sorted in a pre-set order. After sending the verification information to at least one resource management system with verification information to be processed, the resource management system that received the verification information is determined based on the confirmation information received within a first preset time period. The second status bit corresponding to the resource management system that received the verification information is determined in the second status list. The status value corresponding to the second status bit is set to the first value, and the status values corresponding to the other status bits except the second status bit are set to the second value. The status bits corresponding to each resource management system in the second status list are sorted according to the preset order. If the first status list and the second status list are different, it is determined that there is a resource management system that has failed to receive the verification information. Based on the first status list and the second status list, the resource management system that has failed to receive the verification information is identified, and after a second preset time period, the verification information is resent to the resource management system that has failed to receive the verification information.
3. The method according to claim 2, characterized in that, The step of determining the resource management system that failed to successfully receive verification information based on the first status list and the second status list includes: Determine the state bits whose state values differ between the first state list and the second state list; The resource management systems corresponding to the different status bits are identified as those that have failed to successfully receive the verification information.
4. A device for sending verification information, characterized in that, The device includes: The verification module is configured to perform invoice verification processing based on the internal invoices generated within the current verification period and the external invoices corresponding to the internal invoices, and obtain the verification information corresponding to the internal invoices. The determination module is configured to determine whether the verification information includes first information, and obtain a determination result corresponding to the verification information, wherein the first information is used to indicate that the internal bill and the corresponding external bill are inconsistent; The selection module is configured to select at least one resource management system from multiple resource management systems to process the verification information, based on the judgment result corresponding to the verification information and the duration of the verification period. This includes: when the judgment result corresponding to the verification information indicates that the verification information includes first information, and the duration of the verification period is less than or equal to a preset duration, selecting an error system, a fund security system, a clearing system, and an accounting system as the resource management system to process the verification information from multiple resource management systems; and when the judgment result corresponding to the verification information indicates that the verification information includes first information, and the duration of the verification period is greater than the preset duration, selecting at least one resource management system from multiple resource management systems to process the verification information. In the source management system, the error system, clearing system, and accounting system are selected as the resource management systems for the verification information to be processed; when the judgment result corresponding to the verification information is that the verification information does not include the first information, and the duration of the verification period is greater than or equal to the preset duration, the clearing system and accounting system are selected as the resource management systems for the verification information to be processed from among the multiple resource management systems; when the judgment result corresponding to the verification information is that the verification information does not include the first information, and the duration of the verification period is less than the preset duration, the fund security system, clearing system, and accounting system are selected as the resource management systems for the verification information to be processed from among the multiple resource management systems. The sending module is configured to send the verification information corresponding to the internal invoice to the resource management system of the at least one verification information to be processed in parallel.
5. A terminal, characterized in that, The terminal includes a processor and a memory, the memory storing at least one piece of program code, which is loaded and executed by the processor to perform the operations of the method for sending verification information as described in any one of claims 1 to 3.
6. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one piece of program code, which is loaded and executed by a processor to perform the operations of the method for sending verification information as described in any one of claims 1 to 3.