CN106936595A - The communication means and system of Golden Taxes disk - Google Patents

The communication means and system of Golden Taxes disk Download PDF

Info

Publication number
CN106936595A
CN106936595A CN201511017464.4A CN201511017464A CN106936595A CN 106936595 A CN106936595 A CN 106936595A CN 201511017464 A CN201511017464 A CN 201511017464A CN 106936595 A CN106936595 A CN 106936595A
Authority
CN
China
Prior art keywords
data
golden taxes
disk
taxes disk
communication
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
CN201511017464.4A
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.)
Aisino Corp
Original Assignee
Aisino Corp
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 Aisino Corp filed Critical Aisino Corp
Priority to CN201511017464.4A priority Critical patent/CN106936595A/en
Publication of CN106936595A publication Critical patent/CN106936595A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multi Processors (AREA)

Abstract

The present invention provides the communication means and system of a kind of Golden Taxes disk, wherein, the method includes that operating system server enters row data communication with a kind of communication means processors of Golden Taxes disk of MCU by standard serial interface;The MCU processors enter row data communication with Golden Taxes disk by USB interface;Wherein, the MCU processors are integrally disposed with Golden Taxes disk.The present invention can solve the defect that user cannot interact on the host server for running on Linux and Unix system with Golden Taxes disk.

Description

