CN110941557A - Social insurance payment simulation method and device - Google Patents

Social insurance payment simulation method and device Download PDF

Info

Publication number
CN110941557A
CN110941557A CN201911180464.4A CN201911180464A CN110941557A CN 110941557 A CN110941557 A CN 110941557A CN 201911180464 A CN201911180464 A CN 201911180464A CN 110941557 A CN110941557 A CN 110941557A
Authority
CN
China
Prior art keywords
payment
social security
user
paid
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911180464.4A
Other languages
Chinese (zh)
Other versions
CN110941557B (en
Inventor
朱峰
刘洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN201911180464.4A priority Critical patent/CN110941557B/en
Publication of CN110941557A publication Critical patent/CN110941557A/en
Application granted granted Critical
Publication of CN110941557B publication Critical patent/CN110941557B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3604Software analysis for verifying properties of programs
    • G06F11/3612Software analysis for verifying properties of programs by runtime analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/08Insurance

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Technology Law (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention relates to the technical field of computers, in particular to a social insurance payment simulation method and device. The method comprises the following steps: when a request message sent by bank software is received, acquiring all bottoming data in a server; searching target bottoming data corresponding to the request message in each bottoming data, and judging whether the user has a social security item to be paid according to the target bottoming data; if yes, generating a payment message, and sending the payment message to the user through the bank software; when payment information corresponding to a payment message sent by bank software is received, judging whether the user successfully pays the fee; and if the user successfully pays the fee, generating a receipt message, sending the receipt message to the bank software, and ending the simulation process of the social security payment. By applying the method provided by the invention, the server stores the bottoming data in the tax bureau system in advance, and the process of bank software simulation payment social security can be realized by the server without the tax bureau system, so that the simulation process is simplified and the cost is reduced.

Description

Social insurance payment simulation method and device
Technical Field
The invention relates to the technical field of computers, in particular to a social insurance payment simulation method and device.
Background
With the rapid development of scientific technology, in order to facilitate the user to pay social security, a social security payment function capable of paying social security is set in many application software. During the use process of the application software with the social security payment function, simulation test needs to be carried out on the application software to determine that the social security payment function is normally used in the application software.
In the process of carrying out simulation test on the social security payment function, the application program needs to be externally connected with the tax bureau system, and simulation test is carried out by acquiring each social security data in the tax bureau system. When the tax bureau system is connected externally, the link connected between the application software and the tax bureau system is long, the process of carrying out simulation test is very inconvenient, and the cost spent in the process of simulation test is high.
Disclosure of Invention
In view of the above, the invention provides a social security payment simulation method, by which a server is arranged in a bank system, the server stores each bottoming data in a tax bureau system in advance, and a bank software simulation payment process can be realized by the server without the aid of the tax bureau system, so that the simulation process is simplified, and the cost is reduced.
The invention also provides a social insurance payment simulation device used for ensuring the realization and the application of the method in practice.
A social insurance payment simulation method is applied to a server, the server is arranged in a bank system and carries out data interaction with each piece of bank software supported by the bank system, and the method comprises the following steps:
when a request message sent by a user through bank software is received, obtaining all bottoming data stored in the server in advance, wherein the bottoming data is social insurance payment data obtained by backing up the server in a preset tax bureau system;
searching target bottoming data corresponding to the request message in each bottoming data, and judging whether the user has a social security item to be paid according to the target bottoming data;
if the user has social security items to be paid, generating payment messages according to the social security items to be paid, and sending the payment messages to the user through the bank software;
when payment information corresponding to the payment message sent by the bank software is received, judging whether the user successfully pays the fee according to the payment information;
and if the user successfully pays, generating a receipt message corresponding to the payment information, sending the receipt message to the bank software, and ending the simulation process of the social security payment corresponding to the user.
Optionally, the method for searching for the target bedding data corresponding to the request packet in each bedding data includes:
analyzing the request message, and acquiring client information and social security information contained in the request message;
acquiring user identification information corresponding to each paving data, and searching target user identification information matched with the user information;
and determining the bottoming data corresponding to the target user representation information as target bottoming data.
Optionally, in the method, the generating a payment message according to each social security project to be paid, and sending the payment message to the user through the bank software includes:
determining a payment amount corresponding to each item to be paid, and writing each social security item to be paid and the payment amount corresponding to the social security item to be paid into a preset payment list;
calling a preset encryption algorithm to encrypt the payment list to generate a payment message;
and sending the payment message to the bank software, triggering the bank software to decrypt the payment message and then sending the payment list to the user.
Optionally, the method for determining whether the user successfully pays the fee according to the fee information includes:
acquiring each paid social security item contained in the payment information and a payment amount corresponding to each paid social security item;
judging whether each paid social security item is consistent with each social security item to be paid in the payment list or not;
if each paid social security item is consistent with each social security item to be paid in the payment list, determining that the user is successful in payment;
and if any paid social security item is inconsistent with each social security item to be paid in the payment list, determining that the user payment fails.
The above method, optionally, further includes:
and when the user fails to pay, returning the payment amount corresponding to each paid social security project to a payment account corresponding to the bank software, and sending a payment failure message to the bank software.
A social security payment simulation device applied to a server comprises:
the system comprises an acquisition unit, a payment unit and a payment unit, wherein the acquisition unit is used for acquiring all bottoming data prestored in the server when receiving a request message sent by a user through bank software, and the bottoming data is social security payment data obtained by backing up the server in a preset tax bureau system;
the searching unit is used for searching target bottoming data corresponding to the request message in each bottoming data and judging whether the user has a social security item to be paid according to the target bottoming data;
the generating unit is used for generating payment messages according to the social security items to be paid if the social security items to be paid exist in the user, and sending the payment messages to the user through the bank software;
the judging unit is used for judging whether the user successfully pays the fee according to the payment information when receiving the payment information corresponding to the payment message sent by the bank software;
and the first sending unit is used for generating a receipt message corresponding to the payment information if the user successfully pays the fee, sending the receipt message to the bank software, and ending the simulation process of the social security payment corresponding to the user.
The above apparatus, optionally, the search unit includes:
the analysis subunit is used for analyzing the request message and acquiring the client information and the social security information contained in the request message;
the searching subunit is used for acquiring user identification information corresponding to each bedding data and searching target user identification information matched with the user information;
and the first determining subunit is used for determining the bottom data corresponding to the target user representation information as target bottom data.
The above apparatus, optionally, the generating unit includes:
the writing-in subunit is used for determining the payment amount corresponding to each to-be-paid item and writing each to-be-paid social security item and the payment amount corresponding to the to-be-paid item into a preset payment list;
the generating subunit is used for calling a preset encryption algorithm to encrypt the payment list and generate a payment message;
and the triggering subunit is used for sending the payment message to the bank software, triggering the bank software to decrypt the payment message and then sending the payment list to the user.
The above apparatus, optionally, the determining unit includes:
the acquisition subunit is used for acquiring each paid social security item contained in the payment information and the payment amount corresponding to each paid social security item;
the judging subunit is used for judging whether each paid social security item is consistent with each social security item to be paid in the payment list;
the second determining subunit is used for determining that the payment of the user is successful if each paid social security item is consistent with each social security item to be paid in the payment list;
and the third determining subunit is used for determining that the payment of the user fails if any one paid social security item is inconsistent with each social security item to be paid in the payment list.
The above apparatus, optionally, further comprises:
and the second sending unit is used for returning the payment amount corresponding to each paid social security project to a payment account corresponding to the bank software when the user fails to pay, and sending a payment failure message to the bank software.
A storage medium comprises stored instructions, wherein when the instructions are executed, a device where the storage medium is located is controlled to execute the social security payment simulation method.
An electronic device includes a memory, and one or more instructions, wherein the one or more instructions are stored in the memory and configured to be executed by one or more processors to perform the social security payment simulation method.
Compared with the prior art, the invention has the following advantages:
the invention provides a social security payment simulation method, which comprises the following steps: when a request message sent by a user through bank software is received, obtaining all bottoming data stored in the server in advance, wherein the bottoming data is social insurance payment data obtained by backing up the server in a preset tax bureau system; searching target bottoming data corresponding to the request message in each bottoming data, and judging whether the user has a social security item to be paid according to the target bottoming data; if the user has social security items to be paid, generating payment messages according to the social security items to be paid, and sending the payment messages to the user through the bank software; when payment information corresponding to the payment message sent by the bank software is received, judging whether the user successfully pays the fee according to the payment information; and if the user successfully pays, generating a receipt message corresponding to the payment information, sending the receipt message to the bank software, and ending the simulation process of the social security payment corresponding to the user. By applying the method provided by the invention, the server is arranged in the bank system and stores all bottoming data in the tax bureau system in advance, and the process of bank software simulation payment of social security can be realized by the server without the aid of the tax bureau system, so that the simulation process is simplified, and the cost is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a social security payment simulation method according to an embodiment of the present invention;
fig. 2 is a flowchart of another method of a social security payment simulation method according to an embodiment of the present invention;
fig. 3 is a flowchart of another method of a social security payment simulation method according to an embodiment of the present invention;
fig. 4 is a device structure diagram of a social security payment simulation apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In this application, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions, and the terms "comprises", "comprising", or any other variation thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The invention is operational with numerous general purpose or special purpose computing device environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multi-processor apparatus, distributed computing environments that include any of the above devices or equipment, and the like.
The embodiment of the invention provides a social security payment simulation method, which can be applied to various system platforms, wherein an execution main body of the method can be a server, the server is arranged in a bank system and performs data interaction with each bank software supported by the bank system, and a flow chart of the method is shown in fig. 1 and specifically comprises the following steps:
s101: when a request message sent by a user through bank software is received, obtaining all bottoming data stored in the server in advance, wherein the bottoming data is social insurance payment data obtained by backing up the server in a preset tax bureau system;
in the embodiment of the invention, in the process of simulating the social security payment, a user is required to input the customer information such as the name, the identity card, the mobile phone number and the like in the bank software. The user can also input medical insurance information and endowment information and the like paid by the user in the bank software. After receiving the information input by the user, the bank software generates a request message according to the information and sends the request message to the server. And when the server receives the request message sent by the bank software, acquiring the bottoming data prestored in the server. The background data is social security payment data obtained by backing up in the tax bureau system in advance by the server, and each background data comprises a social security item corresponding to each user, a payment amount, payment time, a social security type and the like corresponding to each social security item.
It should be noted that, in the process of performing the social security payment simulation, because the server stores a plurality of bottoming data, the bank software can directly send the request message to the server during the social security payment simulation process, and does not need to connect the tax bureau system. The connection mode of the bank software and the server is end-to-end internal connection, and an external tax bureau system does not need to be connected in the data interaction process.
Further, in the embodiment of the present invention, the bank software may be application software disposed in the intelligent terminal, and the application software may implement a function of paying the social security, and specifically may be application software that can support the payment of the social security through a bank system, such as a mobile banking system and a bank payment assistant.
In the embodiment of the invention, the server can be a baffle module or a processor which is arranged in the bank system and performs data interaction with each bank software.
S102: searching target bottoming data corresponding to the request message in each bottoming data, and judging whether the user has a social security item to be paid according to the target bottoming data;
in the embodiment of the present invention, each piece of bottoming data corresponds to one user in each piece of bottoming data stored by the server. After receiving a request message corresponding to the user, bottom data of the request message needs to be searched out, the bottom data corresponding to the request message is determined to be social insurance payment data of the user in a tax bureau system, and the bottom data is determined to be target bottom data. And judging whether the user currently has a social security project to be paid or not according to the target bottoming data.
It should be noted that the social security item to be paid may include medical insurance to be paid, pension insurance to be paid, industrial insurance to be paid, and the like.
S103: if the user has social security items to be paid, generating payment messages according to the social security items to be paid, and sending the payment messages to the user through the bank software;
in the embodiment of the invention, if the user has a social security project to be paid, a social security payment message can be fed back to the user. Specifically, each social security item to be paid, which needs to be paid by the user, is determined, and a payment message is generated according to each social security item to be paid and sent to the bank software. The payment message is packaged with related information of each social security project to be paid, such as payment amount, latest payment time, payment mode and the like. And after receiving the payment message, the bank software sends the payment message to the user. The user can pay the social security according to the related information in the payment message.
S104: when payment information corresponding to the payment message sent by the bank software is received, judging whether the user successfully pays the fee according to the payment information;
in the embodiment of the invention, when the user selects to pay for each social security item to be paid on the bank software, the user can pay through the payment function supported by the bank software, and also can pay by using third-party payment software. After the bank software determines that the user pays, payment information corresponding to the payment message is sent to the server, and after the server receives the payment information, the server can verify the payment information and judge whether the user successfully pays.
The payment information may include a social security item, a payment amount, a payment time, and the like that have been paid.
S105: and if the user successfully pays, generating a receipt message corresponding to the payment information, sending the receipt message to the bank software, and ending the simulation process of the social security payment corresponding to the user.
In the embodiment of the invention, if the user is judged to have successfully paid, a receipt message corresponding to the payment information is generated and sent to the bank software to inform the bank software server that the payment information is received, the payment of the user to each social security project is accepted, and the simulation process of the social security payment is finished.
It should be noted that the receipt message may include a transaction code, a running account number, a payment status, and the like of the user's social security payment.
In the social security payment simulation method provided by the embodiment of the invention, a server capable of realizing social security payment is arranged in a bank system and is used for carrying out simulation test on the social security payment function arranged in each bank software. The server is connected with each bank software in an internal connection mode, and in the data interaction process, a public network between the bank system and each bank software is used for data interaction. The server stores a plurality of bottoming data, and each bottoming data is social security payment data which is backed up in the tax bureau system by the server in advance. And after receiving the application message sent by the bank software, the server acquires each pre-stored bedding data and searches the target bedding data corresponding to the request message in each bedding data. And determining the social security project to be paid of the user according to the target bottoming data, generating a payment message and sending the payment message to the bank software. The user can know the social security project needing to be paid through the bank software and can choose to pay. After the user pays, the bank software sends payment information to the server, and the server determines whether the user successfully pays after receiving the payment information. If the payment is successful, sending a receipt message to the bank software, and ending the simulation process of the social security payment.
It should be noted that, in the process of performing data interaction with the bank software, the server may be used as a simulated tax bureau system to implement the process of inquiring and paying each social security project of the user, and may also be used as a charging system to perform a collection operation when the bank software simulates the payment of the social security.
By applying the method provided by the embodiment of the invention, the server is arranged in the bank system and stores all bottoming data in the tax bureau system in advance, and the process of bank software simulation payment social security can be realized by the server without the aid of the tax bureau system, so that the simulation process is simplified, and the cost is reduced.
In the method provided in the embodiment of the present invention, based on the content in step S102, after the bank software sends the request message, the server needs to search the target bottoming data corresponding to the request message for each bottoming data, which may specifically include:
analyzing the request message, and acquiring client information and social security information contained in the request message;
acquiring user identification information corresponding to each paving data, and searching target user identification information matched with the user information;
and determining the bottoming data corresponding to the target user representation information as target bottoming data.
In the social security payment method provided by the embodiment of the invention, when a user inputs client information such as a name, an identity card and a mobile phone number and social security information such as medical insurance and endowment insurance in bank software, the bank software generates a request message according to the information input by the user and sends the request message to the server. After receiving the request message sent by the bank software, the server may analyze the request message to obtain the client information and social security information encapsulated in the request message. In each backing data pre-stored by the server, each backing data corresponds to one user, user identification information of the corresponding user is stored in each backing data, and each user identification information corresponds to information such as a name, an identity card, a mobile phone number and the like of one user. And acquiring user identification information corresponding to each bedding data, and searching target user identification information matched with the user information in the request message in each user identification information, wherein the bedding data corresponding to the target user identification information is target bedding data.
It should be noted that each user identification information may include a plurality of user identification numbers, each user identification number may correspond to information such as a name, an identity card, or a mobile phone number, and for example, the identification number may be an identification number related to a user name, an identification number of an identity card, an identification number of a mobile phone number, or the like.
Optionally, the user needs to perform identity authentication in the process of paying the social security through the bank software, and a specific authentication process may be to authenticate an account and a password input by the user, and when the authentication is passed, the user is allowed to pay the social security.
By applying the method provided by the embodiment of the invention, the bottoming data corresponding to the user information input by the user in the bank software is obtained, so that the process that the user inquires the social security project to be paid in the tax bureau system is simulated according to the bottoming data.
In the method provided in the embodiment of the present invention, based on the content in step S103, after determining that the user has social security items to be paid, a payment message needs to be generated and fed back to the bank software, and the bank software sends the payment message to the user to prompt the user to pay for each social security item to be paid, where a specific process is shown in fig. 2, and specifically includes:
s201: determining a payment amount corresponding to each item to be paid, and writing each social security item to be paid and the payment amount corresponding to the social security item to be paid into a preset payment list;
in the embodiment of the invention, after the user is determined to have the social security items to be paid, the payment amount required by each social security item to be paid needs to be determined, and meanwhile, each social security item to be paid and the payment amount corresponding to each social security item to be paid are written into a preset payment list.
Optionally, after each social security item to be paid is written into the payment list, the latest payment time, payment state and the like of each social security item to be paid can be noted in the payment list. Or writing each social security item which is paid in the payment list, and marking the current state of each social security item which is paid as paid.
S202: calling a preset encryption algorithm to encrypt the payment list to generate a payment message;
in the embodiment of the invention, after writing each social security item to be paid and the corresponding payment amount into the payment list, the server needs to send the payment list to the user for payment. Before the payment list is sent to the user, a preset encryption algorithm can be called to encrypt the payment list so as to ensure that information cannot be stolen in the sending process. And after encrypting the payment list, generating a payment message.
It should be noted that the encryption algorithm in the embodiment of the present invention may be an encryption algorithm such as a hash algorithm MD 5.
S203: and sending the payment message to the bank software, triggering the bank software to decrypt the payment message and then sending the payment list to the user.
In the embodiment of the invention, after encrypting the payment list, the server sends the payment message obtained after encryption to the bank software, and after receiving the payment message, the bank software decrypts the payment message by applying the same encryption algorithm to obtain the payment list and sends the payment list to the user. After receiving the payment list, the user can pay for each social security item to be paid through the bank software.
In the method provided by the embodiment of the invention, after the user is determined to have the social security items to be paid, each social security item to be paid and the corresponding payment amount are written into the payment list, the payment message is obtained after the encryption by the encryption algorithm, the payment message is sent to the bank software, so that the user obtains the payment list through the bank software, and the payment is carried out on each social security item to be paid according to the payment list.
Optionally, in the method provided by the embodiment of the present invention, it is known that, according to the process of encrypting the payment list by the server to generate the payment message, after receiving the user information and the social security information entered by the user, the bank software may also call the encryption algorithm to perform the encrypted request message according to the user information and the social security information. When the bank software sends the payment information and the server returns the receipt message, the bank software may also perform data interaction after encrypting by using an encryption algorithm, which will not be described again here.
By applying the method provided by the embodiment of the invention, the message of the interaction of the data can be encrypted in the process of simulating the social security payment function in the bank software, so that the security of the data in the interaction process is ensured.
In the method provided in the embodiment of the present invention, based on the content in the step S104, after obtaining the payment list in the payment message, the user pays the fee according to each social security item to be paid in the payment list, and the bank software sends the payment information of the user after paying the fee to the server, and the server determines whether the user successfully pays the fee after receiving the payment information, which is specifically shown in fig. 3, and the process specifically includes:
s301: acquiring each paid social security item contained in the payment information and a payment amount corresponding to each paid social security item;
in the embodiment of the present invention, the payment information sent by the bank software may specifically include paid social security items that have already been paid, payment amounts and payment times corresponding to each paid social security item. After receiving the payment information, the server acquires each paid social security item contained in the payment information and the payment amount corresponding to each paid social security item.
S302: judging whether each paid social security item is consistent with each social security item to be paid in the payment list or not;
in the embodiment of the invention, after the user pays, whether the user successfully pays needs to be determined so as to ensure that the user does not pay by mistake or neglect payment when the social security payment function in the bank software is applied to the actual life.
Specifically, according to the payment information, whether each paid social security item is consistent with each social security item to be paid in the payment list or not is judged, that is, whether the social security item paid by the user is wrong or not is determined.
Optionally, whether each paid social security item is consistent with each to-be-paid social security item corresponding to the target bottoming data may be further determined.
S303: if each paid social security item is consistent with each social security item to be paid in the payment list, determining that the user is successful in payment;
in the embodiment of the invention, if each paid social security item is consistent with each social security item to be paid in the payment list, that is, it is determined that no mistake or omission occurs in the social security item paid by the user, it can be determined that the user successfully pays the social security items to be paid.
S304: and if any paid social security item is inconsistent with each social security item to be paid in the payment list, determining that the user payment fails.
In the embodiment of the invention, if any paid social security item is inconsistent with each social security item to be paid in the payment list in each paid social security item, that is, it is determined that the social security item paid by the user is wrong and wrong, it can be determined that the user fails to pay for each social security item to be paid.
In the method provided by the embodiment of the invention, whether the user successfully pays the fee is judged through the paid social security item in the fee paying information. And if the paid social security items and the social security items to be paid are matched with each other to be consistent, the payment is successful. If one paid social security item is not matched with each social security item to be paid, the payment is failed.
Optionally, the payment amount corresponding to the paid social security project may be compared with the payment amount corresponding to each social security project to be paid, and if all the payment amounts can be in one-to-one correspondence, the payment is successful, and if the payment amounts cannot be in one-to-one correspondence, the payment is failed.
Specifically, when the user fails to pay, the server may return the payment amount corresponding to the paid social security project to the payment account corresponding to the bank software, and send a payment failure message to the bank software.
Based on the method provided by the embodiment, when the user pays through the bank software, the user may pay through a bank card or a credit card bound in the bank software, or may pay through third-party payment software. When the user fails to pay, the server returns the payment amount corresponding to each paid social security project to the original payment account, namely a bank card, a credit card or third-party payment software paid by the user.
By applying the method provided by the embodiment of the invention, the server can timely feed back the user through the bank software according to the process of simulating the user to pay the social security through the bank software whether the social security is successfully paid or not, and the verification environment of the social security payment function in the bank software is increased.
The specific implementation procedures and derivatives thereof of the above embodiments are within the scope of the present invention.
Corresponding to the method described in fig. 1, an embodiment of the present invention further provides a social security payment simulation apparatus, which is used for specifically implementing the method in fig. 1, and the social security payment simulation apparatus provided in the embodiment of the present invention may be applied to a computer terminal or various mobile devices, and a schematic structural diagram of the apparatus is shown in fig. 4, and specifically includes:
an obtaining unit 401, configured to obtain, when a request message sent by a user through bank software is received, bottoming data stored in the server in advance, where the bottoming data is social security payment data obtained by the server through backup in a preset tax bureau system;
a searching unit 402, configured to search target bottoming data corresponding to the request message in each bottoming data, and determine whether the user has a social security item to be paid according to the target bottoming data;
a generating unit 403, configured to generate, if the user has social security items to be paid, a payment message according to each social security item to be paid, and send the payment message to the user through the bank software;
a determining unit 404, configured to determine whether the user successfully pays the fee according to the payment information when receiving the payment information corresponding to the payment message sent by the bank software;
a first sending unit 405, configured to generate a receipt message corresponding to the payment information if the user successfully pays the fee, send the receipt message to the bank software, and end the simulation process of the social security payment corresponding to the user.
In the device provided in the embodiment of the present invention, in the simulation process of the social security payment function of the bank software, the application server implements the process, and specifically, the server is provided with an obtaining unit, which is configured to obtain the stored bottoming data after receiving the request message sent by the bank software, and search the target bottoming data corresponding to the request message by the searching unit. After each social security item to be paid is determined, the generating unit generates a payment message so that the user can pay according to the payment message. If the payment information sent by the bank software is received, the user is determined to have selected to pay, and the judgment unit judges whether the user successfully pays. If the payment is successful, the first sending unit sends a receipt message to the bank software to prompt the user that the payment is successful, and the process of simulating social security payment is finished. The device provided by the embodiment is applied, the server is arranged in the bank system, the server stores all bottoming data in the tax bureau system in advance, the process of bank software simulation payment of social security can be realized by the server without the aid of the tax bureau system, the simulation process is simplified, and the cost is reduced.
In the apparatus provided in the embodiment of the present invention, the search unit includes:
the analysis subunit is used for analyzing the request message and acquiring the client information and the social security information contained in the request message;
the searching subunit is used for acquiring user identification information corresponding to each bedding data and searching target user identification information matched with the user information;
and the first determining subunit is used for determining the bottom data corresponding to the target user representation information as target bottom data.
In the apparatus provided in the embodiment of the present invention, the generating unit includes:
the writing-in subunit is used for determining the payment amount corresponding to each to-be-paid item and writing each to-be-paid social security item and the payment amount corresponding to the to-be-paid item into a preset payment list;
the generating subunit is used for calling a preset encryption algorithm to encrypt the payment list and generate a payment message;
and the triggering subunit is used for sending the payment message to the bank software, triggering the bank software to decrypt the payment message and then sending the payment list to the user.
In the apparatus provided in the embodiment of the present invention, the determining unit includes:
the acquisition subunit is used for acquiring each paid social security item contained in the payment information and the payment amount corresponding to each paid social security item;
the judging subunit is used for judging whether each paid social security item is consistent with each social security item to be paid in the payment list;
the second determining subunit is used for determining that the payment of the user is successful if each paid social security item is consistent with each social security item to be paid in the payment list;
and the third determining subunit is used for determining that the payment of the user fails if any one paid social security item is inconsistent with each social security item to be paid in the payment list.
The device provided by the embodiment of the invention further comprises:
and the second sending unit is used for returning the payment amount corresponding to each paid social security project to a payment account corresponding to the bank software when the user fails to pay, and sending a payment failure message to the bank software.
The specific working processes of each unit and sub-unit in the social security payment simulation apparatus disclosed in the above embodiment of the present invention may refer to corresponding contents in the social security payment simulation method disclosed in the above embodiment of the present invention, and are not described herein again.
The embodiment of the invention also provides a storage medium, which comprises a stored instruction, wherein when the instruction runs, the equipment where the storage medium is located is controlled to execute the social security payment simulation method.
An electronic device is provided in an embodiment of the present invention, and the structural diagram of the electronic device is shown in fig. 5, which specifically includes a memory 501 and one or more instructions 502, where the one or more instructions 502 are stored in the memory 501, and are configured to be executed by one or more processors 503 to perform the following operations according to the one or more instructions 502:
when a request message sent by a user through bank software is received, obtaining all bottoming data stored in the server in advance, wherein the bottoming data is social insurance payment data obtained by backing up the server in a preset tax bureau system;
searching target bottoming data corresponding to the request message in each bottoming data, and judging whether the user has a social security item to be paid according to the target bottoming data;
if the user has social security items to be paid, generating payment messages according to the social security items to be paid, and sending the payment messages to the user through the bank software;
when payment information corresponding to the payment message sent by the bank software is received, judging whether the user successfully pays the fee according to the payment information;
and if the user successfully pays, generating a receipt message corresponding to the payment information, sending the receipt message to the bank software, and ending the simulation process of the social security payment corresponding to the user.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are only illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both.
To clearly illustrate this interchangeability of hardware and software, various illustrative components and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A social insurance payment simulation method is applied to a server, the server is arranged in a bank system and carries out data interaction with each piece of bank software supported by the bank system, and the method comprises the following steps:
when a request message sent by a user through bank software is received, obtaining all bottoming data stored in the server in advance, wherein the bottoming data is social insurance payment data obtained by backing up the server in a preset tax bureau system;
searching target bottoming data corresponding to the request message in each bottoming data, and judging whether the user has a social security item to be paid according to the target bottoming data;
if the user has social security items to be paid, generating payment messages according to the social security items to be paid, and sending the payment messages to the user through the bank software;
when payment information corresponding to the payment message sent by the bank software is received, judging whether the user successfully pays the fee according to the payment information;
and if the user successfully pays, generating a receipt message corresponding to the payment information, sending the receipt message to the bank software, and ending the simulation process of the social security payment corresponding to the user.
2. The method according to claim 1, wherein the searching for the target bedding data corresponding to the request packet in each of the bedding data includes:
analyzing the request message, and acquiring client information and social security information contained in the request message;
acquiring user identification information corresponding to each paving data, and searching target user identification information matched with the user information;
and determining the bottoming data corresponding to the target user representation information as target bottoming data.
3. The method of claim 1, wherein generating payment messages according to the social security items to be paid, and sending the payment messages to the user via the banking software comprises:
determining a payment amount corresponding to each item to be paid, and writing each social security item to be paid and the payment amount corresponding to the social security item to be paid into a preset payment list;
calling a preset encryption algorithm to encrypt the payment list to generate a payment message;
and sending the payment message to the bank software, triggering the bank software to decrypt the payment message and then sending the payment list to the user.
4. The method of claim 3, wherein the determining whether the user successfully pays according to the payment information comprises:
acquiring each paid social security item contained in the payment information and a payment amount corresponding to each paid social security item;
judging whether each paid social security item is consistent with each social security item to be paid in the payment list or not;
if each paid social security item is consistent with each social security item to be paid in the payment list, determining that the user is successful in payment;
and if any paid social security item is inconsistent with each social security item to be paid in the payment list, determining that the user payment fails.
5. The method of claim 4, further comprising:
and when the user fails to pay, returning the payment amount corresponding to each paid social security project to a payment account corresponding to the bank software, and sending a payment failure message to the bank software.
6. The social security payment simulation device is applied to a server and comprises the following components:
the system comprises an acquisition unit, a payment unit and a payment unit, wherein the acquisition unit is used for acquiring all bottoming data prestored in the server when receiving a request message sent by a user through bank software, and the bottoming data is social security payment data obtained by backing up the server in a preset tax bureau system;
the searching unit is used for searching target bottoming data corresponding to the request message in each bottoming data and judging whether the user has a social security item to be paid according to the target bottoming data;
the generating unit is used for generating payment messages according to the social security items to be paid if the social security items to be paid exist in the user, and sending the payment messages to the user through the bank software;
the judging unit is used for judging whether the user successfully pays the fee according to the payment information when receiving the payment information corresponding to the payment message sent by the bank software;
and the first sending unit is used for generating a receipt message corresponding to the payment information if the user successfully pays the fee, sending the receipt message to the bank software, and ending the simulation process of the social security payment corresponding to the user.
7. The apparatus of claim 6, wherein the lookup unit comprises:
the analysis subunit is used for analyzing the request message and acquiring the client information and the social security information contained in the request message;
the searching subunit is used for acquiring user identification information corresponding to each bedding data and searching target user identification information matched with the user information;
and the first determining subunit is used for determining the bottom data corresponding to the target user representation information as target bottom data.
8. The apparatus of claim 6, wherein the generating unit comprises:
the writing-in subunit is used for determining the payment amount corresponding to each to-be-paid item and writing each to-be-paid social security item and the payment amount corresponding to the to-be-paid item into a preset payment list;
the generating subunit is used for calling a preset encryption algorithm to encrypt the payment list and generate a payment message;
and the triggering subunit is used for sending the payment message to the bank software, triggering the bank software to decrypt the payment message and then sending the payment list to the user.
9. The apparatus according to claim 6, wherein the determining unit comprises:
the acquisition subunit is used for acquiring each paid social security item contained in the payment information and the payment amount corresponding to each paid social security item;
the judging subunit is used for judging whether each paid social security item is consistent with each social security item to be paid in the payment list;
the second determining subunit is used for determining that the payment of the user is successful if each paid social security item is consistent with each social security item to be paid in the payment list;
and the third determining subunit is used for determining that the payment of the user fails if any one paid social security item is inconsistent with each social security item to be paid in the payment list.
10. The apparatus of claim 9, further comprising:
and the second sending unit is used for returning the payment amount corresponding to each paid social security project to a payment account corresponding to the bank software when the user fails to pay, and sending a payment failure message to the bank software.
CN201911180464.4A 2019-11-27 2019-11-27 Social security payment simulation method and device Active CN110941557B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911180464.4A CN110941557B (en) 2019-11-27 2019-11-27 Social security payment simulation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911180464.4A CN110941557B (en) 2019-11-27 2019-11-27 Social security payment simulation method and device

Publications (2)

Publication Number Publication Date
CN110941557A true CN110941557A (en) 2020-03-31
CN110941557B CN110941557B (en) 2023-09-26

Family

ID=69909030

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911180464.4A Active CN110941557B (en) 2019-11-27 2019-11-27 Social security payment simulation method and device

Country Status (1)

Country Link
CN (1) CN110941557B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112016913A (en) * 2020-08-28 2020-12-01 中国农业银行股份有限公司湖南省分行 Social insurance medical insurance intelligent payment system based on mobile internet

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140074705A1 (en) * 2012-09-10 2014-03-13 Deborah Kimberg Methods and systems for processing electronic disbursements
CN105096106A (en) * 2015-07-10 2015-11-25 交通银行股份有限公司 Internet based tuition fee paying system
CN107423224A (en) * 2017-08-10 2017-12-01 中国民航信息网络股份有限公司 Method of testing and device
CN107770216A (en) * 2016-08-19 2018-03-06 镇江雅迅软件有限责任公司 A kind of mobile social security fare payment system
CN110310109A (en) * 2019-07-04 2019-10-08 北京千丁互联科技有限公司 Pay the method and device of living expenses
CN110489334A (en) * 2019-07-24 2019-11-22 贝壳技术有限公司 A kind of system integration and test test processing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140074705A1 (en) * 2012-09-10 2014-03-13 Deborah Kimberg Methods and systems for processing electronic disbursements
CN105096106A (en) * 2015-07-10 2015-11-25 交通银行股份有限公司 Internet based tuition fee paying system
CN107770216A (en) * 2016-08-19 2018-03-06 镇江雅迅软件有限责任公司 A kind of mobile social security fare payment system
CN107423224A (en) * 2017-08-10 2017-12-01 中国民航信息网络股份有限公司 Method of testing and device
CN110310109A (en) * 2019-07-04 2019-10-08 北京千丁互联科技有限公司 Pay the method and device of living expenses
CN110489334A (en) * 2019-07-24 2019-11-22 贝壳技术有限公司 A kind of system integration and test test processing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
邹平: "运用中间件技术实现社会保险费银行代收、代扣" *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112016913A (en) * 2020-08-28 2020-12-01 中国农业银行股份有限公司湖南省分行 Social insurance medical insurance intelligent payment system based on mobile internet

Also Published As

Publication number Publication date
CN110941557B (en) 2023-09-26

Similar Documents

Publication Publication Date Title
EP3896633B1 (en) Task processing method, system and device, and storage medium
RU2698762C2 (en) System and methods of providing encrypted data of remote server
CN112199714B (en) Privacy protection method and device based on block chain and electronic equipment
AU2018264158A1 (en) Helper software developer kit for native device hybrid applications
CN113572715B (en) Data transmission method and system based on block chain
CN111917773A (en) Service data processing method and device and server
CN105099688A (en) Operation method for electronic account, display method and apparatus for payment page
CN101694687A (en) Code signing system and method
CN110832479A (en) System and method for software activation and license tracking
CN104732376B (en) Payment password resetting method, terminal and system
CN111628871B (en) Block chain transaction processing method and device, electronic equipment and storage medium
CN108846741B (en) Payment processing method and approval document processing method
CN113852520B (en) Data processing method and device
CN111582876A (en) Operation authentication method, device, storage medium and electronic device
CN110941557B (en) Social security payment simulation method and device
CN108763934B (en) Data processing method and device, storage medium and server
CN113538777B (en) Authorization method, intelligent container, server and computer storage medium
CN112732676B (en) Block chain-based data migration method, device, equipment and storage medium
CN115375308A (en) Secure payment method and device, storage medium and electronic equipment
CN113988844A (en) Service subscription method, device and system
CN110830556B (en) Service processing method and device
CN108171027B (en) Online banking login method and device, computer equipment and storage medium
JP3969153B2 (en) Terminal authentication system, terminal authentication device, and terminal authentication program
JP4499760B2 (en) Communication management apparatus and payment method using communication terminal
CN112464259A (en) ERP page acquisition method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant