CN101901526A - Method for issuing commercial retail tax control invoice - Google Patents

Method for issuing commercial retail tax control invoice Download PDF

Info

Publication number
CN101901526A
CN101901526A CN 201010232437 CN201010232437A CN101901526A CN 101901526 A CN101901526 A CN 101901526A CN 201010232437 CN201010232437 CN 201010232437 CN 201010232437 A CN201010232437 A CN 201010232437A CN 101901526 A CN101901526 A CN 101901526A
Authority
CN
China
Prior art keywords
tax
data
invoice
design
backstage
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
CN 201010232437
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.)
Shandong Inspur Software Co Ltd
Original Assignee
Shandong Inspur Software 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 Shandong Inspur Software Co Ltd filed Critical Shandong Inspur Software Co Ltd
Priority to CN 201010232437 priority Critical patent/CN101901526A/en
Publication of CN101901526A publication Critical patent/CN101901526A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a method for issuing a commercial retail tax control invoice, which comprises the following steps of: connecting a plurality of POS terminals of the commercial retail with a procedure of a background tax control server through a SOCKET mode; communicating with the procedure of the background tax control server through a communication format specified by a first part of GB18240.1: machine specification, distributing an independent data process thread to a request after a service procedure receives the request for issuing the invoice, concurrently running each tread, performing data interchange with a hitched tax controller set through an RS 232 serial port, transmitting invoicing data to each tax controller, performing data signature to the invoicing data after the tax controllers effectively judge, returning a generated tax control anti-fake code back to the procedure of the background tax control server and back to each POS terminal through a plurality of SOCKET signal paths to print the invoice and complete the invoicing operation. Therefore the method not only can lead the plurality of POS terminals to jointly use the tax control equipment so as to reduce the requirement of the amount of the equipment but also can realize the concurrent management to the tax control equipment so as to improve the data processing capability.

Description

A kind of method of opening that is applied to retailing industry tax-controlled invoice
Technical field
The present invention relates to the application of commercial tax control machine in the retailing industry, the The Design of Tax Controled Device group is to the concurrent method of making out an invoice of its management data in a kind of specifically retailing industry.
Background technology
The retailing industry is the mainstay industry of China's economy, and at present, tax control machine is dismissed ticket and obtained promoting widely and using in the sector.But because the singularity of the sector, its POS terminal quantity is many and management data is numerous and diverse huge, therefore, require each user to buy a tax controlling equipment and unrealistic for every station terminal, therefore, tax authorities of all places have's cancellation is machine number of buying a ticket and the corresponding to tax control counting requirement of printing draft bank in the sector, allows at backstage generation tax control sign indicating number, the shared tax controlling equipment of a plurality of POS terminals.
Summary of the invention
The purpose of this invention is to provide a kind of method of opening that is applied to retailing industry tax-controlled invoice.
The objective of the invention is to realize in the following manner, make retailing industry POS terminal connect, communicate with the communication format and the backstage tax control server program of " GB18240.1 first: machine standard " defined with mode and the backstage tax control server program of SOCKET.Service routine is after receiving the request of making out an invoice, for this request distributes the independent data processing threads, concurrent running between each thread, carry out data interaction by RS232 serial ports and the The Design of Tax Controled Device group that articulates simultaneously, the data of making out an invoice are sent to separately The Design of Tax Controled Device, undertaken after validity judges by The Design of Tax Controled Device, these data of making out an invoice are carried out data signature, and the tax-control anti-counterfeit sign indicating number that generates returned to the backstage service routine, the POS terminal that returns to separately via the SOCKET channel is carried out printing invoice again, finishes the concurrent operation of making out an invoice; Concrete steps are as follows:
5) definition SOCKET channel data transmission message format:
Set up communication channel by the SOCKET mode between POS terminal and the backstage tax control service routine, use " GB18240.1 first: machine standard " middle message transmission form that defines to carry out data interaction;
6) tax control service routine in backstage is for the concurrent processing of the data of making out an invoice:
Tax control service routine in backstage starts independent scheduling thread, splitting ticket data manages, when the data of making out an invoice arrive, this scheduling thread can be the idle The Design of Tax Controled Device of this data allocations automatically, data are transferred to this idle The Design of Tax Controled Device to be handled, and carrying out Data Receiving for this data allocations independent data processing threads, this scheduling thread only is responsible for splitting ticket data and is dispatched distribution, does not carry out data computation; Data computation is finished by The Design of Tax Controled Device and corresponding data processing threads, to guarantee the concurrent processing of data;
7) connected mode between backstage tax control service routine and the The Design of Tax Controled Device group:
Link to each other by the RS232 Serial Port Line between backstage tax control service routine and the The Design of Tax Controled Device group, every The Design of Tax Controled Device all has special-purpose physical serial interface corresponding with it, can work simultaneously to guarantee The Design of Tax Controled Device; Two The Design of Tax Controled Device of the minimum connection of backstage tax control service routine;
8) the concurrent flow process of making out an invoice:
A: the port that each POS terminal can be opened to backstage tax control service routine is simultaneously initiated connection request, and after successfully setting up the SOCKET communication channel, the POS terminal can send the request of making out an invoice to service routine immediately, and waits for that result, communication channel keep connecting;
B: backstage tax control service routine receives after the request of making out an invoice, and distributes to different idle The Design of Tax Controled Device by the scheduling thread request of will respectively making out an invoice, and is respectively this data startup independent data processing threads wait return data;
C: The Design of Tax Controled Device receives the data of making out an invoice, the data content is carried out validation verification after, these data are carried out digital signature, generate the tax-control anti-counterfeit sign indicating number, after storage is finished, effective information is returned to backstage tax control service routine;
D: after the data processing thread receives the response of The Design of Tax Controled Device, by the SOCKET channel data are returned to separately POS terminal, and discharge corresponding serial ports, destroy self thread, The Design of Tax Controled Device is changed to idle condition, wait for scheduling thread sub-distribution again;
E: after each POS terminal receives the result message, disconnect the SOCKET channel, carry out follow-up business and handle, finish the concurrent operation of making out an invoice.
Tax-control cash register is the accumulating sum and the accumulative total bar number of unit storage telecommunications business hall business datum with the day in record invoice detail, forms the Day Trading record of business datum, and carries out encrypted signature and handle.
At least can keep one month professional detailed, Day Trading cumulative data on tax-control cash register, then by network or movable storage device, professional detailed, the Day Trading data with after encrypting are sent in the GB tax control management system and carry out unified management.
Excellent effect of the present invention is: the new tax control counting method of proposition.Not only can make the shared tax controlling equipment of a plurality of POS terminals, reduce the number of devices demand, and realize also hairdo management, improve data-handling capacity tax controlling equipment.
Description of drawings
Accompanying drawing 1 accompanying drawing is retailing industry POS terminal and backstage tax control service on-line composition synoptic diagram.
Embodiment
Explain below with reference to Figure of description method of the present invention being done.
Make retailing industry POS terminal connect, communicate with the communication format and the backstage tax control server program of " GB18240.1 first: machine standard " defined with mode and the backstage tax control server program of SOCKET.Service routine is after receiving the request of making out an invoice, for this request distributes the independent data processing threads, concurrent running between each thread, carry out data interaction by RS232 serial ports and the The Design of Tax Controled Device group that articulates simultaneously, the data of making out an invoice are sent to separately The Design of Tax Controled Device, undertaken after validity judges by The Design of Tax Controled Device, these data of making out an invoice are carried out data signature, and the tax-control anti-counterfeit sign indicating number that generates returned to the backstage service routine, the POS terminal that returns to separately via the SOCKET channel is carried out printing invoice again, finishes the concurrent operation of making out an invoice.
Implementation step is as follows:
1) definition SOCKET channel data transmission message format
Set up communication channel by the SOCKET mode between POS terminal and the backstage tax control service routine, use " GB18240.1 first: machine standard " middle message transmission form that defines to carry out data interaction.
2) tax control service routine in backstage is for the concurrent processing of the data of making out an invoice
Tax control service routine in backstage starts independent scheduling thread, splits ticket data and manages.When the data of making out an invoice arrived, this scheduling thread can be the idle The Design of Tax Controled Device of this data allocations automatically, data is transferred to this idle The Design of Tax Controled Device handle, and carry out Data Receiving for this data allocations independent data processing threads.
This scheduling thread only is responsible for splitting ticket data and is dispatched distribution, does not carry out data computation; Data computation is finished by The Design of Tax Controled Device and corresponding data processing threads, to guarantee the concurrent processing of data.
3) connected mode between backstage tax control service routine and the The Design of Tax Controled Device group
Link to each other by the RS232 Serial Port Line between backstage tax control service routine and the The Design of Tax Controled Device group, every The Design of Tax Controled Device all has special-purpose physical serial interface corresponding with it, can work simultaneously to guarantee The Design of Tax Controled Device; Two The Design of Tax Controled Device of the minimum connection of backstage tax control service routine.
4) the concurrent flow process of making out an invoice
A: the port that each POS terminal can be opened to backstage tax control service routine is simultaneously initiated connection request, and after successfully setting up the SOCKET communication channel, the POS terminal can send the request of making out an invoice to service routine immediately, and waits for that result, communication channel keep connecting.
B: backstage tax control service routine receives after the request of making out an invoice, and distributes to different idle The Design of Tax Controled Device by the scheduling thread request of will respectively making out an invoice, and is respectively this data startup independent data processing threads wait return data.
C: The Design of Tax Controled Device receives the data of making out an invoice, the data content is carried out validation verification after, these data are carried out digital signature, generate the tax-control anti-counterfeit sign indicating number, after storage is finished, effective information is returned to backstage tax control service routine.
D: after the data processing thread receives the response of The Design of Tax Controled Device, by the SOCKET channel data are returned to separately POS terminal, and discharge corresponding serial ports, destroy self thread, The Design of Tax Controled Device is changed to idle condition, wait for scheduling thread sub-distribution again.
E: after each POS terminal receives the result message, disconnect the SOCKET channel, carry out follow-up business and handle, finish the concurrent operation of making out an invoice.
Method of the present invention can be applicable to retailing and already waits the machine that do not require when printing tax-controlled invoice to dismiss ticket number and the consistent industry of printing draft bank.
Except that the described technical characterictic of instructions, be the known technology of those skilled in the art.

