Multi-two-dimensional code reading device confirmation and code value processing method

A processing method and two-dimensional code technology, which are applied in the field of multi-two-dimensional code reading device confirmation and code value processing, and can solve the problems of long time, processing failure, and inability to distinguish between devices.

Pending Publication Date: 2021-05-14
同智伟业软件股份有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the existing solutions, there are major shortcomings: the first, second, and third scenarios cannot distinguish devices, and when there are multiple devices, it may happen that you expect to use a certain scanning device, but get the scanning results of other devices; The second scenario is not universal, and third-party integrators need a lot of development; because many third-party manufacturers need to scan the original text to obtain the information they need, and each manufacturer needs to integrate, it is costly and time-consuming
In the third case, the processing of keyboard messages may fail. For example, when multiple QR code reading devices read QR codes at the same time, there will be data overlap, and the result is unpredictable.
In the fourth case, excessive reliance on third-party manufacturers does not support newly connected devices

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Multi-two-dimensional code reading device confirmation and code value processing method
  • Multi-two-dimensional code reading device confirmation and code value processing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] Attached below Figure 1-2 The present invention is described in detail:

[0018] The invention finds out keyboard devices by enumerating the HID devices of the terminal, locates the code scanning device according to the VID and PID, then opens the device, obtains the serial number of the device, grabs the original USB data, and then processes the USB data to obtain the scanned code. code result. Then submit the device serial number, code scanning result and some necessary information to the code processing program to obtain the information required by the client, and then output the result to the display area. The specific method is: S1. Enumerate all HID devices to obtain basic device information;

[0019] S2. Filter out non-keyboard-type devices according to the device type;

[0020] S3. Obtain device feature information such as VID, PID and device serial number of the keyboard type device;

[0021] S4. Grab the code scanning information of multiple code scanning...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a multi-two-dimensional code reading device confirmation and code value processing method. The method comprises the following steps: S1, enumerating all HID devices to obtain device basic information; S2, filtering out non-keyboard type equipment according to the equipment type; S3, obtaining VID, PID, equipment serial number and other equipment feature information of the keyboard type equipment; S4, capturing code scanning information of a plurality of code scanning devices, and sending device feature information, a code scanning original text, a request type and the like to a code text processing program; and S5, outputting information fed back by the code text processing program to a display area such as a cursor. The method supports simultaneous work of multiple devices, does not distinguish application scenes, and is applicable to multiple devices through one-time development.

Description

technical field [0001] The invention relates to a multi-dimensional code reading device confirmation and code value processing method. Background technique [0002] QR codes are currently widely used in real life and can be read by QR code reading devices from different manufacturers. Apps such as WeChat and Alipay can also recognize QR codes. In actual application scenarios, some information systems need to obtain the original information of the QR code, while others are processed information, and need to be compatible with different devices. [0003] Taking the application of hospital information system as an example, the electronic health card provides real-time information for application scenarios such as appointment registration and medical treatment. The code scanning device reads the QR code data and feeds it back to the code text processing program. Validity, and return the verified information to the client. The general two-dimensional code scanning device is a k...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06K7/10
CPCG06K7/1095
Inventor 王永起焦正坤王树雷李法珍
Owner 同智伟业软件股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products