CN102982624B - Printing method for point-of-sale (POS) machine trading center based on threshold limit value (TLV) format data - Google Patents
Printing method for point-of-sale (POS) machine trading center based on threshold limit value (TLV) format data Download PDFInfo
- Publication number
- CN102982624B CN102982624B CN201210468371.3A CN201210468371A CN102982624B CN 102982624 B CN102982624 B CN 102982624B CN 201210468371 A CN201210468371 A CN 201210468371A CN 102982624 B CN102982624 B CN 102982624B
- Authority
- CN
- China
- Prior art keywords
- printing
- tags
- contents
- tlv
- 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.)
- Expired - Fee Related
Links
Landscapes
- Cash Registers Or Receiving Machines (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention relates to a printing method for a point-of-sale (POS) machine trading center based on threshold limit value (TLV) format data. The printing method comprises the following steps of sending out a printing instruction; printing a configured title; sequentially reading printed contents; directly printing the read contents if the read printed contents do not contain tags; if the read printed contents contain tags, analyzing TLV data structures corresponding to the tags to obtain contents of the tags, formatting the contents of the tags according to attributions, replacing the tags in the printed contents with formatted contents of the tags and then performing printing; and printing configured inscriber. By means of the printing method, tag data are obtained from the trading processing result TLV data structures in the aspect of the printed contents, printing can be configured flexibly, and printing formats can be reasonably configured. When the printing variable is updated, a background program does not need updating, so that trade smoothness is ensured, shutdown maintenance of the trading center caused by updating of the background program is avoided, and business losses of an acquirer are reduced to the largest extent.
Description
Technical field
The present invention relates to financial POS transaction technology field, particularly relate to the Method of printing of a kind of POS trade center based on TLV formatted data.
Background technology
Along with the development paying industry, increasing acquirer adopts thin terminal pattern as the processing scheme of POS trade center, this pattern obtains the necessary data of transaction by terminal and sends center back to, and center returns transaction results content and transfers to terminal to carry out display, the printing of transaction results after completing transaction processing.For the data that terminal collection comes up, existing thin terminal center platform program many employings fixed data structure is preserved, the method can ensure that the location fast of data in center processing process uses, and can support that standard Unionpay concludes the business when without the need to changing, for strip print data, the printing of specified format can only be done to specific data, for print data as the amount of money, the form of date and shielding card number etc. can not adjust, and it is dumb on printing list is arranged, can not flexibly customizing print data, if add new Printing Qptions can only revise trade center backstage code, just must revise trade center background program in order to the interpolation that can complete Added Business to upgrade, when ROMPaq, center must be shut down, normal trading activity is impacted, cause POS trade center maintenance cost high, inefficiency.
Summary of the invention
The object of the invention is to the defect for overcoming prior art, and provide a kind of POS trade center based on the Method of printing of TLV formatted data.
For achieving the above object, the present invention is by the following technical solutions: a kind of POS trade center, based on the Method of printing of TLV formatted data, comprises the following steps:
S1) print command is sent;
S2) configuration title is printed;
S3) print What is read according to places;
S4) print What that reads of step S3 is not if containing label, then directly print reading of content; The print What that step S3 reads is as containing label, then the TLV data structure corresponding to this label is resolved, obtain the content of this label, the content dependency of this label is formatd, print after the label in the label substance replacement print What of using form.
S5) configuration inscription is printed.
The curriculum offering respective labels relevant to each concrete transaction processing result that step S3 reads, and generate TLV data structure.
In the curriculum offering respective labels that backstage WEB terminal is relevant to each concrete transaction processing result, and its attribute of relative set.
The present invention's beneficial effect is compared with prior art: 1), adopt obtain label data in print What from transaction processing result TLV data structure, can configuring print more flexibly, and can to print format reasonable disposition; 2), when printing variable update without the need to upgrading background program, thus ensure that carrying out smoothly of transaction; 3), avoid because upgrade the phenomenon that background program causes trade center maintenance shut-downs, farthest reduce the traffic lost of acquirer.
Accompanying drawing explanation
Fig. 1 is the workflow diagram of the preferred embodiment of the present invention;
Fig. 2 is the configuration schematic diagram of consumption printing list partial content.
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 being introduced further and illustrating.
As shown in Figure 1, be the theory diagram of the preferred embodiment of the present invention, this preferred embodiment starts from step S1, sends print command in POS terminal; Step S2, prints configuration title; Step S3, reads print What according to places; Step S4, if not containing label in the print What read according to places, then directly prints reading of content; In the print What that reads according to places as containing label, then the TLV data structure corresponding to this label is resolved, obtain the content of this label, the content dependency of this label is formatd, print after the label in the label substance replacement print What of using form; After the printing completing whole places, enter step S5, print configuration inscription, complete the Print All of strip.
In the present embodiment, in the curriculum offering respective labels relevant to each concrete transaction processing result that step S3 reads, and generate TLV data structure.
In the present embodiment, in the curriculum offering respective labels that backstage WEB terminal is relevant to each concrete transaction processing result, and its attribute of relative set.
Below to further illustrate the Method of printing of POS trade center based on TLV formatted data to the specifically relevant trade company number of at every turn conclude the business, card number in Unionpay's benchmark service.
As shown in Figure 2, for consumption printing list partial content trade company number, the configuration schematic diagram of card number, printing list is with behavior unit, the attribute of often going comprises printed indicia, print What, print mark, print position and the some items of data attribute, wherein relevant to concrete each transaction content is as trade company number, the print What partial configuration of card number label, the Data Source of this print What is specified to be a concrete label in TLV structure, organize backstage transaction program in printing list process can by the Data Analysis in TLV after obtain the content of this label, replace by the content of this label and fill this print What, attribute then specifies the attribute of print What, program is facilitated to do some special processings to this content, as card number adds " * " number shielding.The print What of trade company number is label <1F08>, the TLV structured data that backstage transaction program receives according to this label is as follows: 30 30 30 30 30 31 30 30 30 30 30 30 30 30 30 30 3D 3D 3D 30, this structure is resolved, obtains the content of this label:
TAG:1F 08
LENGTH:0F
VALUE:33 30 33 34 34 30 31 35 37 33 34 30 30 35 33(and ASC code " 303440157340053 ")
The content finally printed is " trade company number: 303440157340053 ".The content that card number prints is: * * * * * * *.
The above only further illustrates technology contents of the present invention with embodiment, so that reader is easier to understand, but does not represent embodiments of the present invention and is only limitted to this, and any technology done according to the present invention extends or recreation, all by protection of the present invention.
Claims (2)
1. POS trade center is based on a Method of printing for TLV formatted data, it is characterized in that, comprises the following steps:
S1) print command is sent;
S2) configuration title is printed;
S3) read the relevant content of each concrete transaction processing result, read according to places and print this content;
S4) print What that reads of step S3 is not if containing label, then directly print the content of reading; The print What that step S3 reads is as containing label, then the TLV data structure corresponding to this label is resolved, obtain the content of this label, the content dependency of this label is formatd, print after the label inside the label substance replacement print What of using form;
S5) configuration inscription is printed.
2. POS trade center, based on the Method of printing of TLV formatted data, is characterized in that according to claim 1, in the curriculum offering respective labels that backstage WEB terminal is relevant to concrete transaction processing result, and its attribute of relative set.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210468371.3A CN102982624B (en) | 2012-11-19 | 2012-11-19 | Printing method for point-of-sale (POS) machine trading center based on threshold limit value (TLV) format data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210468371.3A CN102982624B (en) | 2012-11-19 | 2012-11-19 | Printing method for point-of-sale (POS) machine trading center based on threshold limit value (TLV) format data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102982624A CN102982624A (en) | 2013-03-20 |
CN102982624B true CN102982624B (en) | 2015-07-08 |
Family
ID=47856549
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210468371.3A Expired - Fee Related CN102982624B (en) | 2012-11-19 | 2012-11-19 | Printing method for point-of-sale (POS) machine trading center based on threshold limit value (TLV) format data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102982624B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104408342B (en) * | 2014-11-13 | 2019-04-02 | 深圳市无微不至数字技术有限公司 | A kind of secure printing system and method |
CN105930312B (en) * | 2015-09-29 | 2019-06-07 | 中国银联股份有限公司 | A kind of printing strip edit methods and device based on POS terminal |
CN105391593A (en) * | 2015-12-30 | 2016-03-09 | 迈普通信技术股份有限公司 | Message transmission method and equipment |
CN109491622B (en) * | 2018-10-25 | 2022-03-08 | 百富计算机技术(深圳)有限公司 | Printing method applied to transaction terminal and transaction terminal |
CN110457657B (en) * | 2019-08-15 | 2023-08-22 | 中国银行股份有限公司 | Method and device for formatting sum field |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1997963A (en) * | 2004-05-25 | 2007-07-11 | 亚历山大·索雷斯·皮·法里亚斯 | System for accessing a POS terminal, method for downloading and updating applications and method for performing electronic operation using such a system |
JP2009093318A (en) * | 2007-10-05 | 2009-04-30 | Seiko Epson Corp | Receipt data management system, printer, receipt data management device, receipt data management method, and receipt data management program |
CN101458783A (en) * | 2007-12-13 | 2009-06-17 | 鸿富锦精密工业(深圳)有限公司 | Document generation system and method |
CN101477733A (en) * | 2008-12-31 | 2009-07-08 | 深圳市奥拓电子有限公司 | Bill printing system |
CN101504662A (en) * | 2009-03-13 | 2009-08-12 | 北大方正集团有限公司 | Data conversion method and apparatus |
CN102341245A (en) * | 2009-03-19 | 2012-02-01 | 株式会社佐藤 | Printer device and printer system |
-
2012
- 2012-11-19 CN CN201210468371.3A patent/CN102982624B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1997963A (en) * | 2004-05-25 | 2007-07-11 | 亚历山大·索雷斯·皮·法里亚斯 | System for accessing a POS terminal, method for downloading and updating applications and method for performing electronic operation using such a system |
JP2009093318A (en) * | 2007-10-05 | 2009-04-30 | Seiko Epson Corp | Receipt data management system, printer, receipt data management device, receipt data management method, and receipt data management program |
CN101458783A (en) * | 2007-12-13 | 2009-06-17 | 鸿富锦精密工业(深圳)有限公司 | Document generation system and method |
CN101477733A (en) * | 2008-12-31 | 2009-07-08 | 深圳市奥拓电子有限公司 | Bill printing system |
CN101504662A (en) * | 2009-03-13 | 2009-08-12 | 北大方正集团有限公司 | Data conversion method and apparatus |
CN102341245A (en) * | 2009-03-19 | 2012-02-01 | 株式会社佐藤 | Printer device and printer system |
Also Published As
Publication number | Publication date |
---|---|
CN102982624A (en) | 2013-03-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102982624B (en) | Printing method for point-of-sale (POS) machine trading center based on threshold limit value (TLV) format data | |
CN100565601C (en) | A kind of bill processing apparatus and method | |
CN107886439A (en) | Insurance products development approach, device, equipment and computer-readable recording medium | |
CN202838427U (en) | Electric goods shelf label system | |
CN102436359A (en) | Method of adding value to print data, a value-adding device, and a recording medium | |
JP2005141649A (en) | Pos system, electronic receipt issuance system, electronic receipt issuance method and program | |
CN102830947A (en) | Report printing control implemented based on report printing template format | |
JP2005056143A (en) | Electronic receipt issuing method, program, electronic receipt issuing device, printer and pos system | |
US8659788B2 (en) | Reduced printing width printer, printer control method, and operation control method | |
US8804139B1 (en) | Method and system for repurposing a presentation document to save paper and ink | |
US20160196095A1 (en) | Data conversion system, data conversion device, and data conversion method | |
CN111783414A (en) | Label printing template generation method and device | |
CN111581934A (en) | Label printing method and system based on XML and Excel | |
CN102341245B (en) | Printer apparatus and printer system | |
US20070139692A1 (en) | Method and server for processing an electronic workflow | |
CN102354382A (en) | Electronic coupon acquisition apparatus | |
US20090295836A1 (en) | System and method for representing large activity diagrams | |
CN107563689A (en) | Use bar code management system and method | |
CN202904626U (en) | RFID (Radio frequency identification) technology-based content composer of dynamic display system | |
US20200143417A1 (en) | Big data advertisement system and method for advertising by means of back of cash register paper | |
CN111651696B (en) | Product label customizing method and device, computer storage medium and electronic equipment | |
CN110413659B (en) | General shopping ticket data accurate extraction method | |
CN112686014A (en) | Cable number plate compiling system and method | |
CN100487735C (en) | Method for configuring personalized function of tax controlled cash register | |
CN102929186B (en) | Method for implementing data communication between model system and Web monitor screen |
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 |
Granted publication date: 20150708 Termination date: 20191119 |
|
CF01 | Termination of patent right due to non-payment of annual fee |