CN103489267B - Switch type USB device dispatching device and scheduling method thereof - Google Patents

Switch type USB device dispatching device and scheduling method thereof Download PDF

Info

Publication number
CN103489267B
CN103489267B CN201210191924.5A CN201210191924A CN103489267B CN 103489267 B CN103489267 B CN 103489267B CN 201210191924 A CN201210191924 A CN 201210191924A CN 103489267 B CN103489267 B CN 103489267B
Authority
CN
China
Prior art keywords
usb
controlling equipment
tax controlling
interface
module
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
CN201210191924.5A
Other languages
Chinese (zh)
Other versions
CN103489267A (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 CN201210191924.5A priority Critical patent/CN103489267B/en
Publication of CN103489267A publication Critical patent/CN103489267A/en
Application granted granted Critical
Publication of CN103489267B publication Critical patent/CN103489267B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The open a kind of switch type USB device dispatching device of the present invention and scheduling method thereof, this device comprises rack, usb hub module and usb communication and exchanges module, multiple slot it is provided with in rack, slot is suitable for importing and blocks USB tax controlling equipment, is provided with the USB interface being connected with USB tax controlling equipment and has unique port numbers in slot; Usb hub module has one first root interface and multiple first expansion interface, and each first expansion interface is corresponding with a slot respectively and is connected with slot USB interface; Usb communication exchanges module and comprises one the 2nd root interface and multiple 2nd expansion interface, and the 2nd root interface externally connects host computer by rack perforate, and each the 2nd expansion interface connects the first root interface of a usb hub module; Usb communication exchanges module and is built-in with the corresponding table of USB tax controlling equipment exchange, and the corresponding token of USB tax controlling equipment exchange is recorded the port numbers of each slot and the USB tax controlling equipment information of correspondence thereof in rack.

Description

Switch type USB device dispatching device and scheduling method thereof
Technical field
The present invention relates to tax control field, specifically, it relates to a kind of switch type USB device dispatching device and scheduling method thereof.
Background technology
In tax control field, have the enterprise of paying taxes of some industries use USB tax controlling equipment coordinate make out an invoice software and the printer that connects with computer installed on computers together with realize the business function that issues invoice. For single household enterprise, a family only needs so set of system, so that it may to meet day to day operation needs. Some enterprises, in order to manage simplification, have selected the mode of trustship to tax business quarters, business of making out an invoice and business of declaring dutiable goods are acted on behalf by tax business quarters, for tax business quarters, manage and act on behalf the USB tax controlling equipment of hundreds and thousands of even more Donna tax enterprise, carry out concrete make out an invoice business operation time, to be each each household interim as connecting portable hard drive is connected with computer for current mode, has operated to pull up again and has left in file cabinet. Desk tops being made mixed and disorderly if by usb hub all USB tax controlling equipments are all plugged, power consumption increases, it is important to supporting business software does not support the grafting simultaneously of multiple equipment, and operating software can cause business processing to be made mistakes in this case.
At present the weak point of this kind of operating method is, the efficiency of business operation is low, and showing makes out an invoice every time all needs first to find out USB tax controlling equipment and operate; The management of USB tax controlling equipment is perfect not, shows that the many tax control specific equipment of quantity does not have special to deposit cabinet, it may also be useful to search and do not ensure with device security.
Summary of the invention
The present invention provides a kind of switch type USB device dispatching device and scheduling method thereof, in order to realize the multiple different USB tax controlling equipment of business software operation, it is to increase working efficiency, can be under lock and key these USB tax controlling equipments simultaneously, accomplish to search conveniently, deposits safety.
For achieving the above object, the present invention provides a kind of switch type USB device dispatching device, and it comprises rack, usb hub module and usb communication and exchanges module, wherein
Being provided with multiple slot in rack, the size of each slot is mated mutually with USB tax controlling equipment, is suitable for importing and blocks USB tax controlling equipment, is provided with and the USB interface that USB tax controlling equipment is connected in each slot, and each slot is assigned unique port numbers;
Usb hub module has one first root interface and multiple first expansion interface, and each first expansion interface is corresponding with slot respectively and is connected with slot USB interface;
Usb communication exchanges module and comprises one the 2nd root interface and multiple 2nd expansion interface, and the 2nd root interface externally connects host computer by rack perforate, and each the 2nd expansion interface connects the first root interface of a usb hub module;
Usb communication exchanges module and is built-in with the corresponding table of USB tax controlling equipment exchange, USB tax controlling equipment exchanges corresponding token record the port numbers of each slot and the USB tax controlling equipment information of correspondence thereof in rack, when the 2nd root interface that usb communication exchanges module receives outside order, exchange corresponding table according to the USB tax controlling equipment information searching USB tax controlling equipment in the order of outside, carry out data interaction with the USB tax controlling equipment of corresponding end slogan.
Further, the number of usb hub module is multiple, and multiple usb hub module and a usb communication exchange module integration on a control circuit board.
For achieving the above object, present invention also offers a kind of scheduling method of above-mentioned switch type USB device dispatching device, the method comprises the following steps:
According to the situation increasing or removing USB tax controlling equipment in rack newly, USB tax controlling equipment is exchanged corresponding table and upgrades;
When the 2nd root interface that usb communication exchanges module receives outside 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;
When usb communication exchanges the data command that module receives outside, identification information according to current USB tax controlling equipment is searched USB tax controlling equipment and is exchanged corresponding table, data command is sent to current USB tax controlling equipment by the port numbers according to correspondence, and current USB tax controlling equipment exchanges module by usb communication and external command source carries out data interaction.
Further, according to the situation increasing or removing USB tax controlling equipment in rack newly, the corresponding table of USB tax controlling equipment exchange is carried out step of updating and comprises:
Usb communication exchanges each first expansion interface that module reads each usb hub module successively, if this first expansion interface has device responds, then read the identification information of USB tax controlling equipment corresponding to this first expansion interface, and the identification information of this USB tax controlling equipment and corresponding port numbers are exchanged corresponding table stored in USB tax controlling equipment.
Above-described embodiment solve business software grafting USB tax controlling equipment and multiple stage USB tax controlling equipment can only be supported jointly to access between contradiction, business software is an access USB tax controlling equipment at any time, send instruction to this dispatching device by supporting SCS, reach the object of the multiple different USB tax controlling equipment of in fact business software operation.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, it is briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the scheduling method flow diagram of the switch type USB device dispatching device of 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, it is clear that described embodiment is only the present invention's part embodiment, instead of whole embodiments. Based on the embodiment in the present invention, those of ordinary skill in the art, not paying other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
Being below the switch type USB device dispatching device of one embodiment of the invention, it comprises rack, usb hub module and usb communication and exchanges module, wherein
Multiple slot it is provided with in rack, the size of each slot is mated mutually with USB tax controlling equipment, it is suitable for importing and blocks USB tax controlling equipment, it is provided with in each slot and the USB interface that USB tax controlling equipment is connected, each slot is assigned unique port numbers (can be printed with numeral number on each side, slot, for logo slot bit sequence);
Usb hub module has one first root interface and multiple first expansion interface, and each first expansion interface is corresponding with slot respectively and is connected with slot USB interface;
Usb communication exchanges module and comprises one the 2nd root interface and multiple 2nd expansion interface, and the 2nd root interface externally connects host computer by rack perforate, and each the 2nd expansion interface connects the first root interface of a usb hub module;
Usb communication exchanges module and is built-in with the corresponding table of USB tax controlling equipment exchange, USB tax controlling equipment exchanges corresponding token record the port numbers of each slot and the USB tax controlling equipment information of correspondence thereof in rack, when the 2nd root interface that usb communication exchanges module receives outside order, exchange corresponding table according to the USB tax controlling equipment information searching USB tax controlling equipment in the order of outside, carry out data interaction with the USB tax controlling equipment of corresponding end slogan.
The present embodiment can realize tax business quarters and connect separately the same result of use of each USB tax controlling equipment, on business without any impact, improve operation efficiency simultaneously, eliminate the time searching and connecting USB tax controlling equipment, and USB tax controlling equipment is unified in special rack to be deposited and uses, being convenient to management, safety is secure.
Wherein, for convenience of using, the number of usb hub module is multiple, and multiple usb hub module and a usb communication exchange module integration on a control circuit board.
Such as, it is provided with 20 USB tax controlling equipments in rack and slot is installed, the size of each slot is mated mutually with USB tax controlling equipment, for importing and block USB tax controlling equipment, USB interface it is provided with in slot, for being connected with USB tax controlling equipment, each side, slot is printed with numeral number, for logo slot bit sequence 1-20.
Again such as, usb communication exchanges module and NUC950 chip can be adopted to be core, this chip is AMR9 chip, there is a USB-HOST interface, a USB-DEVICE interface, USB-HOST and usb hub model calling, USB-DEVICE interface externally connects external computer main frame by rack perforate, accepts the instruction of external computer main frame. The plug-in memory chip of NUC950, according to the USB port that every 16 bytes are one section of correspondence slot from address 0 in this storer. NUC950 runs LINUX operating system, fit applications program, and its DEVICE interface is externally rendered as 1 USB tax controlling equipment, according to the order of external computer main frame and business software, forwards order and the data of contact according to the corresponding relation exchanging table.
Fig. 1 is the scheduling method flow diagram of the switch type USB device dispatching device of one embodiment of the invention. As shown in the figure, for supporting the use with above-mentioned switch type USB device dispatching device, the method comprises the following steps:
S102, according to the situation increasing or removing USB tax controlling equipment in rack newly, exchanges corresponding table and upgrades USB tax controlling equipment;
S104, when the 2nd root interface that usb communication exchanges module receives outside steering order, selects 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 usb communication exchanges the data command that module receives outside, identification information according to current USB tax controlling equipment is searched USB tax controlling equipment and is exchanged corresponding table, data command is sent to current USB tax controlling equipment by the port numbers according to correspondence, and current USB tax controlling equipment exchanges module by usb communication and external command source carries out data interaction.
Further, according to the situation increasing or removing USB tax controlling equipment in rack newly, the corresponding table of USB tax controlling equipment exchange is carried out step of updating and comprises:
Usb communication exchanges each first expansion interface that module reads each usb hub module successively, if this first expansion interface has device responds, then read the identification information of USB tax controlling equipment corresponding to this first expansion interface, and the identification information of this USB tax controlling equipment and corresponding port numbers are exchanged corresponding table stored in USB tax controlling equipment.
Such as, exchange module at usb communication and adopt in the embodiment that NUC950 chip is core, if the USB tax controlling equipment finding slot 1 has response, then, in 16 byte of null of address 0 beginning, charge to the identification information changing equipment.
As can be seen from above-described embodiment, by above-mentioned dispatching device and scheduling method, solve business software grafting USB tax controlling equipment and multiple stage USB tax controlling equipment can only be supported jointly to access between contradiction, business software is an access USB tax controlling equipment at any time, send instruction to this dispatching device by supporting SCS, reach the object of the multiple different USB tax controlling equipment of in fact business software operation.
One of ordinary skill in the art will appreciate that: accompanying drawing is the schematic diagram of an embodiment, module or flow process in accompanying drawing might not be that enforcement the present invention is necessary.
One of ordinary skill in the art will appreciate that: the module in device in embodiment can describe according to embodiment and be distributed in the device of embodiment, it is also possible to carries out respective change and is arranged in the one or more devices being different from the present embodiment. The module of above-described embodiment can merge into a module, it is also possible to splits into multiple submodule block further.
Last it is noted that above embodiment is only in order to illustrate the technical scheme of the present invention, it is not intended to limit; Although with reference to previous embodiment to invention has been detailed description, it will be understood by those within the art that: the technical scheme described in previous embodiment still can be modified by it, or wherein part technology feature is carried out equivalent replacement; And these amendments or replacement, do not make the spirit and scope of the essence disengaging embodiment of the present invention technical scheme of appropriate technical solution.

Claims (2)

1. a switch type USB device dispatching device, it is characterised in that, comprise rack, usb hub module and usb communication and exchange module, wherein
Being provided with multiple slot in described rack, the size of each slot is mated mutually with USB tax controlling equipment, is suitable for importing and blocks USB tax controlling equipment, is provided with and the USB interface that USB tax controlling equipment is connected in each slot, and each slot is assigned unique port numbers;
Described usb hub module has one first root interface and multiple first expansion interface, and the first expansion interface described in each is corresponding with slot respectively and is connected with slot USB interface;
Described usb communication exchanges module and comprises one the 2nd root interface and multiple 2nd expansion interface, and described 2nd root interface externally connects host computer by rack perforate, and described in each, the 2nd expansion interface connects the first root interface of usb hub module described in;
Described usb communication exchanges module and is built-in with the corresponding table of USB tax controlling equipment exchange, described USB tax controlling equipment exchanges corresponding token record the port numbers of each slot and the USB tax controlling equipment information of correspondence thereof in described rack, when the 2nd root interface that described usb communication exchanges module receives outside order, USB tax controlling equipment according to the USB tax controlling equipment information searching in the order of described outside exchanges corresponding table, carries out data interaction with the USB tax controlling equipment of corresponding end slogan;
The number of described usb hub module is multiple, and usb communication described in multiple described usb hub module and exchanges module integration on a control circuit board.
2. the scheduling method of a switch type USB device dispatching device according to claim 1, it is characterised in that, comprise the following steps:
According to the situation increasing or removing USB tax controlling equipment in described rack newly, described USB tax controlling equipment is exchanged corresponding table and upgrades;
When the 2nd root interface that described usb communication exchanges module receives outside steering order, select corresponding USB tax controlling equipment as current USB tax controlling equipment according to the USB tax controlling equipment identification information in described steering order;
When described usb communication exchanges the data command that module receives outside, identification information according to described current USB tax controlling equipment is searched USB tax controlling equipment and is exchanged corresponding table, described data command is sent to described current USB tax controlling equipment by the port numbers according to correspondence, and described current USB tax controlling equipment exchanges module by described usb communication and external command source carries out data interaction;
According to the situation increasing or removing USB tax controlling equipment in described rack newly, the corresponding table of described USB tax controlling equipment exchange is carried out step of updating and comprises:
Described usb communication exchanges each first expansion interface that module reads each described usb hub module successively, if this first expansion interface has device responds, then read the identification information of USB tax controlling equipment corresponding to this first expansion interface, and the identification information of this USB tax controlling equipment and corresponding port numbers are exchanged corresponding table stored in USB tax controlling equipment.
CN201210191924.5A 2012-06-11 2012-06-11 Switch type USB device dispatching device and scheduling method thereof Active CN103489267B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210191924.5A CN103489267B (en) 2012-06-11 2012-06-11 Switch type USB device dispatching device and scheduling method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210191924.5A CN103489267B (en) 2012-06-11 2012-06-11 Switch type USB device dispatching device and scheduling method thereof

Publications (2)

Publication Number Publication Date
CN103489267A CN103489267A (en) 2014-01-01
CN103489267B true CN103489267B (en) 2016-06-08

Family

ID=49829461

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210191924.5A Active CN103489267B (en) 2012-06-11 2012-06-11 Switch type USB device dispatching device and scheduling method thereof

Country Status (1)

Country Link
CN (1) CN103489267B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106845204A (en) * 2017-01-06 2017-06-13 金华盛纸业(苏州工业园区)有限公司 A kind of processing unit for the connection of multiple USB flash disks

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1315795A (en) * 2000-03-30 2001-10-03 上海贝尔有限公司 User terminal adapter for ISDN
CN201540613U (en) * 2009-11-27 2010-08-04 航天信息股份有限公司 Tax controller cluster management system
CN202189357U (en) * 2011-08-19 2012-04-11 南京宁翔电子科技有限公司 Fiscal processor expanding control device for one-to-more USB interface

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005182624A (en) * 2003-12-22 2005-07-07 Sharp Corp Information processor, information processing system, communication speed setting method, communication speed setting program, and recording medium having the program recorded thereon
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
CN1315795A (en) * 2000-03-30 2001-10-03 上海贝尔有限公司 User terminal adapter for ISDN
CN201540613U (en) * 2009-11-27 2010-08-04 航天信息股份有限公司 Tax controller cluster management system
CN202189357U (en) * 2011-08-19 2012-04-11 南京宁翔电子科技有限公司 Fiscal processor expanding control device for one-to-more USB interface

Also Published As

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

Similar Documents

Publication Publication Date Title
CN103489262B (en) Network type USB equipment dispatching device and scheduling method thereof
CN102097015B (en) Operation instruction processing system and method
CN101901218A (en) General data loading device and method
CN102393848A (en) Method and system for acquiring identification information of data terminal equipment
CN102622190A (en) On-line write-in method for product identifying information and electronic product
CN102749963A (en) Modularized embedded mainboard
CN111294413A (en) Method, device and readable medium for determining Internet Protocol (IP) address
CN103489267B (en) Switch type USB device dispatching device and scheduling method thereof
CN102257498B (en) Comment generation method of configuration files and configuration file generation device
CN103488592A (en) Virtual USB (Universal Serial Bus) equipment scheduling device and scheduling method thereof
CN101807171A (en) Method and device for setting identifier of household appliance
CN104090986A (en) Wireless controller slot position control method, access device and wireless controller
CN103514675A (en) On-off type USB apparatus scheduling device and scheduling method thereof
CN104571962B (en) The implementation method of firmware in a kind of USBKEY equipment of suitable batch production
CN101398884B (en) Smart card reader and its use method
CN105743709A (en) Management device, complete cabinet management system and management method
CN106934664B (en) Distributed tax-control billing server and system
CN207020770U (en) A kind of control circuit and express delivery cabinet
CN204189089U (en) A kind of server
CN105894769A (en) Mobile storage device and data access method and device
CN100501634C (en) Data processing equipment
CN1336593A (en) Secret related computer
CN102508813B (en) Single-interface chip and method for realizing data transmission between chip and multiple TCAMs (ternary content addressable memories) by adopting chip
CN103997445A (en) Method and system for controlling office internet of things based on RFID
CN205507888U (en) Intelligent management system of house intermediary

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