CN202838541U - Embedded network invoice processing terminal - Google Patents

Embedded network invoice processing terminal Download PDF

Info

Publication number
CN202838541U
CN202838541U CN 201220499607 CN201220499607U CN202838541U CN 202838541 U CN202838541 U CN 202838541U CN 201220499607 CN201220499607 CN 201220499607 CN 201220499607 U CN201220499607 U CN 201220499607U CN 202838541 U CN202838541 U CN 202838541U
Authority
CN
China
Prior art keywords
built
processing terminal
interface
invoice processing
network
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 - Lifetime
Application number
CN 201220499607
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.)
Shanghai Founder Technology Computer System Co Ltd
Original Assignee
Shanghai Founder Technology Computer System 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 Shanghai Founder Technology Computer System Co Ltd filed Critical Shanghai Founder Technology Computer System Co Ltd
Priority to CN 201220499607 priority Critical patent/CN202838541U/en
Application granted granted Critical
Publication of CN202838541U publication Critical patent/CN202838541U/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

The utility model provides an embedded network invoice processing terminal, comprising a power supply, a CPU, a memory, a display screen, an interface system and a software system, wherein the memory, the display screen and the interface system are respectively connected with the CPU, the memory comprises a Flash memory, a RAM memory and an SD card memory, the SD card memory is used for storing invoice processing transaction record, the interface system comprises a network interface, a plurality of USB interfaces and a SD card interface, the plurality of USB interfaces comprise an interface connected with an invoice printer, the software system is stored inside the memory and employs a multiprocess mode, various processes mutually communicates through Socket, the software system is integrated with an embedded browser, and the embedded browser comprises a plurality of plug-in units accessing local hardware resources through calling API. The embedded network invoice processing terminal is low in cost and small in size, and can enable ratepaying users to conveniently process tax invoice services.

Description

