CN117875922A - Social security replacing method and storage medium - Google Patents
Social security replacing method and storage medium Download PDFInfo
- Publication number
- CN117875922A CN117875922A CN202311741092.4A CN202311741092A CN117875922A CN 117875922 A CN117875922 A CN 117875922A CN 202311741092 A CN202311741092 A CN 202311741092A CN 117875922 A CN117875922 A CN 117875922A
- Authority
- CN
- China
- Prior art keywords
- line
- batch
- line number
- record
- records
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 25
- 238000012545 processing Methods 0.000 claims description 27
- 238000013507 mapping Methods 0.000 claims description 25
- 230000000295 complement effect Effects 0.000 claims description 9
- 238000006467 substitution reaction Methods 0.000 claims description 9
- 230000001360 synchronised effect Effects 0.000 claims description 6
- 238000012795 verification Methods 0.000 claims description 4
- 238000004590 computer program Methods 0.000 claims description 3
- 230000000977 initiatory effect Effects 0.000 claims description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Landscapes
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The invention discloses a social security replacing method, which comprises the following specific steps: the invention has the technical characteristics of accelerating the financial service efficiency of banks, improving the financial service capacity and the like.
Description
Technical Field
The invention relates to a social security issuing method and a storage medium, in particular to a social security issuing method and a storage medium, and belongs to the field of computers.
Background
With the development of society, more and more companies have urgent demands for social security replacement service, and also have higher and higher demands for diversification of social security replacement service. The current mainstream bank social security issuing system aims at the issuing of the issuing outside the bank, and the issuing unit is required to provide the line number, otherwise, the issuing cannot be realized. Therefore, the existing technical scheme cannot effectively solve the above problems, and has drawbacks.
Disclosure of Invention
In order to solve the above prior art problems, the present invention provides a social security issuing method and a storage medium, which have the technical characteristics of accelerating the financial service efficiency of banks, improving the financial service capability, and the like.
In order to achieve the above purpose, the present invention is realized by the following technical scheme:
a social security replacing method comprises the following specific steps:
step S1: receiving batch generation fine information: receiving a network request containing batch generation of the invention details and checking, if the network request passes the check, judging whether each recorded line number exists, and if the line number exists, judging the internal and external marks of the line directly according to the line number; if the line number does not exist, judging whether the line number is an in-line account number through the card BIN, and if the line number is the in-line account number, setting an in-line and out-line mark as in-line; if the account number is an off-line account number, firstly setting an off-line sign as the off-line sign, secondly, inquiring a history successful issuing account number and a line number mapping table according to the client account number, if the record exists, firstly checking the line number corresponding to the record in the history successful issuing account number and the line number mapping table, and if the check passes, filling a vacant line number field by using the line number value; if the record does not exist or the record exists but the check of the line number fails, the line number field is set to be empty, and finally the received batch generation details are split according to the internal and external marks of the line and then inserted into an internal batch generation details list and an external batch generation details list, and corresponding records are inserted into a batch generation details list so as to describe the state of the whole batch;
step S2: initiating batch newspaper disc requests: after checking the amount and the number of the money to be sent, the bank outlets manually initiate a disc reporting request, scan the extra-line batch generation fine list, judge whether the current batch of extra-line batch generation fine list has a record with an empty line number, if not, directly enter the step S4, otherwise, the step S2 is terminated and the step S3 is entered;
step S3: line number complement: if the out-of-line batch generation schedule has the record that the line number is empty, the network point is required to carry out line number supplementary recording, and after the supplementary recording is finished, the step S2 can be carried out again;
step S4: batch substitution processing: pushing the in-line batch generation fine record and the out-line batch generation fine record to an in-line generation assembly for batch generation, and updating batch summary records in a batch generation summary table, wherein batch processing marks in the in-line summary records and the out-line summary records are in processing;
step S5, returning a batch release result: after the batch replacement is finished, the website initiates a batch release result return transaction, and returns the detail replacement result to the replacement unit.
Preferably, the step S1 specifically includes:
step S1.1: the received network request message is subjected to non-blank and field length verification, in the process, the customer account number, the customer name and the issuing amount are required to pass verification, whether the issuing batch is repeated or not is verified, if the checking is passed, the step S1.2 is entered, and if the checking is not passed, the exception is fed back to the issuing unit;
step S1.2: judging whether the line number exists or not, if so, judging whether the line internal and external marks are internal or external according to the line number, and if not, judging the line internal and external marks of the account according to the card BIN parameter list; if the inside and outside mark is in the row, directly entering the step S1.4, and if the inside and outside mark is out of the row, entering the step S1.3;
step S1.3: for the off-line account number with the missing line number, firstly, searching a history successful issuing account number and a line number mapping table according to the customer account number, if the record exists, explaining that the customer account number in the record and the corresponding line number are successfully issued last time, then checking the line number in the record according to a payment line number table, and if the check passes, filling the vacant line number field with the line number value; if the record does not exist or the record exists but the check of the joint line number fails, the joint line number field is set to be empty.
Step S1.4: for each detail record of the determined in-line and out-line marks, respectively inserting an in-line batch generation fine table or an out-line batch generation fine table according to the marks, and inserting batch summary records, in-line summary records and out-line summary records in the batch generation fine table, wherein the batch summary records describe the overall state of the batch, the in-line summary records describe the overall state of the in-line batch in the batch, and the out-line summary records describe the overall state of the out-line batch in the batch.
Preferably, the card BIN parameter table in step S1.2 records all domestic card BIN information, and includes the following fields: card BIN, card number length, card type, card issuing row name, row internal and external marks, and data and Unionpay of the card are synchronous once every 10 minutes.
Preferably, the history successful issuing account number and the line number mapping table in step S1.3 record the extra-line account number and the line number pair of the history successful issuing, and the payment line number table in step S1.3 records all domestic payment line number information, including the following fields: the payment line number, the name of the payment mechanism, and the data thereof are synchronized with the people's bank every 10 minutes.
Preferably, in the step S1.4, the detail processing flags of the in-line batch generation fine record and the out-line batch generation fine record are initialized to be processed, and the batch processing flags of the batch summary record, the in-line summary record and the out-line summary record are all initialized to be processed.
Preferably, step S3 specifically includes:
step S3.1: if the extra-line traffic mode is the size, the missing joint line number is directly filled into the content of the teller complement, otherwise, if the extra-line traffic mode is the super internet bank, the step S3.2 is carried out;
step S3.2: if the mode of the off-line transaction is super internet banking, mapping super internet banking line numbers are needed, specifically, the super internet banking line numbers are queried according to a line number-super internet banking line number mapping table, the additional line numbers are used as participant line numbers, if query is successful, the missing line numbers are supplemented as mapped super internet banking line numbers, if query is unsuccessful, the agency line numbers are queried, and if query of agency line numbers fails, the additional records fail to be fed back; if the inquiry is successful, inquiring the super-network bank line number of the agency line number through the agency line number; if the inquiry is successful, the missing line number is complemented as the super internet banking line number corresponding to the agency mechanism; if the inquiry fails, the feedback complement fails.
Preferably, step S4 further includes: inquiring results of in-line and out-of-line substitution by timing tasks, namely successful or failed issuing, updating a batch substitution statement according to the results if the results exist, and simultaneously calculating the successful and failed numbers and the sum of money in the summarized records;
if all the generation details of the in-line batch or the out-line batch are in a final state, the batch processing mark of the corresponding summary record is updated to be processed, and if the batch processing mark of the in-line summary record and the batch processing mark of the out-line summary record are processed, the batch processing mark of the updated batch summary record is processed, and the batch generation is completed.
Preferably, step S5 further includes: and updating the client account number and the line number pair of the records which are successfully issued in the off-line batch generation statement list into a history successful issuing account number and line number mapping list, and directly filling corresponding line numbers in the history successful issuing account number and line number mapping list if the line number of the client is missing in the next batch generation.
The invention provides a storage medium, which is characterized in that: the storage medium stores a computer program which, when executed by a processor, is capable of carrying out the steps of the method according to claims 1-2.
The beneficial effects are that: the social security issuing method can be used for accelerating the bank financial service efficiency and improving the financial service capacity, and for the issuing details of the missing line numbers, the system judges whether the line numbers are in-line accounts or not through the card BIN; if the account number is judged to be an off-line account number, the system firstly tries to query the history successfully issued account number and the line number mapping table and automatically fills the line number, if the line number is not found, the correct line number is required to be complemented by a teller, and in the subsequent generation, the system can automatically fill the line number according to the history issued record without re-complement.
Drawings
FIG. 1 is an overall flow chart of the method of the present invention.
FIG. 2 is a flow chart of the invention for receiving batch generation invention details
Detailed Description
The present invention will be further described with reference to the accompanying drawings, but the present invention is not limited to the following examples.
1-2 show a specific embodiment of a social security method for replacing a service, which includes the following steps:
step S1: receiving batch generation fine information: the specific steps thereof are as shown in fig. 2, including:
step 1: checking whether the request message is repeated or not: receiving a network request containing batch generation of the invention details and checking, if the check fails, ending, if the check passes, judging whether each recorded line number exists, if the line number exists, judging the internal and external marks directly according to the line number, and entering a step 5; if the link number does not exist, entering a step 2:
step 2: judging the in-line and out-of-line marks according to the card BIN parameters: judging whether the account number is an in-line account number or not through the card BIN, if the account number is the in-line account number, setting an in-line and out-of-line mark as the in-line mark, and entering step 5; if the account number is the off-line account number, entering a step 3;
step 3: querying a history issuing account number and a joint line number mapping table: firstly, setting an in-line and out-of-line mark as out-of-line, secondly, inquiring a history successful issuing account and line number mapping table according to a customer account, and if records exist, entering a step 4;
step 4: checking the line number according to the payment line number table: firstly, checking the historical successful issuing account number and the corresponding recorded joint number in the joint number mapping table, if the check is passed, filling the vacant joint number field with the joint number value to realize filling the joint number passing the check, and entering step 5; if the record does not exist or the record exists but the check of the joint line number fails, the joint line number field is set to be empty, namely the joint line number is filled to be empty, and the step is entered into the step 5;
step 5: according to the internal and external marks, respectively inserting the internal batch generation fine table and the external batch generation fine table, and inserting batch summary records and external batch summary records into the batch generation total table, namely, the received batch generation fine table is inserted into the internal batch generation fine table and the external batch generation fine table after being split according to the internal and external marks, and corresponding records are inserted into the batch generation total table, so as to describe the state of the whole batch;
step S2: initiating batch newspaper disc requests: after checking the amount and the number of the money to be sent, the bank outlets manually initiate a disc reporting request, scan the extra-line batch generation fine list, judge whether the current batch of extra-line batch generation fine list has a record with an empty line number, if not, directly enter the step S4, otherwise, the step S2 is terminated and the step S3 is entered;
step S3: line number complement: if the out-of-line batch generation schedule has the record that the line number is empty, the network point is required to carry out line number supplementary recording, and after the supplementary recording is finished, the step S2 can be carried out again; the step S3 specifically comprises the following steps:
step S3.1: if the extra-line traffic mode is the size, the missing joint line number is directly filled into the content of the teller complement, otherwise, if the extra-line traffic mode is the super internet bank, the step S3.2 is carried out;
step S3.2: if the mode of the off-line transaction is super internet banking, mapping super internet banking line numbers are needed, specifically, the super internet banking line numbers are queried according to a line number-super internet banking line number mapping table, the additional line numbers are used as participant line numbers, if query is successful, the missing line numbers are supplemented as mapped super internet banking line numbers, if query is unsuccessful, the agency line numbers are queried, and if query of agency line numbers fails, the additional records fail to be fed back; if the inquiry is successful, inquiring the super-network bank line number of the agency line number through the agency line number; if the inquiry is successful, the missing line number is complemented as the super internet banking line number corresponding to the agency mechanism; if the inquiry fails, the feedback complement fails.
Step S4: batch substitution processing: pushing the in-line batch generation fine record and the out-line batch generation fine record to an in-line generation assembly for batch generation, and updating batch summary records in a batch generation summary table, wherein batch processing marks in the in-line summary records and the out-line summary records are in processing; step S4 further includes: inquiring results of in-line and out-of-line substitution by timing tasks, namely successful or failed issuing, updating a batch substitution statement according to the results if the results exist, and simultaneously calculating the successful and failed numbers and the sum of money in the summarized records; if all the generation details of the in-line batch or the out-line batch are in a final state, updating the batch processing mark of the corresponding summary record to be processed, and if the batch processing mark of the in-line summary record and the batch processing mark of the out-line summary record are processed, updating the batch processing mark of the batch summary record to be processed, wherein the batch generation is completed;
step S5, returning a batch release result: after the batch replacement is finished, the website initiates a batch release result return transaction, and returns the detailed replacement result to the replacement unit, and the step S5 further comprises: and updating the client account number and the line number pair of the records which are successfully issued in the off-line batch generation statement list into a history successful issuing account number and line number mapping list, and directly filling corresponding line numbers in the history successful issuing account number and line number mapping list if the line number of the client is missing in the next batch generation.
In a preferred embodiment, the card BIN parameter table records all domestic card BIN information, and includes the following fields: card BIN, card number length, card type, card issuing row name, row internal and external marks, and data and Unionpay of the card are synchronous once every 10 minutes.
In a preferred embodiment, the history successful issuing account number and the line number mapping table record the history successful issuing off-line account number and line number pair, and the payment line number table records all domestic payment line number information, and the method comprises the following fields: the payment line number, the name of the payment mechanism, and the data thereof are synchronized with the people's bank every 10 minutes.
In a preferred embodiment, the detail processing marks of the in-line batch generation fine record and the out-line batch generation fine record are initialized to be processed, and the batch processing marks of the batch summary record, the in-line summary record and the out-line summary record are all initialized to be processed.
The invention provides a storage medium, which is characterized in that: the storage medium stores a computer program which, when executed by a processor, is capable of carrying out the steps of the method according to claims 1-2.
Finally, it should be noted that the invention is not limited to the above embodiments, but that many variants are possible. All modifications directly derived or suggested to one skilled in the art from the present disclosure should be considered as being within the scope of the present invention.
Claims (9)
1. The social security agent issuing method is characterized by comprising the following steps of:
step S1: receiving batch generation fine information: receiving a network request containing batch generation of the invention details and checking, if the network request passes the check, judging whether each recorded line number exists, and if the line number exists, judging the internal and external marks of the line directly according to the line number; if the line number does not exist, judging whether the line number is an in-line account number through the card BIN, and if the line number is the in-line account number, setting an in-line and out-line mark as in-line; if the account number is an off-line account number, firstly setting an off-line sign as the off-line sign, secondly, inquiring a history successful issuing account number and a line number mapping table according to the client account number, if the record exists, firstly checking the line number corresponding to the record in the history successful issuing account number and the line number mapping table, and if the check passes, filling a vacant line number field by using the line number value; if the record does not exist or the record exists but the check of the line number fails, the line number field is set to be empty, and finally the received batch generation details are split according to the internal and external marks of the line and then inserted into an internal batch generation details list and an external batch generation details list, and corresponding records are inserted into a batch generation details list so as to describe the state of the whole batch;
step S2: initiating batch newspaper disc requests: after checking the amount and the number of the money to be sent, the bank outlets manually initiate a disc reporting request, scan the extra-line batch generation fine list, judge whether the current batch of extra-line batch generation fine list has a record with an empty line number, if not, directly enter the step S4, otherwise, the step S2 is terminated and the step S3 is entered;
step S3: line number complement: if the out-of-line batch generation schedule has the record that the line number is empty, the network point is required to carry out line number supplementary recording, and after the supplementary recording is finished, the step S2 can be carried out again;
step S4: batch substitution processing: pushing the in-line batch generation fine record and the out-line batch generation fine record to an in-line generation assembly for batch generation, and updating batch summary records in a batch generation summary table, wherein batch processing marks in the in-line summary records and the out-line summary records are in processing;
step S5, returning a batch release result: after the batch replacement is finished, the website initiates a batch release result return transaction, and returns the detail replacement result to the replacement unit.
2. The social security method as claimed in claim 1, wherein: the step S1 specifically comprises the following steps:
step S1.1: the received network request message is subjected to non-blank and field length verification, in the process, the customer account number, the customer name and the issuing amount are required to pass verification, whether the issuing batch is repeated or not is verified, if the checking is passed, the step S1.2 is entered, and if the checking is not passed, the exception is fed back to the issuing unit;
step S1.2: judging whether the line number exists or not, if so, judging whether the line internal and external marks are internal or external according to the line number, and if not, judging the line internal and external marks of the account according to the card BIN parameter list; if the inside and outside mark is in the row, directly entering the step S1.4, and if the inside and outside mark is out of the row, entering the step S1.3;
step S1.3: for the off-line account number with the missing line number, firstly, searching a history successful issuing account number and a line number mapping table according to the customer account number, if the record exists, explaining that the customer account number in the record and the corresponding line number are successfully issued last time, then checking the line number in the record according to a payment line number table, and if the check passes, filling the vacant line number field with the line number value; if the record does not exist or the record exists but the check of the joint line number fails, the joint line number field is set to be empty.
Step S1.4: for each detail record of the determined in-line and out-line marks, respectively inserting an in-line batch generation fine table or an out-line batch generation fine table according to the marks, and inserting batch summary records, in-line summary records and out-line summary records in the batch generation fine table, wherein the batch summary records describe the overall state of the batch, the in-line summary records describe the overall state of the in-line batch in the batch, and the out-line summary records describe the overall state of the out-line batch in the batch.
3. The social security replacing method according to claim 2, wherein: the card BIN parameter table in step S1.2 records all domestic card BIN information, and includes the following fields: card BIN, card number length, card type, card issuing row name, row internal and external marks, and data and Unionpay of the card are synchronous once every 10 minutes.
4. The social security replacing method according to claim 2, wherein: the history successful issuing account number and the line number mapping table in the step S1.3 record the history successful issuing off-line account number and line number pair, and the payment line number table in the step S1.3 records all domestic payment line number information, and the method comprises the following fields: the payment line number, the name of the payment mechanism, and the data thereof are synchronized with the people's bank every 10 minutes.
5. The social security method as claimed in claim 1, wherein: in the step S1.4, the detail processing marks of the in-line batch generation fine record and the out-line batch generation fine record are initialized to be processed, and the batch processing marks of the batch summary record, the in-line summary record and the out-line summary record are all initialized to be processed.
6. The social security method as claimed in claim 1, wherein: the step S3 specifically comprises the following steps:
step S3.1: if the extra-line traffic mode is the size, the missing joint line number is directly filled into the content of the teller complement, otherwise, if the extra-line traffic mode is the super internet bank, the step S3.2 is carried out;
step S3.2: if the mode of the off-line transaction is super internet banking, mapping super internet banking line numbers are needed, specifically, the super internet banking line numbers are queried according to a line number-super internet banking line number mapping table, the additional line numbers are used as participant line numbers, if query is successful, the missing line numbers are supplemented as mapped super internet banking line numbers, if query is unsuccessful, the agency line numbers are queried, and if query of agency line numbers fails, the additional records fail to be fed back; if the inquiry is successful, inquiring the super-network bank line number of the agency line number through the agency line number; if the inquiry is successful, the missing line number is complemented as the super internet banking line number corresponding to the agency mechanism; if the inquiry fails, the feedback complement fails.
7. The social security method as claimed in claim 1, wherein: step S4 further includes: inquiring results of in-line and out-of-line substitution by timing tasks, namely successful or failed issuing, updating a batch substitution statement according to the results if the results exist, and simultaneously calculating the successful and failed numbers and the sum of money in the summarized records;
if all the generation details of the in-line batch or the out-line batch are in a final state, the batch processing mark of the corresponding summary record is updated to be processed, and if the batch processing mark of the in-line summary record and the batch processing mark of the out-line summary record are processed, the batch processing mark of the updated batch summary record is processed, and the batch generation is completed.
8. The social security method as claimed in claim 1, wherein: step S5 further includes: and updating the client account number and the line number pair of the records which are successfully issued in the off-line batch generation statement list into a history successful issuing account number and line number mapping list, and directly filling corresponding line numbers in the history successful issuing account number and line number mapping list if the line number of the client is missing in the next batch generation.
9. A storage medium, characterized by: the storage medium stores a computer program which, when executed by a processor, is capable of carrying out the steps of the method according to claims 1-2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311741092.4A CN117875922A (en) | 2023-12-18 | 2023-12-18 | Social security replacing method and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311741092.4A CN117875922A (en) | 2023-12-18 | 2023-12-18 | Social security replacing method and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117875922A true CN117875922A (en) | 2024-04-12 |
Family
ID=90585616
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311741092.4A Pending CN117875922A (en) | 2023-12-18 | 2023-12-18 | Social security replacing method and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117875922A (en) |
-
2023
- 2023-12-18 CN CN202311741092.4A patent/CN117875922A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110232565B (en) | Resource clearing method, device, computer equipment and storage medium | |
CN103714625B (en) | A kind of charging intelligent card method and system | |
WO2020000720A1 (en) | Server, packet processing method, program, and computer-readable storage medium | |
JPH11265411A (en) | Prepaid link set to network server | |
CN101315692A (en) | Receipt processing system and method based on internet trade | |
CN109509075A (en) | A kind of financial revenue and expenditure voucher processing method, device, equipment and system | |
CN116664139B (en) | Settlement management system integrating multi-platform malls | |
CN114202334A (en) | Method and system suitable for asynchronously updating balance of hotspot account in batch | |
CN102143468B (en) | Method and system for charging, tariff update and service provision | |
CN117875922A (en) | Social security replacing method and storage medium | |
CN113554509B (en) | Processing method, device, medium and electronic equipment for online payment service | |
CN114971637A (en) | Risk early warning method, device, equipment and medium | |
CN112070470B (en) | Annual report reporting method and device, electronic equipment and storage medium | |
CN114066476A (en) | Method, device and storage medium for solving issue-first issue of distributed application transaction | |
CN113159789A (en) | Cross-bank transfer and remittance method and device | |
CN115310981A (en) | Transaction data processing method and device, electronic equipment and storage medium | |
JP2003288650A (en) | Transaction data management system and method, and program for the same | |
CN111768293B (en) | Transaction information processing method, device, equipment and storage medium | |
CN110033250B (en) | Method and system for reducing billing time consumption of unitized split deployment | |
TWI831114B (en) | Integrity verifying method, system and computer device of separated cross-platform trade and accounting, computer-readable medium | |
CN111951002B (en) | Automatic merchant credit giving system for one-card recharging | |
CN117710075A (en) | Novel acceptance draft second paste flow optimization method | |
US20240062283A1 (en) | Method and System for Secure and Automatic Mapping of Blockchain-Based Ledgers to Valid Account Statements | |
CN117314659A (en) | Management method of non-insurance documents | |
CN117241236A (en) | SIM card renewal system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication |