Salary issuing method and device and storage medium

By establishing a verification and notification mechanism between the first and second systems, the risk of fund management for payroll agencies has been resolved, ensuring fund security and the effective use of funds for their designated purposes.

CN120931380APending Publication Date: 2025-11-11CHINA MERCHANTS BANK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511070782.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-31
Publication Date
2025-11-11

AI Technical Summary

Technical Problem

In the existing payroll outsourcing model, the fund management problems of the outsourcing agency lead to the inability to pay funds to employees on time and in full, which poses a financial risk.

Method used

Through the verification and notification mechanism between the first and second systems, a remittance notification is generated and the payroll disbursement operation is executed, ensuring that funds are transferred directly from the payroll disbursement agency's account to the payroll disbursement client's account, thus avoiding funds remaining in the payroll disbursement agency's account.

Benefits of technology

This ensures the security and dedicated use of funds for payroll outsourcing clients, guaranteeing that funds are distributed to employees on time and in full, thus reducing financial risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120931380A_ABST
    Figure CN120931380A_ABST
Patent Text Reader

Abstract

The invention discloses a salary issuing method and device and a storage medium, and relates to the technical field of financial science and technology, and the method comprises the steps: responding to a salary issuing request of a salary issuing mechanism, and sending the issuing transaction information in the salary issuing request to a second system for verification; receiving an issuing serial number returned by the second system after the verification is successful; according to the salary issuing serial number, a to-be-remittance notification message is generated to prompt the salary issuing entrusting to remit to an account of a salary institution, and the account is an account opened by the salary issuing institution in an agent bank corresponding to the second system; and in response to a remittance success notification sent by the second system, according to each commission detail, initiating a commission execution request to the second system, so that the second system executes a salary commission operation according to each commission detail. According to the application, the salary issuing request is initiated through the salary issuing mechanism, the entrusting party is subsequently notified to confirm and carry out remittance, and the issuing fund does not stay in the account of the salary issuing mechanism, so that the fund security of the entrusting party can be ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of financial technology, and in particular to a method, device and storage medium for payroll processing. Background Technology

[0002] Currently, many payroll agencies still use the traditional model where companies prepay funds to the agency's account. This means companies need to transfer funds to the agency's designated bank account beforehand, then submit a payroll request, including details such as employee names, account numbers, and payroll amounts. Upon receiving the funds and request, the agency distributes the funds to each employee's account through its internal payment system or a partnership with a bank. However, this practice of paying payroll in advance carries certain financial risks. If the agency's fund management falters, such as misappropriation or a deterioration in its financial situation, the payroll funds may not be distributed to employees on time or in full. Summary of the Invention

[0003] The main purpose of this application is to provide a method, device and storage medium for payroll outsourcing, which aims to ensure the safety of funds for the payroll outsourcing client.

[0004] To achieve the above objectives, this application proposes a payroll disbursement method, applied to a first system, comprising:

[0005] In response to a payroll processing request from a payroll processing agency, the payroll processing request is sent to a second system for verification.

[0006] Receive the serial number returned by the second system after successful verification;

[0007] Based on the payroll transaction number, a remittance notification is generated to prompt the payroll client to remit funds to the payroll agency's account. The account refers to the account opened by the payroll agency at the agent bank corresponding to the second system.

[0008] In response to the remittance success notification sent by the second system, the payroll agency initiates a payroll execution request to the second system based on the payroll details reported by the payroll agency, so that the second system can perform the payroll payroll operation according to the payroll details.

[0009] This application proposes a payroll outsourcing method for use in a second system, including:

[0010] Receive and verify the payroll processing request sent by the first system to the payroll processing agency corresponding to the payroll processing request;

[0011] If the verification is successful, a payroll transaction number is generated and sent to the first system, so that the first system can generate a remittance notification based on the payroll transaction number, so as to prompt the payroll client to remit money to the payroll agency's account. The account refers to the account opened by the payroll agency at the agent bank corresponding to the second system.

[0012] In response to the remittance success notification associated with the payroll agency, the remittance success notification is sent to the first system, so that the first system can initiate a payroll execution request to the second system based on the payroll agency's reported payroll details.

[0013] In response to the payroll disbursement request, the payroll disbursement operation is performed according to each payroll disbursement detail.

[0014] Furthermore, to achieve the above objectives, this application also proposes a payroll disbursement device, which is applied to a first system and includes:

[0015] The first sending module is used to respond to the payroll processing request corresponding to the payroll processing agency and send the payroll processing request to the second system for verification.

[0016] The first receiving module is used to receive the serial number returned by the second system after successful verification;

[0017] The generation module is used to generate a remittance notification message based on the payroll serial number, so as to prompt the payroll client to remit money to the payroll agency's account, wherein the account refers to the account opened by the payroll agency at the agent bank corresponding to the second system.

[0018] The first payroll disbursement module is used to respond to the remittance success notification sent by the second system, and to initiate a payroll disbursement execution request to the second system according to the various payroll disbursement details reported by the payroll disbursement agency, so that the second system can perform payroll disbursement operations according to the various payroll disbursement details.

[0019] Furthermore, to achieve the above objectives, this application also proposes a payroll disbursement device, which is applied to a second system and includes:

[0020] The second receiving module is used to receive and verify the payroll processing request sent by the first system to the payroll processing agency.

[0021] The second sending module is used to generate a payroll transaction number and send it to the first system if the verification is successful, so that the first system can generate a remittance notification information based on the payroll transaction number to prompt the payroll client to remit money to the payroll agency's account. The account refers to the account opened by the payroll agency at the agent bank corresponding to the second system.

[0022] The third sending module is used to respond to the remittance success notification associated with the payroll agency and send the remittance success notification to the first system, so that the first system can initiate a payroll execution request to the second system based on the payroll agency's reported payroll details.

[0023] The second payroll disbursement module is used to respond to the payroll disbursement execution request and perform payroll disbursement operations according to each payroll disbursement detail.

[0024] In addition, to achieve the above objectives, this application also proposes an electronic device, the device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the payroll disbursement method as described above.

[0025] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the payroll disbursement method described above.

[0026] In addition, to achieve the above objectives, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps of the payroll disbursement method described above.

[0027] This application provides a payroll processing method, device, and storage medium. The payroll processing method includes: responding to a payroll processing request from a payroll processing agency, sending the payroll transaction information indicated by the payroll processing request to a second system for verification; receiving a payroll transaction number returned by the second system after successful verification; generating a remittance notification based on the remittance transaction number to prompt the payroll processing client to remit funds to the payroll processing agency's account, wherein the account refers to the account opened by the payroll processing agency at the corresponding agent bank in the second system; responding to a remittance success notification sent by the second system, initiating a payroll execution request to the second system based on each payroll processing detail reported by the payroll processing agency, so that the second system can execute the payroll processing operation according to each payroll processing detail. In this application, the payroll processing agency initiates a payroll processing request, and subsequently the system generates a remittance notification to notify the payroll processing client to remit funds to the payroll processing agency's account. After the client completes the remittance, the payroll processing is executed according to the payroll agency's detailed payment process. The funds are not held in the payroll agency's account, ensuring the client's financial security. Attached Figure Description

[0028] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0029] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0030] Figure 1 This is a flowchart illustrating the first embodiment of the payroll payment method in this application.

[0031] Figure 2 A flowchart illustrating how a payroll processing agency initiates a payroll processing request, as provided in one embodiment of this application;

[0032] Figure 3 A flowchart for performing payroll processing is provided as an embodiment of this application;

[0033] Figure 4 This is a flowchart illustrating Embodiment 2 of the payroll payment method in this application.

[0034] Figure 5 A schematic diagram of a framework for initiating a proxy execution request provided in an embodiment of this application;

[0035] Figure 6 This is a flowchart illustrating the third embodiment of the payroll payment method in this application.

[0036] Figure 7 A flowchart illustrating the calculation of the verification value of the invention details provided in this application embodiment;

[0037] Figure 8 A flowchart illustrating payroll cancellation and refund provided in one embodiment of this application;

[0038] Figure 9 This is a flowchart illustrating the fourth embodiment of the payroll payment method in this application.

[0039] Figure 10 This is a flowchart illustrating Embodiment 5 of the payroll payment method in this application;

[0040] Figure 11 This is one of the schematic diagrams of the module structure of the payroll disbursement device in the embodiments of this application;

[0041] Figure 12 This is a second schematic diagram of the module structure of the payroll disbursement device according to an embodiment of this application;

[0042] Figure 13This is a schematic diagram of the device structure of the hardware operating environment involved in the payroll disbursement method in this application embodiment.

[0043] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0044] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.

[0045] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.

[0046] It should be noted that the executing entity in this embodiment can be a computing service device with data processing, network communication, and program execution functions, such as a tablet computer, personal computer, or mobile phone, or an electronic device, big data service platform, or payroll system capable of performing the above functions. The following description uses a payroll system as an example to illustrate this embodiment and the subsequent embodiments.

[0047] Accordingly, this application provides a payroll disbursement method, applied to a first system, with reference to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the payroll disbursement method in this application.

[0048] In this embodiment, the payroll disbursement method includes the following steps:

[0049] Step S11: In response to the payroll processing request from the payroll processing agency, the payroll processing request is sent to the second system for verification.

[0050] It should be noted that the first system serves as the communication channel between the second system and the outside world. Optionally, the second system may be associated with several business processing systems, while the first system is responsible for handling data interaction and preliminary processing related to payroll processing.

[0051] It should be noted that while the industry commonly employs encryption technology to protect sensitive information (employees' bank card numbers, identity information, names, account numbers, payroll amounts, etc.), small and medium-sized institutions often have lower security levels due to cost constraints, making them vulnerable to data leaks. In this embodiment, to improve data transmission security, the first system sends encryption keys and other information to the payroll agency, which then encrypts the transmission using the key issued by the first system. It should also be noted that if the payroll agency has its own management system, an encrypted communication connection is pre-established between the management system and the first system using the first system's dedicated API (interface). Furthermore, in other embodiments, staff at the payroll agency can also log into the first system to directly perform relevant requests.

[0052] It should be noted that before payroll processing is arranged, the payroll agency and the payroll client agree on a tripartite agreement number, payroll client information, payroll client's bank account, payroll agency information, payroll agency's bank account, and profit-sharing model. The payroll client will then send the corresponding employee information to the payroll agency. Furthermore, when signing the agreement with the bank, multiple identity verification methods (facial recognition, verification codes, etc.) are supported to ensure the security of the disbursed funds.

[0053] It should be noted that the payroll processing request includes payroll transaction information, which includes the payroll processing agency's identity tag, agreement number, transaction type (e.g., payroll processing, bonus processing, etc.), corporate account, total amount, total number of detailed transactions, etc.

[0054] In this embodiment, the payroll agency initiates a payroll payment request. For example, the payroll agency initiates a payroll payment request on the first system using an agreed agreement number and payment account information. The payroll payment request is then sent to the second system for verification. Optionally, in one embodiment, the first system performs a preliminary verification of the payroll transaction information. After successful verification, the payroll payment request is sent to the second system for further verification. In a specific example, the verification steps include: verifying whether the identity tag is valid and consistent with the registered agency information in the system; checking whether the agreement number is valid and matches the payroll agency's agreement; confirming whether the transaction type is supported, such as whether it is a valid type like "payroll payment" or "bonus payment"; verifying whether the corporate account information is correct, including the bank account number and bank information; checking whether the total amount is positive and within a reasonable range; and verifying whether the total number of transactions is a positive integer and consistent with the actual number of payroll details, etc.

[0055] Step S12: Receive the serial number returned by the second system after successful verification;

[0056] Step S13: Based on the payroll transaction number, generate a remittance notification message to prompt the payroll payroll client to remit funds to the payroll payroll agency's account.

[0057] In this embodiment, refer to Figure 2 , Figure 2 This is a flowchart illustrating a payroll agency initiating a payroll request according to an embodiment of this application. After successful verification, the second system saves the payroll transaction information and generates a payroll transaction number, which is then sent to the first system. Upon receiving the payroll transaction number from the second system, the first system generates a remittance notification based on the transaction number. The remittance notification also includes information such as the total amount of the payroll request. Furthermore, the remittance notification information is pushed to the payroll agency for confirmation. It should be noted that after detecting the confirmation response from the payroll agency, a confirmation identifier is generated based on the remittance transaction number. Optionally, the confirmation identifier includes a preset fixed prefix field and the remittance transaction number, so that after receiving the remittance notification information, the payroll agency's staff can use the bank account of the payroll agency as agreed in the agreement to remit the corresponding remittance amount to the bank account of the payroll agency, and fill in the confirmation identifier in the remittance remarks. Here, the payroll agency's account refers to the account opened by the payroll agency at the agent bank corresponding to the second system.

[0058] Step S14: In response to the remittance success notification sent by the second system, the payroll agency initiates a payroll execution request to the second system based on the payroll details reported by the payroll agency, so that the second system can perform payroll payroll operations according to the payroll details.

[0059] It should be noted that payroll clients can make remittances online or offline. Successful remittance notifications include information such as the payroll client's bank account, the amount, and remittance remarks.

[0060] It should be noted that the payroll details include salary card number, employee identity information, salary, bonuses, subsidies, deductions, and remarks. The payroll agency encrypts the payroll information file using the key issued by the first system, and then sends the encrypted payroll information file to the first system. The payroll information file includes all payroll details. In other embodiments, custom encryption rules can be defined to encrypt the detailed parameters in the payroll details, such as encrypting employee identity information and bank card numbers.

[0061] It should be noted that after receiving the remittance success notification associated with the payroll processing client, the second system verifies the remittance details information indicated in the remittance success notification based on the payroll transaction information and the payroll transaction number. That is, it verifies the bank account of the payroll processing client, the payment account of the payroll processing agency, the amount, and the remittance remarks. If the transaction verification is successful, the remittance success notification is sent to the first system.

[0062] In this embodiment, refer to Figure 3 , Figure 3 This application provides a flowchart for executing payroll processing operations according to an embodiment. Specifically, in response to a remittance success notification sent by the second system, a current payroll task is created, and based on the payroll details reported by the payroll agency, a payroll execution request for the current payroll task is initiated to the second system, so that the second system can execute the payroll processing operation according to the various payroll details. Optionally, the payroll processing flow is as follows: funds are transferred from the agent bank's account to the second system's front-end internal account, from the second system's front-end internal account to the payroll agency's corporate account, and from the payroll agency's corporate account to the payroll agency's internal account.

[0063] In other embodiments, to avoid duplicate payroll payments, before initiating the payroll execution request for the current payroll task, anti-duplicate verification can be performed on the payroll transaction information and each payroll detail. For example, the payroll transaction information and each payroll detail can be verified using stored historical records to determine whether the current payroll task already exists in the historical records. If it does, it indicates that the payroll task may have been submitted repeatedly. Furthermore, anti-duplicate verification can also be performed between the individual payroll details within the current payroll task.

[0064] In this embodiment, a payroll processing request is initiated by the payroll processing agency. The system then generates a remittance notification to instruct the client to remit funds to the agency's account. After the client completes the remittance, the payroll processing is executed according to the details provided by the agency. Since the funds are not held in the agency's account, the client's funds are protected, ensuring the funds are used for their intended purpose.

[0065] In one feasible implementation, refer to Figure 4 , Figure 4 This is a flowchart illustrating Embodiment Two of the payroll outsourcing method in this application; the step of initiating an outsourcing execution request to the second system based on the outsourcing details reported by the payroll outsourcing agency includes:

[0066] Step S21: Based on the pre-stored first historical verification values, perform anti-duplicate verification processing on the payroll payment request's payment transaction information and each payment detail to obtain the first anti-duplicate verification result.

[0067] It should be noted that a checksum is calculated and stored for each payroll disbursement task. This checksum is used to determine whether the current payroll disbursement task is a duplicate of a previous one. The pre-stored first historical checksum includes checksums for both incomplete and completed payroll disbursement tasks.

[0068] It should be noted that the details of payroll disbursement include elements such as salary card number, employee name, salary, and remarks, while the transaction information includes elements such as agreement number, total amount, number of detailed transactions, and disbursement instructions. During the anti-duplicate verification process, the elements that need to be verified can be customized.

[0069] For each invention detail: In one embodiment, the various elements of the invention detail are combined into a concatenated string, which is then encrypted, and the encryption result is used as a verification value. In other embodiments, all bytes of the encryption result can be format-converted, for example, each byte can be converted into a positive number of a preset number of bits, and the verification value corresponding to the invention detail can be obtained by concatenating the format-converted values ​​of all bytes. Furthermore, the verification values ​​corresponding to all invention details are accumulated, and the accumulated value is used as the final verification value of the invention detail.

[0070] Optionally, during the anti-duplicate verification process, the first verification value corresponding to the dispatched information can be compared with the first verification value of other dispatched information in the current dispatched task to quickly determine whether the same dispatched information has been processed, thereby realizing duplicate verification between dispatched information in the current dispatched task.

[0071] Regarding the delivery transaction information: In one embodiment, the various elements in the delivery transaction information are combined into a concatenated string, which is then encrypted, and the encryption result is used as the verification value of the delivery transaction information. In other embodiments, all bytes of the encryption result can be format-converted, for example, each byte is converted into a positive number of a preset number of bits, and the format-converted values ​​corresponding to all bytes are concatenated to obtain the verification value of the delivery transaction information.

[0072] Furthermore, the final verification value of the dispatch details and the verification value of the dispatch transaction information are superimposed to obtain the target verification value of the current dispatch task. Then, the pre-stored first historical verification values ​​are compared with the target verification value of the current dispatch task to obtain the first anti-duplicate verification result.

[0073] Optionally, in one embodiment, if the current payroll task and the in-transit task (the payroll task that has not yet been completed) are duplicated, the transaction is blocked; if the current payroll task and the completed payroll task are duplicated, the transaction is blocked or a reminder is issued.

[0074] Step S22: Send each of the proxy transaction details to the second system so that the second system can perform anti-duplicate verification on the proxy transaction information and each of the proxy transaction details, and return the second anti-duplicate verification result to the first system;

[0075] It should be noted that the details of each generation of inventions are sent to the second system. The second system performs anti-duplicate verification on the transaction information and the details of each generation of inventions based on the stored second historical verification values. The calculation process of the second anti-duplicate verification result in the second system is basically the same as the calculation process of the first anti-duplicate verification result, and will not be described again here.

[0076] Step S23: If the first anti-duplicate verification result is not duplicated and the second anti-duplicate verification result is not duplicated, a proxy execution request is initiated to the second system.

[0077] In this embodiment, refer to Figure 5 , Figure 5 This is a schematic diagram illustrating the framework for initiating a proxy execution request according to an embodiment of this application. Specifically, if both the first and second anti-duplicate verification results are non-duplicate, a proxy execution request is initiated to the second system.

[0078] Furthermore, in other embodiments, if the first anti-duplicate verification result is a duplicate and the second anti-duplicate verification result is a non-duplicate result, a first prompt message is generated to prompt the payroll processing client whether to perform the payroll processing operation; after the payroll processing client confirms to perform the payroll processing operation, a processing execution request is initiated. Furthermore, if the first anti-duplicate verification result is a duplicate and the second anti-duplicate verification result is a duplicate result, a first prompt message is generated to prompt the payroll processing client whether to perform the payroll processing operation; after the payroll processing client confirms to perform the payroll processing operation, a processing execution request is initiated.

[0079] If the first anti-duplicate check result is non-duplicate, but the second anti-duplicate check result is duplicate, a second prompt message is generated to allow system administrators to determine whether to execute the payroll processing operation. For example, after verification, the account manager can notify the staff of the payroll processing client whether to execute the payroll processing operation.

[0080] This embodiment performs anti-duplicate verification on the payroll payment request information and details of each payroll payment based on the pre-stored first historical verification values, effectively avoiding duplicate payroll payments. Furthermore, by combining each payroll payment detail with the overall information of the entire payroll transaction, the reliability of the anti-duplicate verification can be improved.

[0081] In one feasible implementation, refer to Figure 6 , Figure 6 This is a flowchart illustrating Embodiment 2 of the payroll payment method of this application; based on pre-stored first historical verification values, anti-duplicate verification processing is performed on the payroll payment transaction information and each payroll payment detail in the payroll payment request to obtain a first anti-duplicate verification result, including:

[0082] Step S31: For any of the above-mentioned invention details, generate a first verification value based on the details in the invention details;

[0083] It should be noted that the detailed elements include information such as salary card number, employee name, salary, and remarks; in other embodiments, the detailed elements may also include information such as bonuses, subsidies, and deductions.

[0084] For any single invention detail, the following operations are performed:

[0085] The various detailed elements in the invention details are combined into a concatenated string, which is then encrypted to obtain an encrypted byte array. Further, each byte in the encrypted byte array is converted into an unsigned integer and formatted as a positive number, for example, a three-digit positive number, and the formatted result is used as the target conversion value. Then, the target conversion values ​​of each byte are concatenated to obtain the first check value.

[0086] Step S32: Sum the first verification values ​​corresponding to all the invention details to obtain the second verification value;

[0087] In this embodiment, the first verification values ​​corresponding to all the invention details are directly summed, and the summed value is used as the final second verification value.

[0088] Step S33: Generate a third verification value based on the content elements in the transaction information.

[0089] It should be noted that the content elements include the agreement number, total amount, number of detailed transactions, and disbursement instructions. The number of detailed transactions may include the number of disbursements made by the corresponding bank in this embodiment, as well as the number of disbursements made by other banks.

[0090] The various content elements in the transaction information are combined into a concatenated string, which is then encrypted to obtain an encrypted byte array. Next, each byte in the encrypted byte array is converted into an unsigned integer and formatted as a positive number, for example, a three-digit positive number. The formatted results corresponding to each byte are then concatenated to obtain a third checksum. Through this series of processing steps on the element information, data security is enhanced.

[0091] Step S34: The second verification value and the third verification value are superimposed to obtain the fourth verification value;

[0092] In this embodiment, the second and third verification values ​​are superimposed, and the superposition result is used as the fourth verification value. The anti-duplicate verification process in this embodiment not only considers the details of each dispatching details, but also the overall information of the entire dispatching transaction, thereby improving the reliability of anti-duplicate verification.

[0093] Step S35: Based on each of the first historical verification values, perform anti-duplicate verification processing on the fourth verification value to obtain the first anti-duplicate verification result.

[0094] It should be noted that the final verification value calculated for each delivery task will be stored (that is, the first historical verification value in this embodiment).

[0095] In this embodiment, each first historical check value and the fourth check value are compared to perform anti-duplicate verification on the fourth check value. If the comparison result shows that the first historical check value and the fourth check value are the same, then the first anti-duplicate verification result is a duplicate, that is, the current fourth check value already exists in the historical record, indicating that the task may be submitted repeatedly. If the comparison result shows that the first historical check value and the fourth check value are different, then the first anti-duplicate verification result is a non-duplicate, that is, the current fourth check value is new and has not appeared in the historical record, and the normal processing flow can be carried out.

[0096] This embodiment generates a fourth verification value by superimposing multiple verification values ​​(the second and third verification values) and compares it with historical verification values, effectively preventing duplicate payroll disbursement operations. Furthermore, combining the details of each disbursement and the overall information of the entire disbursement transaction improves the reliability of the anti-duplicate verification. In addition, the generation of multi-layered verification values ​​effectively protects data security. Even if a verification value is leaked, it is difficult for an attacker to recover the original data because each verification value is generated through multiple processing steps.

[0097] In one feasible implementation, generating a first verification value based on the detailed elements in the invention details includes:

[0098] Step S41: Concatenate the detailed elements in the invention details to obtain a concatenated string;

[0099] In this embodiment, the various detailed elements in the invention details are combined into a single concatenated string. Optionally, each detailed element is concatenated into a long string in a certain order. For example, it can be concatenated in the format of "salary card number|employee name|salary|remarks". Optionally, if the remarks are empty, this element is discarded.

[0100] Step S42: Encrypt the concatenated string to obtain an encrypted byte array;

[0101] In this embodiment, the concatenated string is encrypted to ensure data security. An encryption algorithm (such as MD5, SHA-256, etc.) is used to encrypt the concatenated string to obtain an encrypted byte array.

[0102] Step S43: Perform format conversion on each byte in the encrypted byte array to obtain the target converted value;

[0103] In this embodiment, each byte in the encrypted byte array is converted into a specific numerical format. Optionally, each byte is converted into an unsigned integer and formatted as a three-digit positive number (that is, the target converted value in this embodiment). In other embodiments, the number of digits of the positive number can be set according to the actual situation.

[0104] Step S44: Concatenate the target conversion values ​​of each byte to obtain the first verification value.

[0105] In this embodiment, the target conversion value of each byte is concatenated to obtain the first verification value. Optionally, all the converted three-digit positive numbers are concatenated into a long string to obtain the first verification value.

[0106] This embodiment obtains a first verification value by performing string concatenation, encryption, and format conversion on the detailed elements in the dispatch details. Then, the first verification value is used to quickly determine whether the same dispatch task has been processed in subsequent processing, thereby avoiding duplicate processing. This not only improves processing efficiency but also enhances the robustness and reliability of the system.

[0107] Furthermore, referring to Figure 7 , Figure 7The flowchart for calculating the verification value of the dispatch details provided in this application embodiment involves sorting all dispatch details of the current dispatch task and processing each dispatch detail sequentially according to the sorting order. Specifically, the elements in the dispatch details are converted into strings, and then the strings are concatenated to obtain a concatenated string. Further, the concatenated string is encrypted, for example, using the MD5 algorithm, to obtain an encrypted byte array. Then, each byte in the byte array is format-converted to obtain the target conversion value corresponding to the byte, for example, converting it to a three-digit positive number. Further, the target conversion values ​​of all bytes are concatenated to obtain the first verification value. It should be noted that after the dispatch details are processed, the first verification values ​​corresponding to all dispatch details are accumulated to obtain the second verification value. In addition, the verification value of the dispatch transaction information also needs to be calculated. The calculation process of the verification value of the dispatch transaction information is basically the same as that of the first verification value of the dispatch details, and will not be repeated here. Furthermore, the verification value of the dispatch transaction information and the second verification value of the dispatch details are superimposed to obtain the final verification value of the current dispatch task.

[0108] In one feasible implementation, after initiating a payroll execution request to the second system based on the payroll details reported by the payroll agency, the process further includes:

[0109] Step S51: Receive the payroll disbursement result sent by the second system;

[0110] Step S52: Based on the salary payment results, update the task status of the current payment task and the payment status of each payment detail.

[0111] In this embodiment, the second system sends the completed payroll processing results to the first system, for example, by notifying the first system's gateway via an API call. The gateway then notifies the first system's main service via a Kafka message. Based on the payroll processing results, the first system updates the task status of the current payroll processing task and the payment status of each payroll detail. For example, after successful payroll processing, the task status of the current payroll processing task changes to "completed," and the payment status of each payroll detail changes to "paid" or "completed," etc. Furthermore, in other embodiments, a compensation mechanism for scheduled tasks can be set to update the task status of the current payroll processing task and the payment status of each payroll detail according to a time period. Additionally, the payroll processing results can be pushed to the payroll processing client and the payroll processing agency.

[0112] In addition, refer to Figure 8 , Figure 8This application provides a flowchart for canceling and refunding payroll payments according to one embodiment. Customers can cancel payroll tasks before the payroll payment operation is successfully executed (i.e., before the remittance is successful). Furthermore, if the payroll payment operation corresponding to the second system fails to execute successfully, or if the agent bank does not receive the remittance agreed upon by the payroll client, the payroll payment operation for the current task is automatically canceled, increasing security and reducing vulnerability risks. Additionally, if the agent bank has received the remittance from the payroll client, but the payroll payment operation corresponding to the second system fails to execute successfully, the second system will perform a reverse accounting process, refunding the funds from the payroll agency's internal account to the payroll agency's corporate account, then from the payroll agency's corporate account to the second system's front-end internal account, and finally to the agent bank's internal account, where the agent bank will handle the subsequent refund process.

[0113] This embodiment updates the task status of the current payroll task and the payment status of each payroll detail based on the payroll payment results sent by the second system. This ensures the integrity of the current payroll task, improves the reliability and stability of the system, and facilitates auditing and traceability.

[0114] This application provides a method for payroll processing, referring to... Figure 9 , Figure 9 This is a flowchart illustrating Embodiment 4 of the payroll disbursement method of this application; applied to the second system, including:

[0115] Step S61: Receive and verify the payroll processing request sent by the first system to the payroll processing agency.

[0116] It should be noted that the payroll processing request includes payroll transaction information, which includes the payroll processing agency's identity tag, agreement number, transaction type (e.g., payroll processing, bonus processing, etc.), corporate account, total amount, total number of detailed transactions, etc.

[0117] In this embodiment, the system receives a payroll disbursement request initiated by a payroll disbursement agency from the first system, and then verifies the disbursement transaction information. The verification steps include, but are not limited to: verifying whether the identity tag is valid and consistent with the agency information registered in the system; checking whether the agreement number is valid and matches the agreement of the payroll disbursement agency; confirming whether the transaction type is supported, such as whether it is a valid type like "payroll disbursement" or "bonus disbursement"; verifying whether the corporate account information is correct, including bank account number and bank information; checking whether the total amount is positive and within a reasonable range; and verifying whether the total number of transactions is a positive integer and consistent with the actual number of disbursement details, etc.

[0118] Step S62: If the verification is successful, a payroll transaction number is generated and sent to the first system, so that the first system can generate a remittance notification based on the payroll transaction number, so as to prompt the payroll client to remit money to the payroll agency's account.

[0119] In this embodiment, after successful verification, the second system saves the payroll transaction information and generates a payroll transaction number, which is then sent to the first system. Upon receiving the payroll transaction number from the second system, the first system generates a remittance notification based on the transaction number. Optionally, the remittance notification is generated based on the payroll transaction number. Furthermore, the remittance notification also includes the total amount of payroll payments. Further, the remittance notification is pushed to the payroll client for confirmation. It should be noted that after detecting the client's confirmation response, a confirmation identifier is generated based on the payroll transaction number. Optionally, the confirmation identifier includes a pre-set fixed prefix field and the payroll transaction number, allowing the payroll client's staff to remit the corresponding payroll amount from the payroll agency's account using the agreed-upon bank account after receiving the remittance notification. The confirmation identifier is also entered in the remittance remarks. The payroll agency's account refers to the account opened by the payroll agency at the corresponding agent bank in the second system.

[0120] Step S63: In response to the remittance success notification associated with the payroll agency, the remittance success notification is sent to the first system, so that the first system can initiate a payroll execution request to the second system based on the payroll agency's reported payroll details.

[0121] It should be noted that payroll clients can make remittances online or offline. Successful remittance notifications include information such as the payroll client's bank account, the payroll agency's payment account, the amount, and remittance remarks.

[0122] In this embodiment, based on the payroll transaction information and the payroll serial number, the remittance details indicated in the remittance success notification are verified. Specifically, the bank account of the payroll client, the payment account of the payroll agency, the amount, and the remittance remarks are verified. If the transaction verification is successful, a remittance success notification is sent to the first system. Upon receiving the remittance success notification, the first system creates the current payroll task and, based on the payroll details reported by the payroll agency, initiates a payroll execution request for the current payroll task to the second system.

[0123] Step S64: In response to the payroll disbursement request, perform payroll disbursement operations according to each payroll disbursement detail.

[0124] In this embodiment, the second system responds to the payroll execution request and executes the payroll disbursement operation according to the details of each disbursement to transfer the salary to the employee's bank account. Optionally, the payroll disbursement operation process is as follows: funds are transferred from the agent bank's account to the second system's front-end internal account, from the second system's front-end internal account to the payroll disbursement agency's corporate account, and from the payroll disbursement agency's corporate account to the payroll disbursement agency's internal account.

[0125] In this embodiment, the payroll agency initiates a payroll disbursement request. Subsequently, the system generates a remittance notification to instruct the payroll client to remit funds to the payroll agency's account. After the client completes the remittance, the payroll disbursement is executed according to the disbursement details reported by the payroll agency. Since the disbursement funds do not remain in the payroll agency's account, the client's funds are protected, ensuring the funds are used for their intended purpose.

[0126] In one feasible implementation, refer to Figure 10 , Figure 10 This is a flowchart illustrating Embodiment 5 of the payroll payment method of this application; before executing the payroll payment operation according to each of the payment details, it also includes:

[0127] Step S71: Based on the pre-stored second historical verification value, perform anti-duplicate verification processing on the payroll payment request's payroll transaction information and each payroll details sent by the first system to obtain the second anti-duplicate verification result.

[0128] Step S72: The second anti-duplicate verification result is sent to the first system so that the first system can determine whether to initiate a proxy execution request based on the second anti-duplicate verification result.

[0129] It should be noted that the anti-duplicate verification process in the second system is basically the same as that in the first system. However, the first system is just one of the business systems associated with the second system, which in turn is associated with other business systems. Therefore, the second system stores a larger amount of transaction data. Thus, to further improve the reliability of anti-duplicate verification, the second system also performs corresponding anti-duplicate verification on the transaction information and the details reported by the first system.

[0130] It should be noted that the payroll transaction information includes elements such as agreement number, total amount, number of detailed transactions, and payroll instructions. The number of detailed transactions may include the number of payrolls from the corresponding bank in this embodiment, as well as the number of payrolls from other banks. Payroll details include elements such as salary card number, employee name, salary, bonus, subsidies, and deduction remarks. The elements requiring anti-duplicate verification can be customized.

[0131] For each invention detail: In one embodiment, the various elements of the invention detail are combined into a concatenated string, which is then encrypted, and the encryption result is used as a verification value. In other embodiments, all bytes of the encryption result can be format-converted, for example, each byte can be converted into a positive number of a preset number of bits, and then the verification value corresponding to the invention detail can be obtained by concatenating the format-converted values ​​of all bytes. Further, the verification values ​​corresponding to all invention details are accumulated, and the accumulated value is used as the final verification value of the invention detail.

[0132] Optionally, during the anti-duplicate verification process, the fifth check value corresponding to the dispatched information can be compared with the fifth check value of other dispatched information in the current dispatched task to quickly determine whether the same dispatched information has been processed, thereby realizing duplicate verification between dispatched information in the current dispatched task.

[0133] Regarding the delivery transaction information: In one embodiment, the various elements in the delivery transaction information are combined into a concatenated string, which is then encrypted, and the encryption result is used as the verification value of the delivery transaction information. In other embodiments, all bytes of the encryption result can be format-converted, for example, each byte can be converted into a positive number of a preset number of bits, and then the format-converted values ​​corresponding to all bytes can be concatenated to obtain the verification value of the delivery transaction information.

[0134] Furthermore, the final verification value of the dispatch details and the verification value of the dispatch transaction information are superimposed to obtain the target verification value of the current dispatch task. Then, the pre-stored second historical verification values ​​are compared with the target verification value of the current dispatch task to obtain the second anti-duplicate verification result.

[0135] Furthermore, the second anti-duplicate verification result is sent to the first system, so that the first system can determine whether to initiate a proxy execution request based on the second anti-duplicate verification result. The specific process of determining whether to initiate a proxy execution request is described in detail in the embodiment of step S22, and will not be repeated here.

[0136] This embodiment performs anti-duplicate verification on the payroll payment request information and details of each payment based on pre-stored second historical verification values, effectively avoiding duplicate payroll payments. Furthermore, by combining each payment detail with the overall information of the entire payroll transaction, the reliability of the anti-duplicate verification can be improved.

[0137] In one feasible implementation, based on a pre-stored second historical verification value, anti-duplicate verification processing is performed on the payroll payment request's payment transaction information and each payment detail sent by the first system to obtain a second anti-duplicate verification result, including:

[0138] Step S81: For any of the above-mentioned invention details, generate a fifth verification value based on the details in the invention details;

[0139] For any single invention detail, the following operations are performed:

[0140] The various detailed elements in the invention details are combined into a concatenated string, which is then encrypted to obtain an encrypted byte array. Furthermore, each byte in the encrypted byte array is converted into an unsigned integer and formatted as a positive number, for example, a three-digit positive number. The formatted result is used as the target conversion value, and then the target conversion values ​​of each byte are concatenated to obtain the fifth check value.

[0141] Step S82: Sum the fifth verification values ​​corresponding to all the invention details to obtain the sixth verification value;

[0142] In this embodiment, the fifth verification values ​​corresponding to all the invention details are directly summed, and the summed value is used as the final sixth verification value.

[0143] Step S83: Generate a seventh verification value based on the content elements in the transaction information.

[0144] The various content elements in the transaction information are combined into a concatenated string, which is then encrypted to obtain an encrypted byte array. Next, each byte in the encrypted byte array is converted into an unsigned integer and formatted as a positive number, for example, a three-digit positive number. The formatted results corresponding to each byte are then concatenated to obtain a seventh checksum. This series of processing steps enhances data security.

[0145] Step S84: The sixth check value and the seventh check value are superimposed to obtain the eighth check value;

[0146] In this embodiment, the sixth and seventh verification values ​​are superimposed, and the accumulated value is used as the eighth verification value. The anti-duplicate verification process in this embodiment not only considers the details of each proxy issuance, but also the overall information of the entire proxy issuance transaction, thereby improving the reliability of the anti-duplicate verification.

[0147] Step S85: Based on the pre-stored second historical verification value, perform anti-duplicate verification processing on the eighth verification value to obtain the second anti-duplicate verification result.

[0148] It should be noted that the final verification value calculated for each delivery task will be stored (that is, the second historical verification value in this embodiment).

[0149] In this embodiment, each second historical check value is compared with the eighth check value to perform anti-duplicate verification on the eighth check value. If the comparison result shows that a second historical check value is the same as the eighth check value, then the second anti-duplicate verification result is a duplicate, that is, the current eighth check value already exists in the history record, indicating that the task may be submitted repeatedly. If the comparison result shows that a second historical check value is different from the eighth check value, then the second anti-duplicate verification result is a non-duplicate, that is, the current fourth check value is new and has not appeared in the history record, and the normal processing flow can be carried out.

[0150] This embodiment improves the reliability of anti-duplicate verification by combining the details of each payment disbursement with the overall information of the entire payment disbursement transaction. Furthermore, the generation of multi-layered verification values ​​effectively protects data security. Even if a verification value is leaked, it is difficult for an attacker to reconstruct the original data because each verification value is generated through multiple processing steps.

[0151] In one feasible implementation, in response to a remittance success notification associated with the payroll processing client, the remittance success notification is sent to the first system, including:

[0152] Step S91: In response to the remittance success notification associated with the payroll outsourcing client, perform transaction verification on the remittance details information indicated in the remittance success notification based on the payroll transaction information and the payroll transaction number;

[0153] Step S92: If the transaction verification is successful, the remittance success notification is sent to the first system.

[0154] In this embodiment, a remittance success notification is received from the second system or the bank system. The remittance success notification includes remittance details such as the remittance amount, remittance time, the bank account of the payroll client, the payment account of the payroll agency, and remittance remarks. Based on the payroll transaction information and the payroll serial number, the remittance details indicated in the remittance success notification are verified. For example, based on the payroll transaction information, the remittance amount, the bank account of the payroll client, and the payment account of the payroll agency are verified, and based on the payroll serial number, the remittance remarks are verified. If the transaction verification is successful, the remittance success notification is sent to the first system; if the transaction verification fails, error information is recorded and appropriate exception handling is performed.

[0155] This embodiment improves the reliability and security of the system by verifying the remittance details information indicated in the remittance success notification, ensuring that the received remittance success notification is consistent with the remittance transaction information.

[0156] It should be noted that the examples in the figure are only for understanding this application and do not constitute a limitation on the payroll disbursement method of this application. Any simple modifications based on this technical concept are within the protection scope of this application.

[0157] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0158] This application also provides a payroll disbursement device; please refer to [reference needed]. Figure 11 The payroll disbursement device is applied to the first system and includes:

[0159] The first sending module 101 is used to respond to a payroll payment request from a payroll payment agency and send the payroll payment request to the second system for verification.

[0160] The first receiving module 102 is used to receive the serial number returned by the second system after successful verification;

[0161] The generation module 103 is used to generate a remittance notification information based on the payroll serial number, so as to prompt the payroll client to remit money to the payroll agency's account, wherein the account refers to the account opened by the payroll agency at the agent bank corresponding to the second system.

[0162] The first payroll disbursement module 104 is used to respond to the remittance success notification sent by the second system, and to initiate a payroll disbursement execution request to the second system according to the various disbursement details reported by the payroll disbursement agency, so that the second system can perform payroll disbursement operations according to the various disbursement details.

[0163] The first payroll disbursement module is also used for:

[0164] Based on the pre-stored first historical verification values, the payroll payment request information and each payroll payment detail are subjected to anti-duplicate verification to obtain the first anti-duplicate verification result.

[0165] Each of the aforementioned transaction details is sent to the second system, so that the second system can perform anti-duplicate verification on the transaction information and each of the aforementioned transaction details, and return the second anti-duplicate verification result to the first system;

[0166] If the first anti-duplicate verification result is not duplicated and the second anti-duplicate verification result is not duplicated, a proxy execution request is initiated to the second system.

[0167] The first payroll disbursement module is also used for:

[0168] For any of the aforementioned invention details, a first verification value is generated based on the details in the invention details;

[0169] The first check value corresponding to all the invention details is summed to obtain the second check value;

[0170] A third verification value is generated based on the content elements in the transaction information.

[0171] The second and third verification values ​​are superimposed to obtain the fourth verification value;

[0172] Based on each of the first historical verification values, the fourth verification value is subjected to anti-duplicate verification processing to obtain the first anti-duplicate verification result.

[0173] The first payroll disbursement module is also used for:

[0174] The detailed elements in the invention details are concatenated to obtain a concatenated string;

[0175] The concatenated string is encrypted to obtain an encrypted byte array;

[0176] Each byte in the encrypted byte array is format-converted to obtain the target converted value;

[0177] The first verification value is obtained by concatenating the target conversion values ​​of each byte.

[0178] The first payroll disbursement module is also used for:

[0179] If the first anti-duplicate verification result is duplicate and the second anti-duplicate verification result is not duplicate, or if the first anti-duplicate verification result is duplicate and the second anti-duplicate verification result is duplicate, a first prompt message is generated to prompt the payroll outsourcing party whether to initiate an outsourcing execution request.

[0180] If the first anti-duplicate verification result is non-duplicate, but the second anti-duplicate verification result is duplicate, a second prompt message is generated to allow system administrators to determine whether to initiate a proxy execution request.

[0181] The payroll disbursement device also includes:

[0182] The payroll processing result receiving module is used to receive payroll processing results sent by the second system;

[0183] The update module is used to update the task status of the current payroll disbursement task and the disbursement status of each payroll disbursement detail based on the payroll disbursement results.

[0184] This application also provides a payroll disbursement device; please refer to [reference needed]. Figure 12The payroll disbursement device is used in the second system and includes:

[0185] The second receiving module 201 is used to receive and verify the payroll processing request sent by the first system to the payroll processing agency.

[0186] The second sending module 202 is used to generate a payroll transaction number and send it to the first system if the verification is successful, so that the first system can generate a remittance notification information based on the payroll transaction number to prompt the payroll client to remit money to the payroll agency's account. The account refers to the account opened by the payroll agency at the agent bank corresponding to the second system.

[0187] The third sending module 203 is used to respond to the remittance success notification associated with the payroll agency and send the remittance success notification to the first system, so that the first system can initiate a payroll execution request to the second system based on the payroll agency's reported payroll details.

[0188] The second payroll disbursement module 204 is used to respond to the payroll disbursement execution request and perform payroll disbursement operations according to each payroll disbursement detail.

[0189] The payroll disbursement device also includes:

[0190] The anti-duplicate verification module is used to perform anti-duplicate verification processing on the payroll payment request's payment transaction information and each payment detail sent by the first system based on the pre-stored second historical verification value, and obtain the second anti-duplicate verification result.

[0191] The fourth sending module is used to send the second anti-duplicate verification result to the first system, so that the first system can determine whether to initiate a proxy execution request based on the second anti-duplicate verification result.

[0192] The anti-duplicate verification module is also used for:

[0193] For any of the aforementioned invention details, a fifth verification value is generated based on the detailed elements in the invention details;

[0194] The sixth verification value is obtained by summing the fifth verification values ​​corresponding to all the invention details.

[0195] A seventh verification value is generated based on the content elements in the transaction information.

[0196] The sixth and seventh check values ​​are superimposed to obtain the eighth check value;

[0197] Based on the pre-stored second historical verification value, the eighth verification value is subjected to anti-duplicate verification processing to obtain the second anti-duplicate verification result.

[0198] The payroll disbursement device also includes:

[0199] The transaction verification module is used to respond to the remittance success notification associated with the payroll outsourcing client, and to verify the remittance details information indicated in the remittance success notification based on the payroll transaction information and the payroll transaction number.

[0200] The fifth sending module is used to send the remittance success notification to the first system if the transaction verification is successful.

[0201] The payroll disbursement device provided in this application, employing the payroll disbursement method described in the above embodiments, can solve the technical problems mentioned in the background section. Compared with the prior art, the beneficial effects of the payroll disbursement device provided in this application are the same as those of the payroll disbursement method provided in the above embodiments, and other technical features of the payroll disbursement device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.

[0202] This application provides an electronic device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the payroll disbursement method in Embodiment 1 above.

[0203] The following is for reference. Figure 13 The diagram illustrates a structural schematic of an electronic device suitable for implementing embodiments of this application. The electronic devices in these embodiments may include, but are not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 13 The electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.

[0204] like Figure 13As shown, the electronic device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory 1002 or a program loaded from a storage device 1003 into a random access memory 1004. The random access memory 1004 also stores various programs and data required for the operation of the electronic device. The processing unit 1001, the read-only memory 1002, and the random access memory 1004 are interconnected via a bus 1005. An input / output interface 1006 is also connected to the bus. Typically, the following systems can be connected to the input / output interface 1006: input devices 1007 including, for example, touchscreens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices 1008 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 1003 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1009. The communication device 1009 allows the electronic device to communicate wirelessly or wiredly with other devices to exchange data. Although the diagrams show electronic devices with various systems, it should be understood that it is not required to implement or have all of the systems shown. More or fewer systems may be implemented alternatively.

[0205] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from read-only memory 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.

[0206] The electronic device provided in this application, employing the payroll disbursement method in the above embodiments, can solve the technical problems described in the background section. Compared with the prior art, the beneficial effects of the electronic device provided in this application are the same as those of the payroll disbursement method provided in the above embodiments, and other technical features of the electronic device are the same as those disclosed in the previous embodiment method, and will not be repeated here.

[0207] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.

[0208] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0209] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to execute the payroll disbursement method in the above embodiments.

[0210] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0211] The aforementioned computer-readable storage medium may be included in an electronic device or may exist independently without being assembled into an electronic device.

[0212] The aforementioned computer-readable storage medium carries one or more programs, which, when executed by an electronic device, cause the electronic device to:

[0213] In response to a payroll processing request from a payroll processing agency, the payroll processing request is sent to a second system for verification.

[0214] Receive the serial number returned by the second system after successful verification;

