CN103488592A - Virtual USB (Universal Serial Bus) equipment scheduling device and scheduling method thereof - Google Patents

Virtual USB (Universal Serial Bus) equipment scheduling device and scheduling method thereof Download PDF

Info

Publication number
CN103488592A
CN103488592A CN201210194880.1A CN201210194880A CN103488592A CN 103488592 A CN103488592 A CN 103488592A CN 201210194880 A CN201210194880 A CN 201210194880A CN 103488592 A CN103488592 A CN 103488592A
Authority
CN
China
Prior art keywords
usb
controlling equipment
tax controlling
usb tax
corresponding table
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
CN201210194880.1A
Other languages
Chinese (zh)
Other versions
CN103488592B (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

Images

Landscapes

  • Information Transfer Systems (AREA)
  • Bus Control (AREA)

Abstract

The invention discloses a virtual USB (Universal Serial Bus) equipment scheduling device and a scheduling method thereof. The device comprises a cabinet and a USB concentrator module, wherein a plurality of slots are formed in the cabinet and are suitable for leading in and clamping USB tax-controlled equipment, and USB interfaces which are connected with the USB tax-controlled equipment are formed in the slots and have unique port numbers; the USB concentrator module is provided with an interface and a plurality of expansion interfaces which respectively correspond to the slots and are connected with the USB interfaces of the slots; a root interface of the USB concentrator module is connected with a computer host which is virtually driven by the USB tax-controlled equipment through an open hole of the cabinet, a USB tax-controlled equipment exchange corresponding table is arranged in the computer host, and the port numbers of the slots in the cabinet and corresponding USB tax-controlled equipment information are recorded in the USB tax-controlled equipment exchange corresponding table; when a control command is received by the computer host, the USB tax-controlled equipment exchange corresponding table is looked up in accordance with the USB tax-controlled equipment information in the control command, so as to perform data interaction with the USB tax-controlled equipment with the corresponding port number.

Description

Subjunctive mood USB device dispatching device and dispatching method thereof
Technical field
The present invention relates to the tax control field, in particular to a kind of subjunctive mood USB device dispatching device and dispatching method thereof.
Background technology
In the tax control field, there is the enterprise of paying taxes of some industries to use the USB tax controlling equipment to coordinate the software of making out an invoice of installing on computers to realize with together with the printer be connected with computer the business function issued invoice.For single household enterprise, a family only needs so cover system, just can meet the day to day operation needs.Some enterprises, in order to manage simplification, selected the mode of trustship to tax office, the business of making out an invoice and the business of declaring dutiable goods are acted on behalf by tax office, for tax office, manage and act on behalf the USB tax controlling equipment of hundreds and thousands of even more Donna tax enterprise, carrying out concrete making out an invoice during business operation, to be each each household interim as connecting portable hard drive with computer, is connected for current mode, operated and pulled up and leave in file cabinet.If by usb hub, all USB tax controlling equipments are all plugged and can be made desk tops mixed and disorderly, power consumption increases, and key is that supporting business software does not support a plurality of equipment to peg graft simultaneously, and operating software can cause business processing to be made mistakes in this case.
The weak point of current this mode of operation is, the efficiency of business operation is low, and showing makes out an invoice at every turn all needs first to find out the USB tax controlling equipment and operated; The management of USB tax controlling equipment is perfect not, shows that the many tax control specialized equipments of quantity do not have special storing compartment, uses to search with device security not ensure.
Summary of the invention
The invention provides a kind of subjunctive mood USB device dispatching device and dispatching method thereof, in order to realize a plurality of different USB tax controlling equipments of business software operation, increase work efficiency, can be under lock and key these USB tax controlling equipments, accomplish to search conveniently, deposit safety simultaneously.
For achieving the above object, the invention provides a kind of subjunctive mood USB device dispatching device, it comprises rack and usb hub module, wherein
Be provided with a plurality of grooves position in rack, the size of each groove position and USB tax controlling equipment are complementary, and are suitable for importing and block the USB tax controlling equipment, in each groove position, are provided with the USB interface be connected with the USB tax controlling equipment, and each groove position is assigned unique port numbers;
The usb hub module has a root interface and a plurality of expansion interface, and each expansion interface is corresponding with groove position and be connected with groove position USB interface respectively;
The root interface of usb hub module externally is connected and installed with the host computer of USB tax controlling equipment virtual drive by the rack perforate, host computer is built-in with the corresponding table of USB tax controlling equipment exchange, the USB tax controlling equipment exchanges port numbers and the corresponding USB tax controlling equipment information thereof that corresponding table record has each groove position in rack, when host computer receives control command, according to the corresponding table of the exchange of the USB tax controlling equipment information searching USB tax controlling equipment in control command, with the USB tax controlling equipment of corresponding end slogan, carry out data interaction.
Further, the number of usb hub module is a plurality of and is integrated on a control circuit board.
For achieving the above object, the present invention also provides a kind of dispatching method of above-mentioned subjunctive mood USB device dispatching device, and the method comprises the following steps:
According to increasing or remove the situation of USB tax controlling equipment in rack newly, the corresponding table of USB tax controlling equipment exchange is upgraded;
When host computer receives steering order, according to the USB tax controlling equipment identification information in steering order, select corresponding USB tax controlling equipment as current USB tax controlling equipment;
When host computer receives data command, search the corresponding table of USB tax controlling equipment exchange according to the identification information of current USB tax controlling equipment, according to corresponding port numbers, data command is sent to current USB tax controlling equipment, with current USB tax controlling equipment, carry out data interaction.
Further, according to increasing or remove the situation of USB tax controlling equipment in rack newly, the corresponding table of USB tax controlling equipment exchange is carried out to step of updating and comprises:
Host computer reads each expansion interface of each usb hub module successively, if this expansion interface has device responds, read the identification information of the USB tax controlling equipment that this expansion interface is corresponding, and deposit the identification information of this USB tax controlling equipment and corresponding port numbers in USB tax controlling equipment exchange corresponding table.
Above-described embodiment has solved business software can only support the contradiction of once pegging graft between a USB tax controlling equipment and the common access of Duo Tai USB tax controlling equipment, business software is a USB tax controlling equipment of access at any time, by supporting switching controls software, send instruction to this dispatching device, reached the in fact purpose of a plurality of different USB tax controlling equipments of business software operation.
The accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, below will the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The dispatching method process flow diagram of the subjunctive mood USB device dispatching device that Fig. 1 is one embodiment of the invention.
Embodiment
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 clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not paying under the creative work prerequisite the every other embodiment obtained, belong to the scope of protection of the invention.
Be below the subjunctive mood USB device dispatching device of one embodiment of the invention, it comprises rack and usb hub module, wherein
Be provided with a plurality of grooves position in rack, the size of each groove position and USB tax controlling equipment are complementary, be suitable for importing and block the USB tax controlling equipment, be provided with the USB interface be connected with the USB tax controlling equipment in each groove position, each groove position is assigned unique port numbers (can be printed with numeral number on each side, groove position, for identifying the groove bit sequence);
The usb hub module has a root interface and a plurality of expansion interface, and each expansion interface is corresponding with groove position and be connected with groove position USB interface respectively;
The root interface of usb hub module externally is connected and installed with the host computer of USB tax controlling equipment virtual drive by the rack perforate, host computer is built-in with the corresponding table of USB tax controlling equipment exchange, the USB tax controlling equipment exchanges port numbers and the corresponding USB tax controlling equipment information thereof that corresponding table record has each groove position in rack, when host computer receives control command, according to the corresponding table of the exchange of the USB tax controlling equipment information searching USB tax controlling equipment in control command, with the USB tax controlling equipment of corresponding end slogan, carry out data interaction.
The present embodiment can be realized tax office and be connected separately the same result of use of each USB tax controlling equipment, on business without any impact, improved operating efficiency simultaneously, saved and searched and the time that is connected the USB tax controlling equipment, and the USB tax controlling equipment is unified in to be deposited in special-purpose rack and uses, be convenient to management, safety is secure.
Wherein, for convenience of using, the number of usb hub module is a plurality of and is integrated on a control circuit board.
For example, be provided with 20 USB tax controlling equipment mounting groove positions in rack, the size of each groove position and USB tax controlling equipment are complementary, for importing and block the USB tax controlling equipment, groove is provided with USB interface in position, for being connected with the USB tax controlling equipment, each side, groove position is printed with numeral number, for identifying groove bit sequence 1-20.
When proper communication, the USB tax controlling equipment virtual drive of installing in host computer is a background service program that runs on system, this program is transmitted to the data command of reception actually will operate the USB tax controlling equipment, and the relationship by objective (RBO) of forwarding determines that the instruction of accepting switching controls software by this service routine searches USB tax controlling equipment mapping table and realize.
After installing USB tax controlling equipment virtual drive, access again the dispatching device in the present embodiment, the equipment manager of host computer can demonstrate some USB tax controlling equipments, now only have the USB tax control virtual unit of first installing to be identified by business software, other can not, use following dispatching method, realize the operation of business software to other USB tax controlling equipment.
The dispatching method process flow diagram of the subjunctive mood USB device dispatching device that Fig. 1 is one embodiment of the invention.As shown in the figure, for supporting the use with above-mentioned subjunctive mood USB device dispatching device, the method comprises the following steps:
S102, according to increasing or remove the situation of USB tax controlling equipment in rack newly, upgraded the corresponding table of USB tax controlling equipment exchange;
S104, when host computer receives steering order, select corresponding USB tax controlling equipment as current USB tax controlling equipment according to the USB tax controlling equipment identification information in steering order;
S106, when host computer receives data command, search the corresponding table of USB tax controlling equipment exchange according to the identification information of current USB tax controlling equipment, according to corresponding port numbers, data command is sent to current USB tax controlling equipment, with current USB tax controlling equipment, carry out data interaction.
Further, according to increasing or remove the situation of USB tax controlling equipment in rack newly, the corresponding table of USB tax controlling equipment exchange is carried out to step of updating and comprises:
Host computer reads each expansion interface of each usb hub module successively, if this expansion interface has device responds, read the identification information of the USB tax controlling equipment that this expansion interface is corresponding, and deposit the identification information of this USB tax controlling equipment and corresponding port numbers in USB tax controlling equipment exchange corresponding table.
For example, for ease of the user, operate, above-mentioned dispatching method is configured to the service routine that runs on host computer, and structure runs on the switching controls software of host computer, during proper communication, switching controls software sends steering order inquiry USB tax controlling equipment mapping table, USB tax controlling equipment virtual drive is pointed to the USB tax controlling equipment that will operate, data command from business software sends to service routine by USB tax controlling equipment virtual drive afterwards, service routine sends to data command port corresponding to corresponding USB tax controlling equipment again, after this equipment return data, service routine returns to business software by USB tax controlling equipment virtual drive again.
From above-described embodiment, can find out, by above-mentioned dispatching device and dispatching method, solve business software and can only support the contradiction of once pegging graft between a USB tax controlling equipment and the common access of Duo Tai USB tax controlling equipment, business software is a USB tax controlling equipment of access at any time, by supporting switching controls software, send instruction to this dispatching device, reached the in fact purpose of a plurality of different USB tax controlling equipments of business software operation.
One of ordinary skill in the art will appreciate that: accompanying drawing is the schematic diagram of an embodiment, and the module in accompanying drawing or flow process might not be that enforcement the present invention is necessary.
One of ordinary skill in the art will appreciate that: the module in the device in embodiment can be described and be distributed in the device of embodiment according to embodiment, also can carry out respective change and be arranged in the one or more devices that are different from the present embodiment.The module of above-described embodiment can be merged into a module, also can further split into a plurality of submodules.
Finally it should be noted that: above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment, the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: its technical scheme that still can put down in writing previous embodiment is modified, or part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of embodiment of the present invention technical scheme.

Claims (4)

1. a subjunctive mood USB device dispatching device, is characterized in that, comprises rack and usb hub module, wherein
Be provided with a plurality of grooves position in described rack, the size of each groove position and USB tax controlling equipment are complementary, and are suitable for importing and block the USB tax controlling equipment, in each groove position, are provided with the USB interface be connected with the USB tax controlling equipment, and each groove position is assigned unique port numbers;
Described usb hub module has a root interface and a plurality of expansion interface, and each described expansion interface is corresponding with groove position and be connected with groove position USB interface respectively;
The root interface of described usb hub module externally is connected and installed with the host computer of USB tax controlling equipment virtual drive by the rack perforate, 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 corresponding USB tax controlling equipment information thereof that corresponding table record has each groove position in described rack, when described host computer receives control command, according to the corresponding table of the described USB tax controlling equipment exchange of the USB tax controlling equipment information searching in described control command, with the USB tax controlling equipment of corresponding end slogan, carry out data interaction.
2. subjunctive mood USB device dispatching device according to claim 1, is characterized in that, the number of described usb hub module is a plurality of and is integrated on a control circuit board.
3. the dispatching method of the described subjunctive mood USB device of claim 1 or 2 dispatching device, is characterized in that, comprises the following steps:
According to increasing or remove the situation of USB tax controlling equipment in described rack newly, the corresponding table of described USB tax controlling equipment exchange is upgraded;
When described host computer receives steering order, according to the USB tax controlling equipment identification information in described steering order, select corresponding USB tax controlling equipment as current USB tax controlling equipment;
When described host computer receives data command, search the corresponding table of USB tax controlling equipment exchange according to the identification information of described current USB tax controlling equipment, according to corresponding port numbers, described data command is sent to described current USB tax controlling equipment, with described current USB tax controlling equipment, carry out data interaction.
4. dispatching method according to claim 3, is characterized in that, according to increasing or remove the situation of USB tax controlling equipment in described rack newly, the corresponding table of described USB tax controlling equipment exchange carried out to step of updating and comprise:
Described host computer reads each expansion interface of each described usb hub module successively, if this expansion interface has device responds, read the identification information of the USB tax controlling equipment that this expansion interface is corresponding, and deposit the identification information of this USB tax controlling equipment and corresponding port numbers in USB tax controlling equipment exchange corresponding 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 true CN103488592A (en) 2014-01-01
CN103488592B 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)

Cited By (4)

* 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
CN114419811A (en) * 2021-12-15 2022-04-29 航天信息股份有限公司 Tax control equipment integrated change method and system based on billing disc set

Citations (4)

* 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
US20090172759A1 (en) * 2007-12-28 2009-07-02 Jung-Hoon Jung Wireless USB modem device supporting dual service for portable internet and digital broadcasting
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090172759A1 (en) * 2007-12-28 2009-07-02 Jung-Hoon Jung Wireless USB modem device supporting dual service for portable internet and digital broadcasting
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

Cited By (4)

* 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
CN114419811A (en) * 2021-12-15 2022-04-29 航天信息股份有限公司 Tax control equipment integrated change method and system based on billing disc set

Also Published As

Publication number Publication date
CN103488592B (en) 2016-12-21

Similar Documents

Publication Publication Date Title
CN103489262B (en) Network type USB equipment dispatching device and scheduling method thereof
CN103488592A (en) Virtual USB (Universal Serial Bus) equipment scheduling device and scheduling method thereof
CN101477498B (en) Port switching method and equipment of USB equipment
CN101004758A (en) Method and corresponding system for creating and obtaining report forms
CN102279749A (en) Method and equipment for merging codes
CN102932062A (en) Intelligent optical fiber connecting and distributing system and adapter port state information identification method
CN111294413B (en) Method, device and readable medium for determining Internet Protocol (IP) address
CN103489267B (en) Switch type USB device dispatching device and scheduling method thereof
CN102622190A (en) On-line write-in method for product identifying information and electronic product
CN102097015A (en) Operation instruction processing system and method
CN101567014B (en) Equipment information retrieval method, device and cable fastener
CN205902092U (en) SIM card management equipment
CN101777032A (en) Method and equipment for realizing USB endpoint multiplexing
CN103514675A (en) On-off type USB apparatus scheduling device and scheduling method thereof
US7209999B2 (en) Expansion device for storage units
CN102004714B (en) General type serial bus communication device
CN104090986A (en) Wireless controller slot position control method, access device and wireless controller
CN204719748U (en) The intelligent management system of extensive USB device
CN101872290B (en) USB virtual drive device capable of immediately switching virtual CD contents
CN112449340A (en) Remote SIM card writing method and device
CN102096592A (en) Mobile terminal and installation method for operating system thereof
CN105243161A (en) Information inquiry system and method
CN204065963U (en) Multiple field node server
CN102739695A (en) Remote control method for power distributor unit
CN101840344B (en) USB (Universal Serial Bus) device and method for automatically opening same on computer

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