CN113256292A - Online account division method and system - Google Patents
Online account division method and system Download PDFInfo
- Publication number
- CN113256292A CN113256292A CN202110693750.1A CN202110693750A CN113256292A CN 113256292 A CN113256292 A CN 113256292A CN 202110693750 A CN202110693750 A CN 202110693750A CN 113256292 A CN113256292 A CN 113256292A
- Authority
- CN
- China
- Prior art keywords
- service
- sub
- accounting
- account
- preprocessing
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/02—Banking, e.g. interest calculation or account maintenance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/12—Accounting
- G06Q40/125—Finance or payroll
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Economics (AREA)
- Marketing (AREA)
- Technology Law (AREA)
- Development Economics (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The invention relates to an online account division method and system, and belongs to the technical field of account division. The on-line account separating method comprises the following steps: receiving an account splitting request sent by a docking platform; assembling the branch account request into a branch account service with one payment sub-service and a plurality of collection sub-services according to the information of the collection and payment party contained in the branch account request; preprocessing each sub-service in the account division service and marking a preprocessing state; if the preprocessing states of all the sub-services in the accounting service are successful, executing accounting operation on each preprocessed sub-service and identifying the execution state; and if the execution states of all the sub-services in the accounting service are successful, sending an accounting success notice to the docking platform. The online accounting method of the invention preprocesses and executes accounting on each assembled sub-service, and in the processing process, if one of the sub-services fails, the accounting fails, so that the consistency of the accounting results of a plurality of sub-services is ensured, and the consistency of the accounting is ensured.
Description
Technical Field
The invention belongs to the technical field of account division, and particularly relates to an online account division method and system.
Background
With the development of the internet, a plurality of trade platforms B2B and B2C are formed in the market, and the platforms and the banks are selected to be in butt joint cooperation in order to follow the business rule of market management trade and bank management fund. A bank builds a capital supervision type online branch account system in order to meet platform business requirements, the most main business scene is online branch account, a freight logistics platform is taken as an example, a shipper in the platform selects a logistics enterprise to transport goods, the logistics enterprise collects payment after transportation is completed, the logistics enterprise calls the bank branch account system through the platform to divide the funds into accounts with different roles such as shipper payment, logistics enterprise income, truck driver income, platform income and bank income, namely one payer is needed, a plurality of payers are needed, and a plurality of accounts need to be recorded in the system. When the existing bank branch system processes the situation of single branch and multiple bookings, the method is based on the payer minus → payee A plus → payee B plus → payee N plus … …, which will cause the interruption of bookings in case of emergency, and the sum of the payer amount and the multiple payee amounts is not even, thus having a certain capital risk. In addition, the billing mode is scattered in billing, once an emergency occurs, the system cannot automatically recover online to continue billing, and meanwhile, when offline processing is performed, maintenance personnel need to confirm the state, calculate the amount of money and manually adjust the billing one by one, which is troublesome and difficult to check.
Therefore, the technical problem to be solved is how to ensure the consistency of the states of a plurality of accounting results in one accounting process so as to avoid the accounting risk in the accounting process.
Disclosure of Invention
The invention aims to provide an online accounting method and system, which aim to solve the problem of inconsistent accounts in the accounting process of the existing bank accounting system, and the technical problem to be solved by the invention is realized by the following technical scheme:
the invention provides an online account division method, which comprises the following steps:
receiving an account splitting request sent by a docking platform;
assembling the branch account request into a branch account service with one payment sub-service and a plurality of collection sub-services according to the information of the collection and payment party contained in the branch account request;
preprocessing each sub-service in the branch account service and marking a preprocessing state;
if the preprocessing states of all the sub-services in the accounting service are successful, executing accounting operation on each preprocessed sub-service and identifying the execution state;
and if the execution states of all the sub-services in the accounting service are successful, sending an accounting success notice to the docking platform.
Preferably, the step of performing a preprocessing operation on each sub-service in the billing service and identifying a preprocessing state further includes:
if the preprocessing state of at least one sub-service in the branch account service is failed, performing a first rollback operation on the sub-service with the successful preprocessing state in the branch account service, and recording the number of times of preprocessing failure;
carrying out preprocessing operation on each sub-service in the branch account service again and identifying a preprocessing state;
and if the number of times of preprocessing failure is larger than a first preset number threshold, sending a preprocessing failure notice to the docking platform.
Preferably, the first rollback operation is to perform reverse preprocessing on the sub-service and clear the marked preprocessing state.
Preferably, the step of performing accounting operation on each preprocessed sub-service and identifying the execution state further comprises:
if the execution state of at least one sub-service in the branch account service is failed, performing second rollback operation on the sub-service with the successful execution state in the branch account service, and recording the number of execution failure times;
performing accounting operation on each sub-service in the accounting service again and identifying an execution state;
and if the execution failure times are larger than a second preset quantity threshold value, sending an execution accounting failure notice to the docking platform.
Preferably, the second rollback operation is to perform reverse accounting on the sub-service and clear the execution state of the identity.
Preferably, the request for ledger includes a transaction serial number, a payer amount, a plurality of payee numbers and a plurality of corresponding payee amounts.
Preferably, the sub-services comprise a transaction serial number, a sub-accounting service number, a sub-accounting sub-service number, a number of a payee/payer and an amount of the payee/payer, and a plurality of sub-services in the same sub-accounting service have the same transaction serial number and sub-accounting service number.
On the other hand, the invention also provides an online accounting system, which comprises: the system comprises a billing service module and a processing center module connected with the billing service module;
the account separating service module comprises: the request receiving unit is configured to receive the account splitting request sent by the docking platform; a service assembling unit configured to assemble the ledger request into a ledger service having one payment sub-service and a plurality of payee sub-services according to payee information contained in the ledger request;
the processing center module comprises a scheduler, a preprocessor, an executor and a rollback device, wherein the preprocessor, the executor and the rollback device are connected with the scheduler, the scheduler is configured to monitor and schedule the work of the preprocessor, the executor and the rollback device, the preprocessor is configured to carry out preprocessing operation on each sub-service in the branch accounting service and identify a preprocessing state, the executor is configured to carry out accounting operation on each preprocessed sub-service and identify an execution state, and the rollback device is configured to carry out rollback operation on the sub-service of which the preprocessing state/execution state is successful in the branch accounting service when the preprocessing state/execution state of at least one sub-service in the branch accounting service is failed.
Preferably, the processing center module further comprises an inquirer connected with the dispatcher, and the inquirer is configured to inquire the execution progress of each sub-service in the branch accounting service when the branch accounting service is interrupted.
Preferably, the processing center module further comprises a restorer connected with the scheduler, and the restorer is configured to perform a restoring operation on the billing service according to the inquired execution progress of each sub-service.
The online account division method and the online account division system can really achieve the consistency of the account division and accounting by assembling the account division request data initiated by the docking platform into an account division service and utilizing unified scheduling, preprocessing, executing and rollback, can thoroughly avoid the accounting errors in a plurality of accounting scenes of one account division, avoid the capital risks and improve the working efficiency of system staff.
Drawings
FIG. 1 is a schematic flow chart diagram of some embodiments of an online posting method of the present invention;
FIG. 2 is a block diagram of the architecture of some embodiments of an online billing system of the present invention;
fig. 3 is a diagram illustrating a detailed billing process of some embodiments of an online billing system according to the invention.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
Referring to fig. 1, an embodiment of the present invention provides an online accounting method, including:
step 100: receiving an account splitting request sent by a docking platform;
the docking platform in the step refers to a B2B and B2C trading platform, and the docking platform initiates a single-stroke or multi-stroke one-to-many billing request through a real-time interface.
Step 200: assembling the branch account request into a branch account service with one payment sub-service and a plurality of collection sub-services according to the information of the collection and payment party contained in the branch account request;
in the step, the branch account requests are assembled into a branch account service according to information of a payer, a payee, corresponding amount and the like in the branch account requests, and the branch account service comprises a plurality of sub-services. And assembling each one-to-many account splitting request into corresponding account splitting services one by one, associating the transaction serial number in each account splitting request with the account splitting service number of the account splitting service, processing according to the time sequence of the transaction serial numbers in the subsequent account splitting service processing process, and placing the to-be-processed account splitting service in a preset cache region.
Step 300: preprocessing each sub-service in the account division service and marking a preprocessing state;
the method mainly comprises the following steps of preprocessing the sub-services of the account service without direct account keeping operation, and aims to improve the overall success rate of the account service, such as: whether the account balance is sufficient or not and whether the account information is accurate or not can be judged in the preprocessing process; and identifying the 'preprocessing success' state for the sub-service with successful processing, and identifying the 'preprocessing failure' state for the sub-service with failed processing.
Step 400: if the preprocessing states of all the sub-services in the accounting service are successful, executing accounting operation on each preprocessed sub-service and identifying the execution state;
before the accounting operation is carried out, the preprocessing states of all the sub-services need to be judged, if the preprocessing states of all the sub-services are successful, the accounting service preprocessing is successful, and the next accounting operation can be continued; and if the preprocessing state of one or more sub-services is failure, the preprocessing of the accounting service is failed, and the next accounting operation cannot be carried out.
Step 500: and if the execution states of all the sub-services in the accounting service are successful, sending an accounting success notice to the docking platform.
Whether the account-separating service is successfully accounted needs to judge the execution states of all the sub-services, if the execution states of all the sub-services are successful, the account-separating service is successfully executed, and an account-separating success notice can be sent to the docking platform; if the execution state of one or more sub-services is failed, the execution of the accounting service fails and needs to be reprocessed.
It should be noted that, when the pre-processing of the split account service fails or the execution fails, a failure notification and a failure reason need to be sent to the docking platform, so that the docking platform re-initiates the split account request after processing the failure reason offline.
The online accounting method of the embodiment of the invention firstly assembles the received accounting request into an accounting service, the accounting service comprises a plurality of sub-services, then, each sub-service is respectively preprocessed, namely, whether the account balance is sufficient or not and the account information is accurate or not are checked, and direct accounting operation is not carried out, so that the integral success rate of the accounting service is improved.
In some embodiments, in order to ensure the consistency of accounting, step 300 of the online accounting method of the present invention further includes:
if the preprocessing state of at least one sub-service in the branch account service is failed, performing a first rollback operation on the sub-service with the successful preprocessing state in the branch account service, and recording the number of times of preprocessing failure;
carrying out preprocessing operation on each sub-service in the account splitting service again and identifying a preprocessing state;
and if the preprocessing failure times are larger than a first preset number threshold, sending a preprocessing failure notice to the docking platform.
It should be noted that, in this embodiment, the sub-services whose preprocessing states in the billing service are successful are restored to the initial state before preprocessing through the first rollback operation, and a preprocessing failure is recorded, and a preprocessing operation is retried for all the sub-services, and if the preprocessing is not successful after repeated preprocessing for several times, a preprocessing failure notification is sent to the docking platform. The first preset number threshold in this embodiment is determined according to actual needs, and may be, for example, 3 times, 4 times, 5 times, or more, and is not specifically limited herein.
Preferably, the first preset number threshold is 5 in this embodiment.
In some embodiments, to ensure consistency of accounting, the first rollback operation of the online accounting method of the present invention is to reverse pre-process the sub-service and clear the pre-processing state of the identity.
In some embodiments, step 400 of the online posting method of the present invention further includes:
if the execution state of at least one sub-service in the accounting service is failed, performing second rollback operation on the sub-service with the successful execution state in the accounting service, and recording the execution failure times;
executing accounting operation on each sub-service in the accounting service again and identifying an execution state;
and if the execution failure times are larger than a second preset number threshold, sending an execution accounting failure notice to the docking platform.
It should be noted that, in this embodiment, the sub-service whose execution state is successful in the accounting service is restored to the initial state before execution through the second rollback operation, and an execution failure is recorded, an accounting operation is retried to be executed on all the sub-services, and if the execution is not successful after being repeatedly executed for several times, an execution failure notification is sent to the docking platform. The second preset number threshold is determined according to actual needs in this embodiment, and may be the same as or different from the first preset number threshold, for example, 3 times, 4 times, 5 times or more, and is not specifically limited herein.
Preferably, the second preset number threshold is 5 in this embodiment.
In the on-line accounting method provided by the embodiment of the invention, in the process of preprocessing/executing accounting, if one of the sub-services fails, all the sub-services which are successfully preprocessed/executed are rolled back, so that the accounting result states of all subordinate accounting services under the same accounting service are consistent, and the consistency of accounting is ensured.
In some embodiments, the second rollback operation of the online accounting method of the present invention is to back-bill the sub-service and clear the execution state of the identity.
Optionally, the split-account request in the online split-account method according to the embodiment of the present invention includes a transaction serial number, a payer amount, a plurality of payee numbers, and a plurality of corresponding payee amounts.
Optionally, in the online accounting method of the embodiment of the present invention, the sub-services include a transaction serial number, an accounting service number, an accounting sub-service number, a number of a receiving/paying party, and an amount of the receiving/paying party, and a plurality of sub-services in the same accounting service have the same transaction serial number and accounting service number.
The specific accounting requests and corresponding accounting services are shown in the following table:
table one:
the assembled sub-account service comprises 4 sub-services, the transaction serial numbers and the sub-account service numbers of the 4 sub-services are the same, the 4 sub-services can be judged to belong to the same sub-account request and the same sub-account service according to the number, the sub-account sub-service numbers of the 4 sub-services are different, and different sub-services are distinguished according to the number.
On the other hand, referring to fig. 2, an embodiment of the present invention further provides an online accounting system 100, including: the system comprises a billing service module 1 and a processing center module 2 connected with the billing service module 1;
the ledger service module 1 includes: a request receiving unit 11 configured to receive an accounting request sent by a docking platform; a service assembling unit 12 configured to assemble the ledger request into a ledger service having one payer sub-service and a plurality of payee sub-services according to payee information contained in the ledger request;
the processing center module 2 comprises a scheduler 21, a preprocessor 22, an executor 23 and a rollback device 24 connected with the scheduler 21, wherein the scheduler 21 is configured to monitor and schedule operations of the preprocessor 22, the executor 23 and the rollback device 24, the preprocessor 22 is configured to perform preprocessing operation on each sub-service in the billing service and identify preprocessing state, the executor 23 is configured to perform accounting operation on each preprocessed sub-service and identify execution state, and the rollback device 24 is configured to perform rollback operation on a sub-service in the billing service whose preprocessing state/execution state is successful when the preprocessing state/execution state of at least one sub-service in the billing service is failed.
The online accounting system comprises an accounting service module and a processing center module, wherein an accounting request is assembled into an accounting service comprising a plurality of sub-services through the accounting service module, a scheduler built in the processing center module after the assembly calls a preprocessor to preprocess all the sub-services of the accounting service, namely, whether the account balance is sufficient or not and whether the account information is accurate or not are checked, direct accounting operation is not carried out, and after the preprocessing is successful, the scheduler calls an actuator to carry out final accounting operation on each sub-service; in the execution process of the preprocessor and the executor, if one of the sub-services fails, the scheduler calls the rollback device to rollback all the successfully processed sub-services, so that the accounting result states of all the sub-accounting services under the same accounting service are consistent, and the accounting consistency is ensured.
In some embodiments, the processing center module 2 in the online accounting system 100 of the present invention further includes an inquirer 25 connected to the scheduler 21, wherein the inquirer 25 is configured to inquire the execution progress of each sub-service in the accounting service when the accounting service is interrupted.
The online branch accounting system of the embodiment of the invention also comprises the querier, if sudden problems such as downtime, system faults and the like occur in the branch accounting executing process, after the program is recovered, the scheduler can call the querier to inquire the executing progress and condition of each subordinate service in the branch accounting service so as to make necessary preparation for recovering the branch accounting.
In some embodiments, the processing center module 2 in the online accounting system 100 of the present invention further includes a restorer 26 connected to the scheduler 21, and the restorer 26 is configured to perform a restoring operation on the accounting service according to the execution progress of each queried sub-service.
The online accounting system of the embodiment of the invention also comprises a restorer, and if the on-line accounting system has the sudden problems of downtime, system faults and the like in the accounting execution process, the scheduler calls the restorer to continuously execute the interrupted accounting service after the inquiry of the querier is finished, so that the accounting consistency is ensured.
In summary, the online accounting system of the embodiment of the present invention assembles the accounting request data initiated by the docking platform into an accounting service, and the devices of the processing center module cooperate with each other, and utilize a unified scheduling, preprocessing, executing, rollback, querying, and recovering mechanism, so that the consistency of the accounting accounts can be really achieved, the accounting errors of a plurality of accounting scenes of one accounting can be completely eradicated, the capital risks can be eradicated, and the work efficiency of system staff can be improved.
Fig. 3 shows a specific accounting process of the online accounting system according to the embodiment of the present invention:
step 1: and in the daytime, the docking platform initiates a single-stroke one-to-many account splitting request through a real-time interface, and the on-line account splitting system performs subsequent account splitting processing after receiving the request. The docking platform can send the billing request for multiple times through the interface in the daytime and process one of the requests.
Step 2: after the online accounting system receives the accounting request of the docking platform, the accounting request is assembled into an accounting service according to information such as a payer, a payee, an amount and the like in the request, and the accounting service comprises a plurality of subordinate accounting services (namely sub-services).
And step 3: after the sub-accounting service is assembled, the processing center module intervenes, the dispatcher calls a preprocessor to start preprocessing subordinate sub-accounting services, if the preprocessing is successful, the subordinate services are marked to be in a preprocessing success state, and the subsequent steps are continued;
and 4, step 4: if one or more of the services fail in the preprocessing process, the subordinate service is marked as 'preprocessing failure', the failure reason is marked, the scheduler calls a rollback device to rollback the service which succeeds in preprocessing, and all marks which succeed in preprocessing are emptied. And then the system executes the account splitting service for 5 times again, if the account splitting service fails for 5 times, the online account splitting system informs the docking platform of account splitting failure and failure reasons, and the docking platform can initiate an account splitting request to the online account splitting system again after offline processing of the failure reasons.
And 5: after the pretreatment is successful, the dispatcher calls the executor to start to perform accounting operation on each subordinate service with the state of successful pretreatment, if all the subordinate services are successfully executed in the accounting process, the subordinate service is marked as the state of successful execution, and the docking platform is informed of successful accounting separation;
step 6: if one or more subordinate services fail in the accounting process, the subordinate services are marked as 'execution failure', the failure reason is marked, the scheduler calls a rollback device to rollback the services which are successfully preprocessed and successfully executed, the marks which are successfully preprocessed and successfully executed are all cleared, and the services which are successfully accounted are all reversely accounted. And then the system executes the account splitting service for 5 times again, if the account splitting service fails for 5 times, the online account splitting system informs the docking platform of the account splitting failure and the failure reason, and the docking platform can initiate an account splitting request to the online account splitting system again after offline processing of the failure reason.
And 7: if the sudden problems of downtime, system failure and the like occur in the process of executing the branch account, after the program is recovered, the scheduler calls the querier to inquire the execution progress and the situation of each subordinate service in the branch account service, and necessary preparation is made for recovering the branch account.
And step 8, if sudden problems such as downtime, system faults and the like occur, the scheduler calls the restorer to continuously execute the interrupted accounting services after the inquiry of the inquirer is completed, and the consistency of accounting is ensured.
It should be noted that the above detailed description is exemplary and is intended to provide further explanation of the disclosure. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments according to the present application. As used herein, the singular is intended to include the plural unless the context clearly dictates otherwise. Furthermore, it will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, steps, operations, devices, components, and/or combinations thereof.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in other sequences than those illustrated or otherwise described herein.
Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements explicitly listed, but may include other steps or elements not explicitly listed or inherent to such process, method, article, or apparatus.
Spatially relative terms, such as "above … …," "above … …," "above … …," "above," and the like, may be used herein for ease of description to describe one device or feature's spatial relationship to another device or feature as illustrated in the figures. It will be understood that the spatially relative terms are intended to encompass different orientations of the device in use or operation in addition to the orientation depicted in the figures. For example, if a device in the figures is turned over, devices described as "above" or "on" other devices or configurations would then be oriented "below" or "under" the other devices or configurations. Thus, the exemplary term "above … …" can include both an orientation of "above … …" and "below … …". The device may also be oriented in other different ways, such as by rotating it 90 degrees or at other orientations, and the spatially relative descriptors used herein interpreted accordingly.
In the foregoing detailed description, reference is made to the accompanying drawings, which form a part hereof. In the drawings, like numerals typically identify like components, unless context dictates otherwise. The illustrated embodiments described in the detailed description, drawings, and claims are not meant to be limiting. Other embodiments may be utilized, and other changes may be made, without departing from the spirit or scope of the subject matter presented here.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. An online account splitting method is characterized by comprising the following steps:
receiving an account splitting request sent by a docking platform;
assembling the branch account request into a branch account service with one payment sub-service and a plurality of collection sub-services according to the information of the collection and payment party contained in the branch account request;
preprocessing each sub-service in the branch account service and marking a preprocessing state;
if the preprocessing states of all the sub-services in the accounting service are successful, executing accounting operation on each preprocessed sub-service and identifying the execution state;
and if the execution states of all the sub-services in the accounting service are successful, sending an accounting success notice to the docking platform.
2. The on-line accounting method according to claim 1, wherein the step of performing a preprocessing operation on each sub-service in the accounting service and identifying a preprocessing state further comprises:
if the preprocessing state of at least one sub-service in the branch account service is failed, performing a first rollback operation on the sub-service with the successful preprocessing state in the branch account service, and recording the number of times of preprocessing failure;
carrying out preprocessing operation on each sub-service in the branch account service again and identifying a preprocessing state;
and if the preprocessing failure times are larger than a first preset number threshold, sending a preprocessing failure notice to the docking platform.
3. The on-line billing method of claim 2, wherein the first rollback operation is to reverse pre-process the sub-service and clear the pre-processing status of the identifier.
4. The online accounting method according to claim 1, wherein the step of performing accounting operation on each preprocessed sub-service and identifying the execution state further comprises:
if the execution state of at least one sub-service in the branch account service is failed, performing second rollback operation on the sub-service with the successful execution state in the branch account service, and recording the number of execution failure times;
performing accounting operation on each sub-service in the accounting service again and identifying an execution state;
and if the execution failure times are larger than a second preset quantity threshold value, sending an execution accounting failure notice to the docking platform.
5. The online accounting method of claim 4, wherein the second rollback operation is to perform reverse accounting on the sub-service and clear an execution state of the identifier.
6. An online billing method according to any of claims 1-5 wherein the billing request comprises a transaction flow number, payer amount, a plurality of payee numbers and a plurality of corresponding payee amounts.
7. The on-line account distributing method according to claim 6, wherein the sub-services comprise a transaction water number, an account distributing service number, an account distributing sub-service number, an account collector/payer number and an account collector/payer, and a plurality of sub-services in the same account distributing service have the same transaction water number and account distributing service number.
8. An online ledger system, characterized by comprising: the system comprises a billing service module and a processing center module connected with the billing service module;
the account separating service module comprises: the request receiving unit is configured to receive the account splitting request sent by the docking platform; a service assembling unit configured to assemble the ledger request into a ledger service having one payment sub-service and a plurality of payee sub-services according to payee information contained in the ledger request;
the processing center module comprises a scheduler, a preprocessor, an executor and a rollback device, wherein the preprocessor, the executor and the rollback device are connected with the scheduler, the scheduler is configured to monitor and schedule the work of the preprocessor, the executor and the rollback device, the preprocessor is configured to carry out preprocessing operation on each sub-service in the branch accounting service and identify a preprocessing state, the executor is configured to carry out accounting operation on each preprocessed sub-service and identify an execution state, and the rollback device is configured to carry out rollback operation on the sub-service of which the preprocessing state/execution state is successful in the branch accounting service when the preprocessing state/execution state of at least one sub-service in the branch accounting service is failed.
9. The on-line accounting system of claim 8, wherein the processing center module further comprises an inquirer connected with the scheduler, and the inquirer is configured to inquire the execution progress of each sub-service in the accounting service when the accounting service is interrupted.
10. The system according to claim 9, wherein the processing center module further comprises a restorer connected to the scheduler, and the restorer is configured to perform a restore operation on the billing service according to the queried execution progress of each of the sub-services.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110693750.1A CN113256292B (en) | 2021-06-22 | 2021-06-22 | Online account division method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110693750.1A CN113256292B (en) | 2021-06-22 | 2021-06-22 | Online account division method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113256292A true CN113256292A (en) | 2021-08-13 |
CN113256292B CN113256292B (en) | 2021-10-29 |
Family
ID=77189248
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110693750.1A Active CN113256292B (en) | 2021-06-22 | 2021-06-22 | Online account division method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113256292B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050197957A1 (en) * | 1998-06-08 | 2005-09-08 | Microsoft Corporation | Parcel manager for distributed electronic billing system |
CN104951935A (en) * | 2014-03-25 | 2015-09-30 | 小米科技有限责任公司 | Bill splitting method and device |
US20170193477A1 (en) * | 2015-11-23 | 2017-07-06 | BillHero, Inc. | Bill payment infrastructure for bill splittees |
CN107123038A (en) * | 2017-03-14 | 2017-09-01 | 北京小度信息科技有限公司 | Accounting data processing method and processing device |
CN107230092A (en) * | 2016-03-24 | 2017-10-03 | 阿里巴巴集团控股有限公司 | Accounting processing method, device and server |
CN108764876A (en) * | 2018-05-29 | 2018-11-06 | 深圳市元征科技股份有限公司 | A kind of transaction processing method and server |
CN111833169A (en) * | 2020-07-01 | 2020-10-27 | 中国建设银行股份有限公司 | Ledger management method and apparatus |
CN112488690A (en) * | 2020-11-30 | 2021-03-12 | 银盛支付服务股份有限公司 | Real-time account distribution system, method, computer equipment and storage medium |
CN112685208A (en) * | 2020-12-15 | 2021-04-20 | 建信金融科技有限责任公司 | Batch processing method, device, equipment and storage medium |
-
2021
- 2021-06-22 CN CN202110693750.1A patent/CN113256292B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050197957A1 (en) * | 1998-06-08 | 2005-09-08 | Microsoft Corporation | Parcel manager for distributed electronic billing system |
CN104951935A (en) * | 2014-03-25 | 2015-09-30 | 小米科技有限责任公司 | Bill splitting method and device |
US20170193477A1 (en) * | 2015-11-23 | 2017-07-06 | BillHero, Inc. | Bill payment infrastructure for bill splittees |
CN107230092A (en) * | 2016-03-24 | 2017-10-03 | 阿里巴巴集团控股有限公司 | Accounting processing method, device and server |
CN107123038A (en) * | 2017-03-14 | 2017-09-01 | 北京小度信息科技有限公司 | Accounting data processing method and processing device |
CN108764876A (en) * | 2018-05-29 | 2018-11-06 | 深圳市元征科技股份有限公司 | A kind of transaction processing method and server |
CN111833169A (en) * | 2020-07-01 | 2020-10-27 | 中国建设银行股份有限公司 | Ledger management method and apparatus |
CN112488690A (en) * | 2020-11-30 | 2021-03-12 | 银盛支付服务股份有限公司 | Real-time account distribution system, method, computer equipment and storage medium |
CN112685208A (en) * | 2020-12-15 | 2021-04-20 | 建信金融科技有限责任公司 | Batch processing method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113256292B (en) | 2021-10-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102968715B (en) | A kind of payment control method and system based on credit data | |
US20140344152A1 (en) | Method of providing secure payment and transaction reconciliation | |
US8346638B2 (en) | Systems and methods for processing transaction data to perform a merchant chargeback | |
CN103606070B (en) | Event driven-based transaction-on-exchange goods concentralized distribution transportation system | |
CN110910230A (en) | Accounting method, accounting system and storage medium | |
CN105678546A (en) | Digital asset processing method based on distributed shared general ledger | |
CN112116340B (en) | Account separating method and system based on bank merchant order receiving mode | |
CN106097092A (en) | Data processing method and device for reconciliation | |
CN102509241A (en) | Management method and management device of POS (Point Of Sale) terminal system for insurance sales | |
CN111522826A (en) | Bidding transaction processing method and system based on block chain and related nodes | |
CN108961060A (en) | A kind of abnormality eliminating method and system of cross-border money transfer transactions | |
CN114581094A (en) | Payment channel dynamic decision method, server and computer readable medium | |
US7483847B1 (en) | System and method for referral fee processing in accounts managed by financial advisors | |
CN113256292B (en) | Online account division method and system | |
CN108985913A (en) | The method and apparatus for compensating book keeping operation | |
US20020046162A1 (en) | Method and system for managing accounts receivable and payable and recording medium for storing program to realize the method | |
CN112488690A (en) | Real-time account distribution system, method, computer equipment and storage medium | |
CN106682902A (en) | Collection method and collection system for virtual accounts of transnational trade B2B (business-to-business) banks | |
CN115702431A (en) | Method and system for handling transfer service | |
CN109767248B (en) | Customer demand information processing method, device and system | |
CN111192034A (en) | Method and device for processing service request data | |
US20150294404A1 (en) | Method and system for legal processing for debt collection | |
CN113938885B (en) | Method and device for paying and signing | |
CN111160872B (en) | Application information processing method and device | |
KR102424423B1 (en) | Method and apparatus of management a secured loan of valuable securities |
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 |