CN103544787A - Tax disc - Google Patents

Tax disc Download PDF

Info

Publication number
CN103544787A
CN103544787A CN201210240597.8A CN201210240597A CN103544787A CN 103544787 A CN103544787 A CN 103544787A CN 201210240597 A CN201210240597 A CN 201210240597A CN 103544787 A CN103544787 A CN 103544787A
Authority
CN
China
Prior art keywords
chip
instruction
data
main control
control chip
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
CN201210240597.8A
Other languages
Chinese (zh)
Other versions
CN103544787B (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.)
Beijing Watertek Information Technology Co Ltd
Original Assignee
Beijing Watertek Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Watertek Information Technology Co Ltd filed Critical Beijing Watertek Information Technology Co Ltd
Priority to CN201210240597.8A priority Critical patent/CN103544787B/en
Publication of CN103544787A publication Critical patent/CN103544787A/en
Application granted granted Critical
Publication of CN103544787B publication Critical patent/CN103544787B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Storage Device Security (AREA)

Abstract

The invention discloses a tax disc which comprises a storage chip, a USB (universal serial bus) interface circuit, a main control chip and a security chip. The USB interface circuit is used for communicating with an upper computer, the main control chip interacts with the upper computer of a user side through the USB interface circuit and is used for receiving invoice data and instructions transmitted by the upper computer and storing the invoice data in the storage chip, the main control chip is further used for transmitting instructions of reading-writing management data transmitted by the upper computer to the security chip through a transparent channel, and the security chip is used for analyzing and verifying the instructions transmitted by the main control chip, reading and writing the data according to the instructions if instruction verification is successful, and returning operation results to the upper computer through the transparent channel of the main control chip.

Description

The dish of declaring dutiable goods
Technical field
The present invention relates to information security field, relate in particular to a kind of dish of declaring dutiable goods.
Background technology
Since the new round taxation reform of the beginning of this century, obtained good achievement, tax revenue continues to increase substantially, and has promoted the development of Chinese national economy.But in Taxation Work, be still faced with some problems to be solved: various forms of tax dodgings, defraud the tax, evade taxation, the phenomenon such as tax arrear, unauthorized tax reduction is also more serious; There is leak in revenue department's inner management, tax jurisdiction means are also relatively backward, and tax revenue external environment condition is to be improved.Along with further going deep into of the national taxation reform, the electronic equipment need to tax control function guarantees that management data correctly generates, reliably stores and safe transmission, meets management and the data check requirement of the tax authority.
At present, fiscal processor system generally adopts fiscal IC card to add the solution with card-reading function tax-control cash register, and enterprises end is inserted into fiscal IC card in tax-control cash register and issues invoice, and the information exchange of making out an invoice is crossed fiscal IC card and is delivered to tax end.This tax control scheme has several weak points:
The price of fiscal IC card and tax-control cash register is all somewhat expensive, and cost is higher;
State tax authority and the enterprise of managed together of local tax office are, the enterprise of a plurality of line operation business all needs a plurality of fiscal IC cards, and business burden is heavier;
What fiscal IC card was used is 7816 communications protocol, and message transmission rate is slower;
In the sheet of fiscal IC card, storage space is very little, can only store Day Trading detail, cannot meet the demand of individual invoice detail of storage.
Summary of the invention
The technical problem to be solved in the present invention is for above deficiency, has proposed a kind of dish of declaring dutiable goods that can report safely invoice data.
In order to address the above problem, the invention provides a kind of dish of declaring dutiable goods, comprising: storage chip;
Usb circuit, for and host computer between communicate;
Main control chip, mutual by the host computer of described usb circuit and user side, the invoice data and the instruction that for receiving host computer, send, be kept at described invoice data in described storage chip;
Safety chip;
Described main control chip is also for importing the instruction of the read-write management data of host computer transmission to described safety chip into by transparent channel;
Described safety chip is resolved and is verified for the instruction that described main control chip is imported into, if instruction is proved to be successful, according to described instruction, data carried out to read-write operation, and by the transparent channel of main control chip, operating result is returned to host computer.
Further, described main control chip is also for preserving external authentication key, and password authentication and external authentication status word are set in described storage chip; Described password authentication status word is 8 characters that the personnel that make out an invoice arrange, and external authentication status word is the random number that main control chip produces; Also, for resolving described instruction, the instruction after resolving is verified, instruction is proved to be successful and from described storage chip, reads invoice data according to described instruction, sends to tax end; When 8 characters storing in the password authentication status word of carrying in the instruction after resolving and described storage chip are in full accord, think that this instruction meets password authentication status word; When the ciphertext of carrying and the resulting ciphertext of random number producing with safety chip described in described external authentication secret key encryption are in full accord, think that this instruction meets external authentication status word in instruction; When password authentication state word and external authentication status word all meet, instruction is proved to be successful.
Further, the described dish of declaring dutiable goods also comprises:
Real-time timepiece chip, for providing real-time clock signal;
For the special battery of giving described real-time timepiece chip power supply;
Described main control chip also sends to tax end for obtaining real-time clock signal from described real-time timepiece chip.
Further, described real-time timepiece chip is two line CMOS real-time timepiece chips.
Further, described storage chip comprises separately independently the first storage unit and the second storage unit, the managing bill data that described the first storage unit sends for preserving described host computer, and described the second storage unit is used for preserving described invoice data.
Further, described storage chip is non-volatile memory medium, and capacity is more than or equal to 64MB.
Further, described main control chip comprises:
Application management module, the instruction and the invoice data that for receiving host computer, send, be kept at described invoice data in described storage chip; According to the instruction being proved to be successful, from described storage chip, read invoice data and send to tax end;
Command analysis module, the instruction sending for resolving host computer, and the instruction after resolving is verified, instruction is proved to be successful and sends to described application management module.
Further, described main control chip also comprises:
Encrypting module, be used for and tax end clock synchronous, after receiving 16 byte random numbers of host computer transmission, use this 16 byte random number to disperse to obtain distributed key, use this distributed key to encrypt plaintext and the proof test value of the clock information of the current dish of declaring dutiable goods, obtain clock ciphertext, return to host computer.
Further, described main control chip also comprises:
Data reception module, for when receiving described invoice data, first packet data, remove the data integrity sign of wherein carrying if, in described storage chip, set up the file that this invoice data is corresponding, received invoice data is write to the starting position of this document; If intermediate data writes the relevant position in respective file; If last wraps data, write the end of respective file, file integrality sign is set.
Further, described main control chip also comprises:
Read module, for reading invoice data from described storage chip, first reads in this invoice data respective file data integrity sign, if read this data integrity sign, returns to information that sign reads failure to described main control chip; Otherwise the invoice data in file reading;
Sending module, for sending to tax end by read invoice data.
The dish of declaring dutiable goods of the present invention has been concentrated the corresponding function of fiscal IC card and tax-control cash register, adopts the authentication between main control chip and safety chip, and the checking of main control chip to host computer instruction, the safety of certified invoice data; Communication modes can adopt transmission speed USB interface agreement fast and easy to use; In order to meet the new business demand of every invoice detail of storage, can adopt NANDFLASH mass-memory unit.
Accompanying drawing explanation
Fig. 1 is the structural representation of the dish of declaring dutiable goods of embodiment mono-.
Embodiment
Below in conjunction with drawings and Examples, technical scheme of the present invention is described in detail.
It should be noted that, if do not conflicted, each feature in the embodiment of the present invention and embodiment can mutually combine, all within protection scope of the present invention.
Embodiment mono-, and a kind of dish of declaring dutiable goods, as shown in Figure 1, comprising: storage chip, safety chip;
Usb circuit, for and the host computer of user side between communicate;
Main control chip, mutual by the host computer of described usb circuit and user side; The invoice data and the instruction that for receiving host computer, send, be kept at described invoice data in described storage chip;
Safety chip; Described main control chip is also for importing the instruction of the read-write management data of host computer transmission to described safety chip into by transparent channel;
Described safety chip is resolved and is verified for the instruction that described main control chip is imported into, if instruction is proved to be successful, according to described instruction, data carried out to read-write operation, and by the transparent channel of main control chip, operating result is returned to host computer.
In the present embodiment, described main control chip can also be for preserving external authentication key, and password authentication and external authentication status word be set in described storage chip, described password authentication status word is 8 characters that the personnel that make out an invoice arrange, be used for identifying identity, external authentication status word is the random number that main control chip produces; ; Can also the instruction after resolving be verified for resolving described instruction, instruction is proved to be successful and from described storage chip, reads invoice data according to described instruction, by modes such as network, cables, sends to tax end;
Host computer can utilize external authentication key to calculate ciphertext to this random number and be carried in the instruction that sends to the dish of declaring dutiable goods, and completes the data authentication function to equipment, for the legitimacy of management software on the dish authentication host computer of declaring dutiable goods;
When 8 characters of storage are in full accord in the password authentication status word of carrying in the instruction of described main control chip after resolving and described storage chip, think that this instruction meets password authentication status word; When the ciphertext of carrying and the resulting ciphertext of random number producing with safety chip described in described external authentication secret key encryption are in full accord, think that this instruction meets external authentication status word in instruction; When password authentication state word and external authentication status word all meet, instruction is proved to be successful.
In the present embodiment, described in declare dutiable goods dish can also comprise:
Real-time timepiece chip, for providing real-time clock signal;
Described main control chip also sends to tax end for obtaining real-time clock signal from described real-time timepiece chip.
In the present embodiment, described in declare dutiable goods dish can also comprise:
For the special battery of giving described real-time timepiece chip power supply.
In the present embodiment, described safety chip can be communicated by letter with described main control chip by 7816 communication modes.
In the present embodiment, described storage chip can be non-volatile memory medium, and capacity is more than or equal to 64MB.
In the present embodiment, it is two line CMOS (Complementary Metal Oxide Semiconductor, complementary metal oxide semiconductor (CMOS)) real-time timepiece chips that described real-time timepiece chip can be, but not limited to.
In the present embodiment, described storage chip can be, but not limited to as NandFlash.
In the present embodiment, described usb circuit specifically can comprise:
Connector, circuit protection, communication channel and power circuit.
In the present embodiment, storage chip is to secure data and general data separate, stored, secure data is the managing bill data that sent by host computer, general data is the invoice data that host computer sends, and comprising: the data of declaring dutiable goods, issue invoice detail, tax reciept data, invoice neck purchased information, monitoring management data, register information and clock module configuration data.Described storage chip specifically can comprise separately independently the first storage unit and the second storage unit, and described the first storage unit is used for preserving described managing bill data, and described the second storage unit is used for preserving invoice data.
In the present embodiment, described main control chip specifically can comprise:
Application management module, the instruction and the invoice data that for receiving host computer, send, be kept at described invoice data in described storage chip; According to the instruction being proved to be successful, from described storage chip, read invoice data and send to tax end;
Command analysis module, the instruction sending for resolving host computer, and the instruction after resolving is verified, instruction is proved to be successful and sends to described application management module.
In the present embodiment, described main control chip can also comprise:
Encrypting module, for tax end clock synchronous, after receiving the 16 byte random numbers that host computer sends, use this 16 byte random number to disperse to obtain distributed key, plaintext and the proof test value of with this distributed key, encrypting the clock information of the current dish of declaring dutiable goods, obtain clock ciphertext, returns to host computer.
In the present embodiment, described main control chip can also comprise:
Data reception module, for when receiving described invoice data, first packet data, remove the data integrity sign of wherein carrying if, in described storage chip, set up the file that this invoice data is corresponding, received invoice data is write to the starting position of this document; If intermediate data writes the relevant position in respective file; If last wraps data, write the end of respective file, file integrality sign is set.
In the present embodiment, described main control chip can also comprise:
Read module, for reading invoice data from described storage chip, first reads in this invoice data respective file data integrity sign, if read this data integrity sign, returns to information that sign reads failure to described main control chip; Otherwise the invoice data in file reading;
Sending module, for sending to tax end by read invoice data.
Certainly; the present invention also can have other various embodiments; in the situation that not deviating from spirit of the present invention and essence thereof; those of ordinary skill in the art are when making according to the present invention various corresponding changes and distortion, but these corresponding changes and distortion all should belong to the protection domain of claim of the present invention.

Claims (10)

1. the dish of declaring dutiable goods, comprising: storage chip;
Usb circuit, for and host computer between communicate;
Main control chip, mutual by the host computer of described usb circuit and user side, the invoice data and the instruction that for receiving host computer, send, be kept at described invoice data in described storage chip;
It is characterized in that, also comprise:
Safety chip;
Described main control chip is also for importing the instruction of the read-write management data of host computer transmission to described safety chip into by transparent channel;
Described safety chip is resolved and is verified for the instruction that described main control chip is imported into, if instruction is proved to be successful, according to described instruction, data carried out to read-write operation, and by the transparent channel of main control chip, operating result is returned to host computer.
2. the dish of declaring dutiable goods claimed in claim 1, is characterized in that:
Described main control chip is also for preserving external authentication key, and password authentication and external authentication status word are set in described storage chip; Described password authentication status word is 8 characters that the personnel that make out an invoice arrange, and external authentication status word is the random number that main control chip produces; Also, for resolving described instruction, the instruction after resolving is verified, instruction is proved to be successful and from described storage chip, reads invoice data according to described instruction, sends to tax end; When 8 characters storing in the password authentication status word of carrying in the instruction after resolving and described storage chip are in full accord, think that this instruction meets password authentication status word; When the ciphertext of carrying and the resulting ciphertext of random number producing with safety chip described in described external authentication secret key encryption are in full accord, think that this instruction meets external authentication status word in instruction; When password authentication state word and external authentication status word all meet, instruction is proved to be successful.
3. the dish of declaring dutiable goods as claimed in claim 1, is characterized in that, also comprises:
Real-time timepiece chip, for providing real-time clock signal;
For the special battery of giving described real-time timepiece chip power supply;
Described main control chip also sends to tax end for obtaining real-time clock signal from described real-time timepiece chip.
4. the dish of declaring dutiable goods as claimed in claim 3, is characterized in that:
Described real-time timepiece chip is two line CMOS real-time timepiece chips.
5. the dish of declaring dutiable goods as claimed in claim 1, is characterized in that:
Described storage chip comprises separately independently the first storage unit and the second storage unit, the managing bill data that described the first storage unit sends for preserving described host computer, and described the second storage unit is used for preserving described invoice data.
6. the dish of declaring dutiable goods as claimed in claim 1, is characterized in that:
Described storage chip is non-volatile memory medium, and capacity is more than or equal to 64MB.
7. the dish of declaring dutiable goods as described in any one in claim 1 to 6, is characterized in that, described main control chip comprises:
Application management module, the instruction and the invoice data that for receiving host computer, send, be kept at described invoice data in described storage chip; According to the instruction being proved to be successful, from described storage chip, read invoice data and send to tax end;
Command analysis module, the instruction sending for resolving host computer, and the instruction after resolving is verified, instruction is proved to be successful and sends to described application management module.
8. the dish of declaring dutiable goods as claimed in claim 7, is characterized in that, described main control chip also comprises:
Encrypting module, be used for and tax end clock synchronous, after receiving 16 byte random numbers of host computer transmission, use this 16 byte random number to disperse to obtain distributed key, use this distributed key to encrypt plaintext and the proof test value of the clock information of the current dish of declaring dutiable goods, obtain clock ciphertext, return to host computer.
9. the dish of declaring dutiable goods as claimed in claim 7, is characterized in that, described main control chip also comprises:
Data reception module, for when receiving described invoice data, first packet data, remove the data integrity sign of wherein carrying if, in described storage chip, set up the file that this invoice data is corresponding, received invoice data is write to the starting position of this document; If intermediate data writes the relevant position in respective file; If last wraps data, write the end of respective file, file integrality sign is set.
10. the dish of declaring dutiable goods as claimed in claim 9, is characterized in that, described main control chip also comprises:
Read module, for reading invoice data from described storage chip, first reads in this invoice data respective file data integrity sign, if read this data integrity sign, returns to information that sign reads failure to described main control chip; Otherwise the invoice data in file reading;
Sending module, for sending to tax end by read invoice data.
CN201210240597.8A 2012-07-11 2012-07-11 tax disc Active CN103544787B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210240597.8A CN103544787B (en) 2012-07-11 2012-07-11 tax disc

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210240597.8A CN103544787B (en) 2012-07-11 2012-07-11 tax disc