A kind of built-in network invoice processing terminal
Technical field
The utility model belongs to computer technology, field of embedded technology, is specifically related to a kind of built-in network invoice processing terminal.
Background technology
For better to numerous taxpayers provide efficiently, quality services, land tax, national tax is promoted online tax reciept print system gradually.The release of this system has realized the home-confined overall process of paying taxes of finishing tax declaration, paying taxes, extract payment voucher of taxpayer, thoroughly solves the trouble that the taxpayer extracts the voucher of paying taxes.System is simple to operation, and the payment voucher of paying taxes adopts the technology of electronics die and check code authentication, guarantees true, safe, legal.
In order to use this cover system, the taxpayer will prepare a computing machine and printer.Utilize computer log to arrive named web page, input validation password or insertion USB encrypt rod, can login the tax invoice system, handle related service.The popularization of this system is very easy to the user that pays taxes, but also virtually also increases the user's that pays taxes cost payout, because need to buy computing machine.
At present embedded technology development is swift and violent, has developed into several Gbps based on the CPU frequency of ARM framework by tens traditional Mbps.In some field, the product of developing based on embedded type CPU can replace PC fully.
The utility model content
The utility model provides a kind of built-in network invoice processing terminal, can make the user that pays taxes handle easily the tax invoice business, reduces the business handling cost.
For achieving the above object, the utility model adopts following technical scheme:
A kind of built-in network invoice processing terminal comprises power supply, CPU, storer, display screen, interface system and software systems, and wherein storer, display screen and interface system are connected with CPU and are connected; Described storer comprises Flash storer, RAM storer and SD card memory, and described SD card memory is used for the transaction record that the storage invoice is processed; Described interface system comprises network interface and some USB interface, comprises the interface that is connected with receipt printer in described some USB interface; Described software systems are stored in the storer, and these software systems adopt the multi-process mode to realize, adopt Socket communication between each process; Described software system integration built-in browser, this built-in browser comprise some by calling the plug-in unit of API Access local hardware resource.
Preferably: the dominant frequency of described CPU is not less than 300Mhz.
Preferably: the storage space of described Flash storer is not less than 64MB, and the storage space of described RAM storer is not less than 64MB.
Preferably: described display screen is the LCD touch-screen.
Described built-in network invoice processing terminal can also comprise key system, the two-dimension code identification camera that is used for invoice validation and wireless communication module etc.
Preferably, described plug-in unit comprises authentication plug-in unit, safe storage plug-in unit and prints plug-in unit, is respectively applied to access USB and encrypts rod, SD card memory and receipt printer.
Built-in network invoice processing terminal of the present utility model, after the user that pays taxes clicked this terminal specified button, system entered the tax invoice system immediately; User's typing password or insertion USB encrypt rod, get final product login system, handle related service.The network invoice processing terminal of the utility model exploitation has the advantages such as cost is lower, volume is lighter, easy to operate.When network invoice processing terminal of the present utility model adopts linux operating system, be not vulnerable to the attack of virus, can effectively ensure user's data security.
Description of drawings
Fig. 1 is the hardware block diagram of built-in network invoice processing terminal among the embodiment.
Fig. 2 is the schematic appearance of built-in network invoice processing terminal among Fig. 1.
Fig. 3 is the schematic diagram that the software systems of built-in network invoice processing terminal among the embodiment adopt the multi-process mode to realize.
Fig. 4 is that the status of software systems of built-in network invoice processing terminal among the embodiment switches schematic diagram.
Fig. 5 is the application layer of built-in browser among the embodiment is called local resource by plug-in unit Organization Chart.
Fig. 6 is the use scenes schematic diagram of built-in network invoice processing terminal among the embodiment.
Fig. 7 is the hardware block diagram of built-in network invoice processing terminal in the concrete application example.
Fig. 8 is the software systems host process FB(flow block) of built-in network invoice processing terminal in the concrete application example.
Fig. 9 is the schematic diagram of invoice issuing webpage in the concrete application example.
Embodiment
Below by specific embodiment and cooperate accompanying drawing, the utility model is described in detail.
Fig. 1 is that the hardware of the built-in network invoice processing terminal of the present embodiment is realized block diagram, mainly comprises power supply, CPU minimum system, LCD touch-screen and several parts such as interface system and storer; Also can comprise wireless module in addition, be used for realizing radio communication; Can also comprise the two-dimension code identification camera that uses for invoice validation; Can also comprise key system etc.Interface system comprises USB interface, network interface, SD card interface etc.The outward appearance of this built-in network invoice processing terminal can be made shape as shown in Figure 2, becomes a kind of portable unit.This network invoice processing terminal CPU requires more than the dominant frequency 300Mhz; The Flash storer requires 64MB at least, and the RAM storer requires 64MB at least; Comprising 4 USB interface, all is HOST.Network invoice processing terminal can be connected with the USB printer by USB interface, realizes printing invoice.Process needs in order to satisfy the network invoice, the utility model retrains in terminal hardware modular design type selecting.
Above-mentioned built-in network invoice processing terminal preferably operates on the linux system, remove to access the invoice background system by embedded browser, operate at webpage, realize the data typing of invoice issuing, the transaction record that the invoice such as issue invoice is processed is stored in the SD card memory, is used for tax reconciliation and uses.An outstanding feature of the present utility model is to have designed the embedded type web browser plug-in, has realized that data security and user authenticate.Need to consider the technical matterss such as power consumption, screen size, resolution, internal memory, CPU processing speed based on embedded type web Development of Web Browser plug-in unit, compare with the PC browser plug-in, have higher development difficulty.
When the backstage net bill system of user's access requires USB encryption rod to do authentication, embedded following code in the web page code of net bill system:
<object?classid="clsid:C153F2AA-3F1D-472C-B515-FD1230A27586"id="Datausb_FZ"data="DATA:application/x-oleobject;BASE64,qvJTwR0/LEe1Ff0SMKJ1hgADAADYEwAA2BMAAA==">
The notice browser, webpage requires to use ID to be the plug-in unit of Datausb FZ, this plug-in unit need to be installed under the default directory of browser in advance, such as .. //plugin.The prior packaged operation USB of Datausb FZ plug-in unit encrypts the api function of rod, such as:
Figure BDA00002201078400031
The code of backstage net bill system visits the api function that USB encrypts rod by the mode of calling Datausb_ht.USB_GetKeyID ().USB_GetKeyID () function access USB encrypts rod, obtains the ID data that USB encrypts rod.
In order to guarantee the promptness of terminal response event, the software systems of above-mentioned built-in network invoice processing terminal adopt the multi-process mode to realize, adopt Socket communication between the process, as shown in Figure 3.The state machine of prior design is followed in switching between the process, and state machine is safeguarded by host process.After terminal powered on successfully, event detection process and host process started operation.When the event detection process detects the event generation, based on the message mechanism of predefined, event report to host process, is started the event handling process after the host process decision event, finish the event handling task.
In order conveniently to administer and maintain, the software systems of above-mentioned built-in network invoice processing terminal are divided into original state, holding state, service condition, tear machine state and system finishing attitude totally 5 states open, switching between the state safeguarded by host process, and Fig. 4 has provided state switched and transferred schematic diagram.At first enter original state after system powers on, then the different trigger conditions according to the report of event detection process enter different states.The trigger condition of event detection process report comprises software trigger condition and hardware trigger condition.Pressure is torn the trigger conditions such as machine and operation push-button open and is belonged to the hardware trigger condition; Belong to the software trigger condition for the fault condition in the software running process.No matter be that hardware event triggers, or software event triggers, the terminal affair detection procedure all can be monitored these events, in case event occurs, then by the SOCKET passage of predefined, will trigger message and send to host process, host process is received trigger condition, the switching terminal running status.
The software systems of above-mentioned built-in network invoice processing terminal require integrated a built-in browser, and integrated browser is supported pin function.For network tax reciept print service, tax invoice system in backstage needs the identity of authentication of users, only has the legal user that pays taxes just can log in the tax invoice system, handles the business of buying a ticket.The authentication that the present embodiment provides is based on USB and encrypts rod and carries out, and relevant other verification mode (such as the typing password etc.) belongs to prior art, and the utility model is not done elaboration.Utilizing USB to encrypt rod and carry out authentication under Windows operating system, is a kind of common implementation, but it is improved the introducing embedded OS, just belongs to design philosophy of the present utility model.
Fig. 5 is the application layer of above-mentioned built-in browser is called local resource by plug-in unit code configuration diagram.Terminal is by the browser access Webpage, when content of pages need to be mutual with the terminal local resource, the plug-in unit of the correspondence in the Webpage program code Automatically invoked browser, comprise authentication plug-in unit, safe storage plug-in unit and print plug-in unit etc., the USB that calls API Access this locality by these plug-in units encrypts the hardware resources such as rod, SD storage card and printer.
Fig. 6 is the use scenes schematic diagram of the built-in network invoice processing terminal of the present embodiment.The user clicks " invoice " button on this terminal, starting terminal program, access tax invoice system, the page of terminal browser display invoice system, user's transacting business is when needs are printed, click the page print button, the page sends to printer with print data by plug-in unit.When the tax invoice system needed identifying user identity, the invoice system Webpage automatically read USB by plug-in unit and encrypts key in the rod, finished mutual with the tax invoice system.Above-mentioned " invoice " button or print button, form that can physical button realizes, also can realize by corresponding action button is set at the interface of built-in browser.
The below provides a concrete application example.
In this example, the hardware platform of built-in network invoice processing terminal is the S3C2440 of Samsung, FLASH space 64MB, and ram space 64MB, operating system is Linux, and graphics system is MiniGUI, and built-in browser is mDolphin.The terminal hardware block diagram as shown in Figure 7.
The terminal software application system designs 5 processes altogether: host process, keyboard treatment progress, tear the machine testing process open, parameter arranges process, net ticket business handling process.Adopt the SOCKET communication mechanism between the process.Fig. 8 has provided the host process FB(flow block), behind the system boot, at first start the MiniGUI process, the startup of MiniGUI process is by MiniGUIMain() guide, initialization window application after system minigui loads, listening port sees if there is message and sends over simultaneously, and message reads the obstruction mode that adopts.When having monitored message, system carries out dissection process.When can't detect message, system is in waiting status.Other subprocess monitoring terminal state of software systems, when button, dismounting, fault occured, subprocess was the marker location position of correspondence, and this parameter is sent to host process with form of message.After host process is received message, according to Switch(MSG) in the type of MSG, host process switched system duty.The duty of system is good in the host process initialization definitions in advance, and gives initial value gld_SYSTM_STATE_FLAG=INTIAL_STATE.
Static
gld_SYSTM_STATE_FLAG=enum{INITIAL_STATE,TRAFFIC_STATE,IDLE_STATE,CLOSE_STATE,BRE?AKUP_STATE}
The below provides one section host process message event and processes example code:
Figure BDA00002201078400051
Figure BDA00002201078400061
Each Message Processing event functions passes through fork() mode starts 1 process, and finish corresponding message event and process.Each subprocess distributes 1 pid value, and PID is the numbering of promoter process.After processing finished, subprocess reported to host process, and host process is closed corresponding subprocess PID.
User's operation service is handled button, and host process is received MESSAGE_TYPE_BANKOPERATION_START message, function Bank_Operation_Proc_Start () operation, in this function, call browser process, the access named web page, the display web page content, as shown in Figure 9.
The user is according to the webpage requirement, and entry information is clicked " issuing invoice " button, the page program call function
bool?mdolphin_invoke(NPObject?*obj,const?NPVariant?*args,uint32_t?argc,NPVariant?*result)。
Function mdolphin_invoke is responsible for content that the page will be printed and is delivered to printer control process in the mode of SOCKET.This function is the important component part of plug-in unit.The development of relevant other parts of plug-in unit belongs to prior art.Code sample is as follows:
Figure BDA00002201078400062
Figure BDA00002201078400071
The plug-in unit implementation of encrypting rod, SD extension storage about USB is the same with printing plug-in unit implementation, and the utility model is described no longer separately.
Above embodiment is only in order to the technical solution of the utility model to be described but not limit it; those of ordinary skill in the art can make amendment or is equal to replacement the technical solution of the utility model; and not breaking away from spirit and scope of the present utility model, protection domain of the present utility model should be as the criterion so that claim is described.

Claims (8)

1. a built-in network invoice processing terminal comprises power supply, CPU, storer, display screen, interface system and software systems, and wherein storer, display screen and interface system are connected with CPU and are connected; Described storer comprises Flash storer, RAM storer and SD card memory, and described SD card memory is used for the transaction record that the storage invoice is processed; Described interface system comprises network interface, some USB interface and SD card interface, comprises the interface that is connected with receipt printer in described some USB interface; Described software systems are stored in the storer, and these software systems adopt the multi-process mode to realize, adopt Socket communication between each process; Described software system integration built-in browser, this built-in browser comprise some by calling the plug-in unit of API Access local hardware resource.
2. built-in network invoice processing terminal as claimed in claim 1, it is characterized in that: the dominant frequency of described CPU is not less than 300Mhz.
3. built-in network invoice processing terminal as claimed in claim 1, it is characterized in that: the storage space of described Flash storer is not less than 64MB, and the storage space of described RAM storer is not less than 64MB.
4. built-in network invoice processing terminal as claimed in claim 1, it is characterized in that: described display screen is the LCD touch-screen.
5. built-in network invoice processing terminal as claimed in claim 1 is characterized in that: also comprise key system.
6. built-in network invoice processing terminal as claimed in claim 1 is characterized in that: also comprise the two-dimension code identification camera.
7. built-in network invoice processing terminal as claimed in claim 1 is characterized in that: also comprise wireless communication module.
8. such as each described built-in network invoice processing terminal of claim 1 to 7, it is characterized in that: described plug-in unit comprises authentication plug-in unit, safe storage plug-in unit and prints plug-in unit, is respectively applied to access USB and encrypts rod, SD storage card and receipt printer.
CN 201220499607 2012-09-27 2012-09-27 Embedded network invoice processing terminal Expired - Lifetime CN202838541U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201220499607 CN202838541U (en) 2012-09-27 2012-09-27 Embedded network invoice processing terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201220499607 CN202838541U (en) 2012-09-27 2012-09-27 Embedded network invoice processing terminal

