CN102945579A - Data acquisition method based on TLV (Type Length Value) format for POS (Point of Sale) transaction center - Google Patents

Data acquisition method based on TLV (Type Length Value) format for POS (Point of Sale) transaction center Download PDF

Info

Publication number
CN102945579A
CN102945579A CN2012104681703A CN201210468170A CN102945579A CN 102945579 A CN102945579 A CN 102945579A CN 2012104681703 A CN2012104681703 A CN 2012104681703A CN 201210468170 A CN201210468170 A CN 201210468170A CN 102945579 A CN102945579 A CN 102945579A
Authority
CN
China
Prior art keywords
data
transaction
tlv
instruction
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012104681703A
Other languages
Chinese (zh)
Other versions
CN102945579B (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.)
Shenzhen Xinguodu Tech Co Ltd
Original Assignee
Shenzhen Xinguodu Tech 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 Shenzhen Xinguodu Tech Co Ltd filed Critical Shenzhen Xinguodu Tech Co Ltd
Priority to CN201210468170.3A priority Critical patent/CN102945579B/en
Publication of CN102945579A publication Critical patent/CN102945579A/en
Application granted granted Critical
Publication of CN102945579B publication Critical patent/CN102945579B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a data acquisition method based on a TLV (Type Length Value) format for a POS (Point of Sale) transaction center, which comprises the following steps: inputting an order and data information at a POS terminal; analyzing the order inputted at the POS terminal to acquire a custom information order or a fixed transaction information order; analyzing the inputted data information; extracting tags for the data from which the custom information order is acquired; and writing the analyzed data information to a background TLV data structure according to the extracted tags for the use during transaction processing. The data acquisition method based on the TLV format for the POS transaction center has the advantages that the flexibility of data acquisition at a POS terminal is improved, and custom information can be acquired conveniently; new structure variables are not needed when new transactions are processed, and therefore, the modification of background trading center programs is avoided, the update frequency of background programs is reduced, losses caused by background shutdown for maintenance are decreased, and benefits are increased; collected custom information orders can be used for multiple times without limitation so that more necessary information can be collected for a transaction without background limitations.

Description

