CN110866415A - Bar code equipment control method and system based on USB composite equipment - Google Patents

Bar code equipment control method and system based on USB composite equipment Download PDF

Info

Publication number
CN110866415A
CN110866415A CN201911129560.6A CN201911129560A CN110866415A CN 110866415 A CN110866415 A CN 110866415A CN 201911129560 A CN201911129560 A CN 201911129560A CN 110866415 A CN110866415 A CN 110866415A
Authority
CN
China
Prior art keywords
bar code
equipment
hid
descriptor
user
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
CN201911129560.6A
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.)
Fuzhou Symbol Information Technology Co Ltd
Original Assignee
Fuzhou Symbol Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuzhou Symbol Information Technology Co Ltd filed Critical Fuzhou Symbol Information Technology Co Ltd
Priority to CN201911129560.6A priority Critical patent/CN110866415A/en
Publication of CN110866415A publication Critical patent/CN110866415A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/146Methods for optical code recognition the method including quality enhancement steps
    • G06K7/1465Methods for optical code recognition the method including quality enhancement steps using several successive scans of the optical code

Abstract

The invention relates to a bar code equipment control method based on USB composite equipment, which comprises the following steps: the bar code equipment is connected with the host through a USB interface; the bar code equipment sends a composite equipment descriptor to the host, wherein the composite equipment descriptor comprises a USB HID keyboard descriptor and a custom HID descriptor; the host generates an HID keyboard and a user-defined HID according to the composite device descriptor; the host sends a user-defined HID message to the bar code equipment through the user-defined HID equipment and receives the user-defined HID message from the bar code equipment through the user-defined HID equipment, wherein the user-defined HID message at least comprises a message ID field and a data field, and the data field is a parameter setting instruction or bar code decoding data. The invention also provides a bar code equipment control system based on the USB composite equipment. The invention realizes the data interaction between the bar code equipment and the host.

Description

Bar code equipment control method and system based on USB composite equipment
Technical Field
The invention relates to a bar code device control method and system based on USB composite equipment, and belongs to the field of bar code devices.
Background
Referring to fig. 1, in the case that the existing barcode device uses a USB HID keyboard in a communication manner, only barcode data read and decoded by the barcode device can be sent from the device side to the host, and the host can only passively receive the decoded data, and cannot control the barcode device. This causes the following problems: 1. the host cannot reply to the bar code equipment after receiving the decoded data, so that the bar code equipment needs to repeatedly scan the code again for many times when data transmission is delayed or has errors; 2. whether the bar code equipment is normally connected with the host cannot be confirmed through the host; 3. when the type of the bar code identified by the bar code equipment is changed, the bar code equipment cannot be controlled by the host to switch the decoding library corresponding to the type of the bar code, so that the existing bar code equipment can only scan a single type of bar code and has large use limitation; 4. the opening and closing of the code scanning state cannot be controlled through the host, and false triggering is easily caused when the bar code equipment is in the continuous trigger code scanning state; 5. the product information and the firmware version of the bar code equipment can not be acquired, and if the bar code equipment has problems, the maintenance difficulty is high.
Disclosure of Invention
In order to solve the technical problem, the invention provides a barcode device control method based on a USB composite device, so that a host can control the barcode device and data interaction can be carried out between the barcode device and the host.
The first technical scheme of the invention is as follows:
a bar code equipment control method based on USB composite equipment comprises the following steps: the bar code equipment is connected with the host through a USB interface, and the bar code equipment sends a composite equipment descriptor to the host, wherein the composite equipment descriptor comprises a USB HID keyboard descriptor and a custom HID descriptor; the host generates an HID keyboard and a user-defined HID in a device manager of the host according to the composite device descriptor; the host sends a user-defined HID message to the bar code equipment through the user-defined HID equipment, and receives the user-defined HID message from the bar code equipment through the user-defined HID equipment, wherein the user-defined HID message at least comprises a message ID field and a data field, and the data field is a parameter setting instruction or decoding data of the bar code equipment on the bar code; the bar code equipment receives and analyzes the user-defined HID message to obtain a data field, and executes the operation corresponding to the data field to realize the control of the bar code equipment by the host; the bar code equipment also sends a user-defined HID message to the host computer, and transmits decoding data or replies to the parameter setting instruction through the user-defined HID message.
Preferably, the USB HID keyboard descriptor comprises a bar code device descriptor, a configuration descriptor, an interface descriptor I, an HID descriptor I, a report descriptor I and an endpoint descriptor I, and the custom HID device descriptor comprises an interface descriptor II, an HID descriptor II, a report descriptor II and an endpoint descriptor II.
More preferably, the parameter setting instruction includes a code scanning function enabling different barcodes, a start scanning instruction, an end scanning instruction, an ACK instruction for confirming that it has been received, a heartbeat instruction, a query instruction, an on/off instruction of a sound part on the barcode device, and an on/off instruction of a light emitting part.
Preferably, the bar code device sends the decoded data to the host after decoding the bar code, the host sends a custom HID message containing an ACK command indicating that the user has received the custom HID message to the bar code device through the custom HID device after receiving the decoded data, and if the bar code device does not receive the ACK command after sending the decoded data for more than a preset time, the bar code decoded data is automatically retransmitted.
The invention also provides a bar code equipment control system based on the USB composite equipment.
The second technical scheme of the invention is as follows:
a bar code device control system based on USB composite equipment comprises bar code equipment and a host, wherein the bar code color equipment is connected with the host through a USB, the bar code equipment sends composite equipment descriptors to the host, and the composite equipment descriptors comprise USB HID keyboard descriptors and custom HID equipment descriptors; the host generates an HID keyboard and a user-defined HID in a device manager of the host according to the composite device descriptor; the host sends a user-defined HID message to the bar code equipment through the user-defined HID equipment, and receives the user-defined HID message from the bar code equipment through the user-defined HID equipment, wherein the user-defined HID message at least comprises a message ID field and a data field, and the data field is a parameter setting instruction or decoding data of the bar code equipment on the bar code; the bar code equipment receives and analyzes the user-defined HID message to obtain a data field, and executes the operation corresponding to the data field to realize the control of the bar code equipment by the host; the bar code equipment also sends a user-defined HID message to the host computer, and transmits decoding data or replies to the parameter setting instruction through the user-defined HID message.
Preferably, the USB HID keyboard descriptor comprises a bar code device descriptor, a configuration descriptor, an interface descriptor I, an HID descriptor I, a report descriptor I and an endpoint descriptor I, and the custom HID device descriptor comprises an interface descriptor II, an HID descriptor II, a report descriptor II and an endpoint descriptor II.
More preferably, the parameter setting instruction includes a code scanning function enabling different barcodes, a start scanning instruction, an end scanning instruction, an ACK instruction for confirming that it has been received, a heartbeat instruction, a query instruction, an on/off instruction of a sound part on the barcode device, and an on/off instruction of a light emitting part.
Preferably, the bar code device sends the decoded data to the host after decoding the bar code, the host sends a custom HID message containing an ACK command indicating that the user has received the custom HID message to the bar code device through the custom HID device after receiving the decoded data, and if the bar code device does not receive the ACK command after sending the decoded data for more than a preset time, the bar code decoded data is automatically retransmitted.
The invention has the following beneficial effects:
1. a bar code device control method and system based on USB composite equipment realizes bidirectional communication between a host and the bar code device, so that the host can control the bar code device and inquire equipment information and the like through parameter setting instructions.
2. A self-defined HID descriptor is added on the basis of a USBHID keyboard descriptor according to a self-defined HID protocol, so that a host end can identify the barcode equipment as an HID keyboard and the self-defined HID equipment, and the host and the barcode equipment can communicate bidirectionally.
3. A bar code device control method and a bar code device control system based on USB composite equipment can transmit various parameter setting instructions through a user-defined HID message, and realize all-dimensional data interaction between a host and the bar code device.
4. A bar code device control method and system based on USB composite device, which timely replies the bar code device when receiving the code scanning result, if not replying for a long time, the bar code device automatically retransmits, avoiding repeated code scanning and long-time waiting for code scanning success or not.
Drawings
FIG. 1 is a schematic flow diagram of the prior art;
FIG. 2 is a schematic flow chart of the present invention;
FIG. 3 is a schematic diagram of the interaction between the barcode device and the host according to the present invention;
FIG. 4 is a schematic diagram of a host initiated scan flow according to the present invention;
FIG. 5 is a diagram of a composite device descriptor in accordance with the present invention.
Detailed Description
The invention is described in detail below with reference to the figures and the specific embodiments.
Example one
The HID in the USB protocol includes various HID (Human Interface Device) Device protocols, such as a USB HID keyboard protocol, a USB HID mouse protocol, a USB HID joystick protocol and the like, and the HID also includes a custom HID protocol which only defines the input and output functions.
Referring to fig. 2 and 3, a barcode device control method based on a USB composite device includes the following steps: the bar code equipment is connected with the host through a USB interface, and the bar code equipment sends a composite equipment descriptor to the host, wherein the composite equipment descriptor comprises a USB HID keyboard descriptor and a custom HID descriptor; the host generates two devices, namely an HID keyboard and a custom HID device, in a device manager of the host according to the composite device descriptor, and specifically, the host acquires the drive of the HID keyboard and the drive of the custom HID device from a driver according to the composite device descriptor and then generates the HID keyboard and the custom HID device in the device manager of the host; the host sends a custom HID message to the bar code equipment through the custom HID equipment, and receives the custom HID message from the bar code equipment through the custom HID equipment, wherein the custom HID message at least comprises a message ID field and a data field, and the data field is a parameter setting instruction or bar code decoding data. The bar code equipment receives and analyzes the user-defined HID message to obtain a data field, and executes the operation corresponding to the data field to realize the control of the bar code equipment by the host; the bar code equipment also sends a user-defined HID message to the host computer, and transmits decoding data or replies to the parameter setting instruction through the user-defined HID message.
It should be noted that the descriptor is data for describing the characteristics of the device, and the data format is defined by the protocol, and the function of the descriptor is to inform the host of the relevant information of the device, let the host know what the device is, and thus load the corresponding driver and generate the corresponding device.
Referring to fig. 5, the USB HID keyboard descriptor includes a barcode device descriptor, a configuration descriptor, an interface descriptor i, an HID descriptor i, a report descriptor i, and an endpoint descriptor i, and the custom HID device descriptor includes an interface descriptor ii, an HID descriptor ii, a report descriptor ii, and an endpoint descriptor ii.
The composite device descriptor is defined in the following tables 1 to 10.
Table 1:
Figure BDA0002277902240000051
Figure BDA0002277902240000061
table 2:
Figure BDA0002277902240000062
table 3:
Figure BDA0002277902240000063
table 4:
Figure BDA0002277902240000064
Figure BDA0002277902240000071
table 5:
Figure BDA0002277902240000072
table 6:
Figure BDA0002277902240000073
Figure BDA0002277902240000081
table 7:
Figure BDA0002277902240000082
table 8:
Figure BDA0002277902240000083
Figure BDA0002277902240000091
table 9:
Figure BDA0002277902240000092
table 10:
Figure BDA0002277902240000093
Figure BDA0002277902240000101
as shown in table 11, the custom HID message may use 64 bytes, where byte 0 describes a message ID, byte 1 describes a transmission data length, bytes 2 to 57 are used to describe a scan code result or a parameter setting instruction, bytes 58 to 61 are reserved, byte 62 indicates a fixed value, and byte 64 describes whether data transmission is finished.
Table 11:
Figure BDA0002277902240000102
the parameter setting instruction comprises a code scanning function enabling different barcodes, a scanning starting instruction, a scanning ending instruction, an ACK instruction used for confirming the received information, a heartbeat instruction, an inquiry instruction, an opening/closing instruction of a sound part on the barcode equipment and an opening/closing instruction of a light emitting part. The code scanning function of different barcodes is enabled, for example, the code scanning function of a one-dimensional barcode is turned on/off, or the code scanning function of a two-dimensional barcode is turned on/off, and the like. The heartbeat instruction refers to that the host computer sends an instruction to the bar code equipment at regular intervals, and whether the bar code equipment is connected online is judged according to whether the bar code equipment replies.
The parameter setting instruction may employ codes as shown in table 12.
Table 12:
function(s) Instruction (HEX)
Start scanning 04 E4 04 00 FF 14
End scan 04 E5 04 00 FF 13
ACK 04 D0 00 00 FF 2C
Enabling QR 08 C6 04 08 00 F0 25 01 FE 10
Heartbeat instruction 04 50 00 00 FF AC
In the method for controlling the barcode device based on the USB composite device, a USB HID keyboard protocol and a custom HID protocol are used in combination, so that the host and the barcode device can perform bidirectional communication based on the custom HID protocol, data transmission between the host and the barcode device is realized, and the host can further control the barcode device and obtain information of the barcode device through a parameter setting instruction, thereby improving the performance and function of the barcode device.
Referring to fig. 4, the application process of the customized HID message in this embodiment is as follows:
QR enable setting procedure:
step 1, a host sends a custom HID message containing a QR enabling instruction through custom HID equipment;
and 2, after receiving the user-defined HID message, the bar code equipment analyzes the message to obtain a QR instruction, completes QR enabling setting and replies the user-defined HID message containing an ACK instruction.
Starting a code scanning setting process:
step 3, the host sends a custom HID message containing a code scanning starting instruction through the custom HID;
and 4, after receiving the user-defined HID message, the bar code equipment obtains a code scanning starting instruction after analysis, starts code scanning and replies the user-defined HID message containing the ACK instruction.
And a code scanning result transmission process:
step 5, the bar code equipment successfully scans the code, and the user-defined HID equipment (sends a user-defined HID message containing bar code decoding data to the host) or the HID keyboard is used for transmitting a code scanning result to the host;
and 6, if the host receives the code scanning result through the self-defined HID, sending a self-defined HID message containing an ACK instruction to the bar code equipment through the self-defined HID, and if the bar code equipment does not receive the ACK instruction after sending the bar code decoding data for more than the preset time, retransmitting the code scanning result (namely the bar code decoding data).
Scanning the code to finish the setting process:
step 7, after receiving the code scanning result, the host sends a custom HID message containing a code scanning ending instruction through the custom HID;
and 8, after receiving the user-defined HID message, the bar code equipment analyzes the message to obtain a code scanning ending instruction, stops scanning the code and replies the user-defined HID message containing the ACK instruction.
Heartbeat instruction setting process:
the host computer can send heartbeat instruction at any time and monitor the online state of the bar code equipment, and the method specifically comprises the following steps: the host sends a custom HID message containing a heartbeat instruction through the custom HID; and after receiving the user-defined HID message, the bar code equipment analyzes the message to obtain a heartbeat instruction, and replies the user-defined HID message containing the ACK instruction. The host computer receives the user-defined HID message of the ACK instruction to know that the bar code equipment is on-line, and if the user-defined HID message which is sent by the bar code equipment and contains the ACK instruction is not received within a preset time range, the bar code equipment is judged to be off-line.
Example two
A bar code device control system based on USB composite equipment comprises bar code equipment and a host, wherein the bar code equipment is connected with the host through a USB interface, the bar code equipment sends composite equipment descriptors to the host, and the composite equipment descriptors comprise USBHID keyboard descriptors and custom HID equipment descriptors; the host generates two devices, namely an HID keyboard and a custom HID device in a device manager of the host according to the composite device descriptor; the host sends a user-defined HID message to the bar code equipment through the user-defined HID equipment and receives the user-defined HID message from the bar code equipment through the user-defined HID equipment, wherein the user-defined HID message at least comprises a message ID field and a data field, and the data field is a parameter setting instruction or bar code decoding data. The bar code equipment receives and analyzes the user-defined HID message to obtain a data field, and executes the operation corresponding to the data field to realize the control of the bar code equipment by the host; the bar code equipment also sends a user-defined HID message to the host computer, and transmits decoding data or replies to the parameter setting instruction through the user-defined HID message.
The host computer sends a custom HID message to the bar code equipment through the custom HID equipment and receives the custom HID message from the bar code equipment through the custom HID equipment, the custom HID message at least comprises a message ID field and a data field, the data field is a parameter setting instruction, and the host computer receives bar code decoding data from the bar code equipment through an HID keyboard.
Referring to fig. 5, the USB HID keyboard descriptor includes a barcode device descriptor, a configuration descriptor, an interface descriptor i, an HID descriptor i, a report descriptor i, and an endpoint descriptor i, and the custom HID device descriptor includes an interface descriptor ii, an HID descriptor ii, a report descriptor ii, and an endpoint descriptor ii.
The parameter setting instruction comprises a code scanning function enabling different barcodes, a scanning starting instruction, a scanning ending instruction, an ACK instruction used for confirming the received information, a heartbeat instruction, an inquiry instruction, an opening/closing instruction of a sound part on the barcode equipment and an opening/closing instruction of a light emitting part. The code scanning function of different barcodes is enabled, for example, the code scanning function of a one-dimensional barcode is turned on/off, or the code scanning function of a two-dimensional barcode is turned on/off, and the like. The heartbeat instruction refers to that the host computer sends an instruction to the bar code equipment at regular intervals, and whether the bar code equipment is connected online is judged according to whether the bar code equipment replies.
And after the bar code equipment scans the code, sending a self-defined HID message containing bar code decoding data to the host, sending the self-defined HID message containing an ACK instruction to the bar code equipment through the self-defined HID when the host receives the self-defined HID message, and retransmitting the bar code decoding data if the bar code equipment does not receive the ACK instruction after sending the bar code decoding data for more than a preset time.
Other embodiments of the present embodiment not described in detail are the same as those in the first embodiment.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. A bar code equipment control method based on USB composite equipment is characterized by comprising the following steps: the bar code equipment is connected with the host through a USB interface, and the bar code equipment sends a composite equipment descriptor to the host, wherein the composite equipment descriptor comprises a USB HID keyboard descriptor and a custom HID descriptor;
the host generates an HID keyboard and a user-defined HID in a device manager of the host according to the composite device descriptor;
the host sends a user-defined HID message to the bar code equipment through the user-defined HID equipment, and receives the user-defined HID message from the bar code equipment through the user-defined HID equipment, wherein the user-defined HID message at least comprises a message ID field and a data field, and the data field is a parameter setting instruction or decoding data of the bar code equipment on the bar code;
the bar code equipment receives and analyzes the user-defined HID message to obtain a data field, and executes the operation corresponding to the data field to realize the control of the bar code equipment by the host;
the bar code equipment also sends a user-defined HID message to the host computer, and transmits decoding data or replies to the parameter setting instruction through the user-defined HID message.
2. The barcode device control method according to claim 1, wherein the barcode device control method comprises: the USB HID keyboard descriptor comprises a bar code device descriptor, a configuration descriptor, an interface descriptor I, an HID descriptor I, a report descriptor I and an endpoint descriptor I, and the custom HID device descriptor comprises an interface descriptor II, an HID descriptor II, a report descriptor II and an endpoint descriptor II.
3. The barcode device control method according to claim 1, wherein the parameter setting command includes a scan function enabling different barcodes, a start scan command, an end scan command, an ACK command for confirming that received, a heartbeat command, a query command, an on/off command of a sound part on the barcode device, and an on/off command of a light emitting part.
4. The barcode device control method according to claim 3, wherein the barcode device control method comprises: the method comprises the steps that after the bar code equipment decodes a bar code, decoded data are sent to a host, after the host receives the decoded data, a user-defined HID message containing an ACK instruction is sent to the bar code equipment through the user-defined HID, and if the bar code equipment does not receive the ACK instruction after sending the decoded data for more than preset time, the bar code decoded data are automatically retransmitted.
5. A bar code device control system based on USB composite equipment is characterized by comprising bar code equipment and a host, wherein the bar code equipment is connected with the host through a USB interface, the bar code equipment sends composite equipment descriptors to the host, and the composite equipment descriptors comprise USB HID keyboard descriptors and custom HID equipment descriptors;
the host generates an HID keyboard and a user-defined HID in a device manager of the host according to the composite device descriptor;
the host sends a user-defined HID message to the bar code equipment through the user-defined HID equipment, and receives the user-defined HID message from the bar code equipment through the user-defined HID equipment, wherein the user-defined HID message at least comprises a message ID field and a data field, and the data field is a parameter setting instruction or decoding data of the bar code equipment on the bar code;
the bar code equipment receives and analyzes the user-defined HID message to obtain a data field, and executes the operation corresponding to the data field to realize the control of the bar code equipment by the host;
the bar code equipment also sends a user-defined HID message to the host computer, and transmits decoding data or replies to the parameter setting instruction through the user-defined HID message.
6. The USB composite device based bar code device control system of claim 5, wherein the USB HID keyboard descriptor comprises a bar code device descriptor, a configuration descriptor, an interface descriptor I, an HID descriptor I, a report descriptor I and an endpoint descriptor I, and the custom HID device descriptor comprises an interface descriptor II, an HID descriptor II, a report descriptor II and an endpoint descriptor II.
7. The barcode device control system according to claim 5, wherein the barcode device control system comprises: the parameter setting instruction comprises a code scanning function enabling different barcodes, a scanning starting instruction, a scanning ending instruction, an ACK instruction used for confirming the received information, a heartbeat instruction, an inquiry instruction, an opening/closing instruction of a sound part on the barcode equipment and an opening/closing instruction of a light emitting part.
8. The barcode device control system according to claim 7, wherein the barcode device control system comprises: the method comprises the steps that after the bar code equipment decodes a bar code, decoding data are sent to a host, after the host receives the decoding data, a user-defined HID message containing an ACK instruction used for indicating that the user-defined HID message has received the received ACK instruction is sent to the bar code equipment through the user-defined HID equipment, and if the bar code equipment does not receive the ACK instruction after the bar code equipment sends the decoding data for more than preset time, the bar code decoding data are automatically retransmitted.
CN201911129560.6A 2019-11-18 2019-11-18 Bar code equipment control method and system based on USB composite equipment Pending CN110866415A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911129560.6A CN110866415A (en) 2019-11-18 2019-11-18 Bar code equipment control method and system based on USB composite equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911129560.6A CN110866415A (en) 2019-11-18 2019-11-18 Bar code equipment control method and system based on USB composite equipment