Publications (1)

Publication Number Publication Date
CN202838541U true CN202838541U (en) 2013-03-27

Family

ID=47950190

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201220499607 Expired - Lifetime CN202838541U (en) 2012-09-27 2012-09-27 Embedded network invoice processing terminal

Country Status (1)

Country Link
CN (1) CN202838541U (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104361511A (en) * 2014-11-21 2015-02-18 重庆远见信息产业集团有限公司 Intelligent terminal system for electronic invoice and using method thereof
CN104408653A (en) * 2014-11-11 2015-03-11 浪潮软件集团有限公司 Network billing all-in-one machine building method based on open platform
CN104503856A (en) * 2014-12-02 2015-04-08 青岛海信宽带多媒体技术有限公司 Method and device for controlling embedded system
CN106934706A (en) * 2015-12-29 2017-07-07 航天信息软件技术有限公司 A kind of method and system of synchronous sales invoice

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104408653A (en) * 2014-11-11 2015-03-11 浪潮软件集团有限公司 Network billing all-in-one machine building method based on open platform
CN104361511A (en) * 2014-11-21 2015-02-18 重庆远见信息产业集团有限公司 Intelligent terminal system for electronic invoice and using method thereof
CN104361511B (en) * 2014-11-21 2018-09-21 重庆远见信息产业集团有限公司 A kind of electronic invoice intelligent terminal system and its application method
CN104503856A (en) * 2014-12-02 2015-04-08 青岛海信宽带多媒体技术有限公司 Method and device for controlling embedded system
US9886308B2 (en) 2014-12-02 2018-02-06 Hisense Broadband Multimedia Technologies Co., Ltd. Device having an embedded system including state, and a method for controlling standby of an embedded system
CN106934706A (en) * 2015-12-29 2017-07-07 航天信息软件技术有限公司 A kind of method and system of synchronous sales invoice

Similar Documents

Publication Publication Date Title
US10839081B2 (en) System and methods for secure firmware validation
US9965632B2 (en) System and methods for secure firmware validation
US20070124536A1 (en) Token device providing a secure work environment and utilizing a virtual interface
CN201289667Y (en) Electronic payment and settlement self-help terminal
CN102289895A (en) Terminal and method for processing network note
CN202838541U (en) Embedded network invoice processing terminal
JP6793732B2 (en) Information image display method and equipment
CN103703470A (en) Systems and methods for power-on user authentication
CN101770669A (en) Bank automatic warning system and method thereof
CN106951219A (en) A kind of frame display methods and device
CN101996072A (en) Window management method and computer of operating system
CN103154965A (en) Method, secure device, system and computer program product for securely managing user access to a file system
CN201796434U (en) Portable equipment for financial transaction
CN102693480A (en) Mobile terminal with read card function and mobile terminal payment method
CN101593256B (en) Safe input method based on Windows operating system
CN104346572A (en) Construction method of universal external intelligent terminal safety operation environment
CN101150459B (en) Method and system for improving safety of information safety device
CN101383833B (en) Apparatus and method for enhancing PIN code input security of intelligent cipher key apparatus
CN104361265A (en) Document protection method, device and system
CN205230211U (en) Intelligence POS terminal
CN201548998U (en) Device for helping to realize safety of USB Key
CN203746179U (en) Mobile safe financial terminal
CN202306708U (en) Hand-held ATM (automatic teller machine) terminal and system
US20100269122A1 (en) System and Method of Heuristic Event Detection
CN201749518U (en) Payment system with mobile phone as terminal POS

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term

Granted publication date: 20130327

CX01 Expiry of patent term