CN109816364A - Transaction data processing method, device, computer equipment and storage medium - Google Patents

Transaction data processing method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN109816364A
CN109816364A CN201910007053.9A CN201910007053A CN109816364A CN 109816364 A CN109816364 A CN 109816364A CN 201910007053 A CN201910007053 A CN 201910007053A CN 109816364 A CN109816364 A CN 109816364A
Authority
CN
China
Prior art keywords
code information
transaction
return code
channel server
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910007053.9A
Other languages
Chinese (zh)
Inventor
罗汉彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
OneConnect Smart Technology Co Ltd
Original Assignee
OneConnect Smart Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by OneConnect Smart Technology Co Ltd filed Critical OneConnect Smart Technology Co Ltd
Priority to CN201910007053.9A priority Critical patent/CN109816364A/en
Publication of CN109816364A publication Critical patent/CN109816364A/en
Pending legal-status Critical Current

Links

Abstract

This application involves the process optimization in pedestal O&M, a kind of transaction data processing method, device, computer equipment and storage medium are provided.The described method includes: the transaction request sent by obtaining transaction terminal, determines corresponding channel server address according to the transaction request, the transaction request is sent by channel server according to the channel server address;The transaction return code information that the channel server is sent is received, corresponding normal return code information is matched according to the transaction return code information, when being matched to corresponding normal return code information, the normal return code information is returned into the transaction terminal.It can be improved the accuracy of payment request return code information using this method.

Description