Claims (3)

1. one kind is applied to the retailing method of opening of tax-controlled invoice already, it is characterized in that, make retailing industry POS terminal connect with mode and the backstage tax control server program of SOCKET, communication format and backstage tax control server program with " GB18240.1 first: machine standard " defined communicate, service routine is after receiving the request of making out an invoice, for this request distributes the independent data processing threads, concurrent running between each thread, carry out data interaction by RS232 serial ports and the The Design of Tax Controled Device group that articulates simultaneously, the data of making out an invoice are sent to separately The Design of Tax Controled Device, undertaken after validity judges by The Design of Tax Controled Device, these data of making out an invoice are carried out data signature, and the tax-control anti-counterfeit sign indicating number that generates returned to the backstage service routine, the POS terminal that returns to separately via the SOCKET channel is carried out printing invoice again, finishes the concurrent operation of making out an invoice; Concrete steps are as follows:
1) definition SOCKET channel data transmission message format:
Set up communication channel by the SOCKET mode between POS terminal and the backstage tax control service routine, use " GB18240.1 first: machine standard " middle message transmission form that defines to carry out data interaction;
2) tax control service routine in backstage is for the concurrent processing of the data of making out an invoice:
Tax control service routine in backstage starts independent scheduling thread, splitting ticket data manages, when the data of making out an invoice arrive, this scheduling thread can be the idle The Design of Tax Controled Device of this data allocations automatically, data are transferred to this idle The Design of Tax Controled Device to be handled, and carrying out Data Receiving for this data allocations independent data processing threads, this scheduling thread only is responsible for splitting ticket data and is dispatched distribution, does not carry out data computation; Data computation is finished by The Design of Tax Controled Device and corresponding data processing threads, to guarantee the concurrent processing of data;
3) connected mode between backstage tax control service routine and the The Design of Tax Controled Device group:
Link to each other by the RS232 Serial Port Line between backstage tax control service routine and the The Design of Tax Controled Device group, every The Design of Tax Controled Device all has special-purpose physical serial interface corresponding with it, can work simultaneously to guarantee The Design of Tax Controled Device; Two The Design of Tax Controled Device of the minimum connection of backstage tax control service routine;
4) the concurrent flow process of making out an invoice:
A: the port that each POS terminal can be opened to backstage tax control service routine is simultaneously initiated connection request, and after successfully setting up the SOCKET communication channel, the POS terminal can send the request of making out an invoice to service routine immediately, and waits for that result, communication channel keep connecting;
B: backstage tax control service routine receives after the request of making out an invoice, and distributes to different idle The Design of Tax Controled Device by the scheduling thread request of will respectively making out an invoice, and is respectively this data startup independent data processing threads wait return data;
C: The Design of Tax Controled Device receives the data of making out an invoice, the data content is carried out validation verification after, these data are carried out digital signature, generate the tax-control anti-counterfeit sign indicating number, after storage is finished, effective information is returned to backstage tax control service routine;
D: after the data processing thread receives the response of The Design of Tax Controled Device, by the SOCKET channel data are returned to separately POS terminal, and discharge corresponding serial ports, destroy self thread, The Design of Tax Controled Device is changed to idle condition, wait for scheduling thread sub-distribution again;
E: after each POS terminal receives the result message, disconnect the SOCKET channel, carry out follow-up business and handle, finish the concurrent operation of making out an invoice.
2. method according to claim 1, it is characterized in that tax-control cash register is the accumulating sum and the accumulative total bar number of unit storage telecommunications business hall business datum with the day in record invoice detail, form the Day Trading record of business datum, and carry out encrypted signature and handle.
3. method according to claim 1, it is characterized in that, on tax-control cash register, can keep one month professional detailed, Day Trading cumulative data at least, then by network or movable storage device, professional detailed, Day Trading data with after encrypting are sent in the GB tax control management system and carry out unified management.
CN 201010232437 2010-07-21 2010-07-21 Method for issuing commercial retail tax control invoice Pending CN101901526A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010232437 CN101901526A (en) 2010-07-21 2010-07-21 Method for issuing commercial retail tax control invoice

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010232437 CN101901526A (en) 2010-07-21 2010-07-21 Method for issuing commercial retail tax control invoice

Publications (1)

Publication Number Publication Date
CN101901526A true CN101901526A (en) 2010-12-01

Family

ID=43227028

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010232437 Pending CN101901526A (en) 2010-07-21 2010-07-21 Method for issuing commercial retail tax control invoice

Country Status (1)

Country Link
CN (1) CN101901526A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103914927A (en) * 2012-12-30 2014-07-09 航天信息股份有限公司 Method and apparatus for issuing invoice on business data
CN104700516A (en) * 2013-12-05 2015-06-10 航天信息股份有限公司 Invoicing method of networked sharing fiscal cash register
CN104901793A (en) * 2014-03-04 2015-09-09 航天信息股份有限公司 POS invoicing server system and data transmission method thereof
CN105631720A (en) * 2014-11-03 2016-06-01 航天信息股份有限公司 Distributed mobile invoicing and management system and method
CN106781117A (en) * 2015-11-24 2017-05-31 富士电机株式会社 The automatic machine control method of giving change of POS POSs and POS POSs
CN106934664A (en) * 2015-12-28 2017-07-07 航天信息股份有限公司 A kind of distributed tax control counting server and system
CN108230052A (en) * 2016-12-22 2018-06-29 航天信息股份有限公司 A kind of invoice issuing and method for uploading and system
CN108243220A (en) * 2016-12-26 2018-07-03 航天信息股份有限公司 A kind of invoice issuing method and system of the support polymorphic type invoice terminal based on tax control server
CN108256930A (en) * 2016-12-28 2018-07-06 航天信息股份有限公司 A kind of invoice issuing method, relevant apparatus and system
CN111445300A (en) * 2020-03-25 2020-07-24 云账户技术(天津)有限公司 Data processing method and system
CN108242113B (en) * 2016-12-26 2020-12-08 航天信息股份有限公司 Method and system for simultaneously making multiple tax numbers and invoicing based on tax control equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101140684A (en) * 2007-09-11 2008-03-12 中商流通生产力促进中心有限公司 Tax control system based on network server
CN101159085A (en) * 2007-09-11 2008-04-09 中商流通生产力促进中心有限公司 Network tax controlling system capture sales bill data method
CN101483000A (en) * 2009-01-09 2009-07-15 北京工业大学 Tax control system based on wireless network tax controller
CN101556684A (en) * 2009-05-18 2009-10-14 浪潮齐鲁软件产业有限公司 Data collection and billing method of service system of telecommunication business hall by using tax control register
CN101727649A (en) * 2009-12-07 2010-06-09 长沙高新开发区佳程科技有限公司 Method for inspection in real time and declaration on tax-control cash register on internet

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101140684A (en) * 2007-09-11 2008-03-12 中商流通生产力促进中心有限公司 Tax control system based on network server
CN101159085A (en) * 2007-09-11 2008-04-09 中商流通生产力促进中心有限公司 Network tax controlling system capture sales bill data method
CN101483000A (en) * 2009-01-09 2009-07-15 北京工业大学 Tax control system based on wireless network tax controller
CN101556684A (en) * 2009-05-18 2009-10-14 浪潮齐鲁软件产业有限公司 Data collection and billing method of service system of telecommunication business hall by using tax control register
CN101727649A (en) * 2009-12-07 2010-06-09 长沙高新开发区佳程科技有限公司 Method for inspection in real time and declaration on tax-control cash register on internet

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103914927A (en) * 2012-12-30 2014-07-09 航天信息股份有限公司 Method and apparatus for issuing invoice on business data
CN104700516A (en) * 2013-12-05 2015-06-10 航天信息股份有限公司 Invoicing method of networked sharing fiscal cash register
CN104700516B (en) * 2013-12-05 2017-05-10 航天信息股份有限公司 Invoicing method of networked sharing fiscal cash register
CN104901793A (en) * 2014-03-04 2015-09-09 航天信息股份有限公司 POS invoicing server system and data transmission method thereof
CN105631720A (en) * 2014-11-03 2016-06-01 航天信息股份有限公司 Distributed mobile invoicing and management system and method
CN106781117A (en) * 2015-11-24 2017-05-31 富士电机株式会社 The automatic machine control method of giving change of POS POSs and POS POSs
CN106934664A (en) * 2015-12-28 2017-07-07 航天信息股份有限公司 A kind of distributed tax control counting server and system
CN106934664B (en) * 2015-12-28 2020-09-25 航天信息股份有限公司 Distributed tax-control billing server and system
CN108230052A (en) * 2016-12-22 2018-06-29 航天信息股份有限公司 A kind of invoice issuing and method for uploading and system
CN108243220A (en) * 2016-12-26 2018-07-03 航天信息股份有限公司 A kind of invoice issuing method and system of the support polymorphic type invoice terminal based on tax control server
CN108242113B (en) * 2016-12-26 2020-12-08 航天信息股份有限公司 Method and system for simultaneously making multiple tax numbers and invoicing based on tax control equipment
CN108243220B (en) * 2016-12-26 2021-04-16 航天信息股份有限公司 Tax control server-based invoice issuing method and system supporting multi-type invoice terminal
CN108256930A (en) * 2016-12-28 2018-07-06 航天信息股份有限公司 A kind of invoice issuing method, relevant apparatus and system
CN111445300A (en) * 2020-03-25 2020-07-24 云账户技术(天津)有限公司 Data processing method and system
CN111445300B (en) * 2020-03-25 2023-10-03 云账户技术(天津)有限公司 Data processing method and system

Similar Documents

Publication Publication Date Title
CN101901526A (en) Method for issuing commercial retail tax control invoice
CN109829824B (en) Commodity transaction information sharing method based on block chain technology
CN101420311B (en) Gateway system for telecommunication stage payment and settlement
CN101980272A (en) Method and device for pushing and using consumption coupon
CN104700263B (en) A kind of means of communication of the on-line selling speedy clearance based on assignment loading
CN102930661A (en) Cloud computing-based network invoicing method by using mobile phone
CN103593634A (en) Network centralized decoding system and method of identity card identifier
CN103544064A (en) Cloud computing method, cloud management platform and client
CN102208923B (en) Application-type service management method of near filed communication intelligent card and system thereof
CN106325783B (en) Picture and text print business transaction system fastly
CN103209160A (en) Authentication method and system for heterogeneous network
CN108509164A (en) Air ticket reimbursement voucher printing management method, system, equipment and storage medium
CN105654565B (en) A kind of method of lifting ETC transaction business efficiency
CN101261701A (en) Score settlement system and method for track transportation tick business
CN101930578A (en) Method and system for information popularization directional exchange
CN104765580A (en) Cloud printing technology supported intelligent control system for bill printing
CN104537778A (en) Method and device for supporting plurality of acquirers based on same financial POS terminal
CN109035106B (en) Waste recycling management method and device
CN102194292A (en) Billing server, tax copying system and tax copying method
CN101908160A (en) Bank card management system and transaction counting and point using methods thereof
CN101673434B (en) Secret key management method of IC card terminal
CN104463568A (en) Virtual coin charging method
CN103218449A (en) Report form daytime operation asynchronous processing method and system using same
CN101556684A (en) Data collection and billing method of service system of telecommunication business hall by using tax control register
CN203327053U (en) Centralized network decoding device based on identity card recognition

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20101201