The content of the invention
It is an object of the invention to provide the method and system that a kind of electronics authority reimbursement keeps accounts, to realize avoiding repeating reimbursement
Keep accounts.
To solve above-mentioned technical problem, the present invention provides the system that a kind of electronics authority reimbursement keeps accounts, and the system includes:
The administration module that keeps accounts is submitted an expense account, the electronics authority for receiving Finance System transmission submits an expense account the request that keeps accounts, by electricity
Sub- authority submits an expense account the request that keeps accounts and is transmitted to supervision code generation module, and the electronics authority submits an expense account request bag authority containing the electronics number that keeps accounts
According to;According to the electronics authority supervision code that supervision code generation module is returned, search and electronics authority supervision code in supervision data base
Corresponding electronics authority reimbursement supervision data, if the state of electronics authority reimbursement supervision data is to submit an expense account state or the shape that kept accounts
State, then produce miscue information and send to Finance System;
Supervision code generation module, for the electronics authority data kept accounts in request to the reimbursement of electronics authority by preset algorithm
Processed, generate electronics authority supervision code and electronics authority supervision code is back to into reimbursement and keep accounts administration module;
Supervision data base, for storing electronics authority reimbursement supervision data.
Preferably, the administration module that keeps accounts of submitting an expense account includes:
Receiving unit, the electronics authority for receiving Finance System transmission submits an expense account the request that keeps accounts, by electronics authority report
Sell the request that keeps accounts and be transmitted to supervision code generation module;
Searching unit, for the electronics authority supervision code returned according to supervision code generation module, looks in supervision data base
Look for electronics authority reimbursement supervision data corresponding with electronics authority supervision code;
Information alert unit, if submitting an expense account the state of supervision data to submit an expense account state for electronics authority, generation can not be again
The miscue information of multiple reimbursement is simultaneously sent to financial system;If the state of electronics authority reimbursement supervision data is the shape that keeps accounts
State, produces the not reproducible miscue information for keeping accounts and sends to financial system.
Preferably, the administration module that keeps accounts of submitting an expense account also includes:
State changing unit, if submitting an expense account the state of supervision data not submit an expense account state for electronics, will not submit an expense account state more
It is changed to submit an expense account state;If the state of electronics reimbursement supervision data is the state that do not keep accounts, the state that will not submit an expense account is changed to keep accounts
State.
Preferably, searching unit, for the electronics authority supervision code returned according to supervision code generation module, in supervision number
Data are supervised according to electronics authority reimbursement corresponding with electronics authority supervision code is searched in storehouse, including:
Searching unit, for the electronics authority supervision code returned according to supervision code generation module, looks in supervision data base
The standard supervision code consistent with electronics authority supervision code is found, establishing criteria supervision code is searched in supervision data base and carried
The electronics authority of standard supervision code submits an expense account the supervision data that keep accounts.
Preferably, the administration module that keeps accounts of submitting an expense account also includes:
Batch Supervisory Unit, the electronics authority batch for receiving Finance System transmission submits an expense account the request that keeps accounts, and obtains
Batch electronics authority data are transmitted to one by one supervision by the batch electronics authority data that the batch reimbursement of electronics authority keeps accounts in request
Code generation module;Receive the electronics authority supervision code that supervision code generation module is returned, search in supervision data base with electronics with
According to supervision code corresponding electronics authority reimbursement supervision data, if the state of electronics authority reimbursement supervision data for submit an expense account state or
Kept accounts state, then produce miscue information and send to Finance System;
Batch assemblage unit, for assembling to all miscue information that batch Supervisory Unit is produced, obtains group
Result after dress is simultaneously sent to Finance System;
Wherein, batch Supervisory Unit processes batch electronics authority data using multiple thread parallels;
The supervision code generation module also includes:
Mass production unit, for receiving batch electronics authority data, by reading electronics authority data one by one come one by one
Generate electronics authority supervision data, and electronics authority supervision data are returned to into reimbursement and keep accounts administration module.
The present invention also provides a kind of method that electronics authority reimbursement keeps accounts, and is for what the reimbursement of above-mentioned electronics authority kept accounts
System, the method includes:
The electronics authority for submitting an expense account the administration module reception Finance System transmission that keeps accounts submits an expense account the request that keeps accounts, by electronics authority
Submit an expense account the request that keeps accounts and be transmitted to supervision code generation module, the electronics authority submits an expense account request bag authority containing the electronics data that keep accounts;
Supervision code generation module is submitted an expense account electronics authority the electronics authority data in request that keep accounts and is carried out by preset algorithm
Process, generate electronics authority supervision code and electronics authority supervision code is back to into reimbursement and keep accounts administration module;
The electronics authority supervision code that the administration module that keeps accounts is returned according to supervision code generation module is submitted an expense account, in supervision data base
Electronics authority reimbursement supervision data corresponding with electronics authority supervision code are searched, if the state of electronics authority reimbursement supervision data is
State has been submitted an expense account or the state that kept accounts, then produce miscue information and send to Finance System.
Preferably, if the state of electronics authority reimbursement supervision data is produced to submit an expense account state or the state that kept accounts
Raw miscue information is simultaneously sent to Finance System, including:
If the state of electronics authority reimbursement supervision data produces the miscue letter of not reproducible reimbursement to submit an expense account state
Cease and send to financial system;If the state of electronics authority reimbursement supervision data is the state that keeps accounts, not reproducible keeping accounts is produced
Miscue information and send to financial system.
Preferably, methods described also includes:
If not submit an expense account state, the state that will not submit an expense account is changed to submit an expense account state the state of electronics reimbursement supervision data;If
The state of electronics reimbursement supervision data is the state that do not keep accounts, and the state that will not submit an expense account is changed to the state that keeps accounts.
Preferably, the electronics authority supervision code that the administration module that keeps accounts is returned according to supervision code generation module is submitted an expense account, in supervision
Electronics authority reimbursement supervision data corresponding with electronics authority supervision code are searched in data base, including:
The electronics authority supervision code that the administration module that keeps accounts is returned according to supervision code generation module is submitted an expense account, in supervision data base
The standard supervision code consistent with electronics authority supervision code is found, establishing criteria supervision code is searched in supervision data base and carried
The electronics authority for having standard supervision code submits an expense account the supervision data that keep accounts.
Preferably, methods described also includes:
The electronics authority batch for submitting an expense account the administration module reception Finance System transmission that keeps accounts submits an expense account the request that keeps accounts, and acquisition is electric
Batch electronics authority data are transmitted to one by one supervision code by the batch electronics authority data that sub- authority batch reimbursement keeps accounts in request
Generation module;
Supervision code generation module receives batch electronics authority data, is generated one by one by reading electronics authority data one by one
Electronics authority supervises data, and electronics authority supervision data are returned to into reimbursement keeps accounts administration module;
Submit an expense account the administration module that keeps accounts and receive the electronics authority supervision code that supervision code generation module is returned, in supervision data base
Electronics authority reimbursement supervision data corresponding with electronics authority supervision code are searched, if the state of electronics authority reimbursement supervision data is
State has been submitted an expense account or the state that kept accounts, then produce miscue information and send to Finance System;
Submit an expense account the administration module that keeps accounts to assemble all miscue information for producing, the result after being assembled is concurrent
Deliver to Finance System;
Wherein, reimbursement keeps accounts administration module using multiple thread parallels process batch electronics authority data.
The method and system that a kind of electronics authority reimbursement provided by the present invention keeps accounts, being kept accounts according to the reimbursement of electronics authority please
The electronics authority data asked, by preset algorithm, generate electronics authority supervision code, according to supervision code, in supervision data base querying
The electronics authority reimbursement for prestoring keeps accounts supervision data, obtains reimbursement and keeps accounts state, is kept accounts state according to reimbursement, to electronics with
Do corresponding process according to the reimbursement request that keeps accounts, it is determined whether allow reimbursement to keep accounts, due to the electronics authority for prestoring submit an expense account into
Account supervision data are the supervision data generated when electronics authority is issued, and its reimbursement state of keeping accounts for preserving is credible and unique
, prevent from repeating to submit an expense account and repeat the purpose for keeping accounts so as to reach.
Specific embodiment
The core of the present invention is to provide the method and system that a kind of electronics authority reimbursement keeps accounts, to realize avoiding repeating reimbursement
Keep accounts.
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention
Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only
The a part of embodiment of the present invention, rather than the embodiment of whole.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Fig. 1 is refer to, Fig. 1 is the structural representation of the system that a kind of electronics authority reimbursement provided by the present invention keeps accounts,
The system includes:
The administration module 101 that keeps accounts is submitted an expense account, the electronics authority for receiving Finance System transmission submits an expense account the request that keeps accounts, will
Electronics authority submits an expense account the request that keeps accounts and is transmitted to supervision code generation module, and the electronics authority submits an expense account the request bag authority containing electronics that keeps accounts
Data;According to the electronics authority supervision code that supervision code generation module is returned, search in supervision data base and the supervision of electronics authority
The corresponding electronics authority reimbursement supervision data of code, if the reimbursement of electronics authority supervises the state of data to submit an expense account state or having kept accounts
State, then produce miscue information and send to Finance System;
Supervision code generation module 102, for the electronics authority kept accounts in request to the reimbursement of electronics authority by preset algorithm
Data are processed, and generate electronics authority supervision code and electronics authority supervision code is back to into reimbursement and keep accounts administration module;
Supervision data base 103, for storing electronics authority reimbursement supervision data.
It can be seen that, the system submits an expense account the electronics authority data of the request that keeps accounts according to electronics authority, by preset algorithm, generates electricity
Sub- authority supervision code, according to supervision code, the electronics authority prestored in supervision data base querying is submitted an expense account the supervision data that keep accounts, is obtained
Take reimbursement to keep accounts state, kept accounts state according to reimbursement, corresponding process is done in the request that keeps accounts to the reimbursement of electronics authority, it is determined whether permit
Perhaps reimbursement keeps accounts, because the electronics authority reimbursement for the prestoring supervision data that keep accounts are the supervision that generate when electronics authority is issued
Data, its reimbursement state of keeping accounts for preserving is credible and unique, prevents from repeating to submit an expense account and repeat the purpose for keeping accounts so as to reach.
Based on said system, further, submitting an expense account the administration module that keeps accounts includes:
Receiving unit, the electronics authority for receiving Finance System transmission submits an expense account the request that keeps accounts, by electronics authority report
Sell the request that keeps accounts and be transmitted to supervision code generation module;
Searching unit, for the electronics authority supervision code returned according to supervision code generation module, looks in supervision data base
Look for electronics authority reimbursement supervision data corresponding with electronics authority supervision code;
Information alert unit, if submitting an expense account the state of supervision data to submit an expense account state for electronics authority, generation can not be again
The miscue information of multiple reimbursement is simultaneously sent to financial system;If the state of electronics authority reimbursement supervision data is the shape that keeps accounts
State, produces the not reproducible miscue information for keeping accounts and sends to financial system.
Further, submitting an expense account the administration module that keeps accounts also includes:
State changing unit, if submitting an expense account the state of supervision data not submit an expense account state for electronics, will not submit an expense account state more
It is changed to submit an expense account state;If the state of electronics reimbursement supervision data is the state that do not keep accounts, the state that will not submit an expense account is changed to keep accounts
State.
Wherein, it is the supervision data generated when electronics authority is issued that the reimbursement of electronics authority keeps accounts and supervises data.
The system by providing unified supervision interface, to electronics authority issue and the reimbursement process of keeping accounts is supervised,
The electronics authority of specification electronic third-party ticket service system issues the electronics authority reimbursement flow process of flow process and Finance System;
The state that keeps accounts is submitted an expense account by arranging electronics authority, the supervision kept accounts to the reimbursement of electronics authority is realized, prevents electronics authority from repeating to report
Pin and repetition keep accounts.
Wherein, reimbursement keeps accounts, and mainly responsible reception and process electronics authority submit an expense account the request that keeps accounts, electronics authority to administration module
Request bag authority containing the electronics data that keep accounts are submitted an expense account, such as when electronics authority is electronic invoice, comprising invoice codes, invoice number
Code, the tax registration number, invoice amount, invoicing time etc..
Supervision code generation module is mainly responsible for according to electronics authority data, by preset algorithm, generates electronics authority prison
Pipe code.
Supervision data base is mainly responsible for prestoring the reimbursement of electronics authority and keeps accounts supervision data, and the data are opened for electronics authority
Generate during tool, for when the reimbursement of electronics authority keeps accounts, confirming that it submits an expense account the state that keeps accounts, prevent repetition reimbursement from keeping accounts.
The system flow of the present invention is as shown in Fig. 2 specific as follows:
S01:Submit an expense account the administration module reception electronics authority that keeps accounts and submit an expense account the request that keeps accounts, obtain electronics authority and submit an expense account the request that keeps accounts
Electronics authority data, such as when electronics authority is electronic invoice, comprising invoice codes, invoice number, the tax registration number,
The data such as the ticket amount of money, invoicing time;
S02:Submit an expense account the administration module that keeps accounts and give supervision code generation module, supervision code generation module by electronics authority data forwarding
According to electronics authority data, by preset algorithm, electronics authority supervision code is generated;
S03:The supervision code of generation is returned to reimbursement and is kept accounts administration module by supervision code generation module, and reimbursement keeps accounts supervision mould
Block receives electronics authority supervision code;
S04:Reimbursement keeps accounts administration module according to electronics authority supervision code, and inquiry is pre-stored in the corresponding electricity of supervision lane database
Sub- authority submits an expense account the supervision data that keep accounts;
Wherein, electronics authority has just previously generated electronics authority when issuing and has submitted an expense account keep accounts supervision data and standard supervision
Code, is stored in supervision data base;When finance reimbursement, system generates supervision code according to electronics authority, according to the reimbursement of electronics authority
The electronics authority supervision code of electronics authority data genaration kept accounts in request is consistent with standard supervision code, because being all basis
What electronics authority was generated, so can just inquire corresponding electronics authority according to supervision code submits an expense account the supervision data that keep accounts.
S05:If the corresponding electronics authority reimbursement of supervision lane database keeps accounts, the state of supervision data to submit an expense account or entering
Account, then return not reproducible reimbursement or repeat the miscue for keeping accounts;
S06:If the corresponding electronics authority reimbursement of supervision lane database keeps accounts, the state of supervision data is not to submit an expense account or not entering
Account, then be updated to the state submitted an expense account or kept accounts.
The system by reimbursement keep accounts administration module, supervision code generation module, supervision data base constitute;Submit an expense account the supervision mould that keeps accounts
Block is responsible for receiving and process the reimbursement of electronics authority and is kept accounts request;Supervision code generation module is responsible for being supervised according to electronics authority data genaration
Pipe code;Supervision data base is responsible for storing the reimbursement that electronics authority generated when issuing and keeps accounts supervision data.
The present invention submits an expense account the interface that keeps accounts by providing unified electronics authority, the electricity of the request that kept accounts according to the reimbursement of electronics authority
Sub- authority data, by preset algorithm, generate electronics authority supervision code, advance in supervision data base querying according to supervision code
The electronics authority reimbursement of storage keeps accounts supervision data, obtains reimbursement and keeps accounts state, is kept accounts state according to reimbursement, to electronics authority report
Sell the request that keeps accounts and do corresponding process, it is determined whether allow reimbursement to keep accounts;Because the electronics authority for prestoring submits an expense account the prison that keeps accounts
Pipe data are the supervision data generated when electronics authority is issued, its preserve reimbursement state of keeping accounts be it is credible and unique, from
And reaching prevents from repeating to submit an expense account and repeat the purpose for keeping accounts.Wherein, the present invention provides unified reimbursement and keeps accounts entrance, supports direct
Typing or upload the various ways such as layout files or uploading pictures, and by arrange reimbursement keep accounts state supervise electronics authority
Reimbursement keeps accounts.
As shown in figure 3, being the flow chart that electronics authority reimbursement of the invention keeps accounts, specifically include:
1st, financial staff initiates the reimbursement of electronics authority and keeps accounts request by Finance System, and initiating the mode asked can be with
It is to directly input electronics authority ticket information or upload electronics authority layout files or upload electronics authority picture;
2nd, submit an expense account the administration module reception electronics authority that keeps accounts and submit an expense account the request that keeps accounts, obtain electronics authority and submit an expense account the request that keeps accounts
Electronics authority data, such as when electronics authority is electronic invoice, comprising invoice codes, invoice number, the tax registration number, invoice
The data such as the amount of money, invoicing time;Again for example when electronics authority is electronic ticket, comprising ticket coding, admission fee, train number, dispatch a car
The data such as time;
3rd, submit an expense account the administration module that keeps accounts and give supervision code generation module, supervision code generation module root by electronics authority data forwarding
According to electronics authority data, by preset algorithm, electronics authority supervision code is generated;For example can be according to MD5 or SHA256 scheduling algorithms
To electronics authority data encryption, electronics authority supervision code is formed;For the electronics authority data of encryption, for example, can be that electronics is sent out
The various ways such as the invoice number of ticket or " invoice number+amount of money+invoicing time " are combined;
4th, the supervision code of generation is sent to reimbursement and is kept accounts administration module by supervision code generation module, and reimbursement keeps accounts administration module
Receive electronics authority supervision code;
5th, reimbursement keeps accounts administration module according to electronics authority supervision code, and inquiry is pre-stored in the corresponding electronics of supervision lane database
Authority submits an expense account the supervision data that keep accounts;
If the 6, supervising the corresponding electronics authority reimbursement of lane database keeps accounts the state for supervising data to submit an expense account or keeping accounts,
Then return not reproducible reimbursement or repeat the miscue for keeping accounts;
If the 7, supervising the corresponding electronics authority reimbursement of lane database keeps accounts the state for supervising data not submit an expense account or not keeping accounts,
Then it is updated to the state submitted an expense account or kept accounts.
Based on the system, further, searching unit, for the electronics authority prison returned according to supervision code generation module
Pipe code, electronics authority reimbursement corresponding with electronics authority supervision code is searched in supervision data base data are supervised, including:Search
Unit, for the electronics authority supervision code returned according to supervision code generation module, find in supervision data base with electronics with
According to the standard supervision code that supervision code is consistent, establishing criteria supervision code, search in supervision data base and carry standard supervision code
Electronics authority submits an expense account the supervision data that keep accounts.
Wherein, standard supervision code is to keep accounts to supervise data generation simultaneously with the reimbursement of electronics authority, when electronics authority is issued
Both electronics authority had been generated and had submitted an expense account the supervision data that keep accounts, standard supervision code had also been generated simultaneously, standard supervision code had been stored in electronics authority
Reimbursement keeps accounts in supervision data.
As shown in figure 4, be the flow chart that electronics authority submits an expense account the supervision data that keep accounts that generates of the present invention, due to the present invention's
System is belonging to the subsystem of electronics authority supervising platform, and all third-party electronics ticket service systems are issuing electronics authority
When, it is required for being linked into the system, and generate supervision code through the system and generate for supervising what the reimbursement of electronics authority kept accounts
After data, issuing for electronics authority can be just completed;The purpose of this flow process is to illustrate that electronics authority submits an expense account the supervision data that keep accounts
How to generate, and how to be used;Mainly include:
1st, the electronics authority for supervising data generation module acquisition electronic third-party ticket service system issues request, request bag
The data of authority containing electronics, such as when electronics authority is electronic invoice, comprising invoice codes, invoice number, the tax registration number,
The ticket amount of money, invoicing time etc.;
2nd, data generation module is supervised according to electronics authority data, by preset algorithm, generate electronics authority supervision code;
For example electronics authority supervision code can be formed according to MD5 or SHA256 scheduling algorithms to electronics authority data encryption;For the electricity of encryption
Sub- authority data, can be the various ways such as the invoice number or " invoice number+amount of money+invoicing time " of electronic invoice combination and
Into;
3rd, data generation module is supervised by the supervision code for generating and electronics authority data Cun Chudao supervision code data base, the number
Keep accounts supervision data according to the reimbursement of as electronics authority, and the reimbursement of the preset supervision code keeps accounts state for " do not submit an expense account and do not keep accounts ",
Supervision process is carried out when keeping accounts for the reimbursement of electronics authority;The reimbursement state that keeps accounts is a total of 4 kinds, respectively " do not submit an expense account into
Account ", " submit an expense account and keep accounts ", " do not submit an expense account and keep accounts ", " submit an expense account and do not keep accounts ";
4th, when the reimbursement of electronics authority keeps accounts, system can be according to the electronics authority data in-time generatin prison for submitting an expense account the request that keep accounts
Pipe code, because electronics authority data when reimbursement keeps accounts and electronics authority data when issuing are constant, reimbursement keeps accounts
The supervision code of generation with generate when issuing be stored in supervision data base supervision code be consistent, it is possible to according to submit an expense account into
The supervision code generated during account, inquires and is stored in the corresponding reimbursement of supervision data base and keeps accounts supervision data.
As shown in figure 5, being the flow chart that the state that keeps accounts is submitted an expense account in inquiry of the invention, specifically include:
1st, financial staff initiates electronics authority and submits an expense account the status query request that keeps accounts by Finance System, initiates request
Mode can be directly inputted electronics authority ticket information or upload electronics authority layout files or upload electronics authority picture;
2nd, the reimbursement administration module that keeps accounts receives the reimbursement of electronics authority and keeps accounts status query request, obtain electronics authority submit an expense account into
The electronics authority data of account status query request, such as when electronics authority is electronic invoice, comprising invoice codes, invoice number
The data such as code, the tax registration number, invoice amount, invoicing time;
3rd, submit an expense account the administration module that keeps accounts and give supervision code generation module, supervision code generation module root by electronics authority data forwarding
According to electronics authority data, by preset algorithm, electronics authority supervision code is generated;For example can be according to MD5 or SHA256 scheduling algorithms
To electronics authority data encryption, electronics authority supervision code is formed;Can be electronic invoice for the electronics authority data of encryption
The various ways such as invoice number or " invoice number+amount of money+invoicing time " are combined;
4th, the supervision code of generation is returned to reimbursement and is kept accounts administration module by supervision code generation module, and reimbursement keeps accounts administration module
Receive electronics authority supervision code;
5th, reimbursement keeps accounts administration module according to electronics authority supervision code, and inquiry is pre-stored in the corresponding electronics of supervision lane database
The status data that authority reimbursement keeps accounts, returns to Finance System.
Based on the system, further, submitting an expense account the administration module that keeps accounts also includes:
Batch Supervisory Unit, the electronics authority batch for receiving Finance System transmission submits an expense account the request that keeps accounts, and obtains
Batch electronics authority data are transmitted to one by one supervision by the batch electronics authority data that the batch reimbursement of electronics authority keeps accounts in request
Code generation module;Receive the electronics authority supervision code that supervision code generation module is returned, search in supervision data base with electronics with
According to supervision code corresponding electronics authority reimbursement supervision data, if the state of electronics authority reimbursement supervision data for submit an expense account state or
Kept accounts state, then produce miscue information and send to Finance System;
Batch assemblage unit, for assembling to all miscue information that batch Supervisory Unit is produced, obtains group
Result after dress is simultaneously sent to Finance System;
Wherein, batch Supervisory Unit processes batch electronics authority data using multiple thread parallels;
The supervision code generation module also includes:
Mass production unit, for receiving batch electronics authority data, by reading electronics authority data one by one come one by one
Generate electronics authority supervision data, and electronics authority supervision data are returned to into reimbursement and keep accounts administration module.
As shown in fig. 6, being that electronics authority of the invention submits an expense account in batches the flow chart for keeping accounts, specifically include:
1st, financial staff initiates electronics authority batch and submits an expense account the request that keeps accounts by Finance System, initiates the mode of request
Can be that batch input electronics authority ticket information or batch upload electronics authority layout files or batch upload electronics authority
Picture;
2nd, the reimbursement administration module that keeps accounts receives the batch reimbursement of electronics authority and keeps accounts request, obtain electronics authority submit an expense account in batches into
The electronics authority data of account request, such as when electronics authority is electronic invoice, step on comprising invoice codes, invoice number, the tax
The data such as mark, invoice amount, invoicing time;
3rd, submit an expense account the administration module that keeps accounts and batch electronics authority data are transmitted to into one by one supervision code generation module, supervision code life
Into module according to electronics authority data, by preset algorithm, electronics authority supervision code is generated;For example can according to MD5 or
SHA256 scheduling algorithms form electronics authority supervision code to electronics authority data encryption;For the electronics authority data of encryption, can be with
It is that the various ways such as the invoice number or " invoice number+amount of money+invoicing time " of electronic invoice are combined;
Wherein, electronics authority supervision code reads one by one electronics authority data and generates one by one.
4th, the supervision code of generation is returned to reimbursement and is kept accounts administration module by supervision code generation module, and reimbursement keeps accounts administration module
Receive electronics authority supervision code;
5th, reimbursement keeps accounts administration module according to electronics authority supervision code, and inquiry is pre-stored in the corresponding electronics of supervision lane database
Authority submits an expense account the supervision data that keep accounts;
If the 6, supervising the corresponding electronics authority reimbursement of lane database keeps accounts the state for supervising data to submit an expense account or keeping accounts,
Then return not reproducible reimbursement or repeat the miscue for keeping accounts;
If the 7, supervising the corresponding electronics authority reimbursement of lane database keeps accounts the state for supervising data not submit an expense account or not keeping accounts,
Then it is updated to the state submitted an expense account or kept accounts;
8th, reimbursement keep accounts administration module circulation perform above step " 3-7 ", until complete electronics authority batch submit an expense account into
The process of account, and batch processing result is assembled, return to financial system;Optionally, in execution step 3, system can start many
Individual thread parallel is processed, and with speed up processing, such as batch data has 100, can be distributed to 5 sub- thread process, each
Sub- thread process 20, finally remerges result, returns financial system.
Wherein, the data of foreground request are batches, but concrete backstage is realized by circular treatment, finally merges
Batch processing result is returned afterwards.Common batch processing system is all to realize batch processing by circulating.
The electronics authority of the present invention submits an expense account the system that keeps accounts, and by providing unified supervision interface, electronics authority is issued
Supervised with the reimbursement process of keeping accounts, the electronics authority of specification electronic third-party ticket service system issues flow process and business finance
The electronics authority reimbursement flow process of system;Also, arrange the reimbursement of electronics authority in by issuing process of supervision in electronics authority to keep accounts
State, realizes the supervision kept accounts to the reimbursement of electronics authority, prevents electronics authority from repeating to submit an expense account and repeat to keep accounts;And, by propping up
Hold batch electronics authority reimbursement keep accounts, reduce the workload of Enterprises ' Financial Workers, at the same also improve financial staff submit an expense account into
The work efficiency of account.
As shown in fig. 7, be the present invention system deployment specific embodiment, due to the present invention system be belonging to electronics with
According to the subsystem of supervising platform, all third-party electronics ticket service systems are required for being linked into when electronics authority is issued
The system, after generating and supervising data issuing for electronics authority can be just completed, to guarantee that it is issued the legitimacy of process and has
Effect property;All of enterprise's reimbursement system is required for being linked into the system, with the system when the authority reimbursement of process electronics keeps accounts
The electronics authority reimbursement state of keeping accounts is defined and carries out reimbursement and keep accounts processs, to prevent from repeating reimbursement and repeatedly keep accounts;Mainly include:
1st, electronics ticket service system:Refer to third party provide electronics authority issue, generate, storing, circulating, etc. service electricity
Sub- ticket service platform;
2nd, electronics authority submits an expense account the supervisory systems that keeps accounts:The system for referring to the present invention, opens electronics ticket service system transmission
Tool request carries out regulatory approval, and the authority reimbursement of generation electronics keeps accounts and supervises data and preserve;It is responsible for according to electronics authority report simultaneously
The request that keeps accounts is sold, the electronics authority for updating supervision data base submits an expense account the state that keeps accounts.
3rd, Finance System:Refer to that enterprise is used for the financial system that reimbursement keeps accounts, financial staff passes through Finance System
Initiate reimbursement to keep accounts request.
Refer to Fig. 8, Fig. 8 is the flow chart of the method that a kind of electronics authority reimbursement provided by the present invention keeps accounts, the party
Method includes:
S11:The electronics authority for submitting an expense account the administration module reception Finance System transmission that keeps accounts submits an expense account the request that keeps accounts, by electronics
Authority submits an expense account the request that keeps accounts and is transmitted to supervision code generation module;
Wherein, electronics authority submits an expense account request bag authority containing the electronics data that keep accounts;
S12:The electronics authority data that supervision code generation module is kept accounts in request by preset algorithm to the reimbursement of electronics authority
Processed, generate electronics authority supervision code and electronics authority supervision code is back to into reimbursement and keep accounts administration module;
S13:The electronics authority supervision code that the administration module that keeps accounts is returned according to supervision code generation module is submitted an expense account, in supervision data
Electronics authority reimbursement supervision data corresponding with electronics authority supervision code are searched in storehouse, if the shape of electronics authority reimbursement supervision data
State produces miscue information to submit an expense account state or the state that kept accounts, then and sends to Finance System.
It can be seen that, the method submits an expense account the electronics authority data of the request that keeps accounts according to electronics authority, by preset algorithm, generates electricity
Sub- authority supervision code, according to supervision code, the electronics authority prestored in supervision data base querying is submitted an expense account the supervision data that keep accounts, is obtained
Take reimbursement to keep accounts state, kept accounts state according to reimbursement, corresponding process is done in the request that keeps accounts to the reimbursement of electronics authority, it is determined whether permit
Perhaps reimbursement keeps accounts, because the electronics authority reimbursement for the prestoring supervision data that keep accounts are the supervision that generate when electronics authority is issued
Data, its reimbursement state of keeping accounts for preserving is credible and unique, prevents from repeating to submit an expense account and repeat the purpose for keeping accounts so as to reach.
Based on said method, further, in step S13, if the state of electronics authority reimbursement supervision data is for
Reimbursement state or the state that kept accounts, then produce miscue information and sending to the process of Finance System and specifically include:If
The state of electronics authority reimbursement supervision data to submit an expense account state, produce not reproducible reimbursement miscue information and send to
Financial system;If the state of electronics authority reimbursement supervision data is the state that keeps accounts, the not reproducible miscue for keeping accounts is produced
Information is simultaneously sent to financial system.
Further, methods described also includes:If the state of electronics reimbursement supervision data will not submitted an expense account not submit an expense account state
State is changed to submit an expense account state;If the state of electronics reimbursement supervision data is the state that do not keep accounts, the state that will not submit an expense account is changed to
Kept accounts state.
Further, in step S13, submit an expense account the administration module that keeps accounts and supervised according to the electronics authority that supervision code generation module is returned
Pipe code, the process that electronics authority reimbursement supervision data corresponding with electronics authority supervision code are searched in supervision data base is specifically wrapped
Include:The electronics authority supervision code that the administration module that keeps accounts is returned according to supervision code generation module is submitted an expense account, is searched in supervision data base
To the standard supervision code consistent with electronics authority supervision code, establishing criteria supervision code, search in supervision data base and carry mark
The electronics authority of quasi- supervision code submits an expense account the supervision data that keep accounts.
Wherein, standard supervision code is to keep accounts to supervise data generation simultaneously with the reimbursement of electronics authority, when electronics authority is issued
Both electronics authority had been generated and had submitted an expense account the supervision data that keep accounts, standard supervision code had also been generated simultaneously, standard supervision code had been stored in electronics authority
Reimbursement keeps accounts in supervision data.
Further, methods described is further comprising the steps of:
S21:The electronics authority batch for submitting an expense account the administration module reception Finance System transmission that keeps accounts submits an expense account the request that keeps accounts, and obtains
Batch electronics authority data are transmitted to one by one prison by the batch electronics authority data that the sub- authority batch reimbursement of power taking keeps accounts in request
Pipe code generation module;
S22:Supervision code generation module receives batch electronics authority data, by reading electronics authority data one by one come one by one
Generate electronics authority supervision data, and electronics authority supervision data are returned to into reimbursement and keep accounts administration module;
S23:Submit an expense account the administration module that keeps accounts and receive the electronics authority supervision code that supervision code generation module is returned, in supervision data
Electronics authority reimbursement supervision data corresponding with electronics authority supervision code are searched in storehouse, if the shape of electronics authority reimbursement supervision data
State produces miscue information to submit an expense account state or the state that kept accounts, then and sends to Finance System;
S24:Submit an expense account the administration module that keeps accounts to assemble all miscue information for producing, the result after being assembled
And send to Finance System;
Wherein, reimbursement keeps accounts administration module using multiple thread parallels process batch electronics authority data.
The electronics authority of the present invention submits an expense account the method that keeps accounts, and by providing unified supervision interface, electronics authority is issued
Supervised with the reimbursement process of keeping accounts, the electronics authority of specification electronic third-party ticket service system issues flow process and business finance
The electronics authority reimbursement flow process of system;Also, arrange the reimbursement of electronics authority in by issuing process of supervision in electronics authority to keep accounts
State, realizes the supervision kept accounts to the reimbursement of electronics authority, prevents electronics authority from repeating to submit an expense account and repeat to keep accounts;And, by propping up
Hold batch electronics authority reimbursement keep accounts, reduce the workload of Enterprises ' Financial Workers, at the same also improve financial staff submit an expense account into
The work efficiency of account.
The method and system that a kind of electronics authority reimbursement provided by the present invention keeps accounts are described in detail above.This
Apply specific case in text to be set forth the principle and embodiment of the present invention, the explanation of above example is only intended to
Help understands the method for the present invention and its core concept.It should be pointed out that for those skilled in the art,
Without departing from the principles of the invention, some improvement and modification can also be carried out to the present invention, these are improved and modification also falls
Enter in the protection domain of the claims in the present invention.