CN103488592B - Virtual type's USB device dispatching device and dispatching method thereof - Google Patents

Virtual type's USB device dispatching device and dispatching method thereof Download PDF

Info

Publication number
CN103488592B
CN103488592B CN201210194880.1A CN201210194880A CN103488592B CN 103488592 B CN103488592 B CN 103488592B CN 201210194880 A CN201210194880 A CN 201210194880A CN 103488592 B CN103488592 B CN 103488592B
Authority
CN
China
Prior art keywords
usb
controlling equipment
tax controlling
usb tax
groove position
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.)
Active
Application number
CN201210194880.1A
Other languages
Chinese (zh)
Other versions
CN103488592A (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.)
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 CN201210194880.1A priority Critical patent/CN103488592B/en
Publication of CN103488592A publication Critical patent/CN103488592A/en
Application granted granted Critical
Publication of CN103488592B publication Critical patent/CN103488592B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The open a kind of virtual type's USB device dispatching device of the present invention and dispatching method thereof, this device includes rack and usb hub module, multiple groove position it is provided with in rack, groove position is suitable for importing and blocking USB tax controlling equipment, is provided with the USB interface being connected with USB tax controlling equipment and has unique port numbers in groove position;Usb hub module has a root interface and multiple expansion interface, and each expansion interface is corresponding with a groove position respectively and is connected with groove position USB interface;The root interface of usb hub module is connected and installed with the host computer of USB tax controlling equipment virtual drive by rack perforate, host computer is built-in with the corresponding table of USB tax controlling equipment exchange, USB tax controlling equipment exchanges port numbers and the USB tax controlling equipment information of correspondence thereof of each groove position in corresponding table record has rack, when host computer receives control command, exchange corresponding table according to the USB tax controlling equipment information searching USB tax controlling equipment in control command, carry out data interaction with the USB tax controlling equipment of corresponding end slogan.

Description

Virtual type's USB device dispatching device and dispatching method thereof
Technical field
The present invention relates to tax control field, in particular to a kind of virtual type's USB device dispatching device and Its dispatching method.
Background technology
In tax control field, there is the enterprise of paying taxes of some industries to use USB tax controlling equipment to coordinate and be arranged on computer On make out an invoice software and the printer that is connected with computer together with realize the business function that issues invoice.For list Family enterprise, a family only needs so set of system, it is possible to meet routine work needs.Some enterprises, for Management simplifies, and have selected the trustship mode to tax office, business of making out an invoice and business of declaring dutiable goods by tax Business office acts on behalf, and for tax office, manages and act on behalf hundreds and thousands of even more enterprise of paying taxes more USB tax controlling equipment, carry out concrete make out an invoice business operation time, current mode be each each household picture even Connect portable hard drive to be connected with computer like that temporarily, operated to pull up again and left in file cabinet.If it is logical Crossing usb hub all of USB tax controlling equipment all to be plugged desk tops can be made mixed and disorderly, power consumption increases Add, it is important to supporting business software does not support the grafting simultaneously of multiple equipment, runs software in this case Business Processing can be caused to make mistakes.
Current this mode of operation is disadvantageous in that, the efficiency of business operation is low, shows and opens every time Ticket is required for first finding out USB tax controlling equipment and operates;The management of USB tax controlling equipment is the most perfect, Show that the many tax control special equipment of quantity does not has special storing compartment, use and search and equipment does not has safely Secure.
Summary of the invention
The present invention provides a kind of virtual type's USB device dispatching device and dispatching method thereof, in order to realize business The multiple different USB tax controlling equipments of software operation, improve work efficiency, can be under lock and key these USB simultaneously Tax controlling equipment, accomplishes to search conveniently, deposits safety.
For reaching above-mentioned purpose, the invention provides a kind of virtual type USB device dispatching device, it includes Rack and usb hub module, wherein
Being provided with multiple groove position in rack, the size of each groove position matches with USB tax controlling equipment, is suitable for In importing and blocking USB tax controlling equipment, it is provided with, in each groove position, the USB being connected with USB tax controlling equipment Interface, each groove position is assigned unique port numbers;
Usb hub module has a root interface and multiple expansion interface, and each expansion interface is respectively with one Individual groove position is corresponding and is connected with groove position USB interface;
The root interface of usb hub module is externally connected and installed with USB tax controlling equipment by rack perforate The host computer of virtual drive, host computer is built-in with the corresponding table of USB tax controlling equipment exchange, USB tax control The port numbers of devices exchange correspondence table record each groove position in having rack and the USB tax controlling equipment letter of correspondence thereof Breath, when host computer receives control command, looks into according to the USB tax controlling equipment information in control command Look for the corresponding table of USB tax controlling equipment exchange, carry out data interaction with the USB tax controlling equipment of corresponding end slogan.
Further, the number of usb hub module is multiple and is integrated on a control circuit plate.
For reaching above-mentioned purpose, present invention also offers a kind of above-mentioned virtual type USB device dispatching device Dispatching method, the method comprises the following steps:
According to newly-increased in rack or remove the situation of USB tax controlling equipment, right to the exchange of USB tax controlling equipment Table is answered to be updated;
When host computer receives control instruction, identify letter according to the USB tax controlling equipment in control instruction Breath selects corresponding USB tax controlling equipment as current USB tax controlling equipment;
When host computer receives data command, search according to the identification information of current USB tax controlling equipment The corresponding table of USB tax controlling equipment exchange, is sent to current USB tax according to corresponding port numbers by data command Control equipment, carries out data interaction with current USB tax controlling equipment.
Further, according to newly-increased in rack or remove the situation of USB tax controlling equipment, to USB tax control Devices exchange correspondence table is updated step and includes:
Host computer is successively read each expansion interface of each usb hub module, if this expansion interface There is equipment to respond, then read the identification information of USB tax controlling equipment corresponding to this expansion interface, and should The identification information of USB tax controlling equipment and corresponding port numbers are stored in the corresponding table of USB tax controlling equipment exchange.
Above-described embodiment solves business software can only support one USB tax controlling equipment of a grafting and multiple stage USB tax controlling equipment jointly access between contradiction, business software at any time be access a USB Tax controlling equipment, sends instruction to this dispatching device by supporting switching control software, has reached actually The purpose of the multiple different USB tax controlling equipments of business software operation.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that below, Accompanying drawing in description is only some embodiments of the present invention, for those of ordinary skill in the art, On the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the dispatching method flow chart of virtual type's USB device dispatching device of one embodiment of the invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out Clearly and completely describe, it is clear that described embodiment is only a part of embodiment of the present invention, and It is not all, of embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not paying Go out the every other embodiment obtained under creative work premise, broadly fall into the scope of protection of the invention.
Being below virtual type's USB device dispatching device of one embodiment of the invention, it includes rack and USB Hub module, wherein
Being provided with multiple groove position in rack, the size of each groove position matches with USB tax controlling equipment, is suitable for In importing and blocking USB tax controlling equipment, it is provided with, in each groove position, the USB being connected with USB tax controlling equipment Interface, each groove position be assigned unique port numbers (can be printed with on side, each groove position numeral numbering, For logo slot bit sequence);
Usb hub module has a root interface and multiple expansion interface, and each expansion interface is respectively with one Individual groove position is corresponding and is connected with groove position USB interface;
The root interface of usb hub module is externally connected and installed with USB tax controlling equipment by rack perforate The host computer of virtual drive, host computer is built-in with the corresponding table of USB tax controlling equipment exchange, USB tax control The port numbers of devices exchange correspondence table record each groove position in having rack and the USB tax controlling equipment letter of correspondence thereof Breath, when host computer receives control command, looks into according to the USB tax controlling equipment information in control command Look for the corresponding table of USB tax controlling equipment exchange, carry out data interaction with the USB tax controlling equipment of corresponding end slogan.
The present embodiment is capable of tax office making as individually connecting each USB tax controlling equipment By effect, business is not had any impact, improves operating efficiency simultaneously, eliminate lookup and connect USB The time of tax controlling equipment, and USB tax controlling equipment be unified in special rack in deposit and use, it is simple to Management, safety is secure.
Wherein, for convenience of using, the number of usb hub module is multiple and is integrated in a control circuit On plate.
Such as, in rack, be provided with 20 USB tax controlling equipment mounting groove positions, the size of each groove position with USB tax controlling equipment matches, and is used for importing and blocking USB tax controlling equipment, and groove is provided with USB in position Interface, for being connected with USB tax controlling equipment, side, each groove position is printed with numeral numbering, is used for identifying Groove bit sequence 1-20.
When proper communication, the USB tax controlling equipment virtual drive installed in host computer is operate in system A background service program, the data command of reception is transmitted to be actually subjected to operate USB tax control by this program Equipment, the relationship by objective (RBO) of forwarding determines the instruction lookup USB being accepted switching control software by this service routine Tax controlling equipment mapping table realizes.
After installing USB tax controlling equipment virtual drive, then access the dispatching device in the present embodiment, electricity The equipment manager of brain server will reveal whether some USB tax controlling equipments, the USB now only first installed Tax control virtual unit can by business software identification, other then will not, use following dispatching method, it is achieved industry The business software operation to other USB tax controlling equipment.
Fig. 1 is the dispatching method flow chart of virtual type's USB device dispatching device of one embodiment of the invention. As it can be seen, for supporting the use with above-mentioned virtual type USB device dispatching device, the method includes following step Rapid:
S102, according to newly-increased in rack or remove the situation of USB tax controlling equipment, to USB tax controlling equipment The corresponding table of exchange is updated;
S104, when host computer receives control instruction, according to the USB tax controlling equipment in control instruction Identification information selects corresponding USB tax controlling equipment as current USB tax controlling equipment;
S106, when host computer receives data command, believes according to the mark of current USB tax controlling equipment Breath searches the corresponding table of USB tax controlling equipment exchange, is sent to currently by data command according to corresponding port numbers USB tax controlling equipment, carries out data interaction with current USB tax controlling equipment.
Further, according to newly-increased in rack or remove the situation of USB tax controlling equipment, to USB tax control Devices exchange correspondence table is updated step and includes:
Host computer is successively read each expansion interface of each usb hub module, if this expansion interface There is equipment to respond, then read the identification information of USB tax controlling equipment corresponding to this expansion interface, and should The identification information of USB tax controlling equipment and corresponding port numbers are stored in the corresponding table of USB tax controlling equipment exchange.
Such as, for ease of user operation, above-mentioned dispatching method is configured to run on the service of host computer Program, and build the switching control software running on host computer, during proper communication, switching control software Sending control instruction inquiry USB tax controlling equipment mapping table, being pointed to by USB tax controlling equipment virtual drive will USB tax controlling equipment to be operated, the data command from business software passes through USB tax controlling equipment afterwards Virtual drive is sent to service routine, and data command is sent to corresponding USB tax control and sets by service routine again Standby corresponding port, after this equipment returns data, service routine is again by USB tax controlling equipment virtual drive Return to business software.
It can be seen that by above-mentioned dispatching device and dispatching method, solve business from above-described embodiment Software can only support that one USB tax controlling equipment of a grafting and multiple stage USB tax controlling equipment access it jointly Between contradiction, business software at any time be access a USB tax controlling equipment, cut by supporting Change control software and send instruction to this dispatching device, reached actually business software and operated multiple differences The purpose of USB tax controlling equipment.
One of ordinary skill in the art will appreciate that: accompanying drawing is the schematic diagram of an embodiment, in accompanying drawing Module or flow process not necessarily implement necessary to the present invention.
One of ordinary skill in the art will appreciate that: the module in device in embodiment can be according to enforcement Example describes in the device being distributed in embodiment, it is also possible to carries out respective change and is disposed other than the present embodiment In one or more devices.The module of above-described embodiment can merge into a module, it is also possible to further Split into multiple submodule.
Last it is noted that above example is only in order to illustrate technical scheme, rather than to it Limit;Although the present invention being described in detail with reference to previous embodiment, the ordinary skill of this area Personnel it is understood that the technical scheme described in previous embodiment still can be modified by it, or Wherein portion of techniques feature is carried out equivalent;And these amendments or replacement, do not make relevant art The essence of scheme departs from the spirit and scope of embodiment of the present invention technical scheme.

