Continuous code scanning method, device, scanning equipment and storage medium

By using a timer and a decoder to control the working mode of the light source in the scanning device, the function of continuously scanning product barcodes is realized, which solves the problems of cumbersome operations and energy waste in the traditional shopping checkout process, and improves shopping efficiency and energy saving effects.

CN112183147BActive Publication Date: 2024-10-29迅镭(广州)智能科技股份有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN201910632520.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-07-13
Publication Date
2024-10-29
Estimated Expiration
2039-07-13

AI Technical Summary

Technical Problem

During the shopping checkout process in traditional supermarkets and shopping malls, the operation of scanning product barcodes is cumbersome and requires multiple button presses or turning on the always-on mode, resulting in inefficiency and energy consumption.

Method used

A continuous scanning method is adopted, using the timer and decoder in the scanning device to control the light source to turn off and start the timer after receiving the light signal reflected by the product barcode, and then send out the light signal again after a preset time to achieve continuous scanning , reduce the constant light time of the light source and save energy.

Benefits of technology

It improves the operational convenience and production efficiency of shopping checkout, reduces energy consumption, and achieves the effect of continuous scanning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112183147B_ABST
    Figure CN112183147B_ABST
Patent Text Reader

Abstract

The present application relates to a method, device, scanning equipment and storage medium for continuous code scanning. The method includes: receiving a continuous code scanning request; controlling a light source to start and emit a light signal; when receiving a first light signal reflected by a first product barcode, controlling the light source to turn off and start a timer; after a preset time of the timer, controlling the light source to start and emit a light signal; receiving a second light signal reflected by a second product barcode, converting the first light signal and the second light signal into a first electrical signal and a second electrical signal through an analog-to-digital conversion module; allocating the first electrical signal and the second electrical signal to corresponding decoders to obtain decoded data; sending the decoded data to a computer system; achieving the effect of continuous scanning, improving operational convenience and production efficiency, and during the scanning time interval, the light source can be turned off, and the light source does not need to remain on all the time, saving energy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a continuous code scanning method, apparatus, scanning device and storage medium. Background Art

[0002] With the advancement of technology, online shopping has become the first choice for more and more users, such as running shopping applications on PC to shop. However, in daily life, shopping in supermarkets and shopping malls is still the main way for users to shop, because it has the advantage of direct contact with the goods and purchasing them on the spot. However, this traditional shopping method has the problem of long waiting time, wasting users' time; it requires more cashiers, increasing the labor costs of supermarkets and shopping malls.

[0003] Moreover, supermarkets and shopping malls now generally use scanning devices, such as scanners, to identify product barcodes. During the checkout process, the cashier presses a trigger button once to perform a scanning operation. When a customer has multiple products, the cashier needs to press the trigger button multiple times, or turn on the always-on mode and scan multiple products in sequence to obtain the corresponding prices. Pressing the trigger button multiple times is not convenient enough and is not conducive to improving production efficiency, while turning on the always-on mode consumes more energy. Summary of the invention

[0004] Based on this, it is necessary to provide a continuous scanning method, device, scanning equipment and storage medium that can improve operational convenience and production efficiency and save energy in response to the above technical problems.

[0005] A continuous code scanning method, using a scanning device, the scanning device including a timer and a decoder, the method comprising:

[0006] Receive continuous scanning requests;

[0007] Control the light source to start and send out light signals;

[0008] When receiving the first light signal reflected by the first product barcode, controlling the light source to turn off and starting the timer;

[0009] When the preset time of the timer has passed, the light source is controlled to start and emit a light signal;

[0010] receiving a second optical signal reflected by a second product barcode, and converting the first optical signal and the second optical signal into a first electrical signal and a second electrical signal through an analog-to-digital conversion module;

[0011] Distributing the first electrical signal and the second electrical signal to corresponding decoders to obtain decoded data;

[0012] The decoded data is sent to the computer system.

[0013] In one of the embodiments, the scanning device further comprises a memory, and the memory is used to store the decoded data.

[0014] In one embodiment, the method further comprises:

[0015] Acquire setting information for a preset duration of the timer.

[0016] In one embodiment, the scanning device further includes a machine learning chip, in which a machine learning model is preset; and the method further includes:

[0017] Obtain preset product feature information and corresponding preset duration;

[0018] Inputting the commodity feature information and the preset duration into the machine learning model to obtain a trained machine learning model;

[0019] In one embodiment, the scanning device further includes a camera, the camera is located above a scanning window of the scanning device, and the camera is used to obtain an image of the product; the method further includes:

[0020] Acquire the product image through the camera;

[0021] Acquiring commodity feature information according to the commodity image;

[0022] The commodity feature information is input into the trained machine learning model to obtain a preset duration.

[0023] A continuous code scanning device, using a scanning device, the scanning device includes a timer and a decoder, and the method includes:

[0024] A request receiving module, used for receiving continuous code scanning requests;

[0025] The first light source starting module is used to control the light source to start and emit a light signal;

[0026] A timer start module, used to control the light source to turn off and start the timer when receiving the first light signal reflected by the first commodity barcode;

[0027] The second light source starting module is used to control the light source to start and emit a light signal after a preset time of the timer has passed;

[0028] A conversion module, configured to receive a second optical signal reflected by a second product barcode, and convert the first optical signal and the second optical signal into a first electrical signal and a second electrical signal through an analog-to-digital conversion module;

[0029] A decoding module, used for distributing the first electrical signal and the second electrical signal to corresponding decoders to obtain decoded data;

[0030] The sending module is used to send the decoded data to the computer system.

[0031] In one of the embodiments, the scanning device further comprises a memory, and the memory is used to store the decoded data.

[0032] In one embodiment, the device further comprises:

[0033] The setting information module is used to obtain setting information for the preset duration of the timer.

[0034] A scanning device, comprising a camera, a scanning window, a light source, a timer, a scanning and receiving device, an analog-to-digital converter, a decoder, a data transmission interface, a memory and a processor;

[0035] The scanning window is located at the front end of the scanning device; the camera is located above the scanning window; the light source is connected to the timer and the scanning and receiving module; the scanning and receiving module is connected to the analog-to-digital conversion module; the decoder is connected to the analog-to-digital converter decoder and the data transmission interface;

[0036] The scanner and receiver are used to form a scan line from the light signal emitted by the light source and to receive the reflected light signal; the analog-to-digital converter is used to convert the light signal into an electrical signal; the decoder is used to decode the electrical signal to obtain the decoded data; the data transmission interface is used to transmit the decoded data to the computer system.

[0037] The memory stores a computer program, and the processor implements the steps of any one of the above-mentioned continuous code scanning methods when executing the computer program.

[0038] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of any of the above-mentioned continuous code scanning methods.

[0039] The continuous code scanning method in this embodiment uses a scanning device, which includes a timer and a decoder. The method includes: receiving a continuous code scanning request; controlling a light source to start and emit a light signal; when a first light signal reflected by a first product barcode is received, controlling the light source to turn off and start the timer; after a preset time of the timer has passed, controlling the light source to start and emit a light signal; receiving a second light signal reflected by a second product barcode, converting the first light signal and the second light signal into a first electrical signal and a second electrical signal through an analog-to-digital conversion module; allocating the first electrical signal and the second electrical signal to corresponding decoders to obtain decoded data; sending the decoded data to a computer system; the effect of continuous scanning can be achieved, and the convenience of operation and production efficiency are improved. During the scanning time interval, the light source can be turned off, and there is no need for the light source to remain on, thereby saving energy. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 is a structural block diagram of a scanning device according to an embodiment;

[0041] Figure 2 is a schematic flow chart of a continuous code scanning method according to an embodiment;

[0042] Figure 3 The structure block diagram of a continuous code scanning device of an embodiment. DETAILED DESCRIPTION

[0043] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0044] This embodiment discloses a scanning device, such as Figure 1 As shown, the scanning device includes a camera, a scanning window, a light source, a timer, a scanning and receiver, an analog-to-digital converter, a decoder, a data transmission interface, a memory and a processor;

[0045] The scanning window is located at the front end of the scanning device; the camera is located above the scanning window; the light source is connected to the timer and the scanning and receiving module; the scanning and receiving module is connected to the analog-to-digital conversion module; the decoder is connected to the analog-to-digital converter and the data transmission interface;

[0046] The scanner and receiver are used to form a scan line from the light signal emitted by the light source and to receive the reflected light signal; the analog-to-digital converter is used to convert the light signal into an electrical signal; the decoder is used to decode the electrical signal to obtain the decoded data; the data transmission interface is used to transmit the decoded data to the computer system.

[0047] The scanning device includes a processor and a memory connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. When the computer program is executed by the processor, the following steps are implemented.

[0048] Specifically, the memory stores a computer program, and the processor implements the following steps when executing the computer program: receiving a continuous code scanning request; controlling the light source to start and emit a light signal; when receiving a first light signal reflected by a first product barcode, controlling the light source to turn off and starting a timer; after a preset time of the timer, controlling the light source to start and emit a light signal; receiving a second light signal reflected by a second product barcode, converting the first light signal and the second light signal into a first electrical signal and a second electrical signal through an analog-to-digital conversion module; allocating the first electrical signal and the second electrical signal to corresponding decoders to obtain decoded data; and sending the decoded data to a computer system.

[0049] In a core concept of this embodiment, a timer and multiple decoders are added to the principle scanning device, which respectively receive the first light signal and the second light signal of the first product barcode and the second product barcode, and input the first light signal and the second light signal into the corresponding decoders for decoding, thereby achieving a continuous scanning effect.

[0050] In one embodiment, Figure 2 As shown, a continuous code scanning method is provided, using a scanning device, the scanning device includes a timer and a decoder, and includes the following steps:

[0051] Step 201, receiving a continuous code scanning request;

[0052] In this embodiment, the scanning device can first receive a continuous scanning request. Specifically, the scanning device can include a trigger button, and the trigger button can include a press button or a virtual button. This embodiment does not limit this. Generally speaking, the scanning device can include trigger buttons for multiple modes, such as a trigger button for a single scanning mode or a trigger button for a continuous scanning mode. When the user presses the trigger button for the connected scanning mode, the scanning device receives the continuous scanning request.

[0053] For example, when a customer purchases multiple items and places them on the checkout counter, the user (cashier) can press a trigger button for the continuous scanning mode to enter the continuous scanning mode for the items.

[0054] Step 202, controlling the light source to start and emit a light signal;

[0055] Further applied to the present embodiment, when the continuous code scanning request is received, the scanning device can control the light source to start and emit a light signal. Preferably, when the light source is a laser light source, the emitted light signal is a laser signal; specifically, the laser light source can be a non-axisymmetric elliptical light beam. In the continuous code scanning mode, the processor controls the laser light source to start and emit a laser signal.

[0056] In one application scenario, the user (cashier) can press the trigger button of the continuous scanning mode to enter the continuous scanning mode of the product. The user aims the scanning window of the scanning device at the barcode of one of the products, and the laser light source controlled by the scanning device processor starts and emits a laser signal.

[0057] Step 203, when receiving the first light signal reflected by the first product barcode, controlling the light source to be turned off and starting the timer;

[0058] Specifically applied to this embodiment, after a laser signal is sent to the barcode of a certain product, the scanning and receiver of the scanning device receives the first light signal reflected by the first product barcode, controls the light source to be turned off and starts the timer. The preset duration of the timer can be set according to actual conditions. For example, the preset duration of the timer can be set to 0.5s, 0.1s or 0.05s, etc. This embodiment does not impose specific restrictions on this.

[0059] Specifically, after the laser signal is emitted, the first light signal reflected by the first product barcode of a certain product is immediately received, the light source is controlled to be turned off and the timer is started to perform timing.

[0060] Step 204, when the preset time of the timer has passed, the light source is controlled to start and emit a light signal;

[0061] In actual applications, after the preset duration of the timer has passed, the light source is controlled to start again and emit a light signal. That is, in the continuous scanning mode, after scanning the first product barcode and receiving the first light signal reflected by the first product barcode, the timer is used to control the time when the light source is turned off. After the preset duration of the timer is reached, the laser light source is controlled to start again and emit a laser signal to scan the second product barcode. When scanning is not needed, the light source is turned off to save energy.

[0062] Step 205, receiving a second optical signal reflected by a second product barcode, and converting the first optical signal and the second optical signal into a first electrical signal and a second electrical signal through an analog-to-digital conversion module;

[0063] Specifically applied to the present embodiment, the second optical signal reflected by the second product barcode is received, and the first optical signal and the second optical signal are converted into a first electrical signal and a second electrical signal through an analog-to-digital conversion module, that is, after scanning the second product barcode, a second optical signal is obtained, and the first optical signal and the second optical signal are converted into a first electrical signal and a second electrical signal through the analog-to-digital conversion module. It should be noted that the step of converting the first optical signal into the first electrical signal can be executed after step 203, that is, the steps of converting the first optical signal into the first electrical signal and the steps of converting the second optical signal into the second electrical signal are not necessarily executed synchronously.

[0064] Step 206, assigning the first electrical signal and the second electrical signal to corresponding decoders to obtain decoded data;

[0065] Further applied to the present embodiment, the scanning device may include multiple decoders, and the scanning device may distribute the first electrical signal and the second electrical signal to corresponding decoders, control the decoders to perform decoding, and obtain decoded data; it should be noted that the electrical signal converted from the optical signal may also include a third electrical signal, a fourth electrical signal, etc., and the third electrical signal and the fourth electrical signal may also be distributed to corresponding decoders to obtain decoded data; that is, in the continuous scanning mode, multiple decoders may be used to decode the electrical signal to improve the decoding efficiency.

[0066] Step 207, sending the decoded data to the computer system.

[0067] In this embodiment, after the electrical signal is decoded, the decoded data can be sent to a computer system, and the computer system matches the decoded data with the data on the server to obtain product data; the scanning device can be connected to the computer system, and the computer system can be used to perform operations such as data matching.

[0068] The continuous code scanning method in this embodiment uses a scanning device, which includes a timer and a decoder. The method includes: receiving a continuous code scanning request; controlling a light source to start and emit a light signal; when a first light signal reflected by a first product barcode is received, controlling the light source to turn off and start the timer; after a preset time of the timer has passed, controlling the light source to start and emit a light signal; receiving a second light signal reflected by a second product barcode, converting the first light signal and the second light signal into a first electrical signal and a second electrical signal through an analog-to-digital conversion module; allocating the first electrical signal and the second electrical signal to corresponding decoders to obtain decoded data; sending the decoded data to a computer system; the effect of continuous scanning can be achieved, and the convenience of operation and production efficiency are improved. During the scanning time interval, the light source can be turned off, and there is no need for the light source to remain on, thereby saving energy.

[0069] In another preferred embodiment, the scanning device further comprises a memory, and the memory is used to store the decoded data.

[0070] Specifically, the decoded data may also be stored. The decoded data may be first stored in the memory, and after reaching a certain data volume, all the decoded data may be transmitted to the computer system.

[0071] In one embodiment, the method further includes: obtaining setting information for a preset duration of the timer.

[0072] Applied to this embodiment, the scanning device can also obtain setting information for the preset duration of the timer, that is, after obtaining the preset duration, the preset duration of the timer can be readjusted.

[0073] In another preferred embodiment of this embodiment, the scanning device further includes a machine learning chip, and a machine learning model is preset in the machine learning chip; the method further includes:

[0074] Step S11, obtaining preset commodity feature information and corresponding preset duration;

[0075] Step S12: input the product feature information and the preset duration into the machine learning model to obtain a trained machine learning model.

[0076] Specifically, the machine learning model can also be trained by using the preset product feature information and the preset duration corresponding to the timer. It should be noted that the product feature information may include the product type, product shape, product volume, barcode position, the relative position of the barcode and other products, and the distance between products of each product; the source of the product feature information may be an image obtained from a camera on a scanning device, and the preset duration is the time spent between each consecutive scan of two products.

[0077] That is, in this embodiment, a mapping table is preset, which may include the correspondence between the commodity feature information of the commodity and the preset time length. The machine learning model is trained through the above correspondence to obtain the trained machine learning model.

[0078] It should be noted that the machine learning model may include a supervised machine learning model. Specifically, the supervised learning model mainly includes models for classification and regression. For example, it may include a linear classifier model (Linear classifier), a support vector machine model (Support Vector Machine), a naive Bayes model classifier (Naive Bayes Classifier), a K-nearest neighbor model (k-nearest neighbor), a decision tree model (DecisionTree), a linear regression model (Linear Regression), a regression tree model (Regression Tree), etc. This embodiment does not limit this.

[0079] In another embodiment, the scanning device further includes a camera, the camera is located above a scanning window of the scanning device, and the camera is used to obtain an image of the product; the method further includes:

[0080] Step S21, acquiring the product image through the camera;

[0081] Step S22, obtaining commodity feature information according to the commodity image;

[0082] Step S23: input the product feature information into the trained machine learning model to obtain a preset duration.

[0083] In this embodiment, the scanning device may further include a camera, which is located above the scanning window and is used to obtain product images. Product feature information can be obtained from the product image by means of image recognition, that is, the product type, product shape, product volume, barcode position, relative position of the barcode and other products, distance between two products and other information of each product can be identified from the product image, and the product feature information of the product is input into the trained machine learning model to obtain an output preset time length, thereby further improving the accuracy of the obtained preset time length and improving the user experience.

[0084] It should be understood that although Figure 2 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0085] In one embodiment, Figure 3 As shown, a continuous code scanning device is provided, which uses a scanning device, and the scanning device includes a timer and a decoder, including: a request receiving module 301, a first light source starting module 302, a timer starting module 303, a second light source starting module 304, a conversion module 305, a decoding module 306 and a sending module 307, wherein:

[0086] The request receiving module 301 is used to receive a continuous code scanning request;

[0087] The first light source starting module 302 is used to control the light source to start and emit a light signal;

[0088] The timer start module 303 is used to control the light source to turn off and start the timer when receiving the first light signal reflected by the first product barcode;

[0089] The second light source starting module 304 is used to control the light source to start and emit a light signal after a preset time of the timer has passed;

[0090] The conversion module 305 is used to receive the second optical signal reflected by the second product barcode, and convert the first optical signal and the second optical signal into a first electrical signal and a second electrical signal through an analog-to-digital conversion module;

[0091] A decoding module 306, configured to distribute the first electrical signal and the second electrical signal to corresponding decoders to obtain decoded data;

[0092] The sending module 307 is used to send the decoded data to the computer system.

[0093] Preferably, the scanning device further comprises a memory, and the memory is used to store the decoded data.

[0094] Preferably, the device further comprises:

[0095] The setting information module is used to obtain setting information for the preset duration of the timer.

[0096] For the specific definition of the continuous code scanning device, please refer to the definition of the continuous code scanning method above, which will not be repeated here. Each module in the above-mentioned continuous code scanning device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0097] The continuous code scanning device provided above can be used to execute the continuous code scanning method provided by any of the above embodiments, and has corresponding functions and beneficial effects.

[0098] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0099] Receive continuous scanning requests;

[0100] Control the light source to start and send out light signals;

[0101] When receiving the first light signal reflected by the first product barcode, controlling the light source to turn off and starting the timer;

[0102] When the preset time of the timer has passed, the light source is controlled to start and emit a light signal;

[0103] receiving a second optical signal reflected by a second product barcode, and converting the first optical signal and the second optical signal into a first electrical signal and a second electrical signal through an analog-to-digital conversion module;

[0104] Distributing the first electrical signal and the second electrical signal to corresponding decoders to obtain decoded data;

[0105] The decoded data is sent to the computer system.

[0106] In one embodiment, the scanning device further comprises a memory, and the memory is used to store the decoded data.

[0107] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: obtaining setting information for a preset duration of the timer.

[0108] In one embodiment, the scanning device further includes a machine learning chip, in which a machine learning model is preset; when the computer program is executed by the processor, the following steps are also implemented:

[0109] Obtain preset product feature information and corresponding preset duration;

[0110] Inputting the commodity feature information and the preset duration into the machine learning model to obtain a trained machine learning model;

[0111] In one embodiment, the scanning device further includes a camera, which is located above a scanning window of the scanning device and is used to obtain an image of the product; when the computer program is executed by the processor, the following steps are also implemented:

[0112] Acquire the product image through the camera;

[0113] Acquiring commodity feature information according to the commodity image;

[0114] The commodity feature information is input into the trained machine learning model to obtain a preset duration.