Publications (1)

Publication Number Publication Date
CN110866415A true CN110866415A (en) 2020-03-06

Family

ID=69654924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911129560.6A Pending CN110866415A (en) 2019-11-18 2019-11-18 Bar code equipment control method and system based on USB composite equipment

Country Status (1)

Country Link
CN (1) CN110866415A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112597083A (en) * 2020-12-21 2021-04-02 上海商米科技集团股份有限公司 Camera code scanning system and method based on Android device
CN112687059A (en) * 2020-12-21 2021-04-20 上海东普信息科技有限公司 Intelligent express delivery cabinet pickup method and device, terminal equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6263392B1 (en) * 1999-01-04 2001-07-17 Mccauley Jack J. Method and apparatus for interfacing multiple peripheral devices to a host computer
CN101212631A (en) * 2007-01-25 2008-07-02 深圳创维-Rgb电子有限公司 Complex USB device applicable to TV set
CN104991870A (en) * 2015-06-10 2015-10-21 四川华拓光通信股份有限公司 Optical communication apparatus interface accessing method free of driver based on HID
CN109543485A (en) * 2018-10-16 2019-03-29 深圳盈达信息科技有限公司 A kind of method and system read for bar code

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6263392B1 (en) * 1999-01-04 2001-07-17 Mccauley Jack J. Method and apparatus for interfacing multiple peripheral devices to a host computer
CN101212631A (en) * 2007-01-25 2008-07-02 深圳创维-Rgb电子有限公司 Complex USB device applicable to TV set
CN104991870A (en) * 2015-06-10 2015-10-21 四川华拓光通信股份有限公司 Optical communication apparatus interface accessing method free of driver based on HID
CN109543485A (en) * 2018-10-16 2019-03-29 深圳盈达信息科技有限公司 A kind of method and system read for bar code

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
AWSAWZJ: "《GD32实现USB HID自定义复合设备》", 《HTTPS://BLOG.CSDN.NET/AWSAWZJ/ARTICLE/DETAILS/88666026》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112597083A (en) * 2020-12-21 2021-04-02 上海商米科技集团股份有限公司 Camera code scanning system and method based on Android device
CN112687059A (en) * 2020-12-21 2021-04-20 上海东普信息科技有限公司 Intelligent express delivery cabinet pickup method and device, terminal equipment and storage medium

Similar Documents

Publication Publication Date Title
US6379058B1 (en) System for RF communication between a host and a portable printer
CN110866415A (en) Bar code equipment control method and system based on USB composite equipment
CN107730859B (en) Wireless device pairing method, device and storage medium
US7170625B2 (en) Printer system and printing data notification method
KR20040048983A (en) Two-way remote control system
CA2605769A1 (en) Reader control system
JPS5920216B2 (en) Polling system for duplex communication links
US8174386B2 (en) RFID reader controlling device, interlocking method for RFID reader, and RFID reader controlling method
US8493243B2 (en) Radio frequency identification interface devices and methods
CN108449246A (en) A kind of intelligent domestic system based on instant message applications Yu Internet of Things Network Communication
CN112383903B (en) Bluetooth code matching control method and device and computer storage medium
CN112017422B (en) Method for transmitting signal of mesh network and remote control system thereof
US10368387B2 (en) Method for transmitting data in wireless system
CN112863162A (en) Infrared signal transmitting device and method
US10367571B2 (en) Method for transmitting data in wireless system
KR101338153B1 (en) Middleware technology based on Device model
JP2002278902A (en) Device control system by using electronic mail
CN107919009A (en) A kind of two-way infrared means of communication
CN111526075A (en) Intelligent device control method, storage medium and electronic device
CN110716524A (en) WEB-based ESOP system
WO2012002336A1 (en) Method of data transmission and data transmission system
CN113685976A (en) Air conditioner control method and device, storage medium and air conditioner
KR101182858B1 (en) RFID Reader controlling device, Interlocking method for RFID Reader, and RFID Reader controlling method
US20050182507A1 (en) MSEC/SECS protocol converter and conversion method
JP2005535248A5 (en)

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