CN112949332B - Sighting device auxiliary reading method and system of bar code reading equipment - Google Patents

Sighting device auxiliary reading method and system of bar code reading equipment Download PDF

Info

Publication number
CN112949332B
CN112949332B CN202110192782.3A CN202110192782A CN112949332B CN 112949332 B CN112949332 B CN 112949332B CN 202110192782 A CN202110192782 A CN 202110192782A CN 112949332 B CN112949332 B CN 112949332B
Authority
CN
China
Prior art keywords
time length
delay time
reading
bar code
sight
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
CN202110192782.3A
Other languages
Chinese (zh)
Other versions
CN112949332A (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.)
SHENZHEN MINDE ELECTRONICS TECHNOLOGY Ltd
Original Assignee
SHENZHEN MINDE ELECTRONICS TECHNOLOGY 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 SHENZHEN MINDE ELECTRONICS TECHNOLOGY Ltd filed Critical SHENZHEN MINDE ELECTRONICS TECHNOLOGY Ltd
Priority to CN202110192782.3A priority Critical patent/CN112949332B/en
Publication of CN112949332A publication Critical patent/CN112949332A/en
Application granted granted Critical
Publication of CN112949332B publication Critical patent/CN112949332B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/10544Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum
    • 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

Abstract

The invention discloses a sighting device auxiliary reading method and a sighting device auxiliary reading system of bar code reading equipment, wherein the bar code reading equipment comprises a main control unit and a sighting device connected with the main control unit, and the method is applied to the main control unit and comprises the following steps: s10: acquiring a reading start instruction, driving the sighting device to start and controlling the reading of the target bar code; s20: and acquiring an identification end instruction, and driving the sighting device to delay closing according to the delay time length of the delayed closing of the corresponding sighting device. According to the method, after the barcode reading task is completed, the sighting device is kept not to be extinguished immediately, and is closed after being started for a period of time, so that when a user finishes the previous barcode reading task, the barcode reading device can be moved to aim at a target barcode, and then the barcode reading task is triggered to be started, so that the barcode reading process is accelerated, and the reading experience is improved.

Description