Claims (2)

1. virtual type's USB device dispatching device, it is characterised in that include rack and USB set line Device module, wherein
Being provided with multiple groove position in described rack, the size of each groove position matches with USB tax controlling equipment, It is suitable for importing and blocking USB tax controlling equipment, is provided with in each groove position and is connected with USB tax controlling equipment USB interface, each groove position is assigned unique port numbers;
Described usb hub module has a root interface and multiple expansion interface, each described expansion interface Corresponding with groove position respectively and be connected with groove position USB interface;
The root interface of described usb hub module is externally connected and installed with USB tax control by rack perforate The host computer of equipment virtual drive, described host computer is built-in with the corresponding table of USB tax controlling equipment exchange, Described USB tax controlling equipment exchanges port numbers and the correspondence thereof of each groove position in corresponding table record has described rack USB tax controlling equipment information, when described host computer receives control command, according to described control life The corresponding table of USB tax controlling equipment exchange described in USB tax controlling equipment information searching in order, with corresponding ports Number USB tax controlling equipment carry out data interaction;
The number of described usb hub module is multiple and is integrated on a control circuit plate.
2. a dispatching method for the virtual type's USB device dispatching device described in claim 1, it is special Levy and be, comprise the following steps:
According to newly-increased in described rack or remove the situation of USB tax controlling equipment, described USB tax control is set The corresponding table of standby exchange is updated;
When described host computer receives control instruction, set according to the USB tax control in described control instruction Standby identification information selects corresponding USB tax controlling equipment as current USB tax controlling equipment;
When described host computer receives data command, according to the mark of described current USB tax controlling equipment The corresponding table of information searching USB tax controlling equipment exchange, sends described data command according to corresponding port numbers To described current USB tax controlling equipment, carry out data interaction with described current USB tax controlling equipment;
According to newly-increased in described rack or remove the situation of USB tax controlling equipment, described USB tax control is set The corresponding table of standby exchange is updated step and includes:
Described host computer is successively read each expansion interface of each described usb hub module, if should Expansion interface has equipment to respond, then read the identification information of USB tax controlling equipment corresponding to this expansion interface, And it is right that the identification information of this USB tax controlling equipment and corresponding port numbers are stored in the exchange of USB tax controlling equipment Answer table.
CN201210194880.1A 2012-06-13 2012-06-13 Virtual type's USB device dispatching device and dispatching method thereof Active CN103488592B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210194880.1A CN103488592B (en) 2012-06-13 2012-06-13 Virtual type's USB device dispatching device and dispatching method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210194880.1A CN103488592B (en) 2012-06-13 2012-06-13 Virtual type's USB device dispatching device and dispatching method thereof

Publications (2)

Publication Number Publication Date
CN103488592A CN103488592A (en) 2014-01-01
CN103488592B true CN103488592B (en) 2016-12-21

Family

ID=49828838

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210194880.1A Active CN103488592B (en) 2012-06-13 2012-06-13 Virtual type's USB device dispatching device and dispatching method thereof

Country Status (1)

Country Link
CN (1) CN103488592B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109598879A (en) * 2018-12-29 2019-04-09 航天信息股份有限公司 The method and device of the multiple tax controlling equipments of centralized control
CN112215668A (en) * 2020-08-31 2021-01-12 航天信息股份有限公司 Method and system for realizing automatic tax copying and reporting of remote escrow tax control equipment
CN113199888A (en) * 2021-05-06 2021-08-03 天津市中环电子计算机有限公司 Industrial computer USB interface silk-screen identification method with signal source information

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101425049A (en) * 2008-11-29 2009-05-06 中兴通讯股份有限公司 Customer equipment based on USB and data channel switching method
CN201522757U (en) * 2009-11-23 2010-07-07 浪潮齐鲁软件产业有限公司 Fiscal processor expansion cabinet
CN201540613U (en) * 2009-11-27 2010-08-04 航天信息股份有限公司 Tax controller cluster management system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100960652B1 (en) * 2007-12-28 2010-06-07 모다정보통신 주식회사 Device of USB modem for supporting dual service for Mobile Internet and Digital broadcasting

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101425049A (en) * 2008-11-29 2009-05-06 中兴通讯股份有限公司 Customer equipment based on USB and data channel switching method
CN201522757U (en) * 2009-11-23 2010-07-07 浪潮齐鲁软件产业有限公司 Fiscal processor expansion cabinet
CN201540613U (en) * 2009-11-27 2010-08-04 航天信息股份有限公司 Tax controller cluster management system

Also Published As

Publication number Publication date
CN103488592A (en) 2014-01-01

Similar Documents

Publication Publication Date Title
US7389367B2 (en) Method of managing I/O interface modules in a computer system
CN103489262B (en) Network type USB equipment dispatching device and scheduling method thereof
US20140177738A1 (en) Determining the configuration of a power distribution sytem
US20140215030A1 (en) Information Handling System Physical Component Inventory To Aid Operational Management Through Near Field Communication Device Interaction
CN101739287A (en) Device, system and method for managing virtual machines
CA2682141A1 (en) Method and apparatus for managing printing devices in a local area network
CN103488592B (en) Virtual type's USB device dispatching device and dispatching method thereof
CN102870380B (en) The power board of blade server and port configuration method thereof
CN103313192A (en) Multiple-screen sharing method and system
Rao et al. Energy efficiency in datacenters through virtualization: A case study
CN102722461A (en) Data communication system of storage management system and communication method thereof
CN107633386B (en) Method, system, equipment and storage medium for managing network terminal information
CN105809798A (en) Security system for cabinets in machine room of power system
CN106506214A (en) A kind of automated management system of equipment connecting relation and method
CN103514675A (en) On-off type USB apparatus scheduling device and scheduling method thereof
CN102629128A (en) Automatic frequency control (AFC) equipment power supply remote control system based on cloud technology
CN105871560A (en) Router starting method and device
CN105515786A (en) Network card, server and pre-boot test method
CN204065963U (en) Multiple field node server
CN103489267B (en) Switch type USB device dispatching device and scheduling method thereof
CN109768909A (en) Message forwarding method and device
CN100450028C (en) System resource management method for telecommunication apparatus
CN103984651A (en) Mass optic disc offline storage system and method for automatic and quick positioning of optic disc data
CN112019364B (en) Information management method and device
CN102622713A (en) Hotel management system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant