Summary of the invention
The embodiment of the present application provides a kind of refund processing method and server, it is intended to which the operation cost for reducing enterprise mentions
The efficiency of management of the high enterprise to multiple subsidiaries.
In a first aspect, the embodiment of the present application provides a kind of refund processing method, this method comprises:
First server is based on the first transaction platform and sends contract information list to terminal, and the contract information list includes
The information of target account and multiple trade contracts of multiple companies signature, the trade contract includes that the target account is not refunded
Debt contract, first transaction platform operates on communication platform, and the communication platform is corresponding with second server, described
Communication platform is installed on the terminal;
The refund that the first server receives the first contract that the terminal is sent according to the contract information list is asked
It asks, first contract is any one in the debt contract, and the different transaction of company is signed in the debt contract and is closed
It is different with the collecting account of corresponding debt;
The first server requests to obtain payment authorization code, the third service from third server according to the refund
Device is the vendor platforms service of Third-party payment channel;
The first server is based on first transaction platform and sends the payment authorization code to terminal, and the payment is awarded
Weighted code is for authorizing the terminal branch to come across;
Signature of the first server according to the successful payment result of the first contract debt to first contract
The system of company sends the data information of the payment.
The embodiment of the present application is realized by the interface platform and system docking in server end and multiple subsidiaries of enterprise
With the data interaction between multiple subsidiaries, and only need to dock in terminal to operate in a transaction platform on communication platform i.e.
The client that multiple subsidiaries can be achieved mentions in the operation that the transaction platform is completed to refund to reduce the operation cost of enterprise
The efficiency of management of the Gao Liao enterprise to multiple subsidiaries.
With reference to first aspect, in the first possible embodiment of first aspect, the first server is based on institute
State the first transaction platform to terminal send contract information list before, further includes:
The first server receives the contract information inquiry request that the terminal is sent, the contract information inquiry request
Turn after receiving the contract information inquiry request that the terminal is inputted based on first transaction platform for the second server
Issue the request of the first server, the contract information inquiry request carry the identity information of the target account with
In the contract information for inquiring the target account.
Can be realized the inquiry of contract information using the embodiment of the present application so that client can in time active inquiry its
Contract information under one's name, and activly request is refunded in time, to create a further reduction company a possibility that reducing back money
The operations risks undertaken.
The possible embodiment of with reference to first aspect the first, in second of possible embodiment of first aspect
In, after the first server sends contract information list to terminal based on first transaction platform, the first service
Before the refund that device receives the first contract that the terminal is sent according to the contract information list is requested, further includes:
First contract that the first server is sent according to the terminal withholds money verification request verification
As a result;
The first server is based on first transaction platform and sends the check results to the terminal, so that described
Terminal is judged not initiate to first contract in the case where withholding money operation, according to described according to the check results
Contract information list sends the refund request of first contract to the first server.
The embodiment of the present application is verified by carrying out the money that withholds of debt contract, is avoided and is being initiated to withhold after money operates again
Dual refund problem caused by secondary refund ensure that the accuracy of each debt contract refund number.
The possible embodiment of second with reference to first aspect, in the third possible embodiment of first aspect
In, the money that withholds for first contract that the first server is sent according to the terminal verifies request check results,
Include:
The money verification request that withholds that the first server parses first contract that the terminal is sent obtains first
Information, the first information are the trade contract that first contract is the target account and the signature of the first company;
The first server sends described first to the interface platform of first company according to the first information and closes
Same withholds money verification request;
The first server receives the check results that the interface platform of first company is sent.
In the embodiment of the present application, the money verification company as corresponding to the contract that withholds of debt contract is verified, from
And ensure that the accuracy of check results, in addition, each subsidiary manages the respective contract of verification respectively, to alleviate total public affairs
Take charge of the burden of server.
The third possible embodiment with reference to first aspect, in the 4th kind of possible embodiment of first aspect
In, the refund that the first server receives the first contract that the terminal is sent according to the contract information list requests it
Afterwards, before the first server requests to obtain payment authorization code from third server according to the refund, further includes:
The first server requests to generate pay invoice number according to the refund, and the pay invoice number is for inquiring institute
State the refund situation of the first contract.
The pay invoice number that the embodiment of the present application is refunded by generation contract inquires the contract convenient for client and intra-company
Refund information, thus improve contract refund the efficiency of management.
With reference to first aspect, the possible embodiment of the first of first aspect, second of possible reality of first aspect
The 4th kind of possible embodiment for applying mode, the third possible embodiment of first aspect or first aspect, first
In 5th kind of possible embodiment of aspect, the first server requests to obtain branch from third server according to the refund
Pay authorization code, comprising:
For the first server according to the refund request call payment system, the payment system is with the second company
Trade company's account dock the channel of disbursement vendor platforms to external system;
The first server receives the payment that the channel of disbursement vendor platforms generate by the payment system and awards
Weighted code.
The embodiment of the present application docks channel of disbursement vendor platforms by trade company's account of a company, passes through trade company's account
Number obtain channel of disbursement vendor platforms generate payment authorization code, payment authorization code is then fed back into payment system, then lead to
It crosses payment system and is sent to first server, which is sent to corresponding terminal again and is gone back by first server
Money realizes the refund for the contract for only needing trade company's account that different subsidiaries can be realized.
The 5th kind of possible embodiment with reference to first aspect, in the 6th kind of possible embodiment of first aspect
In, the first server is according to the successful payment result of the first contract debt to the signature company of first contract
Core system sends the data information of the payment, comprising:
The first server timing inquiry obtains the first payment result, and first payment result is first contract
Debt successfully pay;
The first server determines that the second information, second information are described first according to first payment result
Contract is the trade contract of the target account and the signature of the first company;
The first server pushes the data of the payment according to second information to the system of first company
Information, the data information of the payment are used for the refund record of the first contract described in the system update for first company.
The embodiment of the present application is inquiring the successful refund situation of corresponding contract by timing, then judges the label of the contract
Then company, administration sends the data information of refund to the refund for being used to update the contract in the system of corresponding signature company
Record, to realize the refund demand for completing the client of multiple subsidiaries by trade company's account.
Second aspect, the embodiment of the present application provide a kind of first server, which includes:
First transmission unit, for sending contract information list, the contract to terminal based on first transaction platform
Information list includes the information of multiple trade contracts of target account and the signature of multiple companies, and the trade contract includes the mesh
The debt contract do not refunded of mark account, first transaction platform operate on communication platform, and the communication platform is corresponding with the
Two servers, the communication platform installation is on the terminal;
First receiving unit, for receiving the refund for the first contract that the terminal is sent according to the contract information list
Request, first contract are any one in the debt contract, and the different transaction of company is signed in the debt contract
The collecting account of the corresponding debt of contract is different;
First acquisition unit, for obtaining payment authorization code, the third from third server according to refund request
Server is the vendor platforms service of Third-party payment channel;
First transmission unit is also used to send the payment authorization code to terminal based on first transaction platform,
The payment authorization code is for authorizing the terminal branch to come across;
First transmission unit is also used to be closed according to the successful payment result of the first contract debt to described first
The system of same signature company sends the data information of the payment.
In conjunction with second aspect, in the first possible embodiment of second aspect, in the first transmission unit base
Before first transaction platform sends contract information list to terminal,
First receiving unit is also used to receive the contract information inquiry request that the terminal is sent, the contract letter
Breath inquiry request receives the contract information that the terminal is inputted based on first transaction platform for the second server and looks into
The request that the first server is transmitted to after requesting is ask, the contract information inquiry request carries the body of the target account
Part information is with the contract information for inquiring the target account.
In conjunction with the first possible embodiment of second aspect, in second of possible embodiment of second aspect
In, the first server further includes second acquisition unit, and the second acquisition unit is used in the first transmission unit base
After first transaction platform sends contract information list to terminal, first receiving unit receive the terminal according to
Before the refund request for the first contract that the contract information list is sent, according to first contract of terminal transmission
Withhold money verification request check results;
First transmission unit is also used to send the verification knot to the terminal based on first transaction platform
Fruit, so that the terminal is judged not initiate to first contract the case where withholding money operation according to the check results
Under, it is requested according to the contract information list to the refund that the first server sends first contract.
In conjunction with second of possible embodiment of second aspect, in the third possible embodiment of second aspect
In, the second acquisition unit includes resolution unit, the second transmission unit and the second receiving unit, the second acquisition unit root
First contract sent according to the terminal withholds money verification request check results, specifically:
The resolution unit, the money verification request that withholds for parsing first contract that the terminal is sent obtain the
One information, the first information are the trade contract that first contract is the target account and the signature of the first company;
Second transmission unit, described in being sent according to the first information to the interface platform of first company
First contract withholds money verification request;
Second receiving unit, the check results that the interface platform for receiving first company is sent.
In conjunction with the third possible embodiment of second aspect, in the 4th kind of possible embodiment of second aspect
In, the first server further includes generation unit, and the generation unit is used to receive the end in first receiving unit
After the refund request for the first contract that end is sent according to the contract information list, the first acquisition unit is gone back according to described
Before money request obtains payment authorization code from third server, requested to generate pay invoice number, the payment according to the refund
Order number is used to inquire the refund situation of first contract.
The first possible embodiment, second of possible reality of second aspect in conjunction with second aspect, second aspect
The 4th kind of possible embodiment for applying mode, the third possible embodiment of second aspect or second aspect, second
In 5th kind of possible embodiment of aspect, the first acquisition unit includes call unit and third receiving unit, described
First acquisition unit requests to obtain payment authorization code from third server according to the refund, specifically:
The call unit, for according to the refund request call payment system, the payment system to be with the second public affairs
Trade company's account of department dock the channel of disbursement vendor platforms to external system;
The third receiving unit, for receiving what the channel of disbursement vendor platforms generated by the payment system
Payment authorization code.
The embodiment of the present application docks channel of disbursement vendor platforms by trade company's account of a company, passes through trade company's account
Number obtain channel of disbursement vendor platforms generate payment authorization code, payment authorization code is then fed back into payment system, then lead to
It crosses payment system and is sent to first server, which is sent to corresponding terminal again and is gone back by first server
Money realizes the refund for the contract for only needing trade company's account that different subsidiaries can be realized.
In conjunction with the 5th kind of possible embodiment of second aspect, in the 6th kind of possible embodiment of second aspect
In, first transmission unit includes query unit, determination unit and push unit, and first transmission unit is according to described
The successful payment result of one contract debt sends the data of the payment to the core system of the signature company of first contract
Information, specifically:
The query unit inquires for timing and obtains the first payment result, and first payment result is described first
The debt of contract is successfully paid;
The determination unit, for determining the second information according to first payment result, second information is described
First contract is the trade contract of the target account and the signature of the first company;
The push unit, for pushing the number of the payment to the system of first company according to second information
It is believed that breath, the data information of the payment is used for the refund record of the first contract described in the system update for first company.
The embodiment of the present application is inquiring the successful refund situation of corresponding contract by timing, then judges the label of the contract
Then company, administration sends the data information of refund to the refund for being used to update the contract in the system of corresponding signature company
Record, to realize the refund demand for completing the client of multiple subsidiaries by trade company's account.
The third aspect, the embodiment of the present application provide a kind of computer readable storage medium, the computer storage medium
It is stored with computer program, the computer program includes program instruction, and described program instruction makes institute when being executed by a processor
It states processor and executes method described in above-mentioned first aspect.
Fourth aspect, the embodiment of the present application provide a kind of server, including processor, communication interface and memory, institute
It states processor, communication interface and memory to be connected with each other, wherein the memory is for storing application code, the place
Reason device is configured for calling the application code, executes method described in above-mentioned first aspect.
In conclusion the embodiment of the present application passes through the interface platform and system in server end and multiple subsidiaries of enterprise
The data interaction between multiple subsidiaries is realized in docking, and only needs to dock one operated on communication platform in terminal
The client that multiple subsidiaries can be realized in transaction platform completes the operation refunded in the transaction platform, to reduce the fortune of enterprise
Cost is sought, improves enterprise to the efficiency of management of multiple subsidiaries.
Specific embodiment
The term " includes " and " having " that occur in the specification of this programme, claims and attached drawing and they are any
Deformation, it is intended that cover and non-exclusive include.Such as contain the process, method, system, product of a series of steps or units
Or equipment is not limited to listed step or unit, but optionally further comprising the step of not listing or unit, or can
Selection of land further includes the other step or units intrinsic for these process, methods, product or equipment.In addition, term " first ",
" second " and " third " etc. are and to be not intended to describe specific sequence for distinguishing different objects.
In order to make those skilled in the art more fully understand the present invention program, below in conjunction with attached in the embodiment of the present application
Figure, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only this
The embodiment of a part is invented, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without making creative work, should fall within the scope of the present invention.
The embodiment of the present application provides a kind of refund processing method and server, the embodiment of the present application pass through in server end
With the interface platform and system docking of multiple subsidiaries of enterprise, the data interaction between multiple subsidiaries is realized, and at end
The client that multiple subsidiaries can be realized in the transaction platform that end only needs docking to operate on communication platform is flat in the transaction
The operation that platform is completed to refund improves enterprise to the efficiency of management of multiple subsidiaries to reduce the operation cost of enterprise.
It is described in detail separately below.
First the system architecture of this programme is described below.Refering to fig. 1, Fig. 1 is one kind that this programme embodiment provides
The system architecture schematic diagram of refund processing method.As shown in Figure 1, system architecture may include first server, second server,
The interface platform and system of third server, terminal (or equipment) and company, wherein first server, second server and
Third server can be made of (multiple servers may be constructed a server cluster) one or more servers respectively, the
One server can be the primary server of this programme system, can include but is not limited to background server, component server, information
Processing server etc., first server can by internet and second server, third server, company interface platform and
System is communicated.First server provides refund processing service for terminal.It needs to run on server and has corresponding server
Program is held to provide processing service of refunding accordingly, such as information database service, data calculating, decision execution etc..
Second server can be the server of a communication platform, interact between first server and terminal for forwarding
Data information, i.e., reception terminal send data information be transmitted to first server and receive first server send number
It is believed that breath is transmitted to terminal.Third server can be the server of an external channel of disbursement vendor platforms, can be the
One server service is to realize relevant payment function.The interface platform and system of company may include that one or more son is public
The interface platform and system of department, for providing the data information of needs for first server and receiving what first server was sent
Data information.
Terminal may include one or more, can install in terminal and run relevant application (or APP).Using referring to
It is corresponding with server, the program of local service is provided for client.In the present solution, flat using can include but is not limited to communication
Platform application, local service may include but be not limited to: to server send information (such as inquiry request information or refund request letter
Breath etc.) and receive server transmission information (for example, query result information or transaction payment authorization information etc.).This programme
Terminal in embodiment can include but is not limited to any hand-held electronic product based on intelligent operating system, can be with
User carries out human-computer interaction by input equipments such as keyboard, dummy keyboard, touch tablet, touch screen and voice-operated devices, such as
Smart phone, tablet computer, PC etc..Wherein, intelligent operating system includes but is not limited to any by mobile device
Various mobile applications are provided to enrich the operating system of functions of the equipments, such as Android (Android), iOSTM、Windows Phone
Deng.It should be noted that the system architecture that the embodiment of the present application can be applied to is not limited to framework described in Fig. 1.
System architecture based on a kind of refund processing method that this programme embodiment that Fig. 1 is provided provides, is provided below one
Kind refund processing method, flow chart are as shown in Figure 2.This method may comprise steps of:
Step 201, first server are based on first transaction platform and send contract information list to terminal.
In the particular embodiment, communication platform is installed in terminal, the first transaction platform is run on communication platform, it should
First transaction platform is a transaction platform of the first enterprise operation, specifically, the communication platform can be wechat, described the
One transaction platform can be wechat public platform transaction platform, which includes multiple subsidiaries, which uses
Online transaction activity is carried out in first enterprise and its multiple subsidiaries and client, has logged in target account on first transaction platform
The account at family, the target account are the account of any one client in the client of first enterprise and its multiple subsidiaries.Institute
The interface platform and system docking for stating first server and first enterprise and its multiple subsidiaries, may be implemented the friendship of data
Mutually.The first server can obtain the conjunction of target account by the interface platform of first enterprise and its multiple subsidiaries
Same information, specifically, the first server can send target account to the interface platform of the first enterprise and its multiple subsidiaries
The inquiry request at family is sent respectively to after each interface platform inquires corresponding trade contract information according to inquiry request
The first server, the server obtain the contract information that each docking platform is sent, and by these contract informations with
The form of list is sent to the terminal.
Step 202, the terminal receive the contract information list.
Step 203, the terminal send first contract to the first server according to the contract information list
Refund request.
In a particular embodiment, the terminal receives the contract for the target account that the first server is sent
Information list, the terminal are requested according to the refund that the contract information list can send the first contract to first server.
Wherein, the contract information list may include that the corresponding client of the target account and first enterprise and its multiple sons are public
One or more contract informations of signature are taken charge of, which may include that target account does not pay off corresponding public affairs
The contract information of the debt of department.First contract can be any one in the contract of the debt.
Step 204, the first server receive the refund request.
Step 205, the first server request to obtain payment code from third server according to the refund.
Step 206, the first server are based on first transaction platform and send the payment authorization to the terminal
Code.
In a particular embodiment, the third server is the server of channel of disbursement vendor platforms, first server
After the refund request for receiving terminal transmission, which can initiate to obtain payment authorization code to third server
Then request obtains the payment authorization code that third server generates, and authorization code is sent to terminal to be used for terminal payment the
The debt of one contract.
Step 207, the terminal receive the payment authorization code.
Step 208, the terminal pay the debt of first contract according to the payment authorization code.
In a particular embodiment, it after terminal receives the payment authorization code that first server is sent, is awarded according to the payment
Weighted code completes the payment of the first contract debt.
Step 209, the first server are closed according to the successful payment result of the first contract debt to described first
The system of same signature company sends the data information of the payment.
In the particular embodiment, first server and the system of the signature company of the first contract can communicate with each other, the
The debt that one server inquires the first contract has been completed to pay, then according to the result of completion payment to the first contract
The system of signature company sends the data information of completion payment.
The embodiment of the present application is realized by the interface platform and system docking in server end and multiple subsidiaries of enterprise
With the data interaction between multiple subsidiaries, and only need to dock in terminal to operate in a transaction platform on communication platform i.e.
The client that multiple subsidiaries can be achieved mentions in the operation that the transaction platform is completed to refund to reduce the operation cost of enterprise
The efficiency of management of the Gao Liao enterprise to multiple subsidiaries.
In a kind of wherein possible embodiment, the first server is based on first transaction platform and sends out to terminal
Before sending contract information list, further includes: the first server receives the contract information inquiry request that the terminal is sent, institute
Stating contract information inquiry request is that the second server receives the conjunction that the terminal is inputted based on first transaction platform
With the request for being transmitted to the first server after information inquiring request, the contract information inquiry request carries the target
The identity information of account is with the contract information for inquiring the target account.
In a particular embodiment, first server can be to the contract information list that the terminal sends target account
Receive the operation that executes in the case where the inquiry request of terminal transmission, specifically, when target account need to know its under one's name with this
When the information of the trade contract of the first enterprise and its subsidiary's signature, which is sent out by the terminal to first server
Inquiry request is sent, the identity information of client corresponding to the target account is carried in inquiry request, to be used for first server
Its corresponding trade contract information is inquired according to the identity information.In the particular embodiment, terminal is sent to first server
Inquiry request be to be forwarded by second server, second server is the background server of communication platform installed in terminal,
Due to the data information actually between terminal and first server interact the first transaction platform to run on communication platform with
Data interaction between first server, and the first transaction platform sends and receives data needs and is turned by second server
Hair.Therefore, inquiry request is first sent to second server by terminal, and the inquiry request is transmitted to the first clothes by second server
Business device.
Can be realized the inquiry of contract information using the embodiment of the present application so that client can in time active inquiry its
Contract information under one's name, and activly request is refunded in time, to create a further reduction company a possibility that reducing back money
The operations risks undertaken.
In a kind of wherein possible embodiment, the first server is based on first transaction platform and sends out to terminal
After sending contract information list, the first server receives the terminal and is closed according to first that the contract information list is sent
Before same refund request, further includes: first contract that the first server is sent according to the terminal withholds money
Verify request check results;The first server is based on first transaction platform and sends the verification to the terminal
As a result, so that the terminal is being judged not initiate the feelings for withholding money operation to first contract according to the check results
Under condition, requested according to the contract information list to the refund that the first server sends first contract.
In a particular embodiment, include the overdue clause for withholding money in contract due to when signing a contract, i.e., if it exceeds
Not yet also, then client corresponding with the target account signs the public affairs of first contract to the debt of time limit first trade contract
Taking charge of, which can initiate to withhold money, operates to recover a debt, therefore, in order to avoid repeating to refund to first contract, the terminal
It can first request, ask to the money verification that withholds that the first server sends first trade contract before initiating refund request
First server verification is asked to inquire whether described first trade contract has initiated to withhold money operation.It is described withhold money operation be
According to the behavior of the debt for withholding first contract for payment deduction clause of first contract.Specifically, the first service
The money verification that withholds that device receives first contract that terminal is sent is requested, according to the verification request check results, and will
Check results are sent to terminal.If the check results are without initiating to withhold money operation to the first contract, terminal can
To request the refund to the first contract according to the check results;If check results are to have initiated to withhold money to the first contract
Operation, then terminal can not have to request the refund to the first contract again.
The embodiment of the present application is verified by carrying out the money that withholds of debt contract, is avoided and is being initiated to withhold after money operates again
Dual refund problem caused by secondary refund ensure that the accuracy of each debt contract refund number.
Wherein one is in embodiment, first contract that the first server is sent according to the terminal
Withhold money verification request check results, comprising: first contract that the first server is sent according to the terminal
Withhold the money verification request first information, the first information be first contract be the target account with it is first public
Take charge of the trade contract of signature;The first server sends institute to the interface platform of first company according to the first information
That states the first contract withholds money verification request;The first server receives the verification that the interface platform of first company is sent
As a result.
In the particular embodiment, what the first server received first contract that the terminal is sent withholds money
After verification request, first requested to determine that the company for signing first contract is the first company according to the verification, which is
Any one in first enterprise and its multiple subsidiaries, then according to determining signature company by first contract
Withholding money verification requests the interface platform for being sent to the first company to carry out verification inquiry, and the first server receives the first company
The check results that feed back of interface platform, then the check results are sent to the terminal by the first server.
In the embodiment of the present application, the money verification company as corresponding to the contract that withholds of debt contract is verified, from
And ensure that the accuracy of check results, in addition, each subsidiary manages the respective contract of verification respectively, to alleviate total public affairs
Take charge of the burden of server.
In a kind of wherein embodiment, the first server receives the terminal and is sent out according to the contract information list
After the refund request of the first contract sent, the first server is requested to obtain from third server and be paid according to the refund
Before authorization code, further includes: the first server requests to generate pay invoice number, the pay invoice number according to the refund
For inquiring the refund situation of first contract.
In a particular embodiment, it after the refund that first server receives the first contract is requested, is requested according to the refund
Pay invoice number is generated, which is the order number of enterprises well, can be used for inquiring the payment feelings of first contract
Condition.After the generation and preservation of completing pay invoice, first server is further according to refund request payment authorization code.
The pay invoice number that the embodiment of the present application is refunded by generation contract inquires the contract convenient for client and intra-company
Refund information, thus improve contract refund the efficiency of management.
In a kind of wherein embodiment, the first server requests to obtain branch from third server according to the refund
Pay authorization code, comprising: for the first server according to the refund request call payment system, the payment system is with second
Trade company's account of company dock the channel of disbursement vendor platforms to external system;The first server passes through the payment
System obtains the payment authorization code that the channel of disbursement vendor platforms generate.
In a particular embodiment, the refund that the first server receives first contract that the terminal is sent is asked
After asking, according to the refund request call payment system, which docks channel of disbursement vendor platforms, and payment system is logical
It crosses and initiates to obtain the request of payment authorization code to channel of disbursement vendor platforms, it is raw that payment system obtains channel of disbursement vendor platforms
At payment authorization code after, which is sent to the first server, the first server obtains the branch
It pays authorization code and the payment authorization code is sent to the terminal later.Specifically, the payment system can be with first enterprise
The title of industry opens an account to dock channel of disbursement vendor platforms, this is because channel of disbursement supplier regulation is in a transaction platform
Trade company's account can only be docked, therefore, the embodiment of the present application only externally docks channel of disbursement with trade company's account of a company
Vendor platforms, with the trade company, account receives the refund of the client of each company, then further according to the signature company of trade contract,
Refund is got in the account of corresponding signature company.
The embodiment of the present application docks channel of disbursement vendor platforms by trade company's account of a company, passes through trade company's account
Number obtain channel of disbursement vendor platforms generate payment authorization code, payment authorization code is then fed back into payment system, then lead to
It crosses payment system and is sent to first server, which is sent to corresponding terminal again and is gone back by first server
Money realizes the refund for the contract for only needing trade company's account that different subsidiaries can be realized.
In a kind of wherein embodiment, the first server is according to the successful payment result of the first contract debt
The data information of the payment is pushed to the core system of the signature company of first contract, comprising: the first server
Timing inquiry obtains the first payment result, and first payment result is that the debt of first contract is successfully paid;It is described
First server determines that the second information, second information are that first contract is the mesh according to first payment result
Mark the trade contract of account and the signature of the first company;The first server is according to second information to first company
System sends the data information of the payment, and the data information of the payment is used for described in the system update for first company
The refund of first contract records.
In the particular embodiment, the server can periodically inquire the refund information of each debt contract, when described
After payment is completed in the refund of one trade contract, server, which will record, updates its refund situation, while determining first contract again
Signature company, then to its sign company system send the first contract debt payment complete as a result, and will receive
The debt of first contract get in its account for signing company, which can payment data information update based on the received
The refund of upper first contract records and updates the repayment schedule of the target account.
The embodiment of the present application is inquiring the successful refund situation of corresponding contract by timing, then judges the label of the contract
Then company, administration sends the data information of refund to the refund for being used to update the contract in the system of corresponding signature company
Record, to realize the refund demand for completing the client of multiple subsidiaries by trade company's account.
In order to make it easy to understand, a kind of following embodiment will be provided.
It is please a kind of a kind of system framework figure of refund processing method provided by the present application referring initially to Fig. 3, Fig. 3.Wherein 301
For wechat payment module, payment channel is provided for refunding for client, the application program wechat application of wechat payment 301 is mounted on
In terminal, while wechat application has background server, which can be the second service in system framework described in Fig. 1
Device, the data information sent for forwarding terminal by wechat application;302 be the first business system, including internal service module,
External service module, message queue configuration center, each height of the interface module of channel of disbursement vendor platforms and the first enterprise
The system of company, the first business system 302 further includes primary server, the primary server can control the internal service module of scheduling,
The interface module of external service module, message queue configuration center and channel of disbursement vendor platforms, can also be public with each height
The system of department communicates with each other carry out data interaction, specifically, the primary server of the first business system 302 can be described in Fig. 1 and be
First server in system frame;The system of each subsidiary can be connecing for each subsidiary in system framework described in Fig. 1
Mouth platform and system;Fast to pay logical 303 be channel of disbursement vendor platforms, is corresponding with background server, which can be with
It is the third server in system framework described in Fig. 1.Business system 302 can be logical by external service module and wechat application
Letter is communicated by channel of disbursement vendor platforms interface module with fast pair logical 303.
Referring to Fig. 4, including a kind of flow chart of refund processing method provided by the present application shown in Fig. 4, which is related to
And the various interactions arrived are corresponding with system framework figure described in Fig. 3.Specifically includes the following steps:
Step 1, terminal log in enterprise's public platform system.
Specifically, enterprise's public platform system can be the wechat public for operating in wechat and applying the first upper enterprise operation
Number transaction platform, client can log in enterprise's public platform system by terminal.
Step 2, terminal inquire the signature company of contract information and contract by identification card number.
Specifically, terminal sends contract information inquiry request to the first business system, carried in inquiry request corresponding
The inquiry request is sent to the interface platform of each subsidiary by identification card number, the primary server of the first business system.
Step 3, each subsidiary interface platform according in inquiry request identification card number provide with the identification card number pair
The contract information list answered.
Specifically, being looked into after the interface platform of each subsidiary receives inquiry request according to the identification card number in inquiry request
Corresponding contract information list is ask, the list inquired is respectively then returned into the first business system, the first business system
Primary server send terminal for these contract information lists again to show in enterprise's public platform system.
Step 4, terminal select overdue contract to refund after receiving these list informations, and initiation withholds verification.
Company's interface platform return of step 5, the overdue contract is not initiated to withhold the check results of verification.
Step 6, terminal are requested according to the refund that check results initiate the overdue contract.
After step 7, the first business system receive the refund request, call the first payment system that please seek survival according to refunding
Terminal is sent at internal pay invoice, and by the inside pay invoice to show in enterprise's public platform system.
Specifically, the first payment system can be a subsystem in the internal service module in system framework described in Fig. 3
System.
After step 8, the internal pay invoice of the first business system return first according to the refund request call
The system of paying obtains payment authorization code.
Step 9, first payment system pay canal according to the request call that the first business system obtains payment authorization code
Road vendor platforms pay logical acquisition payment authorization code fastly.
Step 10, the channel of disbursement vendor platforms are paid logical according to first payment system acquisition payment authorization code fastly
Request generate and return to payment authorization code to first payment system, the primary server of the first business system is from the first payment
Payment authorization code is obtained in system is sent to terminal to be shown in enterprise's public platform system.
Step 11, terminal can call wechat payment function after paying according to the confirmation of payment authorization code.
Step 12, wechat payment are completed to payment can be completed after the authorization of the delivery operation.
Step 13, after completing payment, the result that payment is completed can be returned to channel of disbursement supplier and put down by wechat application
Platform is paid logical fastly.
The payment result, the fast Fu Tonggen of channel of disbursement vendor platforms are inquired in step 14, first payment system timing
The payment result is returned according to the inquiry request of the first payment system.
Step 15, first payment system receive the payment result, and save the payment record, then judge the branch
Pay the signature company for recording corresponding contract.
Step 16, first payment system are by using the mode of message queue MQ data-pushing by the branch of the payment
Data-pushing is paid to the system of the signature company of the corresponding contract of the payment record, the system of the signature company receives the payment number
It is recorded according to the refund for later, updating corresponding contract, while the advance deposit of the corresponding client of the contract can also be updated and meter of refunding
It draws.
A kind of specific implementation of refund processing method shown in Fig. 4 and beneficial effect can also be shown in Fig. 2 to should refer to
Corresponding description in embodiment of the method, details are not described herein again.
In addition, being based on system framework shown in Fig. 3, the function of based on contract number inquiry refund record can also be realized, it can
With referring to fig. 4, specific steps include:
Step A-1, based on contract terminal number initiates the refund record queries request of the contract.
Specifically, contract number is input in enterprise's public platform system, enterprise's public platform system passes through according to the contract number
Terminal sends the request of refund record queries to the first business system.
Step A-2, after the first business system receives refund record queries request, based on contract number contract is determined
Signature company, the signature that then refund record queries request is sent the contract by the primary server of the first business system are public
The interface platform of department, the interface platform are recorded according to the refund that refund record queries request inquires corresponding contract, and
Refund record is returned into the first business system, refund record is sent to terminal again to be shown to by the first business system
In enterprise's public platform system.
Based on system framework shown in Fig. 3, it can also realize the function of based on contract number inquiry payment result, may refer to
Fig. 4, specific steps include:
Step B-1, based on contract terminal number initiates the payment result inquiry request of the contract.
Specifically, contract number is input in enterprise's public platform system, enterprise's public platform system passes through according to the contract number
Terminal sends the payment result inquiry request of the contract to the first payment system.
Step B-1, after the first payment system receives the payment result inquiry request, according to what is carried in the inquiry request
Contract number inquires the payment result of corresponding contract, and the payment result that this is inquired returns to terminal to be shown to enterprise
In public platform system.
Above-mentioned two application embodiment can inquire the refund record of contract by enterprise's public platform system in wechat
And the refund payment result of contract, it is convenient and efficient, improve user experience.
For the ease of better implementing above scheme of the invention, the also corresponding one kind first that provides of the embodiment of the present application is taken
It is engaged in device, 5 is described in detail with reference to the accompanying drawing:
Fig. 5 show a kind of structural schematic diagram of first server 500, and first server 500 can be one kind shown in Fig. 1
First server in the system architecture of refund processing method.First server 500 includes: the first transmission unit 501, and first connects
Receive unit 502, first acquisition unit 503, in which:
First transmission unit 501, for sending contract information list, the conjunction to terminal based on first transaction platform
It include the information of multiple trade contracts of target account and the signature of multiple companies with information list, the trade contract includes described
The debt contract that target account is not refunded, first transaction platform operate on communication platform, and the communication platform is corresponding with
Second server, the communication platform installation is on the terminal;
First receiving unit 502, the first contract sent according to the contract information list for receiving the terminal
It refunds and requests, first contract is any one in the debt contract, and it is different that company is signed in the debt contract
The collecting account of the corresponding debt of trade contract is different;
First acquisition unit 503, for according to refunds request from third server acquisition payment authorization code, described the
Three servers are the vendor platforms service of Third-party payment channel;
First transmission unit 501 is also used to send the payment authorization code, institute to terminal based on first transaction platform
Payment authorization code is stated for authorizing the terminal branch to come across;
First transmission unit 501 is also used to be closed according to the successful payment result of the first contract debt to described first
The system of same signature company sends the data information of the payment.
In a kind of wherein embodiment, first transaction platform is based in the first transmission unit 501 and is sent to terminal
Before contract information list,
First receiving unit 502 is also used to receive the contract information inquiry request that the terminal is sent, the contract information
Inquiry request is the contract information inquiry that the second server receives that the terminal is inputted based on first transaction platform
The request of the first server is transmitted to after request, the contract information inquiry request carries the identity of the target account
Information is with the contract information for inquiring the target account.
In a kind of wherein embodiment, first server 500 further includes second acquisition unit, the second acquisition unit
For after the first transmission unit 501 sends contract information list to terminal based on first transaction platform, first to be received
Before the refund that unit 502 receives the first contract that the terminal is sent according to the contract information list is requested, according to described
First contract that terminal is sent withholds money verification request check results;
First transmission unit 501 is also used to send the check results to the terminal based on first transaction platform,
So that the terminal is judged not initiate to first contract in the case where withholding money operation according to the check results,
The refund request of first contract is sent to the first server according to the contract information list.
In a kind of wherein embodiment, the second acquisition unit includes resolution unit, the second transmission unit and second
Receiving unit, first contract that the second acquisition unit is sent according to the terminal withhold money verification request school
Test as a result, specifically:
The resolution unit, the money verification request that withholds for parsing first contract that the terminal is sent obtain the
One information, the first information are the trade contract that first contract is the target account and the signature of the first company;
Second transmission unit, described in being sent according to the first information to the interface platform of first company
First contract withholds money verification request;
Second receiving unit, the check results that the interface platform for receiving first company is sent.
In a kind of wherein embodiment, first server 500 further includes generation unit, and the generation unit is used for the
After the refund that one receiving unit 502 receives the first contract that the terminal is sent according to the contract information list is requested, the
Before one acquiring unit 503 requests to obtain payment authorization code from third server according to the refund, requested according to the refund
Pay invoice number is generated, the pay invoice number is used to inquire the refund situation of first contract.
In a kind of wherein embodiment, first acquisition unit 503 includes call unit and third receiving unit, and first obtains
Unit 503 is taken to obtain payment authorization code from third server according to refund request, specifically:
The call unit, for according to the refund request call payment system, the payment system to be with the second public affairs
Trade company's account of department dock the channel of disbursement vendor platforms to external system;
The third receiving unit, for receiving what the channel of disbursement vendor platforms generated by the payment system
Payment authorization code.
In a kind of wherein embodiment, the first transmission unit 501 includes query unit, determination unit and push unit,
First transmission unit 501 according to signature company from the successful payment result of the first contract debt to first contract core
The data information that system sends the payment is felt concerned about, specifically:
The query unit inquires for timing and obtains the first payment result, and first payment result is described first
The debt of contract is successfully paid;
The determination unit, for determining the second information according to first payment result, second information is described
First contract is the trade contract of the target account and the signature of the first company;
The push unit, for pushing the number of the payment to the system of first company according to second information
It is believed that breath, the data information of the payment is used for the refund record of the first contract described in the system update for first company.
The specific implementation of each unit and beneficial effect can be to should refer to Fig. 2 institute in first server 500 shown in fig. 5
Corresponding description in the embodiment of the method shown, details are not described herein again.
Fig. 6 is referred to, Fig. 6 is a kind of property server 600 provided by the embodiments of the present application, the property server 600 packet
Processor 601, memory 602 and communication interface 603 are included, the processor 601, memory 602 and communication interface 603 pass through total
Line 604 is connected with each other.
Memory 602 include but is not limited to be random access memory (random access memory, RAM), it is read-only
Memory (read-only memory, ROM), Erasable Programmable Read Only Memory EPROM (erasable programmable
Read only memory, EPROM) or portable read-only memory (compact disc read-only memory, CD-
ROM), storage of the memory 602 for dependent instruction and data.Communication interface 603 is for sending and receiving data.
Processor 601 can be one or more central processing units (central processing unit, CPU), locate
In the case that reason device 601 is a CPU, which can be monokaryon CPU, be also possible to multi-core CPU.
Processor 601 in the property server 600 is held for reading the program code stored in the memory 602
The following operation of row:
Processor 601 is based on first transaction platform and sends contract information list, institute to terminal by communication interface 603
The information that contract information list includes multiple trade contracts of target account and the signature of multiple companies is stated, the trade contract includes
The debt contract that the target account is not refunded, first transaction platform operate on communication platform, the communication platform pair
There should be second server, the communication platform installation is on the terminal;
Processor 601 receives the terminal by communication interface 603 and is closed according to first that the contract information list is sent
Same refund request, first contract are any one in the debt contract, sign company not in the debt contract
The collecting account of the same corresponding debt of trade contract is different;
Processor 601 requests to obtain payment authorization code from third server according to the refund, and the third server is
Third-party payment channel vendor platforms service;
Processor 601 is based on first transaction platform and sends the payment authorization code to terminal by communication interface 603,
The payment authorization code is for authorizing the terminal branch to come across;
Processor 601 passes through communication interface 603 to described first according to the successful payment result of the first contract debt
The system of the signature company of contract sends the data information of the payment.
In a kind of wherein embodiment, processor 601 is based on first transaction platform and passes through communication interface 603 to end
End is sent before contract information list, further includes:
Processor 601 receives the contract information inquiry request that the terminal is sent, the contract letter by communication interface 603
Breath inquiry request receives the contract information that the terminal is inputted based on first transaction platform for the second server and looks into
The request that the first server is transmitted to after requesting is ask, the contract information inquiry request carries the body of the target account
Part information is with the contract information for inquiring the target account.
In a kind of wherein embodiment, processor 601 is based on first transaction platform and passes through communication interface 603 to end
After end sends contract information list, processor 601 receives the terminal by communication interface 603 and is arranged according to the contract information
Before the refund request for the first contract that table is sent, further includes:
First contract that processor 601 is sent according to the terminal withholds money verification request check results;
Processor 601 is based on first transaction platform and sends the verification knot to the terminal by communication interface 603
Fruit, so that the terminal is judged not initiate to first contract the case where withholding money operation according to the check results
Under, it is requested according to the contract information list to the refund that the first server sends first contract.
In a kind of wherein embodiment, first contract that processor 601 is sent according to the terminal withholds money
Verify request check results, comprising:
The money verification request that withholds that processor 601 parses first contract that the terminal is sent obtains the first information,
The first information is the trade contract that first contract is the target account and the signature of the first company;
Processor 601 is sent by communication interface 603 to the interface platform of first company according to the first information
First contract withholds money verification request;
The check results that processor 601 is sent by the interface platform that communication interface 603 receives first company.
In a kind of wherein embodiment, processor 601 receives the terminal according to the contract by communication interface 603
After the refund request for the first contract that information list is sent, processor 601 requests to obtain from third server according to the refund
Before taking payment authorization code, further includes:
Processor 601 requests to generate pay invoice number according to the refund, and the pay invoice number is for inquiring described the
The refund situation of one contract.
In a kind of wherein embodiment, processor 601 requests to obtain to pay from third server to award according to the refund
Weighted code, comprising:
For processor 601 according to the refund request call payment system, the payment system is with the trade company of the second company
Account dock the channel of disbursement vendor platforms to external system;
Processor 601 receives the channel of disbursement vendor platforms life by the payment system by communication interface 603
At payment authorization code.
In a kind of wherein embodiment, processor 601 passes through according to the successful payment result of the first contract debt
Communication interface 603 sends the data information of the payment to the core system of the signature company of first contract, comprising:
Processor 601 is periodically inquired and obtains the first payment result, and first payment result is owing for first contract
Money is successfully paid;
Processor 601 determines that the second information, second information are first contract according to first payment result
For the trade contract of the target account and the signature of the first company;
Described in processor 601 is pushed by communication interface 603 to the system of first company according to second information
The data information of payment, the data information of the payment are used for going back for the first contract described in the system update for first company
Money record.
It should be noted that the realization of above-mentioned each operation and beneficial effect can also be to should refer to method shown in Fig. 2
The corresponding description of embodiment.
The embodiment of the present application also provides a kind of computer readable storage medium, the computer storage medium is stored with meter
Calculation machine program, the computer program include program instruction, when described program instruction is executed by processor, side shown in Fig. 2
Method process is achieved.
In conclusion the embodiment of the present application passes through the interface platform and system in server end and multiple subsidiaries of enterprise
The data interaction between multiple subsidiaries is realized in docking, and only needs to dock one operated on communication platform in terminal
The client that multiple subsidiaries can be realized in transaction platform completes the operation refunded in the transaction platform, to reduce the fortune of enterprise
Cost is sought, improves enterprise to the efficiency of management of multiple subsidiaries.
In several embodiments provided by the present invention, it should be understood that disclosed server and method can pass through
Other modes are realized.For example, server example described above is only schematical, for example, the unit is drawn
Point, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can
To combine or be desirably integrated into another system, or some features can be ignored or not executed.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to
So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into
Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.