The communication means and system of Golden Taxes disk
Technical field
The present invention relates to Golden Taxes disk field, more particularly to a kind of Golden Taxes disk communication means and system.
Background technology
It is widely used at home now with Golden Taxes disk, its own code is also each to meet in development at full speed Kind hardware device and business demand, but the service of all of Golden Taxes disk all support Windows systems interacted with USB interface Device, this is to cater to the system of the customer group of main flow for source.But as the server of each producer is supported increasingly The operating system of multiple types, will certainly meet the Windows systems that Golden Taxes disk only supports USB single faces.
The content of the invention
Present invention seek to address that problem as described above.It is an object of the present invention to provide a kind of communication party of Golden Taxes disk Method and system, to realize supporting serial communication between Golden Taxes disk and operating system.
According to the first aspect of the invention, a kind of communication means of Golden Taxes disk includes:Operating system server is a kind of with MCU The communication means processor of Golden Taxes disk enters row data communication by standard serial interface;The MCU processors pass through with Golden Taxes disk USB interface enters row data communication;Wherein, the MCU processors are integrally disposed with Golden Taxes disk.
According to the second aspect of the invention, a kind of communication system of Golden Taxes disk includes:Operating system server, MCU treatment Device and Golden Taxes disk;The MCU processors are integrally disposed with Golden Taxes disk;The operating system server is with MCU processors by mark Quasi- serial line interface enters row data communication;The MCU processors enter row data communication with Golden Taxes disk by USB interface.
The communication means and system of a kind of Golden Taxes disk proposed by the present invention, MCU processors are set up by setting up in Golden Taxes disk, are entered And operating system server enters row data communication with MCU processors by standard serial interface;The MCU processors and Golden Taxes disk Row data communication is entered by USB interface, is achieved in supporting comprehensively the server of the various operating systems of operation, can arbitrarily run In the host side of the dominant systems such as Windows, Linux and Unix, solving user cannot run on Linux and Unix system The defect interacted with Golden Taxes disk on host server.
The following description for exemplary embodiment is read with reference to the drawings, other property features of the invention and advantage will It is apparent from.
Brief description of the drawings
The accompanying drawing for being incorporated into specification and constituting a part for specification shows embodiments of the invention, and with Description is used to explain principle of the invention together.In the drawings, similar reference is used to represent similar key element.Under Accompanying drawing in the description of face is some embodiments of the present invention, rather than whole embodiments.Come for those of ordinary skill in the art Say, on the premise of not paying creative work, other accompanying drawings can be obtained according to these accompanying drawings.
Fig. 1 schematically illustrates a kind of flow chart of the communication means of Golden Taxes disk;
Fig. 2 schematically illustrates a kind of another flow chart of the communication means of Golden Taxes disk;
Fig. 3 schematically illustrates a kind of system architecture diagram of MCU processors in communication means of Golden Taxes disk;
The Linux BSP that Fig. 4 schematically illustrates MCU processors in a kind of communication means of Golden Taxes disk realize the signal of function Figure;
Fig. 5 schematically illustrates a kind of architecture diagram of serial line interface driving in communication means of Golden Taxes disk;
Fig. 6 schematically illustrates a kind of structural representation of the communication system of Golden Taxes disk.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.Need Illustrate, in the case where not conflicting, the feature in embodiment and embodiment in the application can mutually be combined.
As shown in figure 1, a kind of communication means of Golden Taxes disk, including:
Step 101:Operating system server enters row data communication with MCU processors by standard serial interface;With operation of increasing income Explained as a example by system Linux, its system architecture is made up of 5 parts, as shown in figure 3, being respectively:User applies (User Applications), C storehouses(C Library), system pager interface(System Call Interface), kernel (Kernel), structure-based kernel code(Architecture-Dependent Kernel Code), i.e., by increasing The code that linux kernel drives realizes transplanting MCU, in migration process, it is preferred that emphasis is the consummating function branch that bottom hardware drives Hold the effect of forming a connecting link interacted with Golden Taxes disk with upper strata serial communication protocol:There is provided upwards and meet several operation systems server Serial communication application frame
The interface of rack-layer, downwards the various Read-write Catrol functions to Golden Taxes disk be packaged.During concrete operations, respectively from transplanting The linux system of MCU processors is started with serial communication driving is write with two aspects of interaction protocol.First it is board suppot package The transplanting of (Board Support Package, abbreviation BSP) bottom, it needs multi-level from bottom hardware to upper layer application Functional coverage, its functional block diagram is as shown in Figure 4;When MCU processor Linux BSP are transplanted, it is considered to which linux system is Very standardized kernel, in the driving transplanted and write using the code for meeting Linux driver rules.It focuses on right Overall MCU processors support that this requires abundant support integral transplanting from core, bus, internal memory, peripheral hardware etc. are many-sided The assurance of abstract concept and specific driving details module.Fig. 5 is exactly the architecture diagram that serial line interface drives under normal circumstances.
Step 103:The MCU processors enter row data communication with Golden Taxes disk by USB interface;Wherein, the MCU treatment Device is integrally disposed with Golden Taxes disk.
The communication means of the present embodiment Golden Taxes disk, MCU processors are set up by setting up in Golden Taxes disk, and then operating system Server enters row data communication with MCU processors by standard serial interface;The MCU processors are connect with Golden Taxes disk by USB Mouth enters row data communication, i.e., communicated based on the serial communication interface using standard, is achieved in supporting the various operations of operation comprehensively The server of system, can arbitrarily operate in the host side of the dominant systems such as Windows, Linux and Unix, and solving user cannot The defect interacted with Golden Taxes disk on the host server for running on Linux and Unix system.
Fig. 2 schematically illustrates a kind of another flow chart of the communication means of Golden Taxes disk;As shown in Fig. 2 Golden Taxes disk Communication means includes:
Following steps are performed in user side, i.e. operating system server side:
Step 201:Operating system server generates storehouse table data;
Step 203:The storehouse table data are converted to serial data by the serial data originating end of the operating system server;Should Serial data originating end meets the related specifications of converter;
Following steps are performed in converter operation layer, i.e. MCU processors side:
Step 205:The MCU processors receive the serial data, and the serial data is converted into storehouse table data;
Step 207:The MCU processors inside carries out corresponding operation flow, and storehouse table data point based on the storehouse table data Stream;
Step 209:The MCU processors inside carries out conventional Golden Taxes disk Business Stream based on a part of storehouse table data after shunting Journey treatment;
Step 211, the storehouse table data after the MCU processors process step 209 carry out being converted to USB flash disk data, i.e. disk Interface data;
Step 213:The interface library of the Golden Taxes disk is based on the USB flash disk data and the MCU processor communications;
Step 215:The MCU processors according to shunting after another part storehouse table data genaration background network message;
Step 217:SSL channel pools in the Golden Taxes disk are based on the background network message and send logical with the MCU processors Letter.
The communication means of the Golden Taxes disk of the present embodiment, with MCU processors is to carry out data by usb bus by Golden Taxes disk Interactive, then MCU processors enter row data communication with multiple operating system server by standard serial interface;It is converter The effect of forming a connecting link of operation layer.The treatment of interface library and SSL channel pools for middle layer data is encapsulated for bottom Golden Taxes disk With report, calling interface is then up added step by step, until meeting the calling of upper strata multiple systems server untill.
Fig. 6 schematically illustrates a kind of structural representation of the communication system of Golden Taxes disk.The explanation of Fig. 1-Fig. 5 can So that suitable for the present embodiment, the present embodiment is explained by taking NUC972 chips of the MCU processors using new Tang science and technology as an example (Should not the understanding of being construed as limiting property), NUC972 chips are the system-level single-chips with ARM926EJS as core.Contain 16kB I-Cache and 16kB D-Cache and MMU memory management modules.Highest is supported the frequency, And to 300MHz and is provided Abundant Peripheral Interface feature.Meet easy on Golden Taxes disc system, the efficient condition transplanted;
As shown in fig. 6, the communication system of Golden Taxes disk can include:
Operating system server, MCU processors(Such as NUC972 chips)And Golden Taxes disk;The MCU processors are integrated with Golden Taxes disk Set;The operating system server enters row data communication with MCU processors by standard serial interface;The MCU processors Row data communication is entered by USB interface with Golden Taxes disk.
Preferably, the operating system server includes following module(Not shown in figure):
Generation module, for generating storehouse table data;
First serial communication module, for the storehouse table data to be converted into serial data;
The MCU processors include following module(Not shown in figure):
Second serial communication module, for being communicated with the first serial communication module based on the serial data, and will be described Serial data is converted to storehouse table data;
Service Processing Module, for carrying out treatment operation according to the storehouse table data;
First disk data communication module, for the storehouse table data to be converted into USB flash disk data;
The Golden Taxes disk includes the second disk data communication module(Not shown in figure), for based on the USB flash disk data and described One disk data communication module communicates.
It is further preferred that the Golden Taxes disk includes SSL channel pools(Not shown in figure);The Service Processing Module is used for According to the storehouse table data genaration background network message, and sent and the SSL channel pools based on the background network message Communication.The second disk data communication module is interface library(Not shown in figure).
The present embodiment is supported by increasing MCU processors on Golden Taxes disk, and then adding the method for serial line interface to correspond to Various server OSs(Including but not limited to Linux and Unix system server)Realization, this invention can transport arbitrarily Row connects Golden Taxes disk in support Windows, Linux and Unix system and by standard serial interface.
Descriptions above can combine implementation individually or in a variety of ways, and these variants all exist Within protection scope of the present invention.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations.Although The present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be used Modified with to the technical scheme described in foregoing embodiments, or equivalent is carried out to which part technical characteristic; And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and Scope.

Claims (8)

1. a kind of communication means of Golden Taxes disk, it is characterised in that including:
Operating system server carries out data and leads to a kind of communication means processors of Golden Taxes disk of MCU by standard serial interface Letter;
The MCU processors enter row data communication with Golden Taxes disk by USB interface;Wherein, the MCU processors and Golden Taxes Pan Ji Into setting.
2. the communication means of Golden Taxes disk according to claim 1, it is characterised in that the operating system server and MCU The step of processor enters row data communication by standard serial interface includes:
The operating system server generates storehouse table data, and the storehouse table data are converted into serial data, and based on institute Serial data is stated with the MCU processor communications;
The step of MCU processors enter row data communication with Golden Taxes disk by USB interface includes:
The serial data is converted to storehouse table data by the MCU processors, and carries out treatment operation according to the storehouse table data, And the storehouse table data are converted into USB flash disk data, and then communicated with the Golden Taxes disk based on the USB flash disk data.
3. the communication means of Golden Taxes disk according to claim 2, it is characterised in that described to be carried out according to the storehouse table data The step for the treatment of operation, includes:
The MCU processors are sent out according to the storehouse table data genaration background network message, and based on the background network message Send and communicated with the SSL channel pools in the Golden Taxes disk.
4. the communication means of Golden Taxes disk according to claim 3, it is characterised in that described based on the USB flash disk data and institute Stating the step of Golden Taxes disk communicates includes:
The MCU processors are communicated based on the USB flash disk data with the interface library of the Golden Taxes disk.
5. a kind of communication system of Golden Taxes disk, it is characterised in that including:Operating system server, MCU processors and Golden Taxes disk; The MCU processors are integrally disposed with Golden Taxes disk;The operating system server is entered with MCU processors by standard serial interface Row data communication;The MCU processors enter row data communication with Golden Taxes disk by USB interface.
6. the communication system of Golden Taxes disk according to claim 5, it is characterised in that
The operating system server includes:
Generation module, for generating storehouse table data;
First serial communication module, for the storehouse table data to be converted into serial data;
The MCU processors include:
Second serial communication module, for being communicated with the first serial communication module based on the serial data, and will be described Serial data is converted to storehouse table data;
Service Processing Module, for carrying out treatment operation according to the storehouse table data;
First disk data communication module, for the storehouse table data to be converted into USB flash disk data;
The Golden Taxes disk includes the second disk data communication module, for based on the USB flash disk data and the first disk data communication Module communicates.
7. the communication system of Golden Taxes disk according to claim 6, it is characterised in that the Golden Taxes disk includes SSL channel pools; The Service Processing Module is used for according to the storehouse table data genaration background network message, and based on the background network message Transmission communicates with the SSL channel pools.
8. the communication system of Golden Taxes disk according to claim 7, it is characterised in that the second disk data communication module is Interface library.
CN201511017464.4A 2015-12-29 2015-12-29 The communication means and system of Golden Taxes disk Pending CN106936595A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511017464.4A CN106936595A (en) 2015-12-29 2015-12-29 The communication means and system of Golden Taxes disk

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511017464.4A CN106936595A (en) 2015-12-29 2015-12-29 The communication means and system of Golden Taxes disk