Publications (2)

Publication Number Publication Date
CN103544787A true CN103544787A (en) 2014-01-29
CN103544787B CN103544787B (en) 2017-05-17

Family

ID=49968196

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210240597.8A Active CN103544787B (en) 2012-07-11 2012-07-11 tax disc

Country Status (1)

Country Link
CN (1) CN103544787B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1665217A (en) * 2004-03-04 2005-09-07 华为技术有限公司 A data processing chip and data packet number generating method thereof
CN101272339A (en) * 2008-05-15 2008-09-24 深圳华为通信技术有限公司 Method, system, terminal and server for data frame receiving and dispatching
CN101465028A (en) * 2009-01-06 2009-06-24 潘铁军 Tax control device and method for mobile tax control machine
CN101777232A (en) * 2009-09-23 2010-07-14 北京拓盛电子科技有限公司 Electronic scale tax monitoring system and method
CN201607794U (en) * 2009-10-16 2010-10-13 河南许继信息有限公司 Tax control tray
CN101894398A (en) * 2010-07-28 2010-11-24 浪潮齐鲁软件产业有限公司 Method for automatically issuing invoices through connecting tax control machine by POS machine
CN102044115A (en) * 2009-10-16 2011-05-04 河南许继信息有限公司 Tax disk
CN102087769A (en) * 2009-12-03 2011-06-08 航天信息股份有限公司 Invoice memory system and management method of tax control equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1665217A (en) * 2004-03-04 2005-09-07 华为技术有限公司 A data processing chip and data packet number generating method thereof
CN101272339A (en) * 2008-05-15 2008-09-24 深圳华为通信技术有限公司 Method, system, terminal and server for data frame receiving and dispatching
CN101465028A (en) * 2009-01-06 2009-06-24 潘铁军 Tax control device and method for mobile tax control machine
CN101777232A (en) * 2009-09-23 2010-07-14 北京拓盛电子科技有限公司 Electronic scale tax monitoring system and method
CN201607794U (en) * 2009-10-16 2010-10-13 河南许继信息有限公司 Tax control tray
CN102044115A (en) * 2009-10-16 2011-05-04 河南许继信息有限公司 Tax disk
CN102087769A (en) * 2009-12-03 2011-06-08 航天信息股份有限公司 Invoice memory system and management method of tax control equipment
CN101894398A (en) * 2010-07-28 2010-11-24 浪潮齐鲁软件产业有限公司 Method for automatically issuing invoices through connecting tax control machine by POS machine

Also Published As

Publication number Publication date
CN103544787B (en) 2017-05-17

Similar Documents

Publication Publication Date Title
CN103544786B (en) Tax control tray
CN104217327B (en) A kind of financial IC card internet terminal and its method of commerce
AU2008221588B2 (en) System and method for sensitive data field hashing
CN101923660B (en) Dynamic password identity authorization system and method based on RFID
CN101465019A (en) Method and system for implementing network authentication
CN102542695B (en) A kind of tax control liquid crystal USB flash disk with authentication and fingerprint recognition
RU2014124198A (en) SMART CARD READER WITH SAFE JOURNALING FUNCTION
CN101162535B (en) Method and system for realizing magnetic stripe card trading by IC card
CN102013001A (en) Card reader with authentication function and authentication method thereof
CN101789152B (en) Multipurpose contactless card supporting large amount payment and online recharge and application method thereof
CN206515828U (en) The data storage device of safety encryption
CN102385778A (en) Mobile payment method, mobile pavment system and mobile terminal
CN103606223A (en) Card authentication method and device
CN103914926B (en) A kind of safety feature storing invoice
CN104766203A (en) High-security electronic payment method for intelligent terminals
CN103544790B (en) The treatment process of a kind of invoice tax control data
CN104103132A (en) Mobile uKey [USB (universal serial bus) Key] and card-less cash withdrawal System and mobile uKey and card-less cash withdrawal method
CN105743855B (en) A kind of safety control system of Internet application equipment and its distribution, application method
CN203149732U (en) Tax declaring disc
CN207869159U (en) Mobile device and subscriber identity module card
CN202008672U (en) E-commerce transaction safety terminal
CN203070422U (en) Multipurpose integrated circuit (IC) card internet terminal
CN101833822B (en) Safety protection method of electric power prepayment system
CN103544787A (en) Tax disc
CN202838553U (en) Electronic payment terminal

Legal Events

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