A kind of POS machine trade center is based on the data capture method of TLV form
Technical field
The present invention relates to financial POS transaction technology field, relate in particular to a kind of POS machine trade center based on the data capture method of TLV form.
Background technology
Development along with the payment industry, increasing acquirer adopts thin terminal pattern as the processing scheme of POS trade center, this pattern is obtained the necessary data of transaction and is sent back to the center by terminal, and the center is finished and returned the transaction results content after the transaction processing and transfer to the demonstration that terminal is carried out transaction results.The data that collection comes up for terminal; existing thin terminal center platform program adopts the fixed data structure to preserve more; the method can guarantee the fast location use of data in the center processing process; and in the situation that need not to change, can support the transaction of standard Unionpay; but for the business transaction that comprises self-defined input/output information; then there is the problem of obtaining the content interrogatory; for the interpolation that can finish Added Business is upgraded with regard to revising the trade center background program; the center must be shut down when ROMPaq; normal trading activity is impacted, cause POS trade center maintenance cost high; inefficiency.
Summary of the invention
The object of the invention is to for overcoming the defective of prior art, and the data capture method of a kind of POS machine trade center based on the TLV form is provided.
For achieving the above object, the present invention is by the following technical solutions: a kind of POS machine trade center may further comprise the steps based on the data capture method of TLV form:
S1) the input instruction of POS machine terminal and data message;
S2) instruction of POS machine terminal input is resolved;
S3) be obtained from definition information command or fixedly Transaction Information instruction, as for fixedly Transaction Information instruction, then enter the S4 step, as be the self-defined information instruction, then enter the S5 step;
S4) data message of input is resolved, obtain the Data Analysis reserve transaction processing of fixedly Transaction Information instruction and use;
S5) label is resolved and extracted to the data message that is obtained from the definition information command;
S6) data message after will resolving according to the label that extracts writes in the TLV data structure of backstage, in order to the transaction processing use.
The label that step S5 extracts is that POS machine backstage transaction program is according to instruction sequences and the corresponding label of instruction of the configuration of terminal menu flow process.
Instruction and the data message of the input of POS machine terminal are two groups or more among the step S1.
Repeated execution of steps S2 to S6 writes in the TLV data structure of backstage according to label with the data that two groups or more are obtained from the definition information command, uses in order to transaction processing
1), promoted the flexibility ratio that the POS terminal data gathers the present invention's beneficial effect compared with prior art is:, can compare easily self-defined information and obtain; 2), when processing new transaction, need not to increase new structure variable, avoid the modification to backstage trade center program, reduced the background program renewal frequency, reduced to shut down because of the backstage and safeguarded the loss that causes, improved income; 3), the clear and definite implication that gathers self-defined information, label can self-defining, gives fixedly implication in definition, is not easy to obscure; 4) but, the single transaction multi collect makes information by oneself, gather the restriction that self-defined information just no longer is confined to the data structure body according to label, can unrestrictedly repeatedly use and gather the self-defined information instruction, so that transaction can collect the information that need, limited by the backstage more.
Description of drawings
Fig. 1 is the workflow diagram of the preferred embodiment of the present invention;
Fig. 2 is the former transaction voucher menu flow process configuration schematic diagram that magnetic stripe card consumption is cancelled.
Embodiment
In order to more fully understand technology contents of the present invention, below in conjunction with specific embodiment technical scheme of the present invention is further introduced and explanation.
As shown in Figure 1, be the theory diagram of the preferred embodiment of the present invention, this preferred embodiment starts from step S1, at the input instruction of POS machine terminal and data message; Step S2: the backstage transaction program is resolved the instruction of POS machine terminal input, step S3: be obtained from definition information command or fixedly Transaction Information instruction, as for fixedly Transaction Information instruction, then enter the S4 step, as be the self-defined information instruction, then enter the S5 step; Step S4: the backstage transaction program is resolved the data message of input, obtains the Data Analysis reserve transaction processing of fixedly Transaction Information instruction and uses; Step S5: the backstage transaction program is to being obtained from the Data Analysis that defines information command and extracting label; Step S6: the data message after the backstage transaction program will be resolved according to the label that extracts writes in the TLV data structure of backstage, uses in order to transaction processing.
In the present embodiment, the label that extracts in step S5 is that POS machine backstage transaction program is according to instruction sequences and the corresponding label of instruction of the configuration of terminal menu flow process.
In the present embodiment, instruction and the data message of the input of POS machine terminal are two groups or more in step S1.
In the present embodiment, repeated execution of steps S2 to S6 writes in the TLV data structure of backstage according to label with the data that two groups or more are obtained from the definition information command, uses in order to transaction processing.
The below cancels as example explanation TLV data acquisition application in practice with Unionpay's benchmark service consumption.
Regulation according to " POS of China Unionpay terminal specification ", transaction is cancelled in magnetic stripe card consumption to be needed the operator after terminal is inputted former transaction voucher number, the former transaction magnetic card of brush, input password transaction to be sent to the backstage transaction program to process, and thin terminal platform issues as the menu primary data for the instruction flow of thin terminal platform this flow process is abstract.
Wherein, brush former transaction magnetic card and the input password has used respectively stereotyped command " to read the magnetic track ciphertext " to reach " reading the password ciphertext ", " the read business application number " instruction that gathers one of self-defined information instruction has been adopted in the action of inputting former transaction voucher number, and the backstage transaction program has been formulated collection label " former right-hand member conclude the business voucher number (serial number) " for it when this instruction of configuration.The backstage transaction program will wrap to Unionpay as former transaction voucher factor group transaction according to this label (TAG) value (VALUE) when cancelling in processing consumption.
As shown in Figure 2, consume the former transaction voucher menu flow process configuration schematic diagram of cancelling for magnetic stripe card, the flow process that wherein sequence number 1 record is corresponding is the former transaction voucher of input number, the content on its " self-defined TAG " hurdle is " former right-hand member transaction voucher number (serial number) ", according to this menu flow process configuration, POS machine terminal can be according to sending corresponding data in the instruction, backstage transaction program meeting resolution data also adds in the respective labels it for subsequent use, following data are cancelled dissection process TLV complete structure data later in the transaction for consumption, all 16 systems represent (together lower, no longer explanation) to data take byte as unit:
0F?03?01?02?0F?00?06?34?36?32?34?37?32?57?24?36?32?32?32?36
After this data block resolved, " former right-hand member transaction voucher number (serial number) " label and corresponding data thereof were:
TAG:0F?00
LENGTH:06
VALUE:34 36 32 34 37 32(are ASC code " 462472 ")
One whole string TLV data will be given down-stream and be carried out transaction processing, finally return transaction results to pre-process.
The above only further specifies technology contents of the present invention with embodiment, so that the reader is more readily understood, does not only limit to this but do not represent embodiments of the present invention, and any technology of doing according to the present invention is extended or recreation, all is subjected to protection of the present invention.

Claims (4)

1. a POS machine trade center is characterized in that based on the data capture method of TLV form, may further comprise the steps:
S1) the input instruction of POS machine terminal and data message;
S2) instruction of POS machine terminal input is resolved;
S3) be obtained from definition information command or fixedly Transaction Information instruction, as for fixedly Transaction Information instruction, then enter the S4 step, as be the self-defined information instruction, then enter the S5 step;
S4) data message of input is resolved, obtain the Data Analysis reserve transaction processing of fixedly Transaction Information instruction and use;
S5) label is resolved and extracted to the data message that is obtained from the definition information command;
S6) data message after will resolving according to the label that extracts writes in the TLV data structure of backstage, in order to the transaction processing use.
2. POS machine trade center according to claim 1 is characterized in that based on the data capture method of TLV form, and the label that step S5 extracts is that POS machine backstage transaction program is according to instruction sequences and the corresponding label of instruction of the configuration of terminal menu flow process.
3. arbitrary described POS machine trade center is characterized in that based on the data capture method of TLV form according to claim 1 and 2, and instruction and the data message of the input of POS machine terminal are two groups or more among the step S1.
4. POS machine trade center according to claim 3 is based on the data capture method of TLV form, it is characterized in that, repeated execution of steps S2 to S6, write in the TLV data structure of backstage according to label with the data that two groups or more are obtained from the definition information command, use in order to transaction processing.
CN201210468170.3A 2012-11-19 2012-11-19 Data acquisition method based on TLV (Type Length Value) format for POS (Point of Sale) transaction center Expired - Fee Related CN102945579B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210468170.3A CN102945579B (en) 2012-11-19 2012-11-19 Data acquisition method based on TLV (Type Length Value) format for POS (Point of Sale) transaction center

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210468170.3A CN102945579B (en) 2012-11-19 2012-11-19 Data acquisition method based on TLV (Type Length Value) format for POS (Point of Sale) transaction center

Publications (2)

Publication Number Publication Date
CN102945579A true CN102945579A (en) 2013-02-27
CN102945579B CN102945579B (en) 2015-04-15

Family

ID=47728517

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210468170.3A Expired - Fee Related CN102945579B (en) 2012-11-19 2012-11-19 Data acquisition method based on TLV (Type Length Value) format for POS (Point of Sale) transaction center

Country Status (1)