[0215] Based on the payroll transaction number, a remittance notification is generated to prompt the payroll client to remit funds to the payroll agency's account. The account refers to the account opened by the payroll agency at the agent bank corresponding to the second system.

[0216] In response to the remittance success notification sent by the second system, the payroll agency initiates a payroll execution request to the second system based on the payroll details reported by the payroll agency, so that the second system can perform the payroll payroll operation according to the payroll details.

[0217] Computer program code for performing the operations of this application can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0218] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0219] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.

[0220] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the above-described payroll disbursement method, and is capable of solving the technical problems described in the background section. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the payroll disbursement method provided in the above embodiments, and will not be repeated here.

[0221] This application provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the payroll disbursement method described above.

[0222] The computer program product provided in this application can solve the technical problems described in the background section. Compared with the prior art, the beneficial effects of the computer program product provided in the embodiments of this application are the same as the beneficial effects of the payroll disbursement method provided in the above embodiments, and will not be repeated here.

[0223] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.

Claims

1. A method for payroll outsourcing, characterized in that, Applied to the first system, including: In response to a payroll processing request from a payroll processing agency, the payroll processing request is sent to a second system for verification. Receive the serial number returned by the second system after successful verification; Based on the payroll transaction number, a remittance notification is generated to prompt the payroll client to remit funds to the payroll agency's account. The account refers to the account opened by the payroll agency at the agent bank corresponding to the second system. In response to the remittance success notification sent by the second system, the payroll agency initiates a payroll execution request to the second system based on the payroll details reported by the payroll agency, so that the second system can perform the payroll payroll operation according to the payroll details.

2. The payroll disbursement method as described in claim 1, characterized in that, The step of initiating a payroll execution request to the second system based on the payroll details reported by the payroll agency includes: Based on the pre-stored first historical verification values, the payroll payment request information and each payroll payment detail are subjected to anti-duplicate verification to obtain the first anti-duplicate verification result. Each of the aforementioned transaction details is sent to the second system, so that the second system can perform anti-duplicate verification on the transaction information and each of the aforementioned transaction details, and return the second anti-duplicate verification result to the first system; If the first anti-duplicate verification result is not duplicated and the second anti-duplicate verification result is not duplicated, a proxy execution request is initiated to the second system.

3. The payroll disbursement method as described in claim 2, characterized in that, The step of performing anti-duplicate verification processing on the payroll payment request's payment transaction information and each payment detail based on pre-stored first historical verification values ​​to obtain a first anti-duplicate verification result includes: For any of the aforementioned invention details, a first verification value is generated based on the details in the invention details; The first check value corresponding to all the invention details is summed to obtain the second check value; A third verification value is generated based on the content elements in the transaction information. The second and third verification values ​​are superimposed to obtain the fourth verification value; Based on each of the first historical verification values, the fourth verification value is subjected to anti-duplicate verification processing to obtain the first anti-duplicate verification result.

4. The payroll disbursement method as described in claim 3, characterized in that, The step of generating a first verification value based on the detailed elements in the invention details includes: The detailed elements in the invention details are concatenated to obtain a concatenated string; The concatenated string is encrypted to obtain an encrypted byte array; Each byte in the encrypted byte array is format-converted to obtain the target converted value; The first verification value is obtained by concatenating the target conversion values ​​of each byte.

5. The payroll disbursement method as described in claim 2, characterized in that, After sending each of the aforementioned proxy transaction details to the second system for the second system to perform anti-duplicate verification on the proxy transaction information and each of the aforementioned proxy transaction details, and returning the second anti-duplicate verification result to the first system, the method further includes: If the first anti-duplicate verification result is duplicate and the second anti-duplicate verification result is not duplicate, or if the first anti-duplicate verification result is duplicate and the second anti-duplicate verification result is duplicate, a first prompt message is generated to prompt the payroll outsourcing party whether to initiate an outsourcing execution request. If the first anti-duplicate verification result is non-duplicate, but the second anti-duplicate verification result is duplicate, a second prompt message is generated to allow system administrators to determine whether to initiate a proxy execution request.

6. The payroll disbursement method as described in claim 1, characterized in that, After initiating a payroll execution request to the second system based on the payroll details reported by the payroll agency, the process further includes: Receive the payroll processing results sent by the second system; Based on the salary disbursement results, update the task status of the current payroll disbursement task and the disbursement status of each payroll disbursement detail.

7. A method for payroll outsourcing, characterized in that, Applied to the second system, including: Receive and verify the payroll processing request sent by the first system to the payroll processing agency corresponding to the payroll processing request; If the verification is successful, a payroll transaction number is generated and sent to the first system, so that the first system can generate a remittance notification based on the payroll transaction number, so as to prompt the payroll client to remit money to the payroll agency's account. The account refers to the account opened by the payroll agency at the agent bank corresponding to the second system. In response to the remittance success notification associated with the payroll agency, the remittance success notification is sent to the first system, so that the first system can initiate a payroll execution request to the second system based on the payroll agency's reported payroll details. In response to the payroll disbursement request, the payroll disbursement operation is performed according to each payroll disbursement detail.

8. The payroll disbursement method as described in claim 7, characterized in that, Before performing the payroll disbursement operation according to each of the disbursement details, the method further includes: Based on the pre-stored second historical verification value, the payroll payment request information and the details of each payroll payment sent by the first system are subjected to anti-duplicate verification to obtain the second anti-duplicate verification result. The second anti-duplicate verification result is sent to the first system so that the first system can determine whether to initiate a proxy execution request based on the second anti-duplicate verification result.

9. The payroll disbursement method as described in claim 8, characterized in that, The step of performing anti-duplicate verification processing on the payroll payment request's payment transaction information and each payment detail sent by the first system based on the pre-stored second historical verification value, to obtain the second anti-duplicate verification result, includes: For any of the aforementioned invention details, a fifth verification value is generated based on the detailed elements in the invention details; The sixth verification value is obtained by summing the fifth verification values ​​corresponding to all the invention details. A seventh verification value is generated based on the content elements in the transaction information. The sixth and seventh check values ​​are superimposed to obtain the eighth check value; Based on the pre-stored second historical verification value, the eighth verification value is subjected to anti-duplicate verification processing to obtain the second anti-duplicate verification result.

10. The payroll disbursement method as described in claim 7, characterized in that, The step of responding to the remittance success notification associated with the payroll processing client by sending the remittance success notification to the first system includes: In response to the remittance success notification associated with the payroll outsourcing client, the transaction details information indicated in the remittance success notification are verified based on the payroll transaction information and the payroll transaction number. If the transaction is successfully verified, the remittance success notification will be sent to the first system.

11. An electronic device, characterized in that, The electronic device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the payroll disbursement method as described in any one of claims 1 to 6 or 7 to 10.

12. A storage medium, characterized in that, The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, it implements the steps of the payroll disbursement method as described in any one of claims 1 to 6 or 7 to 10.