Sighting device auxiliary reading method and system of bar code reading equipment
Technical Field
The invention relates to the technical field of bar code reading equipment, in particular to a sighting device auxiliary reading method and a sighting device auxiliary reading system of bar code reading equipment.
Background
With the increase of product yield in the international middle-and high-end industrial manufacturing field in recent years, production efficiency and production cost become more important for manufacturers, and manufacturers continually chase higher production efficiency and lower production cost. Such as aircraft manufacturing, automotive manufacturing, cell phone manufacturing, computer manufacturing, home appliance manufacturing, and the like. In terms of production costs, manufacturers wish to control costs by reducing wastage of the main components of the product; in terms of production efficiency, manufacturers hope that main components of products can be quickly recorded in the production process, so that later problem tracing and analysis are facilitated. These demands have driven the further development of bar code technology for use in the middle and high end industrial manufacturing fields.
For example, only one main element (camera) in a certain mobile phone may contain 3 bar codes, and the bar codes are marked on more than ten main components such as a wireless module, a main control module, a wireless charging module, a power management module, a battery, a mold frame back shell and the like in the mobile phone. The complete production process can see a spot on the dependence degree of bar code technology. However, it can be seen that bar codes used in these industrial manufacturing fields often require engraving on the component/workpiece surface, limited by the material and area of the component, and often have very small dimensions. In the actual technical service scene in the industrial manufacturing field, the feedback that the traditional commercial bar code reading equipment is difficult to aim at the bar code, and the bar code reading efficiency in the production process is low is often received.
When the traditional commercial bar code reading equipment is used, a user presses a reading key, a sight, a light supplementing lamp and a camera of the bar code reading equipment are started, and after the bar code reading task is finished, the sight, the light supplementing lamp and the camera of the bar code reading equipment are immediately closed. Through analysis, the sight is a tool for guiding a user to accurately position the barcode reading device to a target barcode, if the sight is closed immediately after the barcode reading task is finished, the user can only start the barcode reading task and the sight first and then search for aiming the sight at the target barcode when reading the next barcode. Generally, since the barcode reading device balances the cost, the power consumption and the heat productivity of the central processing unit (the higher the calculation speed is, the cost, the power consumption and the heat productivity are also greatly increased), the limited calculation resources are preferentially inclined to the area aimed by the sighting device, and the barcode reading speed is accelerated. And especially in the field of industrial manufacturing, the internal bar codes of products are small in size and large in number, and when the traditional bar code reading equipment is used, the target bar codes are difficult to aim at without guiding tools.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a sighting device auxiliary reading method and a sighting device auxiliary reading system of bar code reading equipment.
The technical scheme adopted for solving the technical problems is as follows: the sighting device auxiliary reading method for constructing the bar code reading equipment comprises a main control unit and a sighting device connected with the main control unit, wherein the method is applied to the main control unit and comprises the following steps of:
s10: acquiring a reading start instruction, driving the sight to be started and controlling the target bar code to be read;
s20: and acquiring an identification end instruction, and driving the sight to delay closing according to the cached delay time length corresponding to the delay closing of the sight.
Preferably, in the sight auxiliary reading method of the bar code reading device of the present invention, the main control unit stores a function code number and a delay time length parameter corresponding to delayed closing of the sight.
Preferably, in the sight-assisted reading method of a bar code reading device according to the present invention, the step S10 further includes:
s00: after the power-on is started, analyzing the delay time length parameter according to the function code number corresponding to the delay closing of the sight, obtaining the delay time length, and caching.
Preferably, in the sight-assisted reading method of a bar code reading device according to the present invention, the step S10 further includes:
s11: acquiring a reading result, judging whether the target bar code is a function setting bar code according to the reading result, and if so, acquiring a function code number and a new delay time length parameter corresponding to the delay closing of the sight in the reading result;
or, acquiring a function setting instruction, and analyzing to acquire a function code number and a new delay time length parameter corresponding to the delay closing of the sight;
s12: updating the original delay time length parameter corresponding to the stored function code number into the new delay time length parameter;
s13: analyzing the new delay time length parameter to obtain new delay time length, and sending a delay time length instruction to modify the cached delay time length corresponding to the delay closing of the sight;
the function setting bar code comprises a function code number corresponding to the delay closing of the sight and a new delay time length parameter.
Preferably, in the sight-assisted reading method of a bar code reading device according to the present invention, the function setting bar code further includes at least one function setting identifier;
the step of judging whether the target bar code is a function setting bar code according to the reading result comprises the following steps: and judging whether a function setting identifier exists in the reading result.
The invention also constructs a sight auxiliary reading system of bar code reading equipment, comprising:
the reading control module is used for acquiring a reading start instruction, driving the sighting device to be started and controlling the target bar code to be read;
and the delay closing module is used for acquiring the reading end instruction and driving the sight to be delayed to be closed according to the cached delay time length corresponding to the delay closing of the sight.
Preferably, in the sight-assisted reading system of a bar code reading device according to the present invention, the system further includes:
and the storage module is used for storing the function code number and the delay time length parameter corresponding to the delay closing of the sight.
Preferably, in the sight-assisted reading system of a bar code reading device according to the present invention, the system further includes:
the analysis module is used for analyzing the delay time length parameter of the sight according to the function code number corresponding to the delay closing of the sight in the storage module after the power-on starting, obtaining delay time length and sending a delay time length instruction;
the writing modification module is used for writing the delay time length into the cache module according to the delay time length instruction;
the buffer module is used for buffering the delay time length.
Preferably, in the sight-assisted reading system of a bar code reading device according to the present invention, the system further includes:
the new parameter acquisition module is used for acquiring a reading result, judging whether the target bar code is a function setting bar code according to the reading result, and if so, acquiring a function code number and a new delay time length parameter corresponding to the delay closing of the sight in the reading result; or, the function setting instruction is used for acquiring and analyzing the function setting instruction to acquire a function code number and a new delay time length parameter corresponding to the delay closing of the sight;
the updating module is used for updating the original delay time length parameter corresponding to the function code stored in the storage module into the new delay time length parameter;
the analysis module is used for analyzing the new delay time length parameter, obtaining a new delay time length and sending a delay time length instruction;
the writing modification module is further used for modifying delay time length of delay closing of the corresponding sight cached in the caching module according to the delay time length instruction;
the function setting bar code comprises a function code number corresponding to the delay closing of the sight and a new delay time length parameter.
Preferably, in the sight-assisted reading system of a bar code reading device according to the present invention, the function setting bar code further includes at least one function setting identifier;
the step of judging whether the target bar code is a function setting bar code according to the reading result comprises the following steps: and judging whether a function setting identifier exists in the reading result.
By implementing the invention, the following beneficial effects are achieved:
according to the method, after the barcode reading task is finished, the sighting device is kept not to be extinguished immediately, and is closed after being started for a period of time, so that when a user finishes the previous barcode reading task, the barcode reading device can be moved to aim at a target barcode, and then the barcode reading task is triggered to be started, so that the barcode reading process is accelerated, the reading experience is improved, and the production efficiency of a barcode reading link is greatly improved.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
FIG. 1 is a block diagram of a bar code reading apparatus of the present invention;
FIG. 2 is a schematic illustration of an aiming pattern projected onto a target surface of a target;
FIG. 3 is a schematic flow chart of a method for assisting a sight of a bar code reader according to the present invention;
FIG. 4 is a schematic diagram of a process of a sight-assisted reading method of the bar code reading device of the present invention;
FIG. 5 is a schematic diagram of a function setup bar code with "%9004D01%" information;
FIG. 6 is a schematic diagram of a function setup bar code with "%9004D20%" information;
FIG. 7 is a schematic diagram of a function setup bar code with "%9004D00%" information;
FIG. 8 is a schematic diagram of a function setup bar code with "%9004D05%" information;
FIG. 9 is a block diagram of a sight-assisted reading system of the bar code reading device of the present invention;
FIG. 10 is a circuit diagram of a master control unit and a decoder according to the present invention;
FIG. 11 is a circuit diagram of the sight auxiliary control unit of the present invention;
fig. 12 is a circuit diagram of the sight of the present invention.
Detailed Description
For a clearer understanding of technical features, objects and effects of the present invention, a detailed description of embodiments of the present invention will be made with reference to the accompanying drawings.
It should be noted that the flow diagrams depicted in the figures are merely exemplary and do not necessarily include all of the elements and operations/steps, nor are they necessarily performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the order of actual execution may be changed according to actual situations.
The block diagrams depicted in the figures are merely functional entities and do not necessarily correspond to physically separate entities. That is, the functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
As shown in fig. 1, the barcode reader is an image barcode reader, and comprises a main control unit, keys, a light supplementing lamp, a camera, a sighting device auxiliary control unit, a decoder, an input/output unit and a sighting device connected with the sighting device auxiliary control unit, wherein the keys, the light supplementing lamp, the camera, the sighting device auxiliary control unit, the decoder and the input/output unit are respectively connected with the main control unit. In some embodiments, as shown in fig. 10, the main control unit and the decoder are integrated on a control chip and are connected to the auxiliary control unit circuit of the collimator shown in fig. 11, and the circuit of the collimator shown in fig. 12 is connected to the auxiliary control unit circuit of the collimator, and other devices are common devices and are not described herein. In other embodiments, the sight auxiliary control unit may also be provided in the main control unit.
In general, a user presses a key to trigger a main control unit of the bar code reading device to start a bar code reading task; the main control unit drives the light supplementing lamp to be started so as to supplement a light source for a target scene; the main control unit informs the sighting device of the auxiliary control unit to drive the sighting device to be opened, and the sighting pattern is projected on the target surface of the target, as shown in fig. 2, so that the user is assisted to aim the bar code reading equipment at the bar code of the target; the main control unit drives the camera to be started, photographs the target bar code, and transmits the photographed image to the decoder for processing and analysis so as to analyze bar code information in the image. If the bar code is successfully read, the main control unit transmits the reading result to the input/output unit and transmits the reading result to other data receiving devices outside the bar code reading device. In addition, the camera, the light supplementing lamp and the sighting device can be driven to be closed by the main control unit or the sighting device auxiliary control unit when the condition of finishing the bar code reading task is met.
Wherein, the conditions for starting and ending the bar code reading task are shown in the following table 1;
TABLE 1
Figure BDA0002945778130000071
Usually, the sighting device is started during the bar code reading task, and the sighting device assists a user to aim at a target bar code. The image area where the sight projects is focused, the camera and the decoder pay attention to, and more calculation methods and resources are provided to accelerate the completion of bar code reading task. However, in some application scenarios, the barcode is smaller, and when the user does not press the key to trigger the barcode reading task, the barcode is not easy to aim. After the user key triggers the bar code reading task, the sight is seen, and the bar code reading equipment is moved to aim at the target bar code, so that the overall reading experience is slowed down. Therefore, the invention provides a sighting device auxiliary reading method of bar code reading equipment, which keeps the sighting device closed after continuously opening for a period of time after the bar code reading task is completed, or keeps the sighting device permanently started. According to the method, after the user finishes the previous bar code reading task, the bar code reading equipment can be moved to aim at the target bar code, and then the bar code reading task is triggered and started by the key, so that the bar code reading process is accelerated, and the reading experience is improved.
The first embodiment of the invention discloses a sighting device auxiliary reading method of bar code reading equipment, which is particularly suitable for reading a small bar code, and is applied to a main control unit of the bar code reading equipment, as shown in fig. 3, and comprises the following steps:
step S10: and acquiring a reading start instruction, driving the sighting device to be started and controlling the target bar code to be read. In some embodiments, the reading start instruction is an instruction sent to the main control unit after the key is triggered, and the main control unit obtains the reading start instruction, that is, starts a bar code reading task, drives the light supplementing lamp, the camera, the sighting device, the decoder and the input/output unit to be started, and controls the decoder to read and decode the target bar code.
Step S20: and acquiring an identification end instruction, and driving the sighting device to delay closing according to the delay time length of the delayed closing of the corresponding sighting device. In some embodiments, the reading end command is a command fed back to the main control unit after the decoder decodes successfully or fails, or a command fed back to the main control unit after the output unit transmits the decoding result to the external data receiving device successfully or fails, after the reading end command is obtained, the light supplementing lamp, the camera, the decoder and the input/output unit are driven to be closed, the collimator is driven to be closed in a delayed manner by the collimator auxiliary control unit according to the delayed time length of the delayed closing of the corresponding collimator buffered in the collimator auxiliary control unit, for example, 3 seconds, the collimator is delayed to be closed for 3 seconds after the reading task is finished, during the period, when a user wants to read a new target, the aiming pattern always projects, the user can move the bar code reading device to aim at the bar code, aim at the target bar code by the pattern, and then trigger the main control unit to start the reading task by the key.
In this embodiment, in order to change the delay duration parameter according to the requirement of the user, the method for modifying the duration information is provided for the user through the special function code and the delay duration parameter, so that the function code and the delay duration parameter corresponding to the delay closing of the sight are stored in the main control unit. For example, the function code is "9004", the delay period parameter is "D03", and 3 seconds are represented. And the delay time length parameter of the delay closing of the corresponding sight which is originally stored in the main control unit is buffered as a default delay time length parameter.
As shown in fig. 4, step S00 is further included before step S10: after the power-on is started, analyzing the delay time length parameter according to the function code number corresponding to the delay closing of the sighting device, obtaining the delay time length, and caching. After the bar code reader is powered on and started, the main control unit analyzes the default delay time length parameter according to the function code number stored by the main control unit and corresponding to the delay closing of the sighting device to obtain the delay time length, for example, the delay time length parameter D03 is analyzed to be 3 seconds, a delay time length instruction containing delay time length information is sent to the sighting device auxiliary control unit, the sighting device auxiliary control unit caches the delay time length according to the delay time length instruction, and then step S10 is executed.
In this embodiment, the step S10 further includes:
step S11: and acquiring a reading result, judging whether the target bar code is a function setting bar code according to the reading result, and if so, acquiring a function code number and a new delay time length parameter of the corresponding sight delay closing in the reading result. The function sets the bar code to be preset, and prepares the delay time length parameter which is provided for the user in advance, so that the user can conveniently change the delay time length parameter stored in the main control unit in a code scanning mode. The function setting bar code comprises a function code number corresponding to the delay closing of the sight and a new delay time length parameter.
In some embodiments, after the decoder decodes, the decoder transmits the reading result to the main control unit, then transmits the reading end command to the main control unit, and the main control unit firstly judges whether the target bar code is a function setting bar code according to the reading result, if yes, acquires the function code number and the new delay time length parameter of the corresponding collimator delay closing in the reading result, and executes the subsequent steps S12 and S13, and finally executes the step S20; if not, step S20 is directly performed.
In some embodiments, the function setting barcode further includes at least one function setting identifier, for example, "%", preferably including two function setting identifiers, which are respectively set at a beginning position and a final position of the function setting barcode, so that the determining whether the target barcode is the function setting barcode according to the reading result includes: and judging whether a function setting identifier exists in the reading result. Further, the recognition result has a front-to-back sequence, and whether the function setting identifier exists in the beginning position and the end position of the recognition result can be judged.
For example, a function setting barcode with information of "%9004D01%" may be preset, and the barcode is decoded by a decoder to obtain a function setting identifier "%", a function code "9004", and a new delay time length parameter "D01", that is, 1 second, corresponding to the delayed closing of the collimator, so as to achieve the purpose of modifying the collimator to delay 1 second to close after the barcode reading task is finished.
In other embodiments, the function code number and the new delay time length parameter corresponding to the delay closing of the sight can also be obtained by obtaining the function setting instruction and analyzing the function setting instruction. The method for obtaining the function setting instruction may include a method for inputting the function setting instruction through external communication transmission, a method for selecting delay time length by a dial key, a method for inputting the function setting instruction by voice recognition, and the like.
Step S12: and updating the original delay time length parameter corresponding to the stored function code number into a new delay time length parameter. For example, the original delay time parameter "D03" corresponding to the original stored function code "9004" is updated to the new delay time parameter "D01".
Step S13: analyzing the new delay time length parameter to obtain new delay time length, and sending a delay time length instruction to modify the delay time length of the delay closing of the corresponding sighting device of the cache. For example, the new delay time length parameter "D01" is parsed to obtain a new delay time length of 1 second, and an instruction is sent to inform the collimator auxiliary control unit to modify the cached delay time length of the delay closing of the corresponding collimator, from the original 3 seconds to 1 second, so that the collimator is closed again after delaying for 1 second after the barcode reading task is finished.
Specifically, a user presses a key to trigger a main control unit of the bar code reading device to start a bar code reading task; the main control unit drives the light supplementing lamp to be started so as to supplement a light source for a target scene; the main control unit informs the sighting device of the auxiliary control unit to drive the sighting device to be opened, and projects a sighting pattern on the target surface of the target so as to assist a user to aim the bar code reading equipment at a target bar code; the main control unit drives the camera to be started, photographs the target bar code, and transmits the photographed image to the decoder for processing and analysis so as to solve bar code information in the image. If the bar code is successfully read, the main control unit transmits the reading result to the input/output unit and transmits the reading result to other data receiving devices outside the bar code reading device. The camera and the light supplementing lamp are driven to be closed by the main control unit when the condition of finishing the bar code reading task is met. The sighting device is set to delay triggering closing operation by the sighting device auxiliary control unit according to delay time length information cached by the sighting device auxiliary control unit.
In some practical application examples, in the actual factory bar code reading device, the function defaults to "the sight is turned off again after 5 seconds after the bar code reading task is finished". The user can set the bar code through the scanning function so as to achieve the purpose of modifying the functional effect of the bar code reading equipment. Such as:
if the user wishes to "the sight to be turned off again 1 second after the barcode reading task is completed," the barcode reading device can be used to scan the function setup barcode with "%9004D01%" information. After the function setting is completed, the bar code reading device is driven to be closed after the following bar code reading task is finished, the sighting device is kept to be opened for 1 second more, and an example bar code is shown in fig. 5.
If the user wishes to "the sight to be turned off again 20 seconds after the barcode reading task is completed," the barcode reading device can be used to scan the function setup barcode with "%9004D20%" information. After the function setting is completed, the bar code reading device is driven to be closed after the following bar code reading task is finished and the sighting device is kept to be opened for 20 seconds, and an example bar code is shown in fig. 6.
If the user wishes to "the sight to be turned off immediately after the barcode reading task is completed," the barcode reading device can be used to scan the function setup barcode with "%9004D00%" information. After the barcode reading device completes the function setting, the delay closing time of the collimator is 0 seconds after the subsequent barcode reading task is finished, namely, the barcode is immediately closed, and an example barcode is shown in fig. 7.
If the user wishes to restore the function to the default "sight is delayed for 5 seconds after the barcode reading task is completed and then turned off", the barcode reading device can be used to scan the function setup barcode with "%9004D05%" information. After the function setting is completed, the bar code reading device is driven to be closed after the following bar code reading task is finished and the sighting device is kept to be opened for 5 seconds, and an example bar code is shown in fig. 8.
In a second embodiment, as shown in fig. 9, the present invention discloses a sight auxiliary reading system of a bar code reading device, comprising: the reading control module can be arranged in the main control unit, and the delay closing module can be arranged in the auxiliary control unit of the sighting device.
And the reading control module is used for acquiring a reading start instruction, driving the sighting device to be started and controlling the target bar code to be read. In some embodiments, the reading start instruction is an instruction sent to the main control unit after the key is triggered, the main control unit obtains the reading start instruction, starts a bar code reading task immediately after the main control unit starts, drives the light supplementing lamp, the camera, the sighting device, the decoder and the input/output unit to start, and controls the decoder to read and decode the target bar code.
And the delay closing module is used for acquiring the reading end instruction and driving the sighting device to be delayed to be closed according to the delay time length of the delay closing of the corresponding sighting device. In some embodiments, the reading end command is a command fed back to the main control unit after the decoder decodes successfully or fails, or a command fed back to the main control unit after the output unit transmits the decoding result to the external data receiving device successfully or fails, when the reading end command is obtained, the main control unit drives the light supplementing lamp, the camera, the decoder and the input/output unit to be turned off, and drives the collimator to be turned off in a delayed manner according to the delayed time length of the delayed turn-off of the corresponding collimator cached in the auxiliary control unit, for example, 3 seconds, after the collimator finishes the reading task, the aiming pattern is delayed for 3 seconds to be turned off, during the period, when the user wants to read a new target, the user always projects the barcode reading device, aims the barcode by aiming the barcode pattern, and then triggers the main control unit to turn on the reading task by the key.
In this embodiment, in order to change the delay duration parameter according to the requirement of the user, the invention provides the modification method of the duration information to the user through the special function code and the delay duration parameter, so the system further comprises a storage module for storing the function code and the delay duration parameter corresponding to the delay closing of the sight. For example, the function code is "9004", the delay period parameter is "D03", and 3 seconds are represented. And the delay time length parameter of the delay closing of the corresponding sight which is originally stored in the storage module is a default delay time length parameter. Wherein the memory module is also integrated in the main control unit.
In this embodiment, the system further includes: the device comprises an analysis module, a writing modification module and a cache module. The analysis module can be arranged in the main control unit, and the writing modification module and the caching module can be arranged in the auxiliary control unit of the sighting device.
The analysis module is used for analyzing the delay time length parameter of the corresponding sight delay closing function code in the storage module after the power-on starting, obtaining the delay time length and sending a delay time length instruction;
the writing modification module is used for writing the delay time length into the cache module according to the delay time length instruction;
and the caching module is used for caching the delay time.
When the bar code reading device is powered on and started, the analysis module analyzes default delay time length parameters according to the function code number stored by the storage module and corresponding to the delay closing of the sighting device, and sends a delay time length instruction containing delay time length information, for example, the delay time length parameter D03 is analyzed to be 3 seconds, and sends a delay time length instruction containing delay time length of 3 seconds, and the writing modification module writes the delay time length into the cache module according to the delay time length instruction, and then executes the reading control module.
In this embodiment, the system further includes: the new parameter acquisition module and the updating module. The new parameter acquisition module and the updating module can be arranged in the main control unit.
And the new parameter acquisition module is used for acquiring the reading result, judging whether the target bar code is a function setting bar code according to the reading result, and if so, acquiring a function code number and a new delay time length parameter of the corresponding sight delay closing in the reading result. The function sets the bar code to be preset, and prepares the delay time length parameter which is provided for the user in advance, so that the user can conveniently change the delay time length parameter stored in the main control unit in a code scanning mode. The function setting bar code comprises a function code number corresponding to the delay closing of the sight and a new delay time length parameter.
In some embodiments, after the decoding of the decoder is completed, the decoder firstly transmits the reading result to a new parameter acquisition module, then transmits the reading end instruction to a delay closing module, the new parameter acquisition module firstly judges whether the target bar code is a function setting bar code according to the reading result, if yes, acquires the function code number and the new delay time length parameter of the corresponding collimator delay closing in the reading result, executes a subsequent updating module and a modification writing module, and finally executes the delay closing module; if not, the delayed closing module is directly executed.
In some embodiments, the function setting barcode further includes at least one function setting identifier, for example, "%", preferably including two function setting identifiers, which are respectively set at a beginning position and a final position of the function setting barcode, so that the determining whether the target barcode is the function setting barcode according to the reading result includes: and judging whether a function setting identifier exists in the reading result. Further, the recognition result has a front-to-back sequence, and whether the function setting identifier exists in the beginning position and the end position of the recognition result can be judged.
For example, a function setting barcode with information of "%9004D01%" may be preset, and the barcode is decoded by a decoder to obtain a function setting identifier "%", a function code "9004", and a new delay time length parameter "D01", that is, 1 second, corresponding to the delayed closing of the collimator, so as to achieve the purpose of modifying the collimator to delay 1 second to close after the barcode reading task is finished.
In other embodiments, the new parameter obtaining module may be further configured to obtain a function setting instruction, and parse the function setting instruction to obtain a function code number corresponding to the delay closing of the collimator and a new delay duration parameter. The method for obtaining the function setting instruction may include a method for inputting the function setting instruction through external communication transmission, a method for selecting delay time length by a dial key, a method for inputting the function setting instruction by voice recognition, and the like.
And the updating module is used for updating the original delay time length parameter corresponding to the function code stored in the storage module into a new delay time length parameter. For example, the original delay time parameter "D03" corresponding to the original stored function code "9004" is updated to the new delay time parameter "D01".
The analysis module is also used for analyzing the new delay time length parameter, obtaining the new delay time length and sending a delay time length instruction;
and the writing modification module is also used for modifying the delay time length of the delay closing of the corresponding sight cached in the caching module according to the delay time length instruction. For example, the new delay time length parameter "D01" is parsed to obtain a new delay time length of 1 second, and a delay time length instruction is sent to inform the writing modification module to modify the delay time length of the delay closing of the corresponding collimator cached in the caching module, and the delay time length is modified from 3 seconds to 1 second, so that the collimator is closed after delaying for 1 second after the barcode reading task is finished.
In other embodiments, the auxiliary control unit of the sight may also be provided in the main control unit, i.e. the modules shown in fig. 9 are all provided in the main control unit.
By implementing the invention, the following beneficial effects are achieved:
according to the method, after the barcode reading task is finished, the sighting device is kept not to be extinguished immediately, and is closed after being started for a period of time, so that when a user finishes the previous barcode reading task, the barcode reading device can be moved to aim at a target barcode, and then the barcode reading task is triggered to be started, so that the barcode reading process is accelerated, the reading experience is improved, and the production efficiency of a barcode reading link is greatly improved.
It is to be understood that the above examples only represent preferred embodiments of the present invention, which are described in more detail and are not to be construed as limiting the scope of the invention; it should be noted that, for a person skilled in the art, the above technical features can be freely combined, and several variations and modifications can be made without departing from the scope of the invention; therefore, all changes and modifications that come within the meaning and range of equivalency of the claims are to be embraced within their scope.

