CN110288356A - Method, apparatus, electronic equipment, storage medium and the system of payment transaction processing - Google Patents

Method, apparatus, electronic equipment, storage medium and the system of payment transaction processing Download PDF

Info

Publication number
CN110288356A
CN110288356A CN201910469786.4A CN201910469786A CN110288356A CN 110288356 A CN110288356 A CN 110288356A CN 201910469786 A CN201910469786 A CN 201910469786A CN 110288356 A CN110288356 A CN 110288356A
Authority
CN
China
Prior art keywords
payment transaction
value
heartbeat
marker
service server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910469786.4A
Other languages
Chinese (zh)
Other versions
CN110288356B (en
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.)
Weifutong Technology Co Ltd
Original Assignee
Weifutong 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 Weifutong Technology Co Ltd filed Critical Weifutong Technology Co Ltd
Priority to CN201910469786.4A priority Critical patent/CN110288356B/en
Publication of CN110288356A publication Critical patent/CN110288356A/en
Application granted granted Critical
Publication of CN110288356B publication Critical patent/CN110288356B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/01Customer relationship services
    • G06Q30/015Providing customer assistance, e.g. assisting a customer within a business location or via helpdesk
    • G06Q30/016After-sales
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The present invention is suitable for payment technology field, it is related to method, apparatus, electronic equipment, storage medium and the system of payment transaction processing, this method comprises: sending heartbeat request first to service server, so that service server is detected according to state of the heartbeat request to payment transaction, and the value of N number of demand marker is marked in the message of heartbeat feedback packet according to testing result, N is positive integer;Then it receives the heartbeat that service server is sent and feeds back packet;The value of N number of demand marker is obtained from the message of heartbeat feedback packet again;Payment transaction data processing request is finally initiated according to the value of N number of demand marker;It avoids multiple service requests usually and pays in the response data of Service Process Server with concurrently causing that there are null datas, while request is sent by heartbeat packet and returns to N number of demand marker, improve the utilization efficiency of Internet resources.

Description

Method, apparatus, electronic equipment, storage medium and the system of payment transaction processing
Technical field
The invention belongs to payment technical field more particularly to a kind of method, apparatus of payment transaction processing, electronic equipment, storage Medium and system.
Background technique
The method of traditional payment transaction processing is when multiple service servers are sent according to business standalone poll to be processed Multiple service requests are to payment transaction processing server, since multiple service requests are usually concurrent, so that payment transaction processing clothes Being engaged in the response data of device, there are null datas, and each service request can equally occupy network request resource, such as: client Connection pool connection, client bring out wide mesh belt, server-side networking bandwidth, server-side connection, if there are the feelings such as congestion, delay for network When condition, the drawbacks of processing mode of this multi-request, can embody more obvious.
In conclusion there are the sound that multiple service requests pay Service Process Server with usually concurrently causing for traditional technology It answers and there are problems that null data in data.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of method, apparatus of payment transaction processing, electronic equipment, storage Medium and system, it is intended to which solving multiple service requests existing for traditional technology usually concurrently leads to the number of responses of ground management server There are problems that null data in.
The first aspect of the embodiment of the present invention provides a kind of method of payment transaction processing, the payment transaction processing Method includes:
Heartbeat request is sent to service server, so that the service server is according to the heartbeat request to payment transaction State detected, and mark the value of N number of demand marker in the message of heartbeat feedback packet according to testing result, N is positive Integer;
Receive the heartbeat feedback packet that the service server is sent;
The value of N number of demand marker is obtained from the message of heartbeat feedback packet;
Payment transaction data processing request is initiated according to the value of N number of demand marker.
The second aspect of the embodiment of the present invention provides the device of payment transaction processing, the device of the payment transaction processing Include:
Heartbeat request sending module, for sending heartbeat request to service server so that the service server according to The heartbeat request detects the state of payment transaction, and marks N in the message of heartbeat feedback packet according to testing result The value of a demand marker, N are positive integer;
Packet receiving module is fed back in heartbeat, the heartbeat feedback packet sent for receiving the service server;
Numerical value obtains module, for obtaining the value of N number of demand marker from the message of heartbeat feedback packet;
Demand marker respond module initiates payment transaction data processing request according to the value of N number of demand marker.
The third aspect of the embodiment of the present invention provides a kind of electronic equipment for payment transaction processing, including deposits Reservoir, processor and storage in the memory and the computer program that can run on the processor, the processing Device realizes the step of method such as the processing of above-mentioned payment transaction when executing the computer program.
The fourth aspect of the embodiment of the present invention provides a kind of system of payment transaction processing, including at least one payment industry Be engaged in processing server and an at least service server, the payment transaction processing server and the service server it Between communicatively connect;The payment transaction processing server sends heartbeat request to service server, so that the industry Business server is detected according to state of the heartbeat request to payment transaction, and according to testing result in heartbeat feedback packet The value of N number of demand marker is marked in message, N is positive integer;The payment transaction processing server receives the business service Packet is fed back in the heartbeat that device is sent;Described in the payment transaction processing server is obtained from the message of heartbeat feedback packet The value of N number of demand marker;The payment transaction processing server initiates payment transaction according to the value of N number of demand marker Data processing request.
Existing beneficial effect is the embodiment of the present invention compared with prior art: transmission heartbeat request to business service first Device, so that service server is detected according to state of the heartbeat request to payment transaction, and anti-in heartbeat according to testing result The value that N number of demand marker is marked in the message of packet is presented, N is positive integer;Then the heartbeat feedback that service server is sent is received Packet;The value of N number of demand marker is obtained from the message of heartbeat feedback packet again;Finally initiated according to the value of N number of demand marker Payment transaction data processing request;Avoid multiple service requests usually and pay with concurrently causing the response of Service Process Server There are null datas in data, while sending request by heartbeat packet and returning to N number of demand marker, improve Internet resources Utilization efficiency.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is a kind of implementation process schematic diagram of the method for the payment transaction processing that the embodiment of the present invention one provides;
Fig. 2 is a kind of implementation process schematic diagram of the method for payment transaction processing provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of implementation process schematic diagram of the method for the payment transaction processing that the embodiment of the present invention three provides;
Fig. 4 is a kind of implementation process schematic diagram of the method for the payment transaction processing that the embodiment of the present invention four provides;
Fig. 5 is a kind of schematic diagram for the payment transaction processing server that the embodiment of the present invention five provides;
Fig. 6 is a kind of schematic diagram that the payment transaction processing server numerical value that the embodiment of the present invention five provides obtains module;
Fig. 7 is that the one kind for the payment transaction processing server demand marker respond module that the embodiment of the present invention five provides is shown It is intended to;
Fig. 8 is a kind of schematic diagram for the service server that the embodiment of the present invention six provides;
Fig. 9 is a kind of schematic diagram for the service server demand marker mark module that the embodiment of the present invention six provides;
Figure 10 is a kind of schematic diagram of the system for the payment transaction processing that the embodiment of the present invention seven provides;
Figure 11 is a kind of schematic diagram of the electronic equipment of payment transaction processing provided in an embodiment of the present invention.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Embodiment one
The embodiment of the present invention one provides a kind of method flow of payment transaction processing, and referring to Fig. 1, the method comprising the steps of 101 to step 104.
In a step 101, heartbeat request is sent to service server, so that service server is according to heartbeat request to payment The state of business is detected, and marks the value of N number of demand marker, N in the message of heartbeat feedback packet according to testing result For positive integer.
In a kind of possible embodiment, the adjacent eartbeat interval for sending heartbeat request twice is a regular time Value, which can according to need default.With the increase of payment transaction trading volume, smaller time value can be preset, is allowed The response time of transaction is shorter.It further include sending heartbeat to service server after receiving request in remaining embodiment Request.
In a step 102, it receives the heartbeat that service server is sent and feeds back packet.
N number of demand marker is returned by heartbeat packet to determine the need for initiating related service, reduces network consumption.
In step 103, the value of N number of demand marker is obtained from the message of heartbeat feedback packet.
Specifically, heart-beat protocol message contains type, Arbitrary Loads and filling.Type refers to type of message, as heartbeat is asked It asks or heartbeat responds.Load includes arbitrary content.Filling: filling is a random number, can be ignored by recipient and not handle. Step 103 can be specially according to the load extracted in heartbeat feedback packet;And the value of N number of demand marker is obtained according to load.
At step 104, payment transaction data processing request is initiated according to the value of N number of demand marker.
It will be target service mark with the matched N number of demand flag set of preset value, and be identified and sent out according to target service Play payment transaction data processing request.Preset value can be 1.
It can also include step 99 and step 100 before step 101 in specific implementation.
In step 99, handshake request is sent to service server, so that business is according to handshake request every preset time Return to digital certificate.
In step 100, judge whether digital certificate is preset number certificate;
If judging, digital certificate for preset number certificate, thens follow the steps 101.
After step 100, it sends key and exchanges message, change encryption specification protocol massages, indicate hand-shake message exchange It has completed.The effect for sending change encryption specification protocol massages is to allow using negotiated Encryption Algorithm and encrypt close Key.
It, can be with service server transmission application encryption data after the completion of shaking hands.
Embodiment two
Referring to fig. 2, Fig. 2 is another exemplary flow for a kind of method that the embodiment of the present invention provides payment transaction processing Figure.The method of payment transaction processing as shown in Figure 2 can comprise the following steps that
In step 201, heartbeat request is sent to service server, so that service server is according to heartbeat request to payment The state of business is detected, and marks the value of N number of demand marker, N in the message of heartbeat feedback packet according to testing result For positive integer;
In step 202, it receives the heartbeat that service server is sent and feeds back packet;
In step 203, the value of two-dimentional code requirement marker is obtained from the message of heartbeat feedback packet;Two-dimentional code requirement mark Know position value be used to determine whether to need to upload one or more for payment two dimensional code to service server.
In a kind of possible embodiment, the value of two-dimentional code requirement marker is 1 or is 0.When two-dimentional code requirement mark When the value for knowing position is 1, upload one or more for payment two dimensional code to service server.Two dimensional code for payment Type includes but is not limited to: condensation code, Unionpay's code.When the value of two-dimentional code requirement marker be 0 when, indicate without upload one or The multiple two dimensional codes for payment of person are to service server.The value of two-dimentional code requirement marker is detecting branch by service server It is determined after the state for the business of paying.Specifically, service server detects the storage of one or more two dimensional codes of current inventory, root Judge whether service server needs to increase newly to be used for according to the storage of one or more two dimensional codes and the two dimensional code delta rule of configuration The two dimensional code of payment.When judgement show that service server needs newly-increased two dimensional code, the label two in the message of heartbeat feedback packet The value for tieing up code requirement marker is 1;When judgement show that service server is not necessarily to newly-increased two dimensional code, in the message of heartbeat feedback packet The value of middle label two dimensional code demand marker is 0.In a kind of possible embodiment, judgement is included in two dimensional code delta rule The threshold value of storage, when storage is lower than threshold value, service server needs to increase the two dimensional code for payment newly, does not otherwise need.
In step 204, need to upload one or more for payment two dimensional code to service server when, from line Cheng Chizhong line taking journey initiates two-dimentional code requirement inquiry request to service server, and two-dimentional code requirement inquiry request is for determining business The type and quantity for the two dimensional code that server needs.
In a kind of possible embodiment, after service server receives two-dimentional code requirement inquiry request, needs are determined The type of two dimensional code, and calculate the quantity of each two dimensional code.Service server is returned to payment transaction processing server to be needed Two dimensional code type and quantity.
Embodiment three
It is another exemplary flow for a kind of method that the embodiment of the present invention provides payment transaction processing referring to Fig. 3, Fig. 3 Figure.The method of payment transaction processing as shown in Figure 3 can comprise the following steps that
In step 301, heartbeat request is sent to service server, so that service server is according to heartbeat request to payment The state of business is detected, and marks the value of N number of demand marker, N in the message of heartbeat feedback packet according to testing result For positive integer;
In step 302, it receives the heartbeat that service server is sent and feeds back packet;
In step 303, the value of reimbursement demand marker is obtained from the message of heartbeat feedback packet;Reimbursement demand marker Value be used to determine whether that order needs reimbursement.
In a kind of possible embodiment, the value of reimbursement demand marker is 1 or is 0.When reimbursement demand marker Value be 1 when, indicate there is currently the orders for needing reimbursement;When the value of reimbursement demand marker be 0 when, indicate there is currently no Need the order of reimbursement.The value of reimbursement demand marker is determined after the state for having detected payment transaction by service server.Tool For body, service server detect in current pay invoice whether the order of reimbursement in need, if current pay invoice In reimbursement in need order, then the value of reimbursement demand marker in the message of heartbeat feedback packet is labeled as 1 by service server. If not needing the order of reimbursement in current pay invoice, service server needs reimbursement in the message of heartbeat feedback packet Ask the value of marker labeled as 0.
In step 304, when there is order to need reimbursement, line taking journey, which initiates reimbursement to service server, from thread pool is needed Inquiry request is sought, reimbursement demand inquiry request is used to currently need the order of reimbursement to service server inquiry.
In a kind of possible embodiment, inquiry needs reimbursement after service server receives reimbursement demand inquiry request Order, and the order for needing reimbursement inquired is returned to payment transaction processing server.
Example IV
Referring to fig. 4, Fig. 4 is another exemplary flow for a kind of method that the embodiment of the present invention provides payment transaction processing Figure.The method of payment transaction processing as shown in Figure 4 can comprise the following steps that
In step 401, heartbeat request is sent to service server, so that service server is according to heartbeat request to payment The state of business is detected, and marks the value of N number of demand marker, N in the message of heartbeat feedback packet according to testing result For positive integer;
In step 402, it receives the heartbeat that service server is sent and feeds back packet;
In step 403, the value of bill marker is obtained from the message of heartbeat feedback packet;The value of bill marker is used for It determines the need for sending bill.
In a kind of possible embodiment, the value of bill marker is 1 or is 0.When the value of bill marker is 1 When, it indicates to meet the condition that triggering sends bill.When the value of bill marker is 0, foot triggering with thumb down sends bill Condition.Service server detects whether to have received the bill generated in a period of time after heartbeat request, for example whether The bill of generation yesterday is received.If not receiving bill, continues to determine whether to meet and packet triggering is fed back by heartbeat The condition of payment transaction processing server transmission bill.Packet triggering payment transaction processing server is fed back by heartbeat if met The condition of bill is sent, then the value of bill marker is labeled as 1, is otherwise labeled as the value of bill marker.
In step 404, when needing to send bill, line taking journey detects the day that the last reconciliation is completed from thread pool Phase;Bill message is sent to payment transaction processing server, bill message includes bill and the date that reconciliation is completed.
It should be noted that service server can mark multiple demand markers in some specific embodiments Value.For example, once marking value, the value of the reimbursement demand marker and the bill mark of the two-dimentional code requirement marker Know the value of position.The application in the remaining embodiments, other demand markers can also be set.It is handled and is taken by payment transaction Business device can obtain the value of multiple demand markers from the message that packet is fed back in heartbeat, for example, obtaining the two-dimentional code requirement mark Know the value of the value of position, the value of the reimbursement demand marker and the bill marker.The payment transaction processing server It can be according to Network status, operational capability once or one by one according to the value of the two-dimentional code requirement marker, the reimbursement need The value of the value and the bill marker of seeking marker initiates payment transaction data processing request.
Embodiment five
Corresponding with the method for a kind of payment transaction processing that embodiment one provides, the present invention also provides a kind of payment branch The device 50 of business processing is paid, as shown in figure 5, including heartbeat request sending module 510, heartbeat feedback packet receiving module 520, number Value obtains module 530 and demand marker respond module 540.
Heartbeat request sending module 510, for sending heartbeat request to service server, so that service server is according to the heart It jumps request to detect the state of payment transaction, and marks N number of demand in the message of heartbeat feedback packet according to testing result The value of marker, N are positive integer;
Packet receiving module 520 is fed back in heartbeat, for receiving the heartbeat feedback packet of service server transmission;
Numerical value obtains module 530, for obtaining the value of N number of demand marker from the message of heartbeat feedback packet;
Demand marker respond module 540 initiates payment transaction data processing request according to the value of N number of demand marker.
As shown in fig. 6, it includes that two-dimentional code requirement marker obtains module 531, reimbursement demand mark that numerical value, which obtains module 530, Position obtains module 532 and bill marker obtains module 533.
Two-dimentional code requirement marker obtains module 531, for obtaining two-dimentional code requirement mark from the message of heartbeat feedback packet Know the value of position;The value of two-dimentional code requirement marker be used to determine whether to need to upload one or more for payment two dimensional code To service server.
Reimbursement demand marker obtains module 532, for obtaining reimbursement demand marker from the message of heartbeat feedback packet Value;The value of reimbursement demand marker has been used to determine whether that order needs reimbursement.
Bill marker obtains module 533, for obtaining the value of bill marker from the message of heartbeat feedback packet;Bill The value of marker is used to determine whether to need to send bill.
As shown in fig. 7, demand marker respond module 540 includes two-dimentional code requirement inquiry request initiation module 541, reimbursement Demand inquiry request initiation module 542 and bill message sending module 543.
Two-dimentional code requirement inquiry request initiation module 541, for need to upload one or more for payment two When tieing up code to service server, line taking journey initiates two-dimentional code requirement inquiry request, two dimensional code to service server from thread pool The type and quantity for the two dimensional code that demand inquiry request is used to determine that service server needs.
Reimbursement demand inquiry request initiation module 542, for when there is order to need reimbursement, from thread pool line taking journey to Service server initiates reimbursement demand inquiry request, and reimbursement demand inquiry request is used to inquire current needs to service server and move back The order of money.
Bill message sending module 543, for when needing to send bill, the detection of line taking journey to be the last from thread pool The date that reconciliation is completed;Bill message is sent to payment transaction processing server, bill message includes that bill and reconciliation are completed Date.
Embodiment six
A kind of service server 80 is provided with embodiment six, as shown in figure 8, including heartbeat request receiving module 810, demand Packet sending module 830 is fed back in marker mark module 820 and heartbeat.
Heartbeat request receiving module 810, for receiving the heartbeat request of payment transaction processing server transmission.
Demand marker mark module 820, for being detected according to state of the heartbeat request to payment transaction, and according to Testing result marks the value of N number of demand marker in the message of heartbeat feedback packet, and N is positive integer.
Packet sending module 830 is fed back in heartbeat, for sending heartbeat feedback packet to payment transaction processing server.
As shown in figure 9, demand marker mark module 820 is needed including two-dimentional code requirement marker mark module 821, reimbursement Ask marker label 822 and bill marker label 823.
Two-dimentional code requirement marker mark module 821, for judging whether the quantity of two dimensional code of storage is greater than present count Amount, and according to the value of judging result label two dimensional code demand marker in the message of heartbeat feedback packet.
Reimbursement demand marker label 822, for judging whether need reimbursement order in current pay invoice, and according to sentencing Disconnected result marks reimbursement demand marker in the message of heartbeat feedback packet.
Bill marker label 823, for judge whether not receive statement yesterday and current time whether be greater than it is pre- If time, and the message acceptance of the bid memo ticket marker wrapped according to judging result in heartbeat feedback.
Embodiment seven
The present invention also provides a kind of systems 100 of payment transaction processing, as shown in Figure 10, including at least one payment industry Business processing server and an at least service server, with the side of communication between payment transaction processing server and service server Formula connection;Payment transaction processing server sends heartbeat request to service server, so that service server is according to heartbeat request The state of payment transaction is detected, and marks N number of demand marker in the message of heartbeat feedback packet according to testing result Value, N is positive integer;Payment transaction processing server receives the heartbeat that service server is sent and feeds back packet;Payment transaction processing Server obtains the value of N number of demand marker from the message of heartbeat feedback packet;Payment transaction processing server is according to N number of demand The value of marker initiates payment transaction data processing request.
Service server is used to receive the heartbeat request of payment transaction processing server transmission;According to heartbeat request to payment The state of business is detected, and marks the value of N number of demand marker, N in the message of heartbeat feedback packet according to testing result For positive integer;Heartbeat feedback packet is sent to payment transaction processing server.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.Implement one to embodiment seven It can be implemented separately, can also realize in one embodiment.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
Figure 11 is a kind of schematic diagram of the electronic equipment for payment transaction processing that one embodiment of the invention provides.Such as Figure 11 institute Show, a kind of electronic equipment 11 of payment transaction processing of the embodiment includes: processor 110, memory 111 and is stored in In reservoir 111 and the computer program 112 that can be run on processor 110, such as the program of payment transaction processing.Processor The step in the embodiment of the method for above-mentioned each payment transaction processing, such as Fig. 1 institute are realized when 110 execution computer program 112 The step 101 shown is to 105.Alternatively, processor 110 realizes each mould in above-mentioned each Installation practice when executing computer program 112 Block/unit function, such as the function of module 410 to 450 shown in Fig. 4.
Illustratively, computer program 112 can be divided into one or more module/units, one or more mould Block/unit is stored in memory 111, and is executed by processor 110, to complete the present invention.One or more module/units It can be the series of computation machine program instruction section that can complete specific function, the instruction segment is for describing computer program 112 Implementation procedure in the device 11 of payment transaction processing.For example, computer program 112 can be divided into heartbeat request hair Module 510, heartbeat feedback packet receiving module 520, numerical value is sent to obtain module 530 and demand marker respond module 540 (virtually Module in device), each module concrete function is as follows:
Heartbeat request sending module 510, for sending heartbeat request to service server, so that the service server root It detects according to state of the heartbeat request to payment transaction, and is marked in the message of heartbeat feedback packet according to testing result The value of N number of demand marker, N are positive integer;
Packet receiving module 520 is fed back in heartbeat, the heartbeat feedback packet sent for receiving the service server;
Numerical value obtains module 530, for obtaining N number of demand marker from the message of heartbeat feedback packet Value;
Demand marker respond module 540 is initiated payment transaction data processing according to the value of N number of demand marker and is asked It asks.
The electronic equipment 11 of the payment transaction processing can be unmanned plane management server.The payment transaction processing Electronic equipment may include, but be not limited only to processor 110, memory 111.It will be understood by those skilled in the art that Figure 11 is only It is the example of the electronic equipment 11 of payment transaction processing, does not constitute the restriction of the electronic equipment 11 to payment transaction processing, it can To include perhaps combining certain components or different components, such as the payment transaction than illustrating more or fewer components The device of processing can also include input-output equipment, network access equipment, bus etc..
Alleged processor 110 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (DigiTal Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
The memory 111 can be the internal storage unit of the electronic equipment 11 of the payment transaction processing, such as prop up Pay the hard disk or memory of the electronic equipment 11 of business processing.The memory 111 is also possible to the electricity of the payment transaction processing The plug-in type hard disk being equipped on the External memory equipment of sub- equipment 11, such as the electronic equipment 11 of payment transaction processing, intelligence Energy storage card (Smart Media Card, SMC), secure digital (Secure DigiTal, SD) card, flash card (Flash Card) etc..Further, the memory 111 can also both include the inside of the electronic equipment 11 of payment transaction processing Storage unit also includes External memory equipment.The memory 111 is for storing the computer program and the payment industry Other programs and data needed for the electronic equipment of business processing.The memory 111 can be also used for temporarily storing defeated Out or the data that will export.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or In use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementation All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium It may include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic that can carry the computer program code Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice Subtract, such as does not include electric carrier signal and electricity according to legislation and patent practice, computer-readable medium in certain jurisdictions Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (10)

1. a kind of method of payment transaction processing characterized by comprising
Heartbeat request is sent to service server, so that the service server is according to the heartbeat request to the shape of payment transaction State is detected, and marks the value of N number of demand marker in the message of heartbeat feedback packet according to testing result, and N is positive integer;
Receive the heartbeat feedback packet that the service server is sent;
The value of N number of demand marker is obtained from the message of heartbeat feedback packet;
Payment transaction data processing request is initiated according to the value of N number of demand marker.
2. the method for payment transaction processing as described in claim 1, which is characterized in that the message from heartbeat feedback packet The middle value for obtaining N number of demand marker includes: that two-dimentional code requirement marker is obtained from the message of heartbeat feedback packet Value;The value of the two dimension code requirement marker be used to determine whether to need to upload one or more for payment two dimensional code To the service server.
3. the method for payment transaction processing as claimed in claim 2, which is characterized in that described according to N number of demand marker Value to initiate payment transaction data processing request include: to need to upload described in one or more for the two dimensional code of payment extremely When the service server, line taking journey initiates two-dimentional code requirement inquiry request to the service server from thread pool, described The type and quantity for the two dimensional code that two-dimentional code requirement inquiry request is used to determine that the service server needs.
4. the method for payment transaction processing as described in claim 1, which is characterized in that the message from heartbeat feedback packet The middle value for obtaining N number of demand marker further include: obtain reimbursement demand marker from the message of heartbeat feedback packet Value;The value of the reimbursement demand marker has been used to determine whether that order needs reimbursement.
5. the method for payment transaction processing as claimed in claim 4, which is characterized in that described according to N number of demand marker Value to initiate payment transaction data processing request include: when there is the order to need reimbursement, line taking journey is to institute from thread pool It states service server and initiates reimbursement demand inquiry request, the reimbursement demand inquiry request is used to inquire to the service server Currently need the order of reimbursement.
6. the method for payment transaction processing as described in claim 1, which is characterized in that the message from heartbeat feedback packet The middle value for obtaining N number of demand marker further include: the value of bill marker is obtained from the message of heartbeat feedback packet; The value of the bill marker is used to determine whether to need to send bill.
7. the method for payment transaction processing as claimed in claim 6, which is characterized in that described according to N number of demand marker Value initiate payment transaction data processing request include: when needing to send the bill, from thread pool line taking journey detection most The date that a nearly reconciliation is completed;Bill message is sent to the payment transaction processing server, the bill message includes institute State the date of bill and reconciliation completion.
8. a kind of device of payment transaction processing characterized by comprising
Heartbeat request sending module, for sending heartbeat request to service server, so that the service server is according to Heartbeat request detects the state of payment transaction, and marks N number of need in the message of heartbeat feedback packet according to testing result The value of marker is sought, N is positive integer;
Packet receiving module is fed back in heartbeat, the heartbeat feedback packet sent for receiving the service server;
Numerical value obtains module, for obtaining the value of N number of demand marker from the message of heartbeat feedback packet;
Demand marker respond module initiates payment transaction data processing request according to the value of N number of demand marker.
9. a kind of electronic equipment for payment transaction processing, including memory and processor, being stored in the memory can The computer program run on the processor, which is characterized in that the processor is realized when executing the computer program The method that the payment transaction as described in any one of claim 1 to 7 is handled.
10. a kind of system of payment transaction processing, which is characterized in that including an at least payment transaction processing server and at least One service server communicatively connects between the payment transaction processing server and the service server;Institute It states payment transaction processing server and sends heartbeat request to the service server, so that the service server is according to the heart It jumps request to detect the state of payment transaction, and marks N number of demand in the message of heartbeat feedback packet according to testing result The value of marker, N are positive integer;It is anti-that the payment transaction processing server receives the heartbeat that the service server is sent Feedback packet;The payment transaction processing server obtains the value of N number of demand marker from the message of heartbeat feedback packet; The payment transaction processing server initiates payment transaction data processing request according to the value of N number of demand marker.
CN201910469786.4A 2019-05-31 2019-05-31 Payment service processing method, device, electronic equipment, storage medium and system Active CN110288356B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910469786.4A CN110288356B (en) 2019-05-31 2019-05-31 Payment service processing method, device, electronic equipment, storage medium and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910469786.4A CN110288356B (en) 2019-05-31 2019-05-31 Payment service processing method, device, electronic equipment, storage medium and system

Publications (2)

Publication Number Publication Date
CN110288356A true CN110288356A (en) 2019-09-27
CN110288356B CN110288356B (en) 2022-03-08

Family

ID=68003006

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910469786.4A Active CN110288356B (en) 2019-05-31 2019-05-31 Payment service processing method, device, electronic equipment, storage medium and system

Country Status (1)

Country Link
CN (1) CN110288356B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111311851A (en) * 2020-03-10 2020-06-19 北京意锐新创科技有限公司 Heartbeat sending method and device suitable for payment equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101234018A (en) * 2008-02-26 2008-08-06 中兴通讯股份有限公司 Method, system and central processing element for testing heartbeat
CN102655457A (en) * 2004-02-13 2012-09-05 想象It公司 Public service message broadcasting system and method
CN103532784A (en) * 2013-10-17 2014-01-22 中国联合网络通信集团有限公司 Method and system for transmitting heartbeat messages, terminal and network equipment
CN103973812A (en) * 2014-05-23 2014-08-06 上海斐讯数据通信技术有限公司 Service interface providing method and system based on uniform resource locator in HTTP
US20160048709A1 (en) * 2005-12-09 2016-02-18 Tego, Inc. Information rfid tagging facilities
CN107392620A (en) * 2017-06-02 2017-11-24 口碑控股有限公司 A kind of method of payment, equipment and device
CN103067215B (en) * 2011-10-21 2018-02-13 广东智通人才连锁股份有限公司 Realize method, application server, network data base and the system of heartbeat mechanism

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102655457A (en) * 2004-02-13 2012-09-05 想象It公司 Public service message broadcasting system and method
US20160048709A1 (en) * 2005-12-09 2016-02-18 Tego, Inc. Information rfid tagging facilities
CN101234018A (en) * 2008-02-26 2008-08-06 中兴通讯股份有限公司 Method, system and central processing element for testing heartbeat
CN103067215B (en) * 2011-10-21 2018-02-13 广东智通人才连锁股份有限公司 Realize method, application server, network data base and the system of heartbeat mechanism
CN103532784A (en) * 2013-10-17 2014-01-22 中国联合网络通信集团有限公司 Method and system for transmitting heartbeat messages, terminal and network equipment
CN103973812A (en) * 2014-05-23 2014-08-06 上海斐讯数据通信技术有限公司 Service interface providing method and system based on uniform resource locator in HTTP
CN107392620A (en) * 2017-06-02 2017-11-24 口碑控股有限公司 A kind of method of payment, equipment and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111311851A (en) * 2020-03-10 2020-06-19 北京意锐新创科技有限公司 Heartbeat sending method and device suitable for payment equipment

Also Published As

Publication number Publication date
CN110288356B (en) 2022-03-08

Similar Documents

Publication Publication Date Title
CN106934611B (en) Data processing method and device
CN110223040A (en) Project management method, device, electronic equipment and storage medium
CN108681963A (en) Multi-tiling chain integral traffic control method, system, electronic device and storage medium
CN111612453A (en) Decentralized transaction method and device based on block chain and electronic equipment
CN109285071A (en) A kind of data processing platform (DPP) and data processing method based on block chain
CN108805550A (en) A kind of pre-payment exchange management method and pre-payment trade management device
CN108347483B (en) Decentralized computing system based on double-layer network
US20200320530A1 (en) Maintenance plant management method, system and data management server
CN106453146A (en) Private cloud computing resource distribution method and system
CN109919588A (en) A kind of method and apparatus for preventing from repeating to pay
CN111937020A (en) Aggregation payment method and system for digital currency and edge server
CN107833129A (en) A kind of silver spreads out liquidation method, device and terminal device
CN112016919A (en) Data processing method and device for calculating settlement amount
CN107609797A (en) Electric operating checking method and terminal device
CN107657441A (en) Self-service dealing method, system, server and mobile terminal
CN110009476A (en) A kind of method and apparatus handling application of making loans
CN109685641A (en) A kind of information processing method and device
CN116934061A (en) Block chain-based carbon emission management method, system, equipment and storage medium
CN108765142A (en) Electronic device, multi-tiling chain integral traffic control method and computer readable storage medium
CN109242454A (en) Distribution method, device, server and the readable storage medium storing program for executing of electronics red packet
CN110378693B (en) Distributed energy weak centralized transaction management system based on alliance block chain
CN109345311A (en) The method and device that credit is mutually known between different financial institution
CN109087186A (en) A kind of funds on account management method, storage medium and server
CN107508687A (en) A kind of method, apparatus of charging, Internet of Things application platform and accounting server
CN110288356A (en) Method, apparatus, electronic equipment, storage medium and the system of payment transaction processing

Legal Events

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