[0115] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0116] The present embodiment is described with reference to the flowchart and / or block diagram of the method, terminal device (system), and computer program product according to the present embodiment. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0117] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0118] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0119] Although the preferred embodiment of the present embodiment has been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiment and all changes and modifications that fall within the scope of the present embodiment.

[0120] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0121] The above is a detailed introduction to a continuous code scanning method, a continuous code scanning device, a scanning equipment and a computer-readable storage medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A continuous code scanning method, characterized in that: A scanning device is used, the scanning device includes a timer and a decoder, and the method includes: receiving a continuous scanning request; controlling a light source to start and emit a light signal; when a first light signal reflected by a first product barcode is received, controlling the light source to turn off and start the timer; after a preset time of the timer has passed, controlling the light source to start and emit a light signal; receiving a second light signal reflected by a second product barcode, converting the first light signal and the second light signal into a first electrical signal and a second electrical signal through an analog-to-digital conversion module; allocating the first electrical signal and the second electrical signal to corresponding decoders to obtain decoded data; and sending the decoded data to a computer system; The scanning device also includes a machine learning chip, in which a machine learning model is preset; the method also includes: obtaining preset commodity feature information and a corresponding preset time length; inputting the commodity feature information and the preset time length into the machine learning model to obtain a trained machine learning model; The scanning device also includes a camera, which is located above the scanning window of the scanning device, and the camera is used to obtain product images; the method also includes: obtaining the product image through the camera; obtaining product feature information based on the product image; and inputting the product feature information into the trained machine learning model to obtain a preset time length.

2. The method according to claim 1, characterized in that The scanning device further comprises a memory, wherein the memory is used to store the decoded data.

3. The method according to claim 1, characterized in that: The method further includes: acquiring setting information of a preset duration of the timer.

4. A continuous code scanning device, characterized in that: The scanning device is applied, the scanning device includes a timer and a decoder, and the device includes: a request receiving module for receiving a continuous scanning request; a first light source starting module for controlling the light source to start and emit a light signal; a timer starting module for controlling the light source to turn off and start the timer when receiving a first light signal reflected by a first commodity barcode; a second light source starting module for controlling the light source to start and emit a light signal after a preset time of the timer; a conversion module for receiving a second light signal reflected by a second commodity barcode, and converting the first light signal and the second light signal into a first electrical signal and a second electrical signal through an analog-to-digital conversion module; a decoding module for distributing the first electrical signal and the second electrical signal to corresponding decoders to obtain decoded data; and a sending module for sending the decoded data to a computer system; The scanning device also includes a machine learning chip, in which a machine learning model is preset; the device also includes: obtaining preset commodity feature information and a corresponding preset time length; inputting the commodity feature information and the preset time length into the machine learning model to obtain a trained machine learning model; The scanning device also includes a camera, which is located above the scanning window of the scanning device, and is used to obtain product images; the device also includes: obtaining the product image through the camera; obtaining product feature information based on the product image; and inputting the product feature information into the trained machine learning model to obtain a preset time length.

5. The device according to claim 4, characterized in that The scanning device further comprises a memory, wherein the memory is used to store the decoded data.

6. The device according to claim 4, characterized in that The device further includes: a setting information module, configured to obtain setting information for a preset duration of the timer.

7. A scanning device, characterized in that: The scanning device includes a camera, a scanning window, a light source, a timer, a scanning and receiver, an analog-to-digital converter, a decoder, a data transmission interface, a memory and a processor; the scanning window is located at the front end of the scanning device; the camera is located above the scanning window; the light source is connected to the timer and the scanning and receiver; the scanning and receiver is connected to the analog-to-digital converter; the decoder is connected to the analog-to-digital converter and the data transmission interface; the scanning and receiver is used to form a scanning line from the light signal emitted by the light source and receive the reflected light signal; the analog-to-digital converter is used to convert the light signal into an electrical signal; the decoder is used to decode the electrical signal to obtain the decoded data; the data transmission interface is used to transmit the decoded data to a computer system; the memory stores a computer program, characterized in that when the processor executes the computer program, the steps of the continuous code scanning method described in any one of claims 1 to 3 are implemented.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the continuous code scanning method described in any one of claims 1 to 3 are implemented.

Citation Information

Patent Citations

  • Method and device for starting bar code reading system

    CN101425123A

  • Bar code scanning device and scanning method

    CN104281829A