Claims (4)

1. The sighting device auxiliary reading method of the bar code reading equipment comprises a main control unit and a sighting device connected with the main control unit, and is characterized in that the method is applied to the main control unit and comprises the following steps of:
s00: after power-on is started, analyzing according to the stored function code number and delay time length parameter corresponding to the delay closing of the sighting device, obtaining delay time length, and caching;
s10: acquiring a reading start instruction, driving the sight to be started and controlling the target bar code to be read;
s11: acquiring a reading result, judging whether the target bar code is a function setting bar code according to the reading result, and if so, acquiring a function code number and a new delay time length parameter corresponding to the delay closing of the sight in the reading result; wherein, the function setting bar code comprises a function code number corresponding to the delay closing of the sight and a new delay time length parameter;
or, acquiring a function setting instruction, and analyzing to acquire a function code number and a new delay time length parameter corresponding to the delay closing of the sight;
s12: updating the original delay time length parameter corresponding to the stored function code number into the new delay time length parameter;
s13: analyzing the new delay time length parameter to obtain new delay time length, and sending a delay time length instruction to modify the cached delay time length corresponding to the delay closing of the sight;
s20: and acquiring an identification end instruction, driving the sight to delay closing according to the cached delay time length corresponding to the delay closing of the sight, and returning to the execution step S10.
2. The sight-assisted reading method of a bar code reading apparatus of claim 1, wherein the function setting bar code further comprises at least one function setting identifier;
the step of judging whether the target bar code is a function setting bar code according to the reading result comprises the following steps: and judging whether a function setting identifier exists in the reading result.
3. A sight-assisted reading system for bar code reading equipment, comprising:
the storage module is used for storing a function code number and a delay time length parameter corresponding to the delay closing of the sight;
the analysis module is used for analyzing the delay time length parameter of the sight according to the function code number corresponding to the delay closing of the sight in the storage module after the power-on starting, obtaining delay time length and sending a delay time length instruction;
the writing modification module is used for writing the delay time length into the cache module according to the delay time length instruction;
the buffer module is used for buffering the delay time length;
the reading control module is used for acquiring a reading start instruction, driving the sighting device to be started and controlling the target bar code to be read;
the new parameter acquisition module is used for acquiring a reading result, judging whether the target bar code is a function setting bar code according to the reading result, and if so, acquiring a function code number and a new delay time length parameter corresponding to the delay closing of the sight in the reading result; or, the function setting instruction is used for acquiring and analyzing the function setting instruction to acquire a function code number and a new delay time length parameter corresponding to the delay closing of the sight; wherein, the function setting bar code comprises a function code number corresponding to the delay closing of the sight and a new delay time length parameter;
the updating module is used for updating the original delay time length parameter corresponding to the function code stored in the storage module into the new delay time length parameter;
the analysis module is also used for analyzing the new delay time length parameter, obtaining a new delay time length and sending a delay time length instruction; the writing modification module is further used for modifying delay time length of delay closing of the corresponding sight cached in the caching module according to the delay time length instruction;
and the delay closing module is used for acquiring the reading end instruction, driving the sight to delay closing according to the cached delay time length corresponding to the delay closing of the sight, and jumping to the reading control module.
4. A sight-assisted reading system for a bar code reading apparatus according to claim 3 wherein said function setting barcode further comprises at least one function setting identifier;
the step of judging whether the target bar code is a function setting bar code according to the reading result comprises the following steps: and judging whether a function setting identifier exists in the reading result.
CN202110192782.3A 2021-02-20 2021-02-20 Sighting device auxiliary reading method and system of bar code reading equipment Active CN112949332B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110192782.3A CN112949332B (en) 2021-02-20 2021-02-20 Sighting device auxiliary reading method and system of bar code reading equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110192782.3A CN112949332B (en) 2021-02-20 2021-02-20 Sighting device auxiliary reading method and system of bar code reading equipment

Publications (2)

Publication Number Publication Date
CN112949332A CN112949332A (en) 2021-06-11
CN112949332B true CN112949332B (en) 2023-04-28

Family

ID=76244672

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110192782.3A Active CN112949332B (en) 2021-02-20 2021-02-20 Sighting device auxiliary reading method and system of bar code reading equipment

Country Status (1)

Country Link
CN (1) CN112949332B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0668291A (en) * 1992-08-14 1994-03-11 Nec Corp Pen scanner with bar data resending function
US8245926B2 (en) * 2008-11-19 2012-08-21 Datalogic ADC, Inc. Method of preventing multiple reads when scanning groups of optical codes
US9940497B2 (en) * 2016-08-16 2018-04-10 Hand Held Products, Inc. Minimizing laser persistence on two-dimensional image sensors
CN107423654B (en) * 2017-08-11 2020-06-09 四川长虹电器股份有限公司 Method for receiving bar code with indefinite length
CN111539235A (en) * 2020-03-18 2020-08-14 苏州摩比信通智能系统有限公司 Method for preventing bar code from being scanned by two-dimensional bar code scanning engine by mistake and decoder applying same
CN111539236A (en) * 2020-04-13 2020-08-14 苏州摩比信通智能系统有限公司 Method for reading multiple bar codes at one time