Transaction data processing method, device, computer equipment and storage medium
Technical field
This application involves Internet technical fields, set more particularly to a kind of transaction data processing method, device, computer Standby and storage medium.
Background technique
With the development of online payment technology, existing payment system need to dock more banks, Unionpay and each Unionpay point public affairs The multiple channels such as department, net connection carry out payment transaction, due to the otherness that different channel back end interfaces define, so that payment system exists It carries out that payment request and the unmatched situation of return information often occurs when payment transaction, influences normally making for payment system With.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, at the transaction data for providing a kind of raising return information accuracy Manage method, apparatus, computer equipment and storage medium.
A kind of transaction data processing method, which comprises
The transaction request that transaction terminal is sent is obtained, corresponding channel server address is determined according to the transaction request, The transaction request is sent into channel server according to the channel server address;
The transaction return code information that the channel server is sent is received, is matched and is corresponded to according to the transaction return code information Normal return code information, when being matched to corresponding normal return code information, will the normal return code information return described in Transaction terminal.
The transaction request sent in one of the embodiments, in the acquisition transaction terminal, according to the transaction request Determine corresponding channel server address, according to the channel server address by the transaction request send channel server it Before, further includes:
The newly-increased instruction of normal return code information that management terminal is sent is received, the newly-increased instruction carries capability identification;
When permission identity verification passes through, the first interface information is generated according to the newly-increased instruction, by first interface Information returns to the management terminal, so that the management terminal shows the first interface according to first interface information;
The management terminal is received to instruct by the newly-increased normal return code information preservation that first interface is sent, it is described Newly-increased normal return code information preservation instruction carries newly-increased normal return code information, according to the newly-increased normal return code information Instruction is saved by the newly-increased normal return code information preservation.
The transaction request sent in one of the embodiments, in the acquisition transaction terminal, according to the transaction request Determine corresponding channel server address, according to the channel server address by the transaction request send channel server it Before, further includes:
It receives the mapping relations that management terminal is sent and instruction is set, the mapping relations setting instruction, which carries, has permission mark Know;
When permission identity verification passes through, instruction is set according to the mapping relations and generates second contact surface information, it will be described Second contact surface information returns to the management terminal, so that the management terminal shows the second boundary according to the second contact surface information Face;
The mapping relation information queue that the management terminal is sent is obtained, includes transaction in the mapping relation information queue The corresponding relationship of return code information and standard code information verifies the standard code information in the mapping relation information queue, when testing When demonstrate,proving the standard code information in the mapping relation information queue and passing through, the mapping relation information queue is saved.
The transaction return code information for receiving the channel server and sending in one of the embodiments, according to institute It states transaction return code information and matches corresponding normal return code information, when being matched to corresponding normal return code information, by institute It states normal return code information and returns to the transaction terminal, comprising:
The transaction return code information that the channel server is sent is received, and obtains mapping relation information queue, described The transaction return code information is searched in mapping relation information queue;
When the transaction return code information can be found, the corresponding standard code letter of the transaction return code information is obtained The normal return code information is returned to the transaction terminal by breath.
The transaction return code information for receiving the channel server and sending in one of the embodiments, according to institute It states transaction return code information and matches corresponding normal return code information, when being matched to corresponding normal return code information, by institute It states normal return code information and returns to the transaction terminal, comprising:
The transaction return code information that the channel server is sent is received, and obtains target regular expression, according to described Target regular expression described in return code profile matching in return code information of trading;
When being matched to corresponding target regular expression, the corresponding standard code letter of the target regular expression is obtained The normal return code information is returned to the transaction terminal by breath.
The transaction return code information for receiving the channel server and sending in one of the embodiments, according to institute It states transaction return code information and matches corresponding normal return code information, when being matched to corresponding normal return code information, by institute It states normal return code information and returns to the transaction terminal, comprising:
The transaction return code information that the channel server is sent is received, default script file is obtained, is started described default Script file;
Using the transaction return code information as the input for the default script file having been turned on, the default foot is obtained The normal return code information is returned to the transaction terminal by the normal return code information of this document output.
The transaction request for obtaining transaction terminal and sending in one of the embodiments, it is true according to the transaction request The transaction request is sent channel server, packet according to the channel server address by fixed corresponding channel server address It includes:
The transaction request that transaction terminal is sent is obtained, channel mark is obtained according to the transaction request, according to the channel Mark determines corresponding gateway channels, obtains channel server address;
The transaction request is converted according to the gateway channels, obtains target transaction request;
The target transaction is requested using the gateway channels according to the channel server address to send channel service Device.
A kind of transaction data processing unit, which is characterized in that described device includes:
Channel server determining module, it is true according to the transaction request for obtaining the transaction request of transaction terminal transmission The transaction request is sent channel server according to the channel server address by fixed corresponding channel server address;
Message processing module, the transaction return code information sent for receiving the channel server, according to the transaction Return code information matches corresponding normal return code information, when being matched to corresponding normal return code information, by the standard Return code information returns to the transaction terminal.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing Device performs the steps of when executing the computer program
The transaction request that transaction terminal is sent is obtained, corresponding channel server address is determined according to the transaction request, The transaction request is sent into channel server according to the channel server address;
The transaction return code information that the channel server is sent is received, is matched and is corresponded to according to the transaction return code information Normal return code information, when being matched to corresponding normal return code information, will the normal return code information return described in Transaction terminal.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor It is performed the steps of when row
The transaction request that transaction terminal is sent is obtained, corresponding channel server address is determined according to the transaction request, The transaction request is sent into channel server according to the channel server address;
The transaction return code information that the channel server is sent is received, is matched and is corresponded to according to the transaction return code information Normal return code information, when being matched to corresponding normal return code information, will the normal return code information return described in Transaction terminal.
Above-mentioned transaction data processing method, device, computer equipment and storage medium, by obtaining transaction terminal transmission Transaction request determines corresponding channel server address according to the transaction request, according to the channel server address by institute It states transaction request and sends channel server;The transaction return code information that the channel server is sent is received, according to the transaction Return code information matches corresponding normal return code information, when being matched to corresponding normal return code information, by the standard Return code information returns to the transaction terminal.By matching return code for corresponding normal return code information, standard is returned Code information returns to transaction terminal, and make that transaction terminal obtains according to payment request is normal return code information, improves payment and returns Return the accuracy of code information.
Detailed description of the invention
Fig. 1 is the application scenario diagram of transaction data processing method in one embodiment;
Fig. 2 is the flow diagram of transaction data processing method in one embodiment;
Fig. 3 is the flow diagram for increasing standard code return code information in one embodiment newly;
Fig. 4 is the interface schematic diagram at the first interface in one embodiment;
Fig. 5 is the flow diagram for increasing mapping relations in one embodiment newly;
Fig. 6 is the interface schematic diagram of second contact surface in one embodiment;
Fig. 7 is in one embodiment according to the matched flow diagram of mapping relations;
Fig. 8 is the matched flow diagram of canonical in one embodiment;
Fig. 9 is in one embodiment using the flow diagram of default scripts match;
Figure 10 is the flow diagram that target transaction request is sent in one embodiment;
Figure 11 is the structural block diagram of transaction data processing unit in one embodiment;
Figure 12 is the internal structure chart of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not For limiting the application.
Transaction data processing method provided by the present application can be applied in application environment as shown in Figure 1.Wherein, it hands over Easy terminal 102 is communicated by network with payment server 104, and payment system server 104 passes through network and channel service Device 106 is communicated.Payment system server 104 obtains the transaction request that transaction terminal 102 is sent, and is determined according to transaction request Transaction request is sent channel server 106 according to channel server address by corresponding 106 address of channel server;Payment system Server 104 of uniting receives the transaction return code information that channel server 106 is sent, corresponding according to transaction return code information matching Normal return code information is returned to transaction terminal when being matched to corresponding normal return code information by normal return code information 102.Wherein, transaction terminal 102 can be, but not limited to be various personal computers, laptop, smart phone, tablet computer With portable wearable device, server can with the server cluster of independent server either multiple servers composition come It realizes.
In one embodiment, as shown in Fig. 2, providing a kind of transaction data processing method, it is applied to Fig. 1 in this way In server for be illustrated, comprising the following steps:
S202 obtains the transaction request that transaction terminal is sent, determines corresponding channel server address according to transaction request, Transaction request is sent into channel server according to channel server address.
Wherein, channel server address refers to the server address of each different channel of disbursement, such as the clothes of different bank Business device address, the server address of Unionpay and the server address etc. of net connection.
Specifically, payment server obtains the transaction request that transaction terminal is sent, wherein payment server refers to for payment The server that platform is serviced.Payment server determines corresponding channel server address according to the obtained transaction request, Which payment server is to corresponding channel server according to the channel server address high ball hair that will trade.
S204 receives the transaction return code information that channel server is sent, corresponding according to transaction return code information matching Normal return code information is returned to transaction terminal when being matched to corresponding normal return code information by normal return code information.
Wherein, transaction return code information is used to describe the stateful transaction of the transaction request, may include returning for stateful transaction It returns value, return code state and returns to description.Such as: transaction return code information may include that return value is " 34 ", return code state For " in payment ", return is described as " Fail Transaction, day, accumulative transaction reached the upper limit ".Normal return code information is pre-set The return code information of transaction return code information for each channel of Unify legislation, which may include standard Return value, normal return code state and standard return to description.For example, the corresponding standard of transaction return code information in above-mentioned example Return code information is standard return value " 60011601 ", and return code state is " failure ", and standard return is described as " amount of money transfinites ".
Specifically, after channel server receives the payment request of transmission, payment processing is carried out according to payment request, and The corresponding transaction return code information of payment result is generated, sends payment server for transaction return code information.Payment server When receiving the transaction return code information of channel server transmission, corresponding normal return code is matched according to transaction return code information Normal return code information is returned to transaction terminal, transaction terminal receives when being matched to corresponding normal return code information by information It carries out showing this transaction results to normal return code information.For example, including that standard return value is by normal return code information " 60011601 ", return code state are " failure ", and standard return is described as " amount of money transfinites " and returns to transaction terminal, transaction terminal Show the normal return code information.
In above-mentioned transaction data processing method, the transaction request sent by obtaining transaction terminal is true according to transaction request Transaction request is sent channel server according to channel server address, receives channel clothes by fixed corresponding channel server address It is engaged in the transaction return code information that device sends, corresponding normal return code information is matched according to transaction return code information, when being matched to When corresponding normal return code information, normal return code information is returned into transaction terminal by matching return code for corresponding mark Normal return code is returned to transaction terminal by quasi- return code, and make that transaction terminal obtains according to payment request is normal return code, is mentioned The accuracy of return code information after high payment.
In one embodiment, it as shown in figure 3, before step S202, i.e., is asked in the transaction for obtaining transaction terminal transmission It asks, corresponding channel server address is determined according to transaction request, transaction request is sent by channel according to channel server address Before server, further comprise the steps of:
S302, receives the newly-increased instruction of normal return code information that management terminal is sent, and newly-increased instruction carries capability identification.
Wherein, capability identification is used to identify the permission of the administrative staff, can be User ID, user name etc..Management is eventually End is the corresponding terminal of administrative staff, and administrative staff can be managed normal return code information by management terminal, such as Normal return code information is increased newly, inquired and deleted.
Specifically, payment server receives the newly-increased instruction of normal return code information of management terminal transmission, the newly-increased finger Order carries capability identification.
S304 generates the first interface information according to newly-increased instruction, by the first interface information when permission identity verification passes through Management terminal is returned to, so that management terminal shows the first interface according to the first interface information.
Wherein, the first interface information user generates the first interface, i.e., the interface of newly-increased normal return code information, on the first boundary Normal return code information can be inputted in face.
Specifically, when payment server receives the newly-increased instruction of normal return code information, the instruction parsed is obtained Capability identification searches the capability identification in default access identification database, when the corresponding capability identification can be found, Capability identification is verified, at this point, payment server generates the first interface information according to the newly-increased instruction of normal return code information, it will First interface information returns to management terminal, so that management terminal shows the first interface according to the first interface information.For example, management is eventually First interface of end display can be as shown in Figure 4.
S306 receives the newly-increased normal return code information preservation instruction that management terminal is sent by the first interface, increases mark newly Quasi- return code information saves instruction and carries newly-increased normal return code information, and being instructed according to newly-increased normal return code information preservation will Newly-increased normal return code information preservation.
Specifically, user's standard code information newly-increased by the input of the first interface, then clicks save button, management terminal Preservation instruction is received, thinks that payment server sends preservation instruction, payment server receives the newly-increased standard that management is sent Return code information saves instruction.The newly-increased normal return code information preservation is parsed to instruct to obtain the newly-increased normal return code information, The newly-increased normal return code information preservation that will be obtained.
In the above-described embodiments, by receiving the newly-increased instruction of normal return code information that management terminal is sent, instruction is increased newly Capability identification is carried, when permission identity verification passes through, the first interface information is generated according to newly-increased instruction, the first interface is believed Breath returns to management terminal, so that management terminal shows the first interface according to the first interface information, receives management terminal and passes through first The newly-increased normal return code information preservation instruction that interface is sent, newly-increased normal return code information preservation instruction carry newly-increased standard Return code information, according to the instruction of newly-increased normal return code information preservation by newly-increased normal return code information preservation, can in advance by Normal return code information is set, and facilitates subsequent use.
In one embodiment, it as shown in figure 5, before step S202, i.e., is asked in the transaction for obtaining transaction terminal transmission It asks, corresponding channel server address is determined according to transaction request, transaction request is sent by channel according to channel server address Before server, further comprise the steps of:
S504 receives the mapping relations that management terminal is sent and instruction is arranged, and mapping relations setting instruction, which carries, has permission mark Know.
Specifically, instruction is arranged in the mapping relations that payment server receives that management terminal is sent, and mapping relations setting refers to Order carries capability identification.
S506 is arranged instruction according to mapping relations and generates second contact surface information, by second when permission identity verification passes through Interface information returns to management terminal, so that management terminal shows second contact surface according to second contact surface information.
Wherein, second contact surface information user generates second contact surface, i.e. mapping relations set interface, can be in second contact surface Input mapping relation information.
Specifically, when payment server obtains the capability identification, the capability identification is searched in capability identification database, When that can find the capability identification, capability identification is verified, and is instructed at this point, payment server is arranged according to mapping relations Second contact surface information is generated, second contact surface information is returned into management terminal, so that management terminal is shown according to second contact surface information Second contact surface, for example, the second contact surface that management terminal is shown can be as shown in Figure 6.
S508, obtains the mapping relation information queue that management terminal is sent, and includes that transaction is returned in mapping relation information queue The corresponding relationship of code information and standard code information is returned, the standard code information in mapping relation information queue is verified, when verifying maps When standard code information in relation information queue passes through, mapping relation information queue is saved.
Specifically, administrative staff set mapping relation information by second contact surface, click save button, at this point, management Terminal receives mapping relation information, ActiveMQ queue (between message-oriented middle part) is written in mapping relation information, management ActiveMQ queue is pushed in payment server by terminal, and payment server receives the mapping relations letter of management terminal transmission Cease queue, the mapping relation information difficult to understand from the mapping relation information queue, i.e. transaction return code information and standard code information Corresponding relationship.The standard code information in the mapping relation information queue is searched in the standard code information database saved, When that can find consistent standard code information, the standard code Information Authentication in mapping relation information queue passes through, at this point, branch Mapping relation information queue is saved in local cache by pay server.
In above-described embodiment, instruction, mapping relations setting instruction are set by receiving the mapping relations that management terminal is sent Capability identification is carried, when permission identity verification passes through, instruction is set according to mapping relations and generates second contact surface information, by the Second interface information returns to management terminal, so that management terminal shows second contact surface according to second contact surface information, obtains management terminal The mapping relation information queue of transmission includes the correspondence of transaction return code information and standard code information in mapping relation information queue Relationship verifies the standard code information in mapping relation information queue, the standard code information in verifying mapping relation information queue By when, mapping relation information queue is saved, will be pre-reserved in local cache, carrying out in mapping relation information queue When return code information of trading matches corresponding normal return code information, can directly it carry out using improving the processing of payment request Efficiency.
In one embodiment, as shown in fig. 7, the transaction return code letter that step S204, i.e. reception channel server are sent Breath matches corresponding normal return code information according to transaction return code information, when being matched to corresponding normal return code information, Normal return code information is returned into transaction terminal, comprising steps of
S702 receives the transaction return code information that channel server is sent, and obtains mapping relation information queue, is mapping Transaction return code information is searched in relation information queue.
Specifically, payment server receives the transaction return code information that channel service area is sent, and gets reflecting for preservation Relation information queue is penetrated, transaction return code information is searched in mapping relation information queue.For example, can be according to transaction return code Return value in information is inquired.
S704 obtains the corresponding standard code information of transaction return code information when that can find transaction return code information, Normal return code information is returned into transaction terminal.
Specifically, it when payment server can be found in mapping relation information queue is subject to return code information, obtains The corresponding standard code information of return code information of trading into mapping relation information queue, obtained standard code information is returned to and is handed over In easy terminal, transaction terminal is made to show the standard code information.
In the above-described embodiments, the transaction return code information sent by receiving channel server, and obtain mapping relations Transaction return code information is searched in message queue in mapping relation information queue, when transaction return code information can be found, The corresponding standard code information of transaction return code information is obtained, normal return code information is returned into transaction terminal, it can be quickly and quasi- True is matched to corresponding standard code information, improves the accuracy and transaction payment efficiency of return code information after payment.
In one embodiment, as shown in figure 8, the transaction return code letter that step S204, i.e. reception channel server are sent Breath matches corresponding normal return code information according to transaction return code information, when being matched to corresponding normal return code information, Normal return code information is returned into transaction terminal, comprising steps of
S802 receives the transaction return code information that channel server is sent, and obtains target regular expression, according to transaction Return code profile matching target regular expression in return code information.
Wherein, target regular expression is also known as regular expression, is exactly used a kind of logical formula of string operation The combination of predefined some specific characters and these specific characters forms one " regular character string ", this " rule Character string " is used to express a kind of filter logic to character string.
Specifically, payment server receives the transaction return information of channel server transmission, and gets and preset Good target regular expression, according to the return profile matching target regular expression in transaction return code information.
S804 obtains the corresponding standard code letter of target regular expression when being matched to corresponding target regular expression Normal return code information is returned to transaction terminal by breath.
Specifically, when payment server is matched to corresponding target regular expression, it is corresponding to obtain target regular expression Standard code information, by normal return code information return transaction terminal.For example, such as target regular expression be " mistake or It is expired ", it returns and is described as " the dynamic code mistake or expired that you input, please re-enter ".At this time can successful match, obtain target The corresponding normal return code information of regular expression includes normal return code " 60011601 ", and standard returns to description " amount of money transfinites " State " failure " is returned with standard.
In the above-described embodiments, the transaction return code information sent by receiving channel server, and obtain target canonical Expression formula, according to the return code profile matching target regular expression in transaction return code information, when being matched to corresponding target When regular expression, the corresponding standard code information of target regular expression is obtained, normal return code information is returned into transaction terminal, The corresponding standard code information of transaction return code information can be quickly obtained, the accuracy and friendship of return code information after payment are improved Easy payment efficiency.
In one embodiment, as shown in figure 9, the transaction return code letter that step S204, i.e. reception channel server are sent Breath matches corresponding normal return code information according to transaction return code information, when being matched to corresponding normal return code information, Normal return code information is returned into transaction terminal, comprising steps of
S902 receives the transaction return code information that channel server is sent, and obtains default script file, starts default script File.
Wherein, default script file is the executable code text that the user pre-set handles transaction return code information Part.
Specifically, payment server, which receives, receives the transaction return code information that channel server is sent, and gets default Script file, and execute the default script file.
S904 obtains default script file using transaction return code information as the input for the default script file having been turned on Normal return code information is returned to transaction terminal by the normal return code information of output.
Specifically, using transaction return code information as the input for the default script file having been turned on, from being returned for input It returns in code information and extracts required input value, the value of output is returned after code working process, obtains normal return code information, Normal return code information is returned into transaction terminal.For example, taking out the service fields of input: transaction return code returns to description, word Name section and location information.Obtaining fixed outgoing traffic field includes normal return code, return state and return description.One In a embodiment, when it fails to match for mapping relations, and canonical obtains transaction return code using default script file when it fails to match The corresponding normal return code information of information.
In the above-described embodiments, the transaction return code information sent by receiving channel server obtains default script text Part starts default script file, using transaction return code information as the input for the default script file having been turned on, obtains default foot Normal return code information is returned to transaction terminal, is obtained using default script file by the normal return code information of this document output The corresponding normal return code information of return code information of trading, improves the efficiency of return code information and transaction payment after payment.
In one embodiment, as shown in Figure 10, the transaction request that step S202, i.e. acquisition transaction terminal are sent, according to Transaction request determines corresponding channel server address, and transaction request is sent channel server according to channel server address, Comprising steps of
S1002, obtains the transaction request that transaction terminal is sent, and channel mark is obtained according to transaction request, according to channel mark Know and determine corresponding gateway channels, obtains channel server address.
Wherein, the different channel of channel mark user identifier can be title, ID of channel etc., such as: channel mark For Bank of Shanghai's channel.Gateway channels are the network connection channels between payment server and channel server.
Specifically, payment server gets the transaction request of transaction terminal transmission.Channel is obtained according to the transaction request Mark, determines corresponding gateway channels using routing algorithm according to channel mark, obtains channel server address.Wherein, it routes Algorithm, which can be, supports the ability of transaction according to network channel to determine corresponding corresponding gateway channels, for example, gateway channels A can The transaction of support is 20,000 name coin, and the supported transaction of gateway channels B is 30,000 RMB.When the transaction of transaction request is 50,000 When RMB, network channel B is selected, determines that network channel B corresponds to channel server address.Routing algorithm is also possible to according to net The load capacity height in channel is closed to determine, is also possible to be determined according to the service timeliness height of gateway channels.
S1004 converts transaction request according to gateway channels, obtains target transaction request.
Wherein, target transaction request is that transaction request is carried out message format, transport protocol etc. according to gateway channels type The transaction request obtained after conversion.
Specifically, payment server is after determining channel server address, by the transaction request of collocation carry out message lattice The conversion of formula, transport protocol etc. obtains the target transaction request for being suitable for gateway channels transmission.
S1006 requests target transaction using gateway channels according to channel server address to send channel server.
Specifically, payment server requests target transaction using gateway channels according to server address to send channel service Device.
In the above-described embodiments, by the channel that channel mark user identifier is different, title, ID of channel etc. be can be Deng, such as: channel mark is Bank of Shanghai's channel.Gateway channels are the network connections between payment server and channel server Transaction request is converted according to gateway channels in channel, obtains target transaction request, uses net according to channel server address It closes channel to request target transaction to send channel server, transaction request can be made to be easier transmission and parsing, improve transaction branch Pay the efficiency completed.
Although should be understood that Fig. 2-3,5 and 7-10 flow chart in each step according to arrow instruction successively It has been shown that, but these steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly state otherwise herein, There is no stringent sequences to limit for the execution of these steps, these steps can execute in other order.Moreover, Fig. 2-3,5 It may include that perhaps these sub-steps of multiple stages or stage be not for multiple sub-steps at least part step in 7-10 Completion necessarily is executed in synchronization, but can be executed at different times, the execution in these sub-steps or stage is suitable Sequence, which is also not necessarily, successively to be carried out, but can be at least one of the sub-step or stage of other steps or other steps Minute wheel stream alternately executes.
In one embodiment, as shown in figure 11, a kind of transaction data processing unit 1100 is provided, comprising: channel clothes Device determining module 1102 of being engaged in and message processing module 1104, in which:
Channel server determining module 1102, it is true according to transaction request for obtaining the transaction request of transaction terminal transmission Transaction request is sent channel server according to channel server address by fixed corresponding channel server address;
Message processing module 1104 is returned for receiving the transaction return code information of channel server transmission according to transaction The corresponding normal return code information of code information matches believes normal return code when being matched to corresponding normal return code information Breath returns to transaction terminal.
In one embodiment, transaction data processing unit 1100, further includes:
Newly-increased command reception module is increased newly with about the newly-increased instruction of normal return code information that management terminal is sent is received Instruction carries capability identification;
First interface generation module, for generating the first interface letter according to newly-increased instruction when permission identity verification passes through First interface information is returned to management terminal, so that management terminal shows the first interface according to the first interface information by breath;
Newly-added information preserving module passes through the newly-increased normal return code information that the first interface is sent for receiving management terminal Instruction is saved, newly-increased normal return code information is carried according to the instruction of newly-increased normal return code information preservation, according to newly-increased standard Return code information saves instruction for newly-increased normal return code information preservation.
In one embodiment, transaction data processing unit 1100, further includes:
Command reception module is set, for receiving the mapping relations setting instruction of management terminal transmission, mapping relations setting Instruction carries capability identification;
Second contact surface generation module is arranged instruction according to mapping relations and generates for when permission identity verification passes through Second contact surface information is returned to management terminal, so that management terminal shows the second boundary according to second contact surface information by second interface information Face;
Message queue obtains module, for obtaining the mapping relation information queue of management terminal transmission, mapping relation information Include the corresponding relationship of transaction return code information and standard code information in queue, verifies the standard code in mapping relation information queue Information saves mapping relation information queue when the standard code information in verifying mapping relation information queue passes through.
In one embodiment, message processing module 1104, comprising:
Information searching module for receiving the transaction return code information of channel server transmission, and obtains mapping relations letter Queue is ceased, transaction return code information is searched in mapping relation information queue;
Standard information return module, for obtaining transaction return code information when transaction return code information can be found Normal return code information is returned to transaction terminal by corresponding standard code information.
In one embodiment, message processing module 1104, comprising:
Canonical matching module for receiving the transaction return code information of channel server transmission, and obtains target canonical table Up to formula, according to the return code profile matching target regular expression in transaction return code information;
Information return module, for obtaining target regular expression pair when being matched to corresponding target regular expression Normal return code information is returned to transaction terminal by the standard code information answered.
In one embodiment, message processing module 1104, comprising:
Script startup module, for receiving the transaction return code information of channel server transmission, script file is preset in acquisition, Start default script file;
Script execution module is obtained for input of the return code information as the default script file having been turned on that will trade The normal return code information of default script file output, returns to transaction terminal for normal return code information.
In one embodiment, channel server determining module 1102, comprising:
Channel determining module obtains channel mark according to transaction request for obtaining the transaction request of transaction terminal transmission, Corresponding gateway channels are determined according to channel mark, obtain channel server address;
Conversion module is requested, for converting transaction request according to gateway channels, obtains target transaction request;
Request sending module sends channel for requesting target transaction using gateway channels according to channel server address Server.
Specific about transaction data processing unit limits the limit that may refer to above for transaction data processing method Fixed, details are not described herein.Modules in above-mentioned transaction data processing unit can fully or partially through software, hardware and its Combination is to realize.Above-mentioned each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also be with It is stored in the memory in computer equipment in a software form, in order to which processor calls the above modules of execution corresponding Operation.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction Composition is shown in Fig.12.The computer equipment include by system bus connect processor, memory, network interface and Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating The database of machine equipment is for storing payment transaction data.The network interface of the computer equipment is used to pass through with external terminal Network connection communication.To realize a kind of transaction data processing method when the computer program is executed by processor.
It will be understood by those skilled in the art that structure shown in Figure 12, only part relevant to application scheme The block diagram of structure, does not constitute the restriction for the computer equipment being applied thereon to application scheme, and specific computer is set Standby may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor are provided, which is stored with Computer program, which performs the steps of when executing computer program obtains the transaction request that transaction terminal is sent, root Corresponding channel server address is determined according to transaction request, and transaction request is sent by channel service according to channel server address Device;The transaction return code information that channel server is sent is received, corresponding normal return code is matched according to transaction return code information Normal return code information is returned to transaction terminal when being matched to corresponding normal return code information by information.
In one embodiment, it is also performed the steps of when processor executes computer program and receives management terminal transmission The newly-increased instruction of normal return code information, newly-increased instruction carries capability identification;When permission identity verification passes through, according to newly-increased Instruction generates the first interface information, the first interface information is returned to management terminal, so that management terminal is according to the first interface information Show the first interface;The newly-increased normal return code information preservation instruction that management terminal is sent by the first interface is received, according to new Increase the instruction of normal return code information preservation and carry newly-increased normal return code information, is referred to according to newly-increased normal return code information preservation It enables newly-increased normal return code information preservation.
In one embodiment, it is also performed the steps of when processor executes computer program and receives management terminal transmission Mapping relations be arranged instruction, mapping relations setting instruction carries capability identification;When permission identity verification passes through, according to reflecting It penetrates relationship setting instruction and generates second contact surface information, second contact surface information is returned into management terminal, so that management terminal is according to the Second interface information shows second contact surface;The mapping relation information queue that management terminal is sent is obtained, in mapping relation information queue Corresponding relationship including trade return code information and standard code information, verifies the standard code information in mapping relation information queue, When the standard code information in verifying mapping relation information queue passes through, mapping relation information queue is saved.
In one embodiment, it is also performed the steps of when processor executes computer program and receives channel server hair The transaction return code information sent, and mapping relation information queue is obtained, transaction return code is searched in mapping relation information queue Information;When transaction return code information can be found, the corresponding standard code information of transaction return code information is obtained, standard is returned It returns code information and returns to transaction terminal.
In one embodiment, it is also performed the steps of when processor executes computer program and receives channel server hair The transaction return code information sent, and target regular expression is obtained, according to the return code profile matching in transaction return code information Target regular expression;When being matched to corresponding target regular expression, the corresponding standard code of target regular expression is obtained Normal return code information is returned to transaction terminal by information.
In one embodiment, it is also performed the steps of when processor executes computer program and receives channel server hair The transaction return code information sent obtains default script file, starts default script file;Will transaction return code information as having opened The input of dynamic default script file obtains the normal return code information of default script file output, by normal return code information Return to transaction terminal.
In one embodiment, it is also performed the steps of when processor executes computer program and obtains transaction terminal transmission Transaction request, according to transaction request obtain channel mark, corresponding gateway channels are determined according to channel mark, obtain channel clothes Business device address;Transaction request is converted according to gateway channels, obtains target transaction request;Made according to channel server address Target transaction is requested with gateway channels to send channel server.
In one embodiment, it is also performed the steps of when computer program is executed by processor and obtains transaction terminal hair The transaction request sent, determines corresponding channel server address according to transaction request, is asked transaction according to channel server address It asks and sends channel server;The transaction return code information that channel server is sent is received, according to transaction return code information matching pair Normal return code information is returned to transaction eventually when being matched to corresponding normal return code information by the normal return code information answered End.
In one embodiment, it is also performed the steps of when computer program is executed by processor and receives management terminal hair The newly-increased instruction of the normal return code information sent, newly-increased instruction carry capability identification;When permission identity verification passes through, according to new Increase instruction and generate the first interface information, the first interface information is returned into management terminal, so that management terminal is believed according to the first interface The first interface of breath display;The newly-increased normal return code information preservation instruction that management terminal is sent by the first interface is received, according to Newly-increased normal return code information preservation instruction carries newly-increased normal return code information, according to newly-increased normal return code information preservation It instructs newly-increased normal return code information preservation.
In one embodiment, it is also performed the steps of when computer program is executed by processor and receives management terminal hair The mapping relations setting instruction sent, mapping relations setting instruction carry capability identification;When permission identity verification passes through, according to Mapping relations setting instruction generate second contact surface information, by second contact surface information return management terminal so that management terminal according to Second contact surface information shows second contact surface;Obtain the mapping relation information queue that management terminal is sent, mapping relation information queue In include transaction return code information and standard code information corresponding relationship, verify mapping relation information queue in standard code letter Breath saves mapping relation information queue when the standard code information in verifying mapping relation information queue passes through.
In one embodiment, it is also performed the steps of when computer program is executed by processor and receives channel server The transaction return code information of transmission, and mapping relation information queue is obtained, transaction is searched in mapping relation information queue to be returned Code information;When transaction return code information can be found, the corresponding standard code information of transaction return code information is obtained, by standard Return code information returns to transaction terminal.
In one embodiment, it is also performed the steps of when computer program is executed by processor and receives channel server The transaction return code information of transmission, and target regular expression is obtained, according to the return code description in transaction return code information With target regular expression;When being matched to corresponding target regular expression, the corresponding standard of target regular expression is obtained Normal return code information is returned to transaction terminal by code information.
In one embodiment, it is also performed the steps of when computer program is executed by processor and receives channel server The transaction return code information of transmission obtains default script file, starts default script file;Transaction return code information is used as The input of the default script file of starting obtains the normal return code information of default script file output, normal return code is believed Breath returns to transaction terminal.
In one embodiment, it is also performed the steps of when computer program is executed by processor and obtains transaction terminal hair The transaction request sent obtains channel mark according to transaction request, determines corresponding gateway channels according to channel mark, obtain channel Server address;Transaction request is converted according to gateway channels, obtains target transaction request;According to channel server address Target transaction is requested using gateway channels to send channel server.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (10)

1. a kind of transaction data processing method, which comprises
The transaction request that transaction terminal is sent is obtained, corresponding channel server address is determined according to the transaction request, according to The transaction request is sent channel server by the channel server address;
The transaction return code information that the channel server is sent is received, corresponding mark is matched according to the transaction return code information The normal return code information is returned to the transaction when being matched to corresponding normal return code information by quasi- return code information Terminal.
2. the method according to claim 1, wherein it is described acquisition transaction terminal send transaction request, root Corresponding channel server address is determined according to the transaction request, is sent out the transaction request according to the channel server address Before sending channel server, further includes:
The newly-increased instruction of normal return code information that management terminal is sent is received, the newly-increased instruction carries capability identification;
When permission identity verification passes through, the first interface information is generated according to the newly-increased instruction, by first interface information The management terminal is returned to, so that the management terminal shows the first interface according to first interface information;
The management terminal is received to instruct by the newly-increased normal return code information preservation that first interface is sent, it is described newly-increased The instruction of normal return code information preservation carries newly-increased normal return code information, according to the newly-increased normal return code information preservation It instructs the newly-increased normal return code information preservation.
3. the method according to claim 1, wherein it is described acquisition transaction terminal send transaction request, root Corresponding channel server address is determined according to the transaction request, is sent out the transaction request according to the channel server address Before sending channel server, further includes:
It receives the mapping relations that management terminal is sent and instruction is set, the mapping relations setting instruction carries capability identification;
When permission identity verification passes through, instruction is set according to the mapping relations and generates second contact surface information, by described second Interface information returns to the management terminal, so that the management terminal shows second contact surface according to the second contact surface information;
The mapping relation information queue that the management terminal is sent is obtained, includes that transaction returns in the mapping relation information queue The corresponding relationship of code information and standard code information, verifies the standard code information in the mapping relation information queue, when verifying institute When stating the standard code information in mapping relation information queue and passing through, the mapping relation information queue is saved.
4. the method according to claim 1, wherein the transaction return for receiving the channel server and sending Code information matches corresponding normal return code information according to the transaction return code information, returns when being matched to corresponding standard When code information, the normal return code information is returned into the transaction terminal, comprising:
The transaction return code information that the channel server is sent is received, and obtains mapping relation information queue, in the mapping The transaction return code information is searched in relation information queue;
When the transaction return code information can be found, the corresponding standard code information of the transaction return code information is obtained, The normal return code information is returned into the transaction terminal.
5. the method according to claim 1, wherein the transaction return for receiving the channel server and sending Code information matches corresponding normal return code information according to the transaction return code information, returns when being matched to corresponding standard When code information, the normal return code information is returned into the transaction terminal, comprising:
The transaction return code information that the channel server is sent is received, and obtains target regular expression, according to the transaction Target regular expression described in return code profile matching in return code information;
When being matched to corresponding target regular expression, the corresponding standard code information of the target regular expression is obtained, it will The normal return code information returns to the transaction terminal.
6. the method according to claim 1, wherein the transaction return for receiving the channel server and sending Code information matches corresponding normal return code information according to the transaction return code information, returns when being matched to corresponding standard When code information, the normal return code information is returned into the transaction terminal, comprising:
The transaction return code information that the channel server is sent is received, default script file is obtained, starts the default script File;
Using the transaction return code information as the input for the default script file having been turned on, the default script text is obtained The normal return code information is returned to the transaction terminal by the normal return code information of part output.
7. the method according to claim 1, wherein it is described obtain transaction terminal send transaction request, according to The transaction request determines corresponding channel server address, is sent the transaction request according to the channel server address Channel server, comprising:
The transaction request that transaction terminal is sent is obtained, channel mark is obtained according to the transaction request, according to the channel mark It determines corresponding gateway channels, obtains channel server address;
The transaction request is converted according to the gateway channels, obtains target transaction request;
The target transaction is requested using the gateway channels according to the channel server address to send channel server.
8. a kind of transaction data processing unit, which is characterized in that described device includes:
Channel server determining module, for obtaining the transaction request of transaction terminal transmission, according to determining pair of the transaction request The transaction request is sent channel server according to the channel server address by the channel server address answered;
Message processing module, the transaction return code information sent for receiving the channel server, returns according to the transaction The corresponding normal return code information of code information matches returns to the standard when being matched to corresponding normal return code information Code information returns to the transaction terminal.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In the step of processor realizes any one of claims 1 to 7 the method when executing the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method described in any one of claims 1 to 7 is realized when being executed by processor.
CN201910007053.9A 2019-01-04 2019-01-04 Transaction data processing method, device, computer equipment and storage medium Pending CN109816364A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910007053.9A CN109816364A (en) 2019-01-04 2019-01-04 Transaction data processing method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910007053.9A CN109816364A (en) 2019-01-04 2019-01-04 Transaction data processing method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN109816364A true CN109816364A (en) 2019-05-28

Family

ID=66603899

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910007053.9A Pending CN109816364A (en) 2019-01-04 2019-01-04 Transaction data processing method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109816364A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110634070A (en) * 2019-08-13 2019-12-31 上海陆家嘴国际金融资产交易市场股份有限公司 File processing method and device, computer equipment and storage medium
CN111478967A (en) * 2020-04-08 2020-07-31 北京字节跳动网络技术有限公司 Request processing method and device
CN113076410A (en) * 2021-04-22 2021-07-06 网银在线(北京)科技有限公司 Abnormal information processing method, device, equipment and storage medium
CN113760346A (en) * 2020-08-25 2021-12-07 北京沃东天骏信息技术有限公司 Information management method and device
CN114500304A (en) * 2021-12-30 2022-05-13 中国电信股份有限公司 Exception handling method and device, electronic equipment and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060022092A (en) * 2004-09-06 2006-03-09 주식회사 케이티프리텔 A communication method using a proxy server in an wireless mobile communication network
US20070079361A1 (en) * 2005-09-23 2007-04-05 International Business Machines Corporation Method and apparatus to authenticate source of a scripted code
WO2017097108A1 (en) * 2015-12-11 2017-06-15 广州市动景计算机科技有限公司 Log information processing method, apparatus, and system
CN107423140A (en) * 2017-06-19 2017-12-01 阿里巴巴集团控股有限公司 A kind of return code recognition methods and device
CN108022087A (en) * 2017-11-22 2018-05-11 深圳市牛鼎丰科技有限公司 payment data processing method, device, storage medium and computer equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060022092A (en) * 2004-09-06 2006-03-09 주식회사 케이티프리텔 A communication method using a proxy server in an wireless mobile communication network
US20070079361A1 (en) * 2005-09-23 2007-04-05 International Business Machines Corporation Method and apparatus to authenticate source of a scripted code
WO2017097108A1 (en) * 2015-12-11 2017-06-15 广州市动景计算机科技有限公司 Log information processing method, apparatus, and system
CN107423140A (en) * 2017-06-19 2017-12-01 阿里巴巴集团控股有限公司 A kind of return code recognition methods and device
CN108022087A (en) * 2017-11-22 2018-05-11 深圳市牛鼎丰科技有限公司 payment data processing method, device, storage medium and computer equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
MICROSOFT CORPORATION: "《Microsoft Outlook 2000编程》", 东南大学出版社, pages: 117 - 120 *
徐征宇;汤灏;: "动态交通信息服务系统路表匹配的数学建模", 现代电视技术, no. 03 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110634070A (en) * 2019-08-13 2019-12-31 上海陆家嘴国际金融资产交易市场股份有限公司 File processing method and device, computer equipment and storage medium
CN111478967A (en) * 2020-04-08 2020-07-31 北京字节跳动网络技术有限公司 Request processing method and device
CN111478967B (en) * 2020-04-08 2022-11-22 北京字节跳动网络技术有限公司 Request processing method and device
CN113760346A (en) * 2020-08-25 2021-12-07 北京沃东天骏信息技术有限公司 Information management method and device
CN113076410A (en) * 2021-04-22 2021-07-06 网银在线(北京)科技有限公司 Abnormal information processing method, device, equipment and storage medium
CN114500304A (en) * 2021-12-30 2022-05-13 中国电信股份有限公司 Exception handling method and device, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN109816364A (en) Transaction data processing method, device, computer equipment and storage medium
CN109800335A (en) Generation method, device, computer equipment and the storage medium of enterprise's map
CN110244987A (en) Configuration data processing method, device, readable storage medium storing program for executing and computer equipment
CN108268375A (en) Applied program testing method, device, computer equipment and storage medium
CN108829781A (en) Client information inquiry method, device, computer equipment and storage medium
CN108629567A (en) Declaration information processing method, device, computer equipment and storage medium
CN109361628B (en) Message assembling method and device, computer equipment and storage medium
CN109447780A (en) Information push method, device, computer equipment and storage medium
CN110727935B (en) Single sign-on method, system, computer device and storage medium
CN109493048A (en) Financial accounting method, apparatus, equipment and storage medium based on block chain
CN108874661A (en) Test mapping relations library generating method, device, computer equipment and storage medium
CN108833265A (en) Message treatment method, device, server and storage medium
CN109033139A (en) Client information inquiry method, device, computer equipment and storage medium
CN112017024A (en) Credit risk assessment method, system, computer device and storage medium
CN110457117A (en) Data processing method, device, computer equipment and storage medium
CN109118291A (en) User authen method, device and computer equipment in advertisement tasks popularization
CN109766316A (en) File acquisition method, device, computer equipment and storage medium
CN109492856A (en) Service request processing method, device, computer equipment and storage medium
CN109783606A (en) Data processing method, device, computer equipment and storage medium
US20190122211A1 (en) Method and device facilitating expansion of primary payment instruments
CN115510366A (en) Business message pushing method and device, computer equipment and storage medium
CN110138743A (en) Acquisition methods, device, computer equipment and the storage medium of resource bid file
CN115293873A (en) Page processing method and device for credit granting flow, computer equipment and storage medium
CN114244905A (en) Data forwarding method and device, computer equipment and storage medium
CN109347919A (en) User authentication method, device, computer equipment and storage medium

Legal Events

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