Publications (1)

Publication Number Publication Date
CN106936595A true CN106936595A (en) 2017-07-07

Family

ID=59441570

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511017464.4A Pending CN106936595A (en) 2015-12-29 2015-12-29 The communication means and system of Golden Taxes disk

Country Status (1)

Country Link
CN (1) CN106936595A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110390568A (en) * 2019-07-03 2019-10-29 北京旋极百旺科技有限公司 A kind of billing system and its loading method based on layer-stepping principle

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201910098U (en) * 2010-11-26 2011-07-27 航天信息股份有限公司 Network billing machine
CN102355389A (en) * 2011-08-15 2012-02-15 无锡互惠信息技术有限公司 Hardware middleware applied to system of Internet of Things
CN103489262A (en) * 2012-06-11 2014-01-01 航天信息股份有限公司 Device and method for dispatching network type USB equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201910098U (en) * 2010-11-26 2011-07-27 航天信息股份有限公司 Network billing machine
CN102355389A (en) * 2011-08-15 2012-02-15 无锡互惠信息技术有限公司 Hardware middleware applied to system of Internet of Things
CN103489262A (en) * 2012-06-11 2014-01-01 航天信息股份有限公司 Device and method for dispatching network type USB equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110390568A (en) * 2019-07-03 2019-10-29 北京旋极百旺科技有限公司 A kind of billing system and its loading method based on layer-stepping principle

Similar Documents

Publication Publication Date Title
CN109314671B (en) Accelerator resource allocation and pooling
WO2017181823A1 (en) Protocol conversion method, platform, and protocol conversion gateway
CN113396565B (en) Control method and device
CN108319513B (en) Message transmission method and device in multi-partition operating system
TW200530837A (en) Method and apparatus for shared I/O in a load/store fabric
CN102638397A (en) USB (universal serial bus) device communication transmission method, device and system
CN104268025A (en) Interprocess communication method and system, and server
CN108768667B (en) Method for inter-chip network communication of multi-core processor
CN111045840A (en) PLC firmware system, packaging interface method, device, storage medium and electronic equipment
CN105183622A (en) Log processing method and device based on Android system
CN112214334A (en) Micro-service calling method and device, electronic equipment and computer-readable storage medium
CN108304044A (en) A kind of setting method and system of NVME hard disk hot-plugs
CN112181542A (en) Function calling method and device, electronic equipment and storage medium
CN106936595A (en) The communication means and system of Golden Taxes disk
CN103618758A (en) Web server and system resource access control method thereof
CN106716998B (en) Multiple operating system multi-medium data decoding method, device and electronic equipment
CN103077081B (en) Method and device of adjusting resources
CN110581800B (en) Method and device for creating virtual router interface, storage medium and equipment
CN106936596A (en) The communication means and system of Golden Taxes disk
WO2006115771A3 (en) Methods and apparatus for message oriented invocation
CN114979058B (en) CAN multi-mailbox multiplexing processing method and system
CN108920144B (en) Message processing method and device
CN106933608A (en) Golden Taxes disk server disk array control system and method
CN102800340B (en) Method and device for managing sound source of vehicle-mounted Android platform
CN105939242B (en) Realize the method and device of virtual system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170707