CN105631647A - Unionpay communication method, device and system - Google Patents

Unionpay communication method, device and system Download PDF

Info

Publication number
CN105631647A
CN105631647A CN201610088335.2A CN201610088335A CN105631647A CN 105631647 A CN105631647 A CN 105631647A CN 201610088335 A CN201610088335 A CN 201610088335A CN 105631647 A CN105631647 A CN 105631647A
Authority
CN
China
Prior art keywords
payment
unionpay
sent
message
pos
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
CN201610088335.2A
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.)
Inspur Software Group Co Ltd
Original Assignee
Inspur Software Group 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 Inspur Software Group Co Ltd filed Critical Inspur Software Group Co Ltd
Priority to CN201610088335.2A priority Critical patent/CN105631647A/en
Publication of CN105631647A publication Critical patent/CN105631647A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/047Payment circuits using payment protocols involving electronic receipts
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/16Payments settled via telecommunication systems
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/20Point-of-sale [POS] network systems
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/20Point-of-sale [POS] network systems
    • G06Q20/207Tax processing
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/20Point-of-sale [POS] network systems
    • G06Q20/209Specified transaction journal output feature, e.g. printed receipt or voice output
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/305Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wired telephone networks
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/34Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Theoretical Computer Science (AREA)
  • Finance (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

The invention provides a method, a device and a system for Unionpay communication, wherein the method comprises the following steps: firstly, card numbers and passwords of bank cards are obtained, and payment information corresponding to the bank cards is obtained; then according to a predetermined Unionpay protocol, a payment message corresponding to the card number, the password and the payment information is formed and sent to a POS machine, so that the POS machine is connected with a Unionpay payment system server through a telephone line to complete corresponding payment operation; and after the payment operation is executed, receiving a payment completion message fed back by the POS machine, and analyzing the payment completion message according to the UnionPay protocol. Therefore, the application range of the Unionpay communication mode can be expanded.

Description

The method of a kind of Unionpay communication, Apparatus and system
Technical field
The present invention relates to communication technical field, a kind of communicate particularly to Unionpay method, Apparatus and system.
Background technology
In actual application environment, it is possible to paid the fees by the mode communicated with Unionpay. Such as, in one application, the operation of withholding and remitting the tax in Tax can pass through Unionpay's communication pattern to carry out.
Unionpay's communication mode in the market, it is possible to communicated payment by Unionpay's front server.
Due to some industry, part system in Tax needs to be deployed under outer net environment, but the communication mode of Unionpay's front server is higher to the network requirement of local Unionpay payment system, therefore low developed area generally cannot complete the Unionpay's communication under outer net environment. As can be seen here, the scope of application of existing Unionpay communication mode is restricted.
Summary of the invention
The invention provides the method for a kind of Unionpay communication, Apparatus and system, it is possible to expand the scope of application of Unionpay's communication mode.
In order to achieve the above object, the present invention is achieved through the following technical solutions:
On the one hand, the method that the invention provides the communication of a kind of Unionpay, it is applied to terminal unit, including:
Obtain the card number of bank card and the password of described bank card;
Obtain the payment information corresponding with described bank card;
According to predetermined Unionpay agreement, form the payment message corresponding with described card number, described password and described payment information;
Described payment message is sent to POS, and the payment that reception is fed back by described POS completes message;
According to described Unionpay agreement, resolve described payment and complete message.
Further, described payment information, including: electric tax invoice number, pay taxes in the amount of money and collection organ's code any one or multiple.
Further, described Unionpay agreement, including: in data length, parity technique and encryption technology any one or multiple.
Further, before the payment information that described acquisition is corresponding with described bank card, also include: obtain the duty paragraph corresponding with described bank card, and described duty paragraph is sent to tax system server;
The payment information that described acquisition is corresponding with described bank card, including: receive by the corresponding payment information of described tax system server feedback.
On the other hand, the method that the invention provides the communication of a kind of Unionpay, it is applied to POS, by telephone wire, described POS is connected with Unionpay payment system server, including:
Receive the payment message sent by terminal unit;
By the mode of telephone line dialing, described payment message is sent to described Unionpay payment system server, and reception is completed message by the payment of described Unionpay payment system server feedback;
Described payment is completed message and is sent to described terminal unit.
On the other hand, the invention provides a kind of terminal unit, including:
First acquiring unit, for obtaining the card number of bank card;
Second acquisition unit, for obtaining the password of described bank card;
3rd acquiring unit, for obtaining the payment information corresponding with described bank card;
First processing unit, for according to predetermined Unionpay agreement, forming the payment message corresponding with described card number, described password and described payment information; And according to described Unionpay agreement, resolve the payment sent by the second processing unit and complete message;
Described second processing unit, for being sent to POS by described payment message; And the payment fed back by described POS is completed message be sent to described first processing unit.
Further, described first acquiring unit is bank card card-reading apparatus; Described second acquisition unit is metallic numerals Encryption Keyboard.
Further, described second acquisition unit, it is additionally operable to obtain the duty paragraph corresponding with described bank card, and described duty paragraph is sent to described 3rd acquiring unit;
Described 3rd acquiring unit, specifically for the described duty paragraph sent by described second acquisition unit is sent to tax system server, and receives by the corresponding payment information of described tax system server feedback.
On the other hand, the invention provides a kind of POS, by telephone wire, described POS is connected with Unionpay payment system server, including:
First processing unit, for being sent to the second processing unit by the payment message sent by terminal unit; And it is sent to described terminal unit by being completed message by the payment of the second processing unit transmission;
Described second processing unit, for by the mode of telephone line dialing, being sent to described Unionpay payment system server, and be sent to described first processing unit by being completed message by the payment of described Unionpay payment system server feedback by described payment message.
On the other hand, the invention provides the system of a kind of Unionpay communication, including: any of the above-described described terminal unit, above-mentioned POS, and Unionpay's payment system server, wherein,
Described POS passes through serial ports circuit, and/or, USB port circuit is attached communicating with described terminal unit, and is attached communicating with described Unionpay payment system server by telephone line;
Described Unionpay payment system server, for receiving the payment message sent by the second processing unit in described POS, and processes described payment message to perform operation of paying the fees accordingly; And after described payment operation completes, the payment of generation is completed the second processing unit that message is sent in described POS.
Further, this system also includes: tax system server, wherein,
Described tax system server, for receiving the duty paragraph sent by the 3rd acquiring unit in terminal unit, and feeds back corresponding payment information to the 3rd acquiring unit in described terminal unit.
The invention provides the method for a kind of Unionpay communication, Apparatus and system, first obtain card number and the password of bank card, and obtain the payment information corresponding with described bank card; Then according to predetermined Unionpay agreement, form the payment message corresponding with described card number, described password and described payment information, and described payment message is sent to POS, so that described POS is connected to Unionpay payment system server by telephone line and completes corresponding operation of paying the fees; After described payment operation has been performed, receives the payment fed back by described POS and complete message, and according to described Unionpay agreement, resolve described payment and complete message. Therefore, the present invention can expand the scope of application of Unionpay's communication mode.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart of the method for a kind of Unionpay communication that one embodiment of the invention provides;
Fig. 2 is the flow chart of the method for the another kind of Unionpay communication that one embodiment of the invention provides;
Fig. 3 is the flow chart of the method for the another kind of Unionpay communication that one embodiment of the invention provides;
Fig. 4 is the schematic diagram of a kind of terminal unit that one embodiment of the invention provides;
Fig. 5 is the schematic diagram of a kind of POS that one embodiment of the invention provides;
Fig. 6 is the schematic diagram of the system of a kind of Unionpay communication that one embodiment of the invention provides;
Fig. 7 is the schematic diagram of the system of the another kind of Unionpay communication that one embodiment of the invention provides.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearly; below in conjunction with the accompanying drawing in the embodiment of the present invention; technical scheme in the embodiment of the present invention is clearly and completely described; obviously; described embodiment is a part of embodiment of the present invention, rather than whole embodiments, based on the embodiment in the present invention; the every other embodiment that those of ordinary skill in the art obtain under the premise not making creative work, broadly falls into the scope of protection of the invention.
As it is shown in figure 1, the method embodiments providing the communication of a kind of Unionpay, it is applied to terminal unit, it is possible to comprise the following steps:
Step 101: obtain the card number of bank card and the password of described bank card.
Step 102: obtain the payment information corresponding with described bank card.
Step 103: according to predetermined Unionpay agreement, form the payment message corresponding with described card number, described password and described payment information.
Step 104: described payment message is sent to POS, and the payment that reception is fed back by described POS completes message.
Step 105: according to described Unionpay agreement, resolves described payment and completes message.
The method embodiments providing the communication of a kind of Unionpay, first obtains card number and the password of bank card, and obtains the payment information corresponding with described bank card; Then according to predetermined Unionpay agreement, form the payment message corresponding with described card number, described password and described payment information, and described payment message is sent to POS, so that described POS is connected to Unionpay payment system server by telephone line and completes corresponding operation of paying the fees; After described payment operation has been performed, receives the payment fed back by described POS and complete message, and according to described Unionpay agreement, resolve described payment and complete message. Therefore, the embodiment of the present invention can expand the scope of application of Unionpay's communication mode.
In a kind of possible implementation, in order to make the operation of withholding and remitting the tax in tax system be carried out, so, described payment information, including: electric tax invoice number, pay taxes in the amount of money and collection organ's code any one or multiple.
In a kind of possible implementation, in order to the data message got to be assembled into the discernible message of specific Unionpay, so, described Unionpay agreement, including: in data length, parity technique and encryption technology any one or multiple.
In a kind of possible implementation, in order to a kind of mode obtaining payment information is described, so, before the payment information that described acquisition is corresponding with described bank card, farther include: obtain the duty paragraph corresponding with described bank card, and described duty paragraph is sent to tax system server;
The payment information that described acquisition is corresponding with described bank card, including: receive by the corresponding payment information of described tax system server feedback.
As in figure 2 it is shown, the method embodiments providing the communication of a kind of Unionpay, it is applied to POS, by telephone wire, described POS is connected with Unionpay payment system server, it is possible to comprise the following steps:
Step 201: receive the payment message sent by terminal unit.
Step 202: by the mode of telephone line dialing, is sent to described Unionpay payment system server by described payment message, and reception is completed message by the payment of described Unionpay payment system server feedback.
Step 203: described payment is completed message and is sent to described terminal unit.
The method embodiments providing the communication of a kind of Unionpay, first receives the payment message sent by terminal unit; Then pass through the mode of telephone line dialing, described payment message is sent to described Unionpay payment system server, so that Unionpay's payment system server completes operation of paying the fees accordingly, and after described payment operation has been performed, receives and completed message by the payment of described Unionpay payment system server feedback; Again described payment is completed message and be sent to described terminal unit. Therefore, the embodiment of the present invention can expand the scope of application of Unionpay's communication mode.
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with drawings and the specific embodiments, the present invention is described in further detail.
As it is shown on figure 3, the method that one embodiment of the invention provides Unionpay's communication, the method may comprise steps of:
Step 301: terminal unit obtains card number and the password of bank card.
In the present embodiment, can bank card card-reading apparatus and metallic numerals Encryption Keyboard be integrated in terminal unit, wherein, bank card card-reading apparatus may be used for reading the information such as bank card number, and metallic numerals Encryption Keyboard may be used for obtaining the trading password of this bank card.
Step 302: the duty paragraph corresponding with described bank card got is sent to tax system server by terminal unit, and receives by the corresponding payment information of tax system server feedback.
Specifically, described payment information, it is possible to include electric tax invoice number, pay taxes in the amount of money and collection organ's code any one or multiple.
In the present embodiment, terminal unit can pass through upper layer software (applications) system and obtain payment information, such as, when carry out Tax withhold and remit the tax operation time, it is possible to by with tax system communication and obtain comprise electric tax invoice number, the information of paying taxes of the pay taxes amount of money and collection organ's code. It will be evident that when need to carry out other payment operations, as telephone expenses pay, charges for water and electricity are paid etc. time, again may be by corresponding upper layer software (applications) system and obtain corresponding payment information.
In the present embodiment, the Unionpay's communication mode proposed can compatible each system platform, the payment information got according to the acquisition completing related data information needed for self, and can be assembled into the discernible payment message of Unionpay by each system platform, therefore the experience property of user is better.
Step 303: terminal unit, according to predetermined Unionpay agreement, forms the payment message corresponding with described card number, described password and described payment information, and described payment message is sent to POS.
Specifically, described Unionpay agreement, it is possible to include in data length, parity technique and encryption technology any one or multiple.
In the present embodiment, in order to communicate with Unionpay system, it is necessary to pre-determine the rendezvous protocol that Unionpay provides, and according to this rendezvous protocol, the data message got is assembled into the discernible message of Unionpay. The message of Unionpay's system feedback is resolved additionally, equally possible according to this rendezvous protocol.
In the present embodiment, terminal unit passes through serial ports circuit, and/or, USB port circuit is attached communicating with POS. Such as, conventional, terminal unit can by supporting that the com port serial ports circuit of RS232 communication is attached with POS. In the present embodiment, payment message can be transferred to POS by Serial Port Line route terminal equipment.
The described payment message received is verified by step 304:POS machine, if verification is passed through, then described payment message is sent to Unionpay's payment system server.
In the present embodiment, the whole message received can be carried out the information checking on basis by POS, as the form of message, integrity etc. are checked, and will confirm that the errorless message of verification forwards.
In the present embodiment, POS is attached communicating with Unionpay payment system server by telephone line. Such as, terminal unit the payment message sent by the mode of telephone line dialing, can be transmitted to Unionpay's payment system server by telephone line by POS. By this implementation, terminal unit can be made to be attached communicating with Unionpay payment system server by telephone line in conjunction with POS, such that it is able to it is higher to the network requirement of local Unionpay payment system to solve Unionpay front server, and the Unionpay that some areas cannot complete under outer net environment is made to communicate the inconvenience caused.
Step 305: Unionpay's payment system server receives described payment message, perform to pay the fees accordingly operation.
Step 306: after described payment operation completes, Unionpay's payment system server feeds back, to POS, message of having paid the fees accordingly.
Identical, the payment of feedback completes message can be sent to POS by telephone line by Unionpay's payment system server.
The described payment received is completed message and verifies by step 307:POS machine, if verification is passed through, then described payment is completed message and is sent to terminal unit.
Identical, message of having paid the fees can route POS by Serial Port Line and be sent to terminal unit.
Step 308: terminal unit receives described payment and completes message, and according to described Unionpay agreement, resolves described payment and complete message.
As shown in Figure 4, embodiments provide a kind of terminal unit 40, including:
First acquiring unit 401, for obtaining the card number of bank card;
Second acquisition unit 402, for obtaining the password of described bank card;
3rd acquiring unit 403, for obtaining the payment information corresponding with described bank card;
First processing unit 404, for according to predetermined Unionpay agreement, forming the payment message corresponding with described card number, described password and described payment information; And according to described Unionpay agreement, resolve the payment sent by the second processing unit 405 and complete message;
Described second processing unit 405, for being sent to POS 50 by described payment message; And the payment fed back by described POS 50 is completed message be sent to described first processing unit 404.
In a kind of possible implementation, described first acquiring unit 401 is bank card card-reading apparatus; Described second acquisition unit 402 is metallic numerals Encryption Keyboard.
In the present embodiment, terminal unit 40 compatible can support all kinds of bank card card-reading apparatus and encryption device.
Except the mode being carried out Unionpay's communication by Unionpay's front server, the integrated-type POS being integrated with the assembly such as bank card card-reading apparatus and metallic numerals Encryption Keyboard also can individually communicate with Unionpay's system, but there is the problem very low with the compatibility of other related terminal device in it, range of application is also limited.
In the present embodiment, bank card card-reading apparatus and metallic numerals Encryption Keyboard it have been integrated with due to terminal unit, it is possible to complete the acquisition of bank card relevant information, thus different from integrated-type POS, and the POS in the present embodiment can be simple type POS. In addition, due to this terminal unit can compatible each manufacturer, each equipment hardware composition, therefore the implementation that the present embodiment is connected with simple and easy POS by terminal unit, it is possible to solve very low the caused inconvenience of compatibility to other related terminal device of the integrated-type POS.
In a kind of possible implementation, described second acquisition unit 402, it is further used for obtaining the duty paragraph corresponding with described bank card, and described duty paragraph is sent to described 3rd acquiring unit 403;
Described 3rd acquiring unit 403, specifically for the described duty paragraph sent by described second acquisition unit 402 is sent to tax system server 60, and receives the corresponding payment information fed back by described tax system server 60.
As it is shown in figure 5, embodiments provide a kind of POS 50, by telephone wire, described POS 50 is connected with Unionpay payment system server 70, including:
First processing unit 501, for being sent to the second processing unit 502 by the payment message sent by terminal unit; And the payment sent by the second processing unit 502 is completed message be sent to described terminal unit;
Described second processing unit 502, for by the mode of telephone line dialing, described payment message is sent to described Unionpay payment system server 70, and the payment fed back by described Unionpay payment system server 70 is completed message is sent to described first processing unit 501.
As shown in Figure 6, embodiments provide the system of a kind of Unionpay communication, including: any of the above-described terminal unit 40, above-mentioned POS 50, and Unionpay's payment system server 70, wherein,
Described POS 50 by serial ports circuit, and/or, USB port circuit is attached communicating with described terminal unit 40, and passes through telephone line and be attached communicating with described Unionpay payment system server 70;
Described Unionpay payment system server 70, for receiving the payment message sent by the second processing unit 502 in described POS 50, and processes described payment message to perform operation of paying the fees accordingly; And after described payment operation completes, the payment of generation is completed the second processing unit 502 that message is sent in described POS 50.
In the present embodiment, after the data message got is assembled into the discernible message information of Unionpay by terminal unit, by serial ports circuit, message information can be sent to simple and easy POS, by simple and easy POS, message is transmitted to Unionpay's payment system server again through telephone line, to complete operation of paying the fees accordingly, it is achieved thereby that under outer net environment with the communication of Unionpay's system. By this implementation, greatly improve the compatibility of relevant hardware devices, reduce the threshold of Unionpay's outbound communication simultaneously, it is achieved that Unionpay's communication and the lower coupling of terminal unit place network, expand the scope of application of Unionpay's communication mode.
Additionally, corresponding to the communication mode of Unionpay's front server, the premise that Consumer's Experience promotes is to need to improve Unionpay's network, tax internal network, Unionpay's front server etc., and the cost and the cost that cause are higher. And the Unionpay's communication mode provided by the embodiment of the present invention can avoid the cost of this aspect to put into.
In a kind of possible implementation, refer to Fig. 7, the system of this Unionpay communication can also include: tax system server 60, wherein,
Described tax system server 60, for receiving the duty paragraph sent by the 3rd acquiring unit 403 in terminal unit 40, and feeds back corresponding payment information to the 3rd acquiring unit 403 in described terminal unit 40.
The contents such as the information between each unit in said apparatus is mutual, execution process, due to the inventive method embodiment based on same design, particular content referring to the narration in the inventive method embodiment, can repeat no more herein.
In sum, each embodiment of the present invention at least has the advantages that
1, in the embodiment of the present invention, first obtain card number and the password of bank card, and obtain the payment information corresponding with described bank card; Then according to predetermined Unionpay agreement, form the payment message corresponding with described card number, described password and described payment information, and described payment message is sent to POS, so that described POS is connected to Unionpay payment system server by telephone line and completes corresponding operation of paying the fees; After described payment operation has been performed, receives the payment fed back by described POS and complete message, and according to described Unionpay agreement, resolve described payment and complete message. Therefore, the embodiment of the present invention can expand the scope of application of Unionpay's communication mode.
2, in the embodiment of the present invention, the Unionpay's communication mode proposed can compatible each system platform, the payment information got according to the acquisition completing related data information needed for self, and can be assembled into the discernible payment message of Unionpay by each system platform, therefore the experience property of user is better.
3, in the embodiment of the present invention, POS is attached communicating with Unionpay payment system server by telephone line. By this implementation, terminal unit can be made to be attached communicating with Unionpay payment system server by telephone line in conjunction with POS, such that it is able to it is higher to the network requirement of local Unionpay payment system to solve Unionpay front server, and the Unionpay that some areas cannot complete under outer net environment is made to communicate the inconvenience caused.
4, in the embodiment of the present invention, bank card card-reading apparatus and metallic numerals Encryption Keyboard it have been integrated with due to terminal unit, it is possible to complete the acquisition of bank card relevant information, thus different from integrated-type POS, and the POS in the present embodiment can be simple type POS. In addition, due to this terminal unit can compatible each manufacturer, each equipment hardware composition, therefore the implementation that the present embodiment is connected with simple and easy POS by terminal unit, it is possible to solve very low the caused inconvenience of compatibility to other related terminal device of the integrated-type POS.
5, in the embodiment of the present invention, after the data message got is assembled into the discernible message information of Unionpay by terminal unit, by serial ports circuit, message information can be sent to simple and easy POS, by simple and easy POS, message is transmitted to Unionpay's payment system server again through telephone line, to complete operation of paying the fees accordingly, it is achieved thereby that under outer net environment with the communication of Unionpay's system. By this implementation, greatly improve the compatibility of relevant hardware devices, reduce the threshold of Unionpay's outbound communication simultaneously, it is achieved that Unionpay's communication and the lower coupling of terminal unit place network, expand the scope of application of Unionpay's communication mode.
6, in the embodiment of the present invention, corresponding to the communication mode of Unionpay's front server, the premise that Consumer's Experience promotes is to need to improve Unionpay's network, tax internal network, Unionpay's front server etc., and the cost and the cost that cause are higher. And the Unionpay's communication mode provided by the embodiment of the present invention can avoid the cost of this aspect to put into.
It should be noted that, in this article, the relational terms of such as first and second etc is used merely to separate an entity or operation with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially. And, term " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that include the process of a series of key element, method, article or equipment not only include those key elements, but also include other key elements being not expressly set out, or also include the key element intrinsic for this process, method, article or equipment. When there is no more restriction, statement " including a �� �� �� �� �� �� " key element limited, it is not excluded that there is also other same factor in including the process of described key element, method, article or equipment.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can be completed by the hardware that programmed instruction is relevant, aforesaid program can be stored in the storage medium of embodied on computer readable, this program upon execution, performs to include the step of said method embodiment; And aforesaid storage medium includes: in the various media that can store program code such as ROM, RAM, magnetic disc or CD.
Last it should be understood that the foregoing is only presently preferred embodiments of the present invention, it is merely to illustrate technical scheme, is not intended to limit protection scope of the present invention. All make within the spirit and principles in the present invention any amendment, equivalent replacement, improvement etc., be all contained in protection scope of the present invention.

Claims (10)

1. the method for Unionpay's communication, it is characterised in that be applied to terminal unit, including:
Obtain the card number of bank card and the password of described bank card;
Obtain the payment information corresponding with described bank card;
According to predetermined Unionpay agreement, form the payment message corresponding with described card number, described password and described payment information;
Described payment message is sent to POS, and the payment that reception is fed back by described POS completes message;
According to described Unionpay agreement, resolve described payment and complete message.
2. method according to claim 1, it is characterised in that
Described payment information, including: electric tax invoice number, pay taxes in the amount of money and collection organ's code any one or multiple;
And/or,
Described Unionpay agreement, including: in data length, parity technique and encryption technology any one or multiple.
3. according to described method arbitrary in claim 1 and 2, it is characterised in that
Before the payment information that described acquisition is corresponding with described bank card, farther include: obtain the duty paragraph corresponding with described bank card, and described duty paragraph is sent to tax system server;
The payment information that described acquisition is corresponding with described bank card, including: receive by the corresponding payment information of described tax system server feedback.
4. the method for Unionpay communication, it is characterised in that be applied to POS, is connected described POS with Unionpay payment system server by telephone wire, including:
Receive the payment message sent by terminal unit;
By the mode of telephone line dialing, described payment message is sent to described Unionpay payment system server, and reception is completed message by the payment of described Unionpay payment system server feedback;
Described payment is completed message and is sent to described terminal unit.
5. a terminal unit, it is characterised in that including:
First acquiring unit, for obtaining the card number of bank card;
Second acquisition unit, for obtaining the password of described bank card;
3rd acquiring unit, for obtaining the payment information corresponding with described bank card;
First processing unit, for according to predetermined Unionpay agreement, forming the payment message corresponding with described card number, described password and described payment information; And according to described Unionpay agreement, resolve the payment sent by the second processing unit and complete message;
Described second processing unit, for being sent to POS by described payment message; And the payment fed back by described POS is completed message be sent to described first processing unit.
6. terminal unit according to claim 5, it is characterised in that described first acquiring unit is bank card card-reading apparatus; Described second acquisition unit is metallic numerals Encryption Keyboard.
7. according to described terminal unit arbitrary in claim 5 and 6, it is characterised in that
Described second acquisition unit, is further used for obtaining the duty paragraph corresponding with described bank card, and described duty paragraph is sent to described 3rd acquiring unit;
Described 3rd acquiring unit, specifically for the described duty paragraph sent by described second acquisition unit is sent to tax system server, and receives by the corresponding payment information of described tax system server feedback.
8. a POS, it is characterised in that described POS is connected with Unionpay payment system server by telephone wire, including:
First processing unit, for being sent to the second processing unit by the payment message sent by terminal unit; And it is sent to described terminal unit by being completed message by the payment of the second processing unit transmission;
Described second processing unit, for by the mode of telephone line dialing, being sent to described Unionpay payment system server, and be sent to described first processing unit by being completed message by the payment of described Unionpay payment system server feedback by described payment message.
9. the system of Unionpay communication, it is characterised in that include such as the terminal unit as described in arbitrary in claim 5 to 7, POS as claimed in claim 8, and Unionpay's payment system server, wherein,
Described POS passes through serial ports circuit, and/or, USB port circuit is attached communicating with described terminal unit, and is attached communicating with described Unionpay payment system server by telephone line;
Described Unionpay payment system server, for receiving the payment message sent by the second processing unit in described POS, and processes described payment message to perform operation of paying the fees accordingly; And after described payment operation completes, the payment of generation is completed the second processing unit that message is sent in described POS.
10. the system of Unionpay according to claim 9 communication, it is characterised in that farther include: tax system server, wherein,
Described tax system server, for receiving the duty paragraph sent by the 3rd acquiring unit in terminal unit, and feeds back corresponding payment information to the 3rd acquiring unit in described terminal unit.
CN201610088335.2A 2016-02-17 2016-02-17 Unionpay communication method, device and system Pending CN105631647A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610088335.2A CN105631647A (en) 2016-02-17 2016-02-17 Unionpay communication method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610088335.2A CN105631647A (en) 2016-02-17 2016-02-17 Unionpay communication method, device and system

Publications (1)

Publication Number Publication Date
CN105631647A true CN105631647A (en) 2016-06-01

Family

ID=56046546

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610088335.2A Pending CN105631647A (en) 2016-02-17 2016-02-17 Unionpay communication method, device and system

Country Status (1)

Country Link
CN (1) CN105631647A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102592378A (en) * 2012-02-29 2012-07-18 胡乐乐 POS machine having unauthorized card swiping prevention function
US20140291392A1 (en) * 2013-04-02 2014-10-02 Nxp B.V. Digital wallet bridge
CN203894874U (en) * 2014-04-04 2014-10-22 深圳光启创新技术有限公司 Payment device and password input terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102592378A (en) * 2012-02-29 2012-07-18 胡乐乐 POS machine having unauthorized card swiping prevention function
US20140291392A1 (en) * 2013-04-02 2014-10-02 Nxp B.V. Digital wallet bridge
CN203894874U (en) * 2014-04-04 2014-10-22 深圳光启创新技术有限公司 Payment device and password input terminal

Similar Documents

Publication Publication Date Title
CN102663586B (en) A kind of method completing to pay by two mobile terminals
CN104169952A (en) Network payment method, device and system
CN104574057A (en) Online payment method and related equipment and system
CN106296175A (en) Method of payment, merchant tenninal, bank transaction system, client terminal and system
CN104574058A (en) Fingerprint payment method and related equipment and system
CN107464120A (en) Exempt from the safe verification method, trade company's background system and payment system of close payment
CN101799901B (en) Method for rapidly registering account, recharging and landing
CN107358439A (en) Using method of payment, device and terminal device
CN102496112A (en) Three-screen payment system based on intelligent SD card and realization method thereof
CN104732376A (en) Payment code reset method, terminal and system
CN105099983A (en) Authorization method, authority setting method and devices
CN104283898A (en) Information processing method and device
CN104299132A (en) Uniform payment gateway
CN107993106A (en) Electronic invoice generation method and device
CN104200365A (en) Writing and paying method for electronic check
CN111415146A (en) Resource data processing method, device and equipment
CN101090414A (en) Mobile payment service implementing method based on quick response matrix code
CN102521631A (en) Intelligent financial IC card reading and writing method based on electronic identity card system
CN110263239A (en) A kind of method, apparatus, storage medium and the computer equipment of invoice identification
CN110348835A (en) A kind of fictitious assets transfer method, device, server and storage medium
CN103177360A (en) Paying system and method based on unified personal information
TWI814635B (en) Multi-channel payment method and system
CN108197914A (en) A kind of information acquisition method, device and server
CN105915551A (en) Real-name system verification method and communication operator real-name system verification method based on mobile terminal bottom layer
CN105184565A (en) Card business realizing method, business platform and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160601