Also Published As

Publication number Publication date
CN112949332A (en) 2021-06-11

Similar Documents

Publication Publication Date Title
US9564149B2 (en) Method for user communication with information dialogue system
US7229021B2 (en) Indicia reader with synchronized light source and associated methods and computer program product
CN103942021A (en) Method for presenting content, method for pushing content presenting modes and intelligent terminal
CN111949522B (en) Automatic testing method and device for user interface
CN104616241A (en) Video screen-shot method and device
CN112949332B (en) Sighting device auxiliary reading method and system of bar code reading equipment
CN112035042A (en) Application program control method and device, electronic equipment and readable storage medium
CN105279186A (en) Image processing method and system
CN112965701A (en) Front-end code generation method and device
CN102999628A (en) Search method and information search terminal
CN108694827B (en) Household appliance voice control method and device and central control equipment
CN113656432A (en) Data comparison method and device
WO2004091193A1 (en) Method for capturing of real-time image
CN111382748A (en) Image translation method, device and storage medium
CN108833786B (en) Mode control method and electronic equipment
CN109979449A (en) A kind of sound control method of Intelligent lamp, device, equipment and storage medium
US20180139319A1 (en) Realization method and apparatus for operation function in interphone, and interphone terminal
CN111625108B (en) Button simulation method, device, equipment and storage medium based on USB module
US20190302992A1 (en) Smart terminal and method for interacting with robot using the same
CN116261044B (en) Intelligent focusing method and device for hundred million-level cameras
WO2021163878A1 (en) Screen recording method and apparatus, and computer readable storage medium
WO2020107168A1 (en) Video decoding method and device, electronic apparatus, and computer-readable storage medium
US20190232494A1 (en) Robot control method, apparatus and storage medium with the same
CN107544248B (en) Task optimization method and device in mobile robot
CN109922457A (en) Information interacting method, apparatus and system

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
GR01 Patent grant
GR01 Patent grant