Code scanning control method and device, processing equipment and readable storage medium

By controlling the motor module in the processing equipment to drive the scanner to move and adjust the position, the scanning problem of code failure caused by material identification code position offset or reflection is solved, and the efficiency and production capacity of the processing equipment are improved.

CN119692372APending Publication Date: 2025-03-25GOERTEK INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411667280.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-20
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

In modern processing and production processes, problems such as position offset or reflection of material identification codes may lead to failure of scanning of the code scanner, affecting the efficiency of the processing equipment.

Method used

By controlling the motor module to drive the scanner to move, the position of the scanner is automatically adjusted to ensure that the identification code can be scanned effectively. The method includes obtaining the number of scan failures, adjusting the position of the code scanner if it is less than or equal to the set number, and issuing an alarm when the number of failures exceeds the set number.

Benefits of technology

The success rate of scanning the identification code of the object to be processed is improved, the production capacity and productivity of the equipment are enhanced, and the equipment downtime is avoided due to the failure of scanning the code is optimized.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119692372A_ABST
    Figure CN119692372A_ABST
Patent Text Reader

Abstract

The invention provides a code scanning control method and device, machining equipment and a readable storage medium. The method comprises the steps that a code scanner fixed to a motor module is controlled to scan an identification code of a to-be-machined object located on a target station; and under the condition that scanning of the identification code of the object to be machined fails, the motor module is controlled to drive the code scanner to move so as to adjust the position of the code scanner.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the field of production and processing technology, and more specifically, to a code scanning control method, device, processing equipment and readable storage medium. Background Art

[0002] In modern processing and production, in order to achieve traceability of the processing process of materials involved in the processing, it is necessary to scan the identification code of the material located at the corresponding workstation before the processing equipment processes the material.

[0003] However, if the position of the identification code on the material is offset or the identification code is reflective, the scanner may fail to scan the identification code, requiring the operator to control the processing equipment to stop in order to optimize the internal barcode reading library parameters of the scanner, thus affecting the processing efficiency of the processing equipment. Summary of the invention

[0004] An objective of the embodiments of the present disclosure is to provide a code scanning control method, device, processing equipment and readable storage medium.

[0005] According to a first aspect of an embodiment of the present disclosure, a code scanning control method is provided, including:

[0006] Controlling a barcode scanner fixed on the motor module to scan the identification code of the object to be processed located at the target station;

[0007] In the case where the identification code scanning of the object to be processed fails, the motor module is controlled to drive the code scanner to move so as to adjust the position of the code scanner.

[0008] Optionally, when the scanning of the identification code of the object to be processed fails, the method further includes:

[0009] Obtaining the number of scan failures of the object to be processed;

[0010] When the number of scanning failures is less than or equal to the set number, the step of adjusting the position of the scanner is performed.

[0011] Optionally, the method further includes:

[0012] When the number of scan failures is greater than the set number, an alarm is issued.

[0013] Optionally, controlling the motor module to drive the barcode scanner to move so as to adjust the position of the barcode scanner includes:

[0014] Obtaining the number of scan failures of the object to be processed;

[0015] The motor module is controlled to drive the scanner to move according to the number of scanning failures.

[0016] Optionally, controlling the motor module to drive the scanner to move according to the number of scanning failures includes:

[0017] Determining a target displacement of the scanner according to the number of scan failures;

[0018] The motor module is controlled to drive the barcode scanner to move according to the target displacement.

[0019] Optionally, controlling the motor module to drive the scanner to move according to the number of scanning failures includes:

[0020] Obtaining a position offset coefficient corresponding to the number of scanning failures;

[0021] Obtaining a target position of the barcode scanner according to the position offset coefficient, the set adjustment interval, and the initial position of the barcode scanner;

[0022] The motor module is controlled to drive the barcode scanner to move to the target position.

[0023] Optionally, after controlling the motor module to drive the barcode scanner to move so as to adjust the position of the barcode scanner, the method further includes:

[0024] The code scanner is controlled to rescan the identification code of the object to be processed.

[0025] Optionally, the method further includes:

[0026] When the identification code of the object to be processed is scanned successfully, the object to be processed is processed.

[0027] According to a second aspect of the present disclosure, a code scanning control device is provided, comprising:

[0028] A scanning control module, used to control a barcode scanner fixed on the motor module to scan an identification code of an object to be processed located at a target station;

[0029] The position adjustment module is used to control the motor module to drive the scanner to move so as to adjust the position of the scanner when the scanning of the identification code of the object to be processed fails.

[0030] According to a third aspect of the present disclosure, a processing device is provided, comprising a processor and a memory, wherein the memory is used to store a computer program, and the processor is used to execute the method described in the first aspect of the present disclosure under the control of the computer program.

[0031] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method described in the first aspect of the present disclosure is implemented.

[0032] Through this embodiment, when the barcode scanner fixed on the motor module fails to scan the identification code of the object to be processed, the motor module is controlled to drive the barcode scanner to move to automatically adjust the position of the barcode scanner. This can improve the success rate of scanning the identification code of the object to be processed at the target workstation without increasing the hardware cost, thereby improving the equipment's production capacity and utilization rate.

[0033] Further features and advantages of the present invention will become apparent from the following detailed description of exemplary embodiments of the present invention with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.

[0035] Figure 1 is a block diagram showing a hardware configuration of a processing device that can implement an embodiment of the present disclosure;

[0036] Figure 2 is a flowchart of a code scanning control method according to an embodiment of the present disclosure;

[0037] Figure 3 is a schematic diagram of position adjustment of a barcode scanner according to an embodiment of the present disclosure;

[0038] Figure 4 is a block diagram of a code scanning control device according to an embodiment of the present disclosure;

[0039] Figure 5 is a block diagram of a processing device according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0040] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present invention unless otherwise specifically stated.

[0041] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.

[0042] Technologies, methods and equipment known to persons of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods and equipment should be considered part of the specification.

[0043] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0044] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0045] <Hardware Configuration>

[0046] Figure 1 is a block diagram showing a hardware configuration of a processing apparatus 1000 that can implement an embodiment of the present disclosure.

[0047] The processing equipment 1000 can be any processing equipment in an automatic production line. Figure 1 As shown, the processing equipment 1000 may include a processor 1100, a memory 1200, an interface device 1300, a communication device 1400, a display device 1500, an input device 1600, a speaker 1700, a microphone 1800, and the like. Among them, the processor 1100 may be a processor CPU, a microprocessor MCU, and the like. The memory 1200 includes, for example, a ROM (read-only memory), a RAM (random access memory), a non-volatile memory such as a hard disk, and the like. The interface device 1300 includes, for example, a USB interface, a headphone interface, and the like. The communication device 1400 is, for example, capable of wired or wireless communication, and may specifically include Wifi communication, Bluetooth communication, 2G / 3G / 4G / 5G communication, and the like. The display device 1500 is, for example, a liquid crystal display screen, a touch display screen, and the like. The input device 1600 may include, for example, a touch screen, a keyboard, a somatosensory input, and the like. The user may input / output voice information through the speaker 1700 and the microphone 1800.

[0048] Figure 1 The processing equipment shown is merely illustrative and does not in any way limit the present disclosure, its application or use. In the embodiments of the present disclosure, the memory 1200 of the processing equipment 1000 is used to store instructions, and the instructions are used to control the processor 1100 to operate to perform any one of the methods provided in the embodiments of the present disclosure. It should be understood by those skilled in the art that although Figure 1 In the figure, a plurality of devices are shown for the processing device 1000, but the present disclosure may only involve some of the devices, for example, the processing device 1000 only involves the processor 1100 and the memory 1200. A technician can design instructions according to the scheme disclosed in the present disclosure. How instructions control the processor to operate is well known in the art, so it will not be described in detail here.

[0049] <Method Example>

[0050] The present disclosure provides a code scanning control method, which can be implemented by processing equipment.

[0051] Figure 2 Flow chart of the code scanning control method according to an embodiment of the present disclosure.

[0052] like Figure 2 As shown, the method includes steps S2100 to S2200 as shown below:

[0053] Step S2100, controlling the barcode scanner fixed on the motor module to scan the identification code of the object to be processed located at the target workstation.

[0054] In this embodiment, during the automated processing of the production line, a barcode scanner may be provided at each workstation. Before processing the product or material located at the target workstation, the identification code of the object to be processed is scanned to obtain the identification code of the object to be processed. The processing process of the object to be processed at the target workstation is identified by the identification code of the object to be processed, thereby ensuring that each processing step in the product processing process can be traced.

[0055] The object to be processed in this embodiment may be a material, or a finished product or a semi-finished product obtained by processing the material.

[0056] In this embodiment, the identification code may be a barcode or a QR code.

[0057] In this embodiment, the barcode scanner may be fixed on the motor module, and the movement of the motor module may be controlled to drive the barcode scanner to move, thereby adjusting the position of the barcode scanner.

[0058] Step S2200, when the identification code scanning of the object to be processed fails, the motor module is controlled to drive the scanner to move so as to adjust the position of the scanner.

[0059] In this embodiment, when the identification code printed on the object to be processed is qualified, the reasons for the failure of scanning the identification code may include: the position of the identification code on the object to be processed is offset, the identification code is reflective, etc.

[0060] In one embodiment of the present disclosure, when controlling the motor module to drive the scanner to move so as to adjust the position of the scanner, the method may further include: controlling the scanner to re-scan the identification code of the object to be processed located at the target workstation.

[0061] Through this embodiment, when the barcode scanner fixed on the motor module fails to scan the identification code of the object to be processed, the motor module is controlled to drive the barcode scanner to move to automatically adjust the position of the barcode scanner. This can improve the success rate of scanning the identification code of the object to be processed at the target workstation without increasing the hardware cost, thereby improving the equipment's production capacity and utilization rate.

[0062] In one embodiment of the present disclosure, when the identification code scanning of the object to be processed fails, the method may further include: obtaining the number of scanning failures of the object to be processed, and when the number of scanning failures is less than or equal to the set number, executing the step of adjusting the position of the scanner.

[0063] In this embodiment, the set number of times may be pre-set according to an application scenario or specific requirements. For example, the set number of times may be 6.

[0064] When the barcode scanner scans the identification code of the object to be processed for the first time, the number of failed scans of the object to be processed is 0. If the barcode scanner fails to scan the identification code of the object to be processed, the number of failed scans of the object to be processed will be incremented by one.

[0065] In this embodiment, if the number of scan failures of the object to be processed is less than or equal to the set number, the position of the scanner can be adjusted, and then the scanner can be controlled to re-scan the identification code of the object to be processed located at the target workstation.

[0066] Furthermore, if the number of scan failures of the object to be processed is greater than a set number, it means that the identification code printed on the object to be processed is unqualified, and an alarm may be issued to remind the operator to intervene.

[0067] In this embodiment, the manner of issuing an alarm may include: issuing an alarm sound, controlling an alarm light to emit light, displaying an alarm text, etc., for example.

[0068] In one embodiment of the present disclosure, controlling the motor module to drive the scanner to move so as to adjust the position of the scanner may include: obtaining the number of scanning failures of the object to be processed; and controlling the motor module to drive the scanner to move according to the number of scanning failures.

[0069] In this embodiment, the movement displacement or target position of the scanner may be related to the number of scanning failures.

[0070] In one embodiment, controlling the motor module to drive the scanner to move according to the number of scanning failures may include: determining a target displacement of the scanner according to the number of scanning failures; and controlling the motor module to drive the scanner to move according to the target displacement.

[0071] In one embodiment, a first comparison table of mapping relationships between times and displacements may be pre-set. For example, the displacement corresponding to time 1 may be 2 mm, the displacement corresponding to time 2 may be -4 mm, the displacement corresponding to time 3 may be 6 mm, the displacement corresponding to time 4 may be -8 mm, the displacement corresponding to time 5 may be 10 mm, and the displacement corresponding to time 6 may be -12 mm.

[0072] Furthermore, the first comparison table may be searched according to the number of scanning failures to obtain the displacement corresponding to the number of scanning failures as the target displacement.

[0073] In this embodiment, the motor module is controlled to drive the barcode scanner to move according to the target displacement, which may be to make the barcode scanner move the target displacement.

[0074] In another embodiment, controlling the motor module to drive the scanner to move according to the number of scanning failures may include: obtaining a position offset coefficient corresponding to the number of scanning failures; obtaining a target position of the scanner according to the position offset coefficient, a set adjustment interval, and an initial position of the scanner; and controlling the motor module to drive the scanner to move to the target position.

[0075] In this embodiment, a second comparison table of mapping relationships between times and position offset coefficients may be pre-set. For example, the position offset coefficient corresponding to time 1 may be 1, the position offset coefficient corresponding to time 2 may be -1, the position offset coefficient corresponding to time 3 may be 2, the position offset coefficient corresponding to time 4 may be -2, the position offset coefficient corresponding to time 5 may be 3, and the position offset coefficient corresponding to time 6 may be -3.

[0076] Furthermore, the target position may be determined according to the following formula:

[0077] X1=X0+ΔS*λ

[0078] Among them, X1 represents the target position, X0 represents the initial position, ΔS represents the set adjustment interval, and λ represents the position offset coefficient.

[0079] In this embodiment, the adjustment interval may be pre-set according to the size of the identification code, the focal length of the barcode scanner, the scanning range of the barcode scanner, etc. For example, the adjustment interval may be 2 mm.

[0080] After adjusting the position of the barcode scanner, if the identification code of the object to be processed is scanned successfully, the motor module is controlled to drive the barcode scanner to move to the initial position to facilitate identification of the next identification code of the object to be processed.

[0081] In an example, Figure 3As shown, when the object to be processed moves to the target workstation, the barcode scanner can first scan the identification code of the object to be processed at the initial position. If the barcode scanner fails to scan the identification code of the object to be processed at the initial position, and the number of scanning failures of the object to be processed is 1, the motor module is controlled to drive the barcode scanner to move to position 1, and scan the identification code of the object to be processed again. If the barcode scanner fails to scan the identification code of the object to be processed at position 1, and the number of scanning failures of the object to be processed is 2, the motor module is controlled to drive the barcode scanner to move to position 2, and scan the identification code of the object to be processed again. If the barcode scanner fails to scan the identification code of the object to be processed at position 2, and the number of scanning failures of the object to be processed is 3, the motor module is controlled to drive the barcode scanner to move to position 3, and scan the identification code of the object to be processed again. If the barcode scanner fails to scan the identification code of the object to be processed at position 3, and the number of scanning failures of the object to be processed is 4, the motor module is controlled to drive the barcode scanner to move to position 4, and scan the identification code of the object to be processed again. If the barcode scanner fails to scan the identification code of the object to be processed at position 4, and the number of failed scans of the object to be processed is 5, the motor module is controlled to drive the barcode scanner to move to position 5, and scan the identification code of the object to be processed again. If the barcode scanner fails to scan the identification code of the object to be processed at position 5, and the number of failed scans of the object to be processed is 6, the motor module is controlled to drive the barcode scanner to move to position 6, and scan the identification code of the object to be processed again. If the barcode scanner fails to scan the identification code of the object to be processed at position 6, an alarm is issued to prompt human intervention. If the barcode scanner successfully scans the identification code of the object to be processed at any of the initial position, position 1, position 2, position 3, position 4, position 5 and position 6, the processing equipment is controlled to process the object to be processed, and the motor module is controlled to drive the barcode scanner to move to the initial position.

[0082] <Device Example>

[0083] This embodiment provides a code scanning control device, such as Figure 4 As shown, the code scanning control device 4000 may include a scanning control module 4100 and a position adjustment module 4200. The scanning control module 4100 is used to control the code scanner fixed on the motor module to scan the identification code of the object to be processed located at the target station; the position adjustment module 4200 is used to control the motor module to drive the code scanner to move to adjust the position of the code scanner when the identification code scanning of the object to be processed fails.

[0084] In one embodiment of the present disclosure, when the scanning of the identification code of the object to be processed fails, the code scanning control device 4000 further includes: a module for acquiring the number of scanning failures of the object to be processed.

[0085] The position adjustment module 4200 is used to execute the step of adjusting the position of the scanner when the number of scanning failures is less than or equal to a set number of times.

[0086] In one embodiment of the present disclosure, the code scanning control device 4000 further includes: a module for issuing an alarm when the number of scanning failures is greater than the set number.

[0087] In one embodiment of the present disclosure, controlling the motor module to drive the barcode scanner to move so as to adjust the position of the barcode scanner includes:

[0088] Obtaining the number of scan failures of the object to be processed;

[0089] The motor module is controlled to drive the scanner to move according to the number of scanning failures.

[0090] In one embodiment of the present disclosure, controlling the motor module to drive the scanner to move according to the number of scanning failures includes:

[0091] Determining a target displacement of the scanner according to the number of scan failures;

[0092] The motor module is controlled to drive the barcode scanner to move according to the target displacement.

[0093] In one embodiment of the present disclosure, the

[0094] The controlling the motor module to drive the scanner to move according to the number of scanning failures includes:

[0095] Obtaining a position offset coefficient corresponding to the number of scanning failures;

[0096] Obtaining a target position of the barcode scanner according to the position offset coefficient, the set adjustment interval, and the initial position of the barcode scanner;

[0097] The motor module is controlled to drive the barcode scanner to move to the target position.

[0098] In one embodiment of the present disclosure, the scanning control module 4100 is also used to control the scanner to re-scan the identification code of the object to be processed after the position adjustment module controls the motor module to drive the scanner to move to adjust the position of the scanner.

[0099] In one embodiment of the present disclosure, the code scanning control device 4000 further includes: a module for processing the object to be processed when the identification code of the object to be processed is scanned successfully.

[0100] <Processing Equipment Example>

[0101] This embodiment provides a processing device such as Figure 5 As shown, the processing equipment 5000 may include a processor 5100 and a memory 5200, wherein the memory 5200 is used to store a computer program, and the processor 5100 is used to control the processing equipment to execute the method of any embodiment of the present disclosure under the control of the computer program.

[0102] <Readable Storage Medium Embodiment>

[0103] This embodiment provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the method described in any method embodiment of the present disclosure is executed.

[0104] The present invention may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present invention.

[0105] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0106] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0107] The computer program instructions for performing the operation of the present invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be personalized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present invention.

[0108] Various aspects of the present invention are described herein with reference to the flow charts and / or block diagrams of the methods, devices (systems) and computer program products according to embodiments of the present invention. It should be understood that each box of the flow chart and / or block diagram and the combination of each box in the flow chart and / or block diagram can be implemented by computer-readable program instructions.

[0109] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0110] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0111] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a part of a module, a program segment or an instruction, and a part of the module, a program segment or an instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that it is equivalent to implement it by hardware, implement it by software, and implement it by combining software and hardware.

[0112] Embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the marketplace, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the present invention is defined by the appended claims.

Claims

1. A code scanning control method, characterized in that: include: Controlling a barcode scanner fixed on the motor module to scan the identification code of the object to be processed located at the target station; In the case where the identification code scanning of the object to be processed fails, the motor module is controlled to drive the code scanner to move so as to adjust the position of the code scanner.

2. The method according to claim 1, characterized in that In the case where the scanning of the identification code of the object to be processed fails, the method further includes: Obtaining the number of scan failures of the object to be processed; When the number of scanning failures is less than or equal to the set number, the step of adjusting the position of the scanner is performed.

3. The method according to claim 2, characterized in that The method further comprises: When the number of scan failures is greater than the set number, an alarm is issued.

4. The method according to claim 1, characterized in that: The controlling the motor module to drive the barcode scanner to move so as to adjust the position of the barcode scanner includes: Obtaining the number of scan failures of the object to be processed; The motor module is controlled to drive the scanner to move according to the number of scanning failures.

5. The method according to claim 4, characterized in that The controlling the motor module to drive the scanner to move according to the number of scanning failures includes: Determining a target displacement of the scanner according to the number of scan failures; The motor module is controlled to drive the barcode scanner to move according to the target displacement.

6. The method according to claim 4, characterized in that The controlling the motor module to drive the scanner to move according to the number of scanning failures includes: Obtaining a position offset coefficient corresponding to the number of scanning failures; Obtaining a target position of the barcode scanner according to the position offset coefficient, the set adjustment interval, and the initial position of the barcode scanner; The motor module is controlled to drive the barcode scanner to move to the target position.

7. The method according to claim 1, characterized in that After controlling the motor module to drive the barcode scanner to move so as to adjust the position of the barcode scanner, the method further includes: The code scanner is controlled to rescan the identification code of the object to be processed.

8. A code scanning control device, characterized in that: include: A scanning control module, used to control a barcode scanner fixed on the motor module to scan an identification code of an object to be processed located at a target station; The position adjustment module is used to control the motor module to drive the scanner to move so as to adjust the position of the scanner when the scanning of the identification code of the object to be processed fails.

9. A processing equipment, characterized in that: The method comprises a processor and a memory, wherein the memory is used to store a computer program, and the processor is used to execute the method according to any one of claims 1 to 7 under the control of the computer program.

10. A computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the method according to any one of claims 1 to 7 when executed by a processor.