Country Link
CN (1) CN102945579B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1635495A (en) * 2003-12-31 2005-07-06 中国银联股份有限公司 Transaction settlement processing system and information transmission and processing method
CN1635506A (en) * 2003-12-25 2005-07-06 广东金中华通讯服务有限公司 Financial payment service system
WO2005065231A2 (en) * 2003-12-31 2005-07-21 Ge Factofrance Snc Secure data exchange, notably of certified data for factoring
CN1760910A (en) * 2005-11-16 2006-04-19 北京易富金川科技有限公司 Information collection, transmission, process system and method based on uniform information identification codes
CN100570655C (en) * 2003-02-21 2009-12-16 传感电子公司 Integrated eas (EAS) and point of sale (POS) system and method
US20100121701A1 (en) * 2008-11-13 2010-05-13 Loc Duc Nguyen System and method for uniquely identifying point of sale devices in an open payment network
US7769621B2 (en) * 2000-06-02 2010-08-03 Mentor Partners, Llc Information trading system and method
CN101877101A (en) * 2010-03-23 2010-11-03 苏州德融嘉信信用管理技术有限公司 Bank payment system and operating method thereof
CN102263700A (en) * 2011-08-18 2011-11-30 中兴通讯股份有限公司 Method, device and system for sending and receiving messages
CN102479079A (en) * 2010-11-29 2012-05-30 中兴通讯股份有限公司 Method and device for generating application

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7769621B2 (en) * 2000-06-02 2010-08-03 Mentor Partners, Llc Information trading system and method
CN100570655C (en) * 2003-02-21 2009-12-16 传感电子公司 Integrated eas (EAS) and point of sale (POS) system and method
CN1635506A (en) * 2003-12-25 2005-07-06 广东金中华通讯服务有限公司 Financial payment service system
CN1635495A (en) * 2003-12-31 2005-07-06 中国银联股份有限公司 Transaction settlement processing system and information transmission and processing method
WO2005065231A2 (en) * 2003-12-31 2005-07-21 Ge Factofrance Snc Secure data exchange, notably of certified data for factoring
CN1760910A (en) * 2005-11-16 2006-04-19 北京易富金川科技有限公司 Information collection, transmission, process system and method based on uniform information identification codes
US20100121701A1 (en) * 2008-11-13 2010-05-13 Loc Duc Nguyen System and method for uniquely identifying point of sale devices in an open payment network
CN101877101A (en) * 2010-03-23 2010-11-03 苏州德融嘉信信用管理技术有限公司 Bank payment system and operating method thereof
CN102479079A (en) * 2010-11-29 2012-05-30 中兴通讯股份有限公司 Method and device for generating application
CN102263700A (en) * 2011-08-18 2011-11-30 中兴通讯股份有限公司 Method, device and system for sending and receiving messages

Also Published As

Publication number Publication date
CN102945579B (en) 2015-04-15

Similar Documents

Publication Publication Date Title
CN105761139A (en) Account checking system and method
CN105373448A (en) Method and system for recovering failure data in database
CN107145482A (en) Article generation method and device, equipment and computer-readable recording medium based on artificial intelligence
CN103914776A (en) Order withdrawing processing system and method
CN102509241A (en) Management method and management device of POS (Point Of Sale) terminal system for insurance sales
CN107688591A (en) A kind of actuarial treating method and apparatus
CN102073912A (en) Data quality control method, device and system
CN104657808A (en) System and method capable of realizing real-time inquiry and management of fund data of enterprise
CN107704436A (en) Sampling of data method, terminal, equipment and computer-readable recording medium
CN112214508B (en) Data processing method and device
Rizki et al. Customer Loyality Segmentation on Point of Sale System Using Recency-Frequency-Monetary (RFM) and K-Means
CN105550939A (en) Knitting production management system terminal
CN111754317A (en) Financial investment data evaluation method and system
CN102521551B (en) Personalized IC (integrated circuit) card issuing device and method
CN102915476A (en) Visual business process design method
US8881018B2 (en) Method and system for remediating nonfunctional website content
CN101149860A (en) Tax-control data declaration, checking treatment method of network tax-control system
CN105138656A (en) Method and device for processing data
CN102982624A (en) Printing method for point-of-sale (POS) machine trading center based on threshold limit value (TLV) format data
CN103455476B (en) The processing method of the network information and the method for building up of abstract syntax tree and device thereof
CN103440577A (en) Goods category clearing system
CN103544454A (en) Script processing based personalized smart-card issuing method, device and system
CN102945579B (en) Data acquisition method based on TLV (Type Length Value) format for POS (Point of Sale) transaction center
CN106407391A (en) A data quality monitoring method and system
CN109544134A (en) Convenient payment service method 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
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150415

Termination date: 20191119