Methods, apparatus and systems, electronic devices and storage media for identifying multiple barcodes

By automatically matching and switching the cursor input barcode information using electronic devices, the problem of multiple steps and high difficulty in barcode recognition is solved, improving recognition efficiency and accuracy, and achieving a compact barcode layout.

CN116704532BActive Publication Date: 2026-04-03SUZHOU GAOCHUANG MOTION CONTROL TECHNOLOGY CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-28
Publication Date
2026-04-03

AI Technical Summary

Technical Problem

In existing technologies, recognizing multiple barcodes on a product requires separate and independent scanning, which increases the number of steps, time, and difficulty, and reduces recognition efficiency.

Method used

The system acquires barcode information via electronic devices and verifies its correctness. It then automatically matches and inputs the information into the target barcode frame, automatically switching the cursor until all barcode information has been entered.

Benefits of technology

It reduces user operation steps and time, improves recognition efficiency, ensures input accuracy, and allows barcodes to be compactly arranged in the same area, reducing the number of operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116704532B_ABST
    Figure CN116704532B_ABST
Patent Text Reader

Abstract

This invention proposes a method, apparatus, system, electronic device, and storage medium for identifying multiple barcodes. The multiple barcode identification method is executed by an electronic device and includes: acquiring barcode information, which is obtained by a user scanning a target image through a scanning device. The target image includes N barcodes, and the N barcodes correspond to N barcode frames on the display interface of the electronic device; verifying the correctness of the barcode information based on its feature information and the type of the target barcode frames on the display interface; if the barcode information is successfully verified, inputting the barcode information into the target barcode frames, moving the input cursor to the next target barcode frame on the display interface, acquiring new barcode information, and verifying its correctness, until the barcode information of N barcodes is input into the N barcode frames.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of barcode recognition technology, and more specifically, to a method, apparatus and system, electronic device and storage medium for recognizing multiple barcodes. Background Technology

[0002] Currently, with the widespread use of smartphones and barcode scanners, barcodes and QR codes are increasingly widely used in daily life and production, bringing great convenience. To facilitate management in production, warehousing, logistics, sales, and after-sales service, multiple barcodes are often affixed or printed on products. These barcodes carry information such as product code, production serial number, hardware version, firmware version, and special markings. Furthermore, to prevent the loss of this information due to barcode detachment, erasure, modification, or replacement, multiple barcodes on the product are scanned and input to store this information.

[0003] However, currently, when identifying and inputting multiple barcodes on a product, it is often necessary to independently affix or print each barcode in different locations on the product, and then accurately locate and scan each barcode to input the corresponding barcode information into different locations. This increases the number of steps, time, and difficulty of barcode recognition, and reduces the efficiency of barcode recognition. Summary of the Invention

[0004] The present invention aims to solve at least one of the technical problems existing in the prior art or related art.

[0005] Therefore, the first aspect of the present invention is to provide a method for identifying multiple barcodes.

[0006] A second aspect of the present invention is to provide a multi-barcode identification device.

[0007] A third aspect of the invention is to provide another multi-barcode identification device.

[0008] A fourth aspect of the present invention is to provide an electronic device.

[0009] The fifth aspect of the present invention is to provide a multi-barcode identification system.

[0010] The sixth aspect of the present invention is to provide a readable storage medium.

[0011] The seventh aspect of the present invention is to provide a computer program product.

[0012] In view of this, according to one aspect of the present invention, a method for identifying multiple barcodes is proposed. This method is executed by an electronic device and includes: acquiring barcode information, wherein the barcode information is obtained by a user scanning a target image through a target operation of a scanning device; the target image includes N barcodes, and the N barcodes correspond to N barcode frames in the display interface of the electronic device; verifying the correctness of the barcode information based on its feature information and the type of the target barcode frames in the display interface; if the barcode information is successfully verified, inputting the barcode information into the target barcode frames, moving the input cursor to the next target barcode frame in the display interface, acquiring new barcode information and verifying its correctness, until the barcode information of N barcodes is input into the N barcode frames.

[0013] The execution subject of the multi-barcode recognition method provided by this invention can be an electronic device, a multi-barcode recognition device, or something else depending on actual usage requirements; no specific limitation is made here. To more clearly describe the multi-barcode recognition method provided by this invention, the following description uses an electronic device as the execution subject.

[0014] The multi-barcode identification method provided by this invention is used to identify multiple barcodes pasted or printed on a target object. By using the multi-barcode identification method provided by this invention to identify multiple barcodes pasted or printed on a target object, the operation steps, operation time and operation difficulty in the barcode identification process can be reduced, thereby improving the barcode identification efficiency.

[0015] Furthermore, the multi-barcode identification method provided by this invention is executed by an electronic device.

[0016] Specifically, in the multi-barcode recognition method provided by this invention, during the process of recognizing multiple barcodes pasted or printed on a target object using an electronic device, the user can perform a target operation on a scanning device to scan the target image of the target object, thereby recognizing any one of the N barcodes in the target image and obtaining the corresponding barcode information. Based on this, the electronic device communicates with the scanning device, and the electronic device acquires the barcode information obtained by the scanning device. Further, the N barcodes in the target image correspond to N barcode frames on the display interface of the electronic device. After the electronic device acquires the aforementioned barcode information, it verifies the correctness of the acquired barcode information based on the type of the target barcode frame where the input cursor is located on its display interface and the feature information of the acquired barcode information, to determine whether the acquired barcode information matches the target barcode frame where the input cursor is located.

[0017] Based on this, if the obtained barcode information is successfully verified, that is, if the obtained barcode information matches the target barcode frame where the input cursor is located, the electronic device inputs the barcode information into the corresponding target barcode frame, that is, the electronic device displays the barcode information in the corresponding target barcode frame on its display interface. Furthermore, the electronic device automatically moves the input cursor to the next target barcode frame on its display interface. At this time, the user can perform a target operation on the scanning device to scan the target image of the target object again to obtain new barcode information. The electronic device can obtain this new barcode information and verify its correctness. If the new barcode information is successfully verified, it inputs the new barcode information into its corresponding target barcode frame. This process is repeated until the barcode information of the above N barcodes has been input into N barcode frames, completing the recognition operation of multiple barcodes in the target object.

[0018] In this way, during the recognition of multiple barcodes, the system automatically matches and inputs barcode information based on the type of the target barcode frame and the characteristics of the barcode information. It also automatically switches the input cursor, reducing user steps and time. Furthermore, barcodes that fail verification are not entered, improving input accuracy. Based on this, users do not need to precisely align each barcode for scanning; they can trigger multiple scans by performing multiple target operations on the scanning device, thus obtaining the corresponding barcode information. This reduces the operational difficulty of barcode recognition and improves recognition efficiency. Additionally, the automatic matching and input of barcode information based on the type of the target barcode frame and the characteristics of the barcode information allows multiple barcodes to be compactly arranged within the same area, reducing the surface area occupied by the barcodes and decreasing the number of operations required for affixing or printing barcodes, further improving operational efficiency.

[0019] The multi-barcode identification method according to the present invention may also have the following additional technical features:

[0020] In the above technical solution, after verifying the correctness of the barcode information, the method for recognizing multiple barcodes also includes: if the barcode information verification fails, acquiring new barcode information and verifying its correctness until the barcode information verification is successful.

[0021] In this technical solution, if the verification of the acquired barcode information fails—that is, if the acquired barcode information does not match the target barcode frame where the input cursor is located—the user can perform a target operation on the scanning device to scan the target image of the target object again to obtain new barcode information. The electronic device then acquires this new barcode information and continues to verify its correctness. If the new barcode information is successfully verified, the electronic device inputs it into its corresponding target barcode frame. If the verification fails, the electronic device continues to acquire new barcode information and repeats the above verification steps, repeating this process until the new barcode information is successfully verified. In this way, during the recognition of multiple barcodes, the barcode information is automatically matched and input based on the type of the target barcode frame and the feature information of the barcode information. Barcode information that fails verification is not input, thus improving the accuracy of barcode input. Based on this, users do not need to precisely align each barcode for scanning. Users can trigger multiple scanning operations by performing multiple target operations on the scanning device to obtain the corresponding barcode information, thereby reducing the operational difficulty for users in the barcode recognition process and improving the recognition efficiency of barcodes.

[0022] In any of the above technical solutions, the correctness verification of the barcode information is performed based on the feature information of the barcode information and the type of the target barcode frame in the display interface, including: obtaining the character length of the barcode information; if the character length does not meet a first condition, determining that the barcode information verification fails, the first condition being related to the type of the target barcode frame; if the character length meets the first condition, converting the barcode information into code information, and performing correctness verification of the barcode information based on the code information and the type of the target barcode frame.

[0023] In this technical solution, the aforementioned feature information may specifically include the character length of the barcode information and the code information corresponding to the barcode information. Based on this, during the process of the electronic device verifying the correctness of the acquired barcode information according to the type of the target barcode frame where the input cursor is located on its display interface and the feature information of the acquired barcode information, specifically, the electronic device acquires the character length of the barcode information and matches this character length with the first condition corresponding to the target barcode frame. If the character length of the barcode information does not match the first condition corresponding to the target barcode frame, the electronic device determines that the barcode information is incorrect, that is, it determines that the barcode information verification fails, or that the barcode information does not match the target barcode frame where the input cursor is located. At this time, the electronic device will not perform an input operation on the barcode information, but will wait to receive the next scan input.

[0024] Furthermore, if the character length of the barcode information matches the first condition corresponding to the target barcode frame, the electronic device will convert the barcode information into corresponding code information. Based on the type of the target barcode frame where the input cursor is located and the converted code information, the device will continue to verify the correctness of the acquired barcode information to determine whether it matches the target barcode frame where the input cursor is located. In this way, by verifying the correctness of the barcode information based on the type of the target barcode frame, the character length of the barcode information, and the code information, the accuracy of the barcode information verification is ensured, thereby improving the accuracy of subsequent barcode information input and increasing the recognition efficiency of barcode identification.

[0025] In any of the above technical solutions, the correctness of the barcode information is verified based on the code information and the type of the target barcode frame, including: if the code information meets the second condition, the barcode information is determined to be successfully verified, and the second condition is related to the type of the target barcode frame; if the code information does not meet the second condition, the barcode information is determined to be unverified.

[0026] In this technical solution, during the process of the electronic device continuing to verify the correctness of the acquired barcode information based on the type of the target barcode frame where the input cursor is located and the converted code information, specifically, the electronic device matches the converted code information with the second condition corresponding to the target barcode frame. Based on this, if the code information matches the second condition corresponding to the target barcode frame, the electronic device determines that the barcode information is correct, that is, that the barcode information has been successfully verified, and that the barcode information matches the target barcode frame where the input cursor is located. At this point, the electronic device inputs the barcode information into the corresponding target barcode frame; that is, the electronic device displays the barcode information in the corresponding target barcode frame on its display interface.

[0027] Furthermore, if the code information does not match the second condition corresponding to the target barcode frame, the electronic device determines that the barcode information is incorrect, that is, the barcode verification fails, or that the barcode information does not match the target barcode frame where the input cursor is located. In this case, the electronic device will not perform an input operation on the barcode information but will wait to receive the next scan input. In this way, by verifying the correctness of the barcode information based on the type of the target barcode frame and the code information corresponding to the barcode information, the accuracy of the barcode information correctness verification is ensured, thereby improving the accuracy of subsequent barcode information input and increasing the recognition efficiency of barcode identification.

[0028] In any of the above technical solutions, the first condition is: the character length of the barcode information is the target length, and the target length is related to the type of the target barcode frame.

[0029] In this technical solution, the first condition can specifically be: the character length of the barcode information reaches the target length corresponding to the target barcode frame. For example, if the target length corresponding to the target barcode frame is 13 characters, the first condition is: the character length of the barcode information is 13 characters.

[0030] In any of the above technical solutions, the second condition is: the code information indicates that the first M characters of the barcode information are the target form, and the code information indicates that the (M+1)th character of the barcode information is the target character, and the target form and the target character are related to the type of the target barcode frame.

[0031] In this technical solution, the second condition mentioned above can specifically be: the code information indicates that the first M characters of the barcode information are the target form, and the code information indicates that the (M+1)th character of the barcode information is the target character.

[0032] The target characters and target formats mentioned above are all related to the type of the target barcode frame.

[0033] Furthermore, M is a positive integer, and the specific value of M is related to the type of the target barcode frame. Those skilled in the art can set the specific value of M according to the actual situation, without making specific restrictions here.

[0034] In any of the above technical solutions, the target image corresponds to the target object. After the barcode information of N barcodes is input into N barcode frames, the multi-barcode recognition method further includes: writing the N barcode information into the storage area of ​​the target object; reading the N stored information in the storage area; comparing the N stored information and the N barcode information in sequence; and determining the writing result of the N barcode information based on the comparison result.

[0035] In this technical solution, the target image corresponds to the target object; that is, the aforementioned N barcodes are barcodes pasted or printed on the target object. Based on this, after the electronic device recognizes and inputs the barcode information of the N barcodes in the target image, and inputs the barcode information of all N barcodes into their corresponding barcode frames, to prevent the loss of barcode information on the target object due to barcode detachment, erasure, modification, or replacement, the electronic device also stores the barcode information input into each barcode frame in the target object's storage area, such as storing the N barcode information in the non-volatile memory inside the target object. Further, after storing all N barcode information in the target object's storage area, the electronic device also reads back the N barcode information written into the storage area to obtain N stored information. Then, it compares the N barcode information input into the barcode frames with the N stored information read, and based on the comparison results, determines the writing and storage result of each barcode information, that is, determines whether each barcode information has been successfully stored in the target object's storage area. In this way, after inputting the barcode information of N barcodes into the corresponding barcode frames, the N barcode information is stored in the storage area of ​​the target object. By using a readback operation to determine the writing result of each barcode information, the barcode information is ensured to be accurately written into the storage area of ​​the target object, thereby avoiding the loss of barcode information.

[0036] In any of the above technical solutions, the target operation is the user's shaking operation of the scanning device.

[0037] In this technical solution, the aforementioned target operation can specifically be a user's shaking or moving operation of the scanning device.

[0038] According to a second aspect of the present invention, a multi-barcode identification device is provided, which is applied to an electronic device. The multi-barcode identification device includes: an acquisition unit for acquiring barcode information, wherein the barcode information is obtained by a user scanning a target image through a target operation of a scanning device, the target image including N barcodes, and the N barcodes corresponding to N barcode frames in the display interface of the electronic device; a processing unit for verifying the correctness of the barcode information based on the feature information of the barcode information and the type of the target barcode frames in the display interface; the processing unit is further configured to, if the barcode information is successfully verified, input the barcode information into the target barcode frames, move the input cursor to the next target barcode frame in the display interface, acquire new barcode information and verify its correctness, until the barcode information of N barcodes is input into the N barcode frames.

[0039] The multi-barcode recognition device provided by this invention is used to recognize multiple barcodes pasted or printed on a target object. When recognizing multiple barcodes pasted or printed on a target object, the multi-barcode recognition device provided by this invention can reduce the operation steps, operation time and operation difficulty in the barcode recognition process, thereby improving the recognition efficiency of barcodes.

[0040] Furthermore, the multi-barcode recognition device provided by this invention is applied to electronic devices. Specifically, the multi-barcode recognition device provided by this invention includes an acquisition unit and a processing unit. During the process of recognizing multiple barcodes pasted or printed on a target object, the user can perform a target operation by scanning the target image of the target object using the scanning device to recognize any one of the N barcodes in the target image and obtain the corresponding barcode information. Based on this, the acquisition unit acquires the barcode information obtained by the scanning device. Further, the N barcodes in the target image correspond to N barcode frames in the display interface of the electronic device. After the acquisition unit acquires the above barcode information, the processing unit verifies the correctness of the acquired barcode information based on the type of the target barcode frame where the input cursor is located in the display interface of the electronic device and the feature information of the acquired barcode information, to determine whether the acquired barcode information matches the target barcode frame where the input cursor is located.

[0041] Based on this, if the obtained barcode information is successfully verified, that is, if the obtained barcode information matches the target barcode frame where the input cursor is located, the processing unit inputs the barcode information into the corresponding target barcode frame, that is, displays the barcode information in the corresponding target barcode frame on the display interface of the electronic device. Furthermore, the processing unit automatically moves the input cursor to the next target barcode frame on the display interface of the electronic device. At this time, the user can perform a target operation on the scanning device to scan the target image of the target object again to obtain new barcode information. The acquisition unit can acquire this new barcode information, and the processing unit verifies the correctness of the new barcode information. If the new barcode information is successfully verified, it is input into its corresponding target barcode frame. This process is repeated until the barcode information of the above N barcodes has been input into the N barcode frames, completing the recognition operation of multiple barcodes in the target object.

[0042] In this way, during the recognition of multiple barcodes, the system automatically matches and inputs barcode information based on the type of the target barcode frame and the characteristics of the barcode information. It also automatically switches the input cursor, reducing user steps and time. Furthermore, barcodes that fail verification are not entered, improving input accuracy. Based on this, users do not need to precisely align each barcode for scanning; they can trigger multiple scans by performing multiple target operations on the scanning device, thus obtaining the corresponding barcode information. This reduces the operational difficulty of barcode recognition and improves recognition efficiency. Additionally, the automatic matching and input of barcode information based on the type of the target barcode frame and the characteristics of the barcode information allows multiple barcodes to be compactly arranged within the same area, reducing the surface area occupied by the barcodes and decreasing the number of operations required for affixing or printing barcodes, further improving operational efficiency.

[0043] According to a third aspect of the present invention, another multi-barcode identification device is proposed, comprising: a memory storing a program or instructions; and a processor, which, when executing the program or instructions, implements the steps of the multi-barcode identification method as described in any of the above-described technical solutions. Therefore, the multi-barcode identification device proposed in the third aspect of the present invention possesses all the beneficial effects of the multi-barcode identification method in any of the technical solutions of the first aspect described above, and will not be elaborated further here.

[0044] According to a fourth aspect of the present invention, an electronic device is provided, comprising: the multi-barcode recognition device of the third aspect of the technical solution described above. The electronic device proposed in the fourth aspect of the present invention includes the multi-barcode recognition device of the third aspect of the technical solution described above. Therefore, the electronic device proposed in the fourth aspect of the present invention possesses all the beneficial effects of the multi-barcode recognition device of the third aspect of the technical solution described above, which will not be elaborated further here.

[0045] According to a fifth aspect of the present invention, a multi-barcode identification system is provided, comprising: a scanning device for scanning a target image in response to a user's target operation to obtain corresponding barcode information; and an electronic device as described in the fourth aspect above, wherein the electronic device is communicatively connected to the scanning device.

[0046] The multi-barcode identification system proposed in the fifth aspect of this invention includes the electronic device described in the fourth aspect of the technical solution. Therefore, the multi-barcode identification system proposed in the fifth aspect of this invention possesses all the beneficial effects of the electronic device described in the fourth aspect of the technical solution, which will not be elaborated further here.

[0047] According to a sixth aspect of the present invention, a readable storage medium is provided on which a program or instructions are stored, which, when executed by a processor, implement the multi-barcode recognition method as described in any of the above-described technical solutions. Therefore, the readable storage medium proposed in the sixth aspect of the present invention possesses all the beneficial effects of the multi-barcode recognition method in any of the technical solutions of the first aspect, and will not be elaborated further here.

[0048] According to a seventh aspect of the present invention, a computer program product is provided, comprising a computer program that, when executed by a processor, implements the multi-barcode recognition method as described in any of the above-described technical solutions. Therefore, the computer program product proposed in the seventh aspect of the present invention possesses all the beneficial effects of the multi-barcode recognition method in any of the technical solutions of the first aspect, which will not be elaborated further here.

[0049] Additional aspects and advantages of the invention will become apparent in the following description or may be learned by practice of the invention. Attached Figure Description

[0050] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which:

[0051] Figure 1 One of the flowcharts of a method for recognizing multiple barcodes according to an embodiment of the present invention is shown;

[0052] Figure 2 This is a second schematic flowchart of a multi-barcode identification method according to an embodiment of the present invention;

[0053] Figure 3 The third schematic flowchart of the multi-barcode recognition method according to an embodiment of the present invention is shown;

[0054] Figure 4 The fourth flowchart illustrates the multi-barcode identification method according to an embodiment of the present invention.

[0055] Figure 5 An example barcode diagram of an embodiment of the present invention is shown;

[0056] Figure 6 A schematic diagram of the display interface of an electronic device according to an embodiment of the present invention is shown;

[0057] Figure 7 This diagram illustrates one of the structural block diagrams of a multi-barcode identification device according to an embodiment of the present invention;

[0058] Figure 8 The second structural block diagram of the multi-barcode recognition device according to an embodiment of the present invention is shown;

[0059] Figure 9A structural block diagram of an electronic device according to an embodiment of the present invention is shown;

[0060] Figure 10 A structural block diagram of a multi-barcode identification system according to an embodiment of the present invention is shown. Detailed Implementation

[0061] To better understand the above-mentioned objectives, features, and advantages of the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that, unless otherwise specified, the embodiments of the present invention and the features thereof can be combined with each other.

[0062] Many specific details are set forth in the following description in order to provide a full understanding of the invention. However, the invention may also be practiced in other ways different from those described herein, and therefore the scope of protection of the invention is not limited to the specific embodiments disclosed below.

[0063] The following is combined with Figures 1 to 10 The present application provides a detailed description of the multi-barcode recognition method, apparatus and system, electronic device and storage medium provided in the embodiments of this application through specific implementation methods and application scenarios.

[0064] In one embodiment of the present invention, such as Figure 1 As shown, the method for identifying multiple barcodes may specifically include the following steps 102 to 106:

[0065] Step 102: Obtain barcode information;

[0066] Step 104: Verify the correctness of the barcode information based on its feature information and the type of the target barcode frame in the display interface;

[0067] Step 106: If the barcode information is successfully verified, input the barcode information into the target barcode frame, move the input cursor to the next target barcode frame in the display interface, obtain the new barcode information and verify its correctness, until the barcode information of N barcodes is input into N barcode frames;

[0068] The barcode information is obtained by the user scanning the target image through the target operation of the scanning device. The target image includes N barcodes, and the N barcodes correspond to N barcode frames in the display interface of the electronic device.

[0069] The execution subject of the multi-barcode recognition method provided by this invention can be an electronic device, a multi-barcode recognition device, or something else depending on actual usage requirements; no specific limitation is made here. To more clearly describe the multi-barcode recognition method provided by this invention, the following description uses an electronic device as the execution subject.

[0070] The multi-barcode identification method provided by this invention is used to identify multiple barcodes pasted or printed on a target object. By using the multi-barcode identification method provided by this invention to identify multiple barcodes pasted or printed on a target object, the operation steps, operation time and operation difficulty in the barcode identification process can be reduced, thereby improving the barcode identification efficiency.

[0071] Furthermore, the multi-barcode identification method provided by this invention is executed by an electronic device. In practical applications, the aforementioned electronic device can specifically be an intelligent electronic device with information processing capabilities, such as a production management terminal, an information management platform, a desktop computer, a tablet computer, or a laptop computer, etc., without specific limitations.

[0072] Specifically, in the multi-barcode recognition method provided by this invention, during the process of recognizing multiple barcodes pasted or printed on a target object using an electronic device, the user can perform a target operation on a scanning device to scan the target image of the target object, thereby recognizing any one of the N barcodes in the target image and obtaining the corresponding barcode information. Based on this, the electronic device communicates with the scanning device, and the electronic device acquires the barcode information obtained by the scanning device. Further, the N barcodes in the target image correspond to N barcode frames on the display interface of the electronic device. After the electronic device acquires the aforementioned barcode information, it verifies the correctness of the acquired barcode information based on the type of the target barcode frame where the input cursor is located on its display interface and the feature information of the acquired barcode information, to determine whether the acquired barcode information matches the target barcode frame where the input cursor is located.

[0073] Based on this, if the obtained barcode information is successfully verified, that is, if the obtained barcode information matches the target barcode frame where the input cursor is located, the electronic device inputs the barcode information into the corresponding target barcode frame, that is, the electronic device displays the barcode information in the corresponding target barcode frame on its display interface. Furthermore, the electronic device automatically moves the input cursor to the next target barcode frame on its display interface. At this time, the user can perform a target operation on the scanning device to scan the target image of the target object again to obtain new barcode information. The electronic device can obtain this new barcode information and verify its correctness. If the new barcode information is successfully verified, it inputs the new barcode information into its corresponding target barcode frame. This process is repeated until the barcode information of the above N barcodes has been input into N barcode frames, completing the recognition operation of multiple barcodes in the target object.

[0074] In this way, during the recognition of multiple barcodes, the system automatically matches and inputs barcode information based on the type of the target barcode frame and the characteristics of the barcode information. It also automatically switches the input cursor, reducing user steps and time. Furthermore, barcodes that fail verification are not entered, improving input accuracy. Based on this, users do not need to precisely align each barcode for scanning; they can trigger multiple scans by performing multiple target operations on the scanning device, thus obtaining the corresponding barcode information. This reduces the operational difficulty of barcode recognition and improves recognition efficiency. Additionally, the automatic matching and input of barcode information based on the type of the target barcode frame and the characteristics of the barcode information allows multiple barcodes to be compactly arranged within the same area, reducing the surface area occupied by the barcodes and decreasing the number of operations required for affixing or printing barcodes, further improving operational efficiency.

[0075] Where N is a positive integer greater than 1.

[0076] Furthermore, in practical applications, the above-mentioned barcode can be a one-dimensional barcode, i.e., a barcode, or a two-dimensional barcode, i.e., a QR code; no specific restrictions are made here.

[0077] Furthermore, it is understandable that there must be at least one difference in the content between multiple barcodes. For example, the number of digits in multiple barcodes may differ: some barcodes are 8 digits, some are 12 digits, and some are 15 digits; or, multiple barcodes may use different representations: some barcodes are purely numerical, such as 12345678; some are purely alphanumeric, such as ABCDEFG; some are a combination of numbers and letters, such as 123DFG456; and some barcodes may contain special characters at a certain position, such as 123-ABC.

[0078] For example, such as Figure 5 As shown, Figure 5 The image shows example diagrams of three barcodes representing a product code, production serial number, and firmware version, respectively, in practical applications. For example... Figure 5 As shown, the three barcodes differ in the number of digits and their representation. The product code is 13 digits long, with the first four digits being letters; the serial number is 12 digits long, with the last seven digits being numbers; and the firmware version is 2 digits long, with the first digit being a letter and the second a number. Thus, by analyzing the characteristics of the barcode information, such as the number of digits and its representation, the type of barcode information can be determined.

[0079] Furthermore, the N barcodes in the target image correspond to the N barcode frames on the display interface of the electronic device. For example, as... Figure 6As shown, when the above N barcodes include three barcodes representing a product code, production serial number, and firmware version, the display interface of the electronic device includes three barcode boxes for inputting the product code, production serial number, and firmware version, respectively.

[0080] Furthermore, the aforementioned feature information may specifically include key feature information and unique feature information of the barcode information. By identifying and analyzing the key feature information and unique feature information of the barcode information, the barcode type corresponding to the barcode information can be determined. Furthermore, by identifying the type of the target barcode frame, the barcode type matching the target barcode frame can be determined.

[0081] Based on this, by comparing the barcode type indicated by the target barcode frame with the barcode type indicated by the barcode information, it can be determined whether the barcode information matches the target barcode frame; or, by comparing the barcode feature information indicated by the target barcode frame with the feature information of the barcode information, it can also be determined whether the barcode information matches the target barcode frame.

[0082] In addition, in practical applications, the aforementioned scanning device can be a barcode scanner, a smartphone, a tablet computer, or any other device that can communicate and interact with the aforementioned electronic device and has a barcode scanning function; no specific restrictions are imposed here.

[0083] In embodiments of the present invention, optionally, such as Figure 2 As shown, after step 104 above, the above-mentioned multi-barcode identification method may further include the following step 108:

[0084] Step 108: If the barcode information verification fails, obtain new barcode information and verify its correctness until the barcode information verification is successful.

[0085] In this embodiment, if the verification of the acquired barcode information fails—that is, if the acquired barcode information does not match the target barcode frame where the input cursor is located—the user can perform a target operation on the scanning device to scan the target image of the target object again to obtain new barcode information. The electronic device then acquires this new barcode information and continues to verify its correctness. If the new barcode information is successfully verified, the electronic device inputs it into its corresponding target barcode frame. If the verification fails, the electronic device continues to acquire new barcode information and repeats the above verification steps, repeating this process until the new barcode information is successfully verified. In this way, during the recognition of multiple barcodes, the barcode information is automatically matched and input based on the type of the target barcode frame and the feature information of the barcode information. Barcode information that fails verification is not input, improving the accuracy of barcode information input. Based on this, users do not need to precisely align each barcode for scanning. Users can trigger multiple scanning operations by performing multiple target operations on the scanning device to obtain the corresponding barcode information, thereby reducing the operational difficulty for users in the barcode recognition process and improving the recognition efficiency of barcodes.

[0086] In embodiments of the present invention, optionally, such as Figure 3 As shown, step 104 above may specifically include steps 104a to 104c as follows:

[0087] Step 104a: Obtain the character length of the barcode information;

[0088] Step 104b: If the character length does not match the first condition, the barcode information is determined to be incorrect;

[0089] Step 104c: If the character length matches the first condition, determine the corresponding code information based on the barcode information, and verify the correctness of the barcode information based on the type of the target barcode frame and the code information.

[0090] The first condition is related to the type of the target barcode frame.

[0091] In this embodiment, the aforementioned feature information may specifically include the character length of the barcode information and the code information corresponding to the barcode information. Based on this, during the process of the electronic device verifying the correctness of the acquired barcode information according to the type of the target barcode frame where the input cursor is located on its display interface and the feature information of the acquired barcode information, specifically, the electronic device acquires the character length of the barcode information and matches this character length with the first condition corresponding to the target barcode frame. If the character length of the barcode information does not match the first condition corresponding to the target barcode frame, the electronic device determines that the barcode information is incorrect, that is, it determines that the barcode information verification fails, or that the barcode information does not match the target barcode frame where the input cursor is located. At this time, the electronic device will not perform an input operation on the barcode information, but will wait to receive the next scan input.

[0092] Furthermore, if the character length of the barcode information matches the first condition corresponding to the target barcode frame, the electronic device will convert the barcode information into corresponding code information. Based on the type of the target barcode frame where the input cursor is located and the converted code information, the device will continue to verify the correctness of the acquired barcode information to determine whether it matches the target barcode frame where the input cursor is located. In this way, by verifying the correctness of the barcode information based on the type of the target barcode frame, the character length of the barcode information, and the code information, the accuracy of the barcode information verification is ensured, thereby improving the accuracy of subsequent barcode information input and increasing the recognition efficiency of barcode identification.

[0093] In practical applications, the aforementioned code information can specifically be ASCII (American Standard Code for Information Interchange) information corresponding to barcode information, without any specific restrictions.

[0094] Furthermore, in practical applications, the first condition mentioned above can specifically be: the character length of the barcode information reaches the target length corresponding to the target barcode frame. For example, if the target length corresponding to the target barcode frame is 13 characters, then the first condition mentioned above is: the character length of the barcode information is 13 characters.

[0095] In an embodiment of the present invention, optionally, the step of verifying the correctness of barcode information based on the type of the target barcode frame and the code information may specifically include the following steps 110 and 112:

[0096] Step 110: If the code information matches the second condition, determine that the barcode information is correct;

[0097] Step 112: If the code information does not match the second condition, determine that the barcode information is incorrect;

[0098] The second condition is related to the type of the target barcode frame.

[0099] In this embodiment, during the process of the electronic device continuing to verify the correctness of the acquired barcode information based on the type of the target barcode frame where the input cursor is located and the converted code information, specifically, the electronic device matches the converted code information with the second condition corresponding to the target barcode frame. Based on this, if the code information matches the second condition corresponding to the target barcode frame, the electronic device determines that the barcode information is correct, that is, that the barcode information has been successfully verified, and that the barcode information matches the target barcode frame where the input cursor is located. At this time, the electronic device inputs the barcode information into the corresponding target barcode frame; that is, the electronic device displays the barcode information in the corresponding target barcode frame on its display interface.

[0100] Furthermore, if the code information does not match the second condition corresponding to the target barcode frame, the electronic device determines that the barcode information is incorrect, that is, the barcode verification fails, or that the barcode information does not match the target barcode frame where the input cursor is located. In this case, the electronic device will not perform an input operation on the barcode information but will wait to receive the next scan input. In this way, by verifying the correctness of the barcode information based on the type of the target barcode frame and the code information corresponding to the barcode information, the accuracy of the barcode information correctness verification is ensured, thereby improving the accuracy of subsequent barcode information input and increasing the recognition efficiency of barcode identification.

[0101] In practical applications, the second condition mentioned above can specifically be: the code representation method indicated by the code information is the same as the code representation method corresponding to the target barcode frame. For example, if the code representation method corresponding to the target barcode frame is that the first character of the barcode information is a letter and the second character is a number, then the second condition above is: the code representation method indicated by the code information is that the first character of the barcode information is a letter and the second character is a number.

[0102] In an embodiment of the present invention, optionally, the first condition is: the character length of the barcode information is the target length.

[0103] In this embodiment, the first condition can specifically be: the character length of the barcode information reaches the target length corresponding to the target barcode frame. For example, if the target length corresponding to the target barcode frame is 13 characters, the first condition is: the character length of the barcode information is 13 characters.

[0104] The target length is related to the type of the target barcode frame.

[0105] Understandably, the number of characters in a barcode varies depending on the type of barcode. For example, in practical applications, for three barcodes representing a product code, production serial number, and firmware version, the barcode information for the product code is 13 characters, the barcode information for the production serial number is 12 characters, and the barcode information for the firmware version is 2 characters. Based on this, by comparing the character length of the acquired barcode information with the target length indicated by the type of the target barcode frame, a preliminary verification of the barcode information can be performed, thus initially determining whether the acquired barcode information matches the target barcode frame where the input cursor is located.

[0106] In an embodiment of the present invention, optionally, the second condition is: the code information indicates that the first M characters of the barcode information are the target form, and the code information indicates that the (M+1)th character of the barcode information is the target character.

[0107] In this embodiment, the second condition can specifically be: the code expression method indicated by the code information is the same as the code expression method corresponding to the target barcode frame. For example, if the code expression method corresponding to the target barcode frame is that the first character of the barcode information is a letter and the second character is a number, then the second condition is: the code expression method indicated by the code information is that the first character of the barcode information is a letter and the second character is a number.

[0108] Specifically, in this embodiment, the second condition can be: the code information indicates that the first M characters of the barcode information are the target form, and the code information indicates that the (M+1)th character of the barcode information is the target character.

[0109] The target characters and target formats mentioned above are all related to the type of the target barcode frame.

[0110] Furthermore, M is a positive integer, and the specific value of M is related to the type of the target barcode frame. Those skilled in the art can set the specific value of M according to the actual situation, without making specific restrictions here.

[0111] Understandably, different types of barcodes use different methods to represent information. For example, in practical applications, for three barcodes representing a product code, production serial number, and firmware version, the first four characters of the product code are letters, the last seven characters of the production serial number are numbers, and the first character of the firmware version is a letter, and the second character is a number. Based on this, after initially verifying the barcode information by comparing the character length of the barcode information with the target length indicated by the target barcode frame, further verification can be performed by comparing the barcode representation indicated by the code information with the barcode representation indicated by the target barcode frame. This allows for accurate determination of whether the obtained barcode information matches the target barcode frame where the input cursor is located.

[0112] For example, the target barcode frame where the input cursor is located corresponds to a product code. The product code is 13 digits long, with the first four characters being letters and the fifth character being a special character "-". Based on this, during the input operation on the target barcode frame where the input cursor is located, the electronic device sets up a character input array and an integer array of ASCII codes for each character. After each barcode scan, the electronic device first writes the acquired barcode information into the character input array and checks if the length of the read barcode information is 13 digits. If not, the electronic device clears the character input array, preparing for the next scan; if so, the electronic device converts the contents of the character input array to their corresponding ASCII codes and writes them into the integer array. Furthermore, based on the converted ASCII code, the electronic device determines whether the first four characters of the barcode information are all letters, and whether the fifth character of the barcode information is the special character "-". If not, the electronic device simultaneously clears the character input array and the integer array, preparing to process the next scan content; if so, the electronic device copies the contents of the character input array to the target barcode frame and automatically switches the input cursor to the next target barcode frame.

[0113] In practical applications, the second condition mentioned above can also be: the code information indicates that the Kth character of the barcode information is the target format, or the code information indicates that the last L characters of the barcode information are the target format, etc., where K and L are both positive integers. In practical applications, those skilled in the art can set the specific content of the second condition above according to the actual situation, and no specific restrictions are imposed here.

[0114] In this embodiment of the invention, optionally, the target image corresponds to a target object. Based on this, after step 106, the multi-barcode recognition method may further include steps 114 to 120:

[0115] Step 114: Store N barcode information entries into the target object's storage area;

[0116] Step 116: Read N pieces of stored information from the storage area;

[0117] Step 118: Compare N barcode pieces of information and N stored information in sequence;

[0118] Step 120: Determine the storage result of N barcode information based on the comparison result.

[0119] In this embodiment, the target image corresponds to the target object; that is, the aforementioned N barcodes are barcodes pasted or printed on the target object. Based on this, after the electronic device identifies and inputs the barcode information of the N barcodes in the target image to input the barcode information of all N barcodes into their corresponding barcode frames, to prevent the loss of barcode information on the target object due to barcode detachment, erasure, modification, or replacement, the electronic device also stores the barcode information input into each barcode frame in the target object's storage area, such as storing the N barcode information in the non-volatile memory inside the target object. Further, after storing all N barcode information in the target object's storage area, the electronic device also reads back the N barcode information written into the storage area to obtain N stored information. Then, it compares the N barcode information input into the barcode frames with the N stored information read, and based on the comparison results, determines the writing and storage result of each barcode information, that is, determines whether each barcode information has been successfully stored in the target object's storage area. In this way, after inputting the barcode information of N barcodes into the corresponding barcode frames, the N barcode information is stored in the storage area of ​​the target object. By using a readback operation to determine the writing result of each barcode information, the barcode information is ensured to be accurately written into the storage area of ​​the target object, thereby avoiding the loss of barcode information.

[0120] For example, such as Figure 6As shown, when the aforementioned N barcodes include three barcodes representing a product code, production serial number, and firmware version, the electronic device's display interface includes three barcode boxes for inputting the product code, production serial number, and firmware version, respectively. Furthermore, the electronic device's display interface also includes three readback boxes for reading back the product code, production serial number, and firmware version, respectively. The three barcode boxes and three readback boxes correspond one-to-one. Based on this, after inputting the product code, production serial number, and firmware version barcode information into their respective barcode boxes, the electronic device stores this barcode information in the target object's storage area, and then reads back the barcode information stored in the target object's storage area into the corresponding readback boxes. Further, the electronic device sequentially compares the contents of the corresponding barcode boxes and readback boxes to determine the writing result of each barcode information, thereby determining whether each barcode information has been successfully written into the target object's storage area.

[0121] In an embodiment of the present invention, optionally, the target operation is a user shaking operation of the scanning device.

[0122] In this embodiment, the aforementioned target operation can specifically be a user's shaking or moving operation of the scanning device. Specifically, during the process of recognizing multiple barcodes, the user can trigger multiple scanning operations by performing multiple target operations on the scanning device, thereby obtaining the corresponding barcode information. This reduces the operational difficulty for the user in the barcode recognition process and improves the recognition efficiency of barcodes.

[0123] In summary, such as Figure 4 As shown, the multi-barcode identification method proposed in this embodiment of the invention may specifically include the following steps 202 to 222:

[0124] Step 202: The cursor is placed in the first input box;

[0125] Step 204: Slightly shake the barcode scanner to perform multiple scans;

[0126] Step 206: Write the scanned content into the character input array;

[0127] Step 208: Determine if the character length is correct. If yes, proceed to step 212; otherwise, proceed to step 210.

[0128] Step 210: Clear the character input array to prepare for the next receive scan;

[0129] Step 212: Convert all input characters into ASCII codes and write them into an integer array;

[0130] Step 214: Determine if the key features of the character are correct. If yes, proceed to step 218; otherwise, proceed to step 216.

[0131] Step 216: Clear both the character input array and the integer array simultaneously to prepare for the next receiving scan;

[0132] Step 218: Fill in the character input array content in the input box, and clear both the character input array and the integer array;

[0133] Step 220: Determine if all inputs are complete. If yes, end the process. If no, proceed to step 222.

[0134] Step 222: Move the cursor to the next input box.

[0135] The input boxes in steps 202 and 222 are the barcode boxes mentioned above, and the barcode scanner in step 204 is the scanning device mentioned above.

[0136] Through the multi-barcode identification method proposed in the embodiments of the present invention, the present invention achieves at least the following effective effects: multiple barcodes can be compactly arranged in the same area of ​​the target object, reducing the surface area occupied by the barcodes, and reducing the number of user operations when affixing or printing barcodes, thus improving operational efficiency; the scanning device does not need to precisely align each individual barcode, but only needs to slightly shake the barcode area to trigger multiple scanning operations; erroneous identification content is not accepted, improving the accuracy of barcode information input; the input cursor is automatically switched until the correct input is made, and then the writing operation is performed, improving recognition efficiency; after writing, a readback comparison operation is performed to confirm that the correct barcode information has been successfully written, ensuring accurate writing of barcode information and thus avoiding the loss of barcode information.

[0137] In one embodiment of the present invention, a multi-barcode identification device is also proposed. For example... Figure 7 As shown, Figure 7 A structural block diagram of a multi-barcode identification device 700 according to an embodiment of the present invention is shown. Specifically, the multi-barcode identification device 700 may include an acquisition unit 702 and a processing unit 704.

[0138] Acquisition unit 702 is used to acquire barcode information;

[0139] The processing unit 704 is used to verify the correctness of the barcode information based on the type of the target barcode frame and the feature information of the barcode information.

[0140] The processing unit 704 is also used to input the barcode information into the target barcode frame when the barcode information is successfully verified, move the input cursor to the next target barcode frame, obtain new barcode information and perform correctness verification, until the barcode information of N barcodes is input into N barcode frames;

[0141] The barcode information is obtained by the user scanning the target image through the target operation of the scanning device. The target image includes N barcodes, and the N barcodes correspond to N barcode frames in the display interface of the electronic device.

[0142] The multi-barcode recognition device 700 provided in this embodiment of the invention is used to recognize multiple barcodes pasted or printed on a target object. When recognizing multiple barcodes pasted or printed on a target object, the multi-barcode recognition device 700 provided by this invention can reduce the operation steps, operation time and operation difficulty in the barcode recognition process, thereby improving the recognition efficiency of barcode recognition.

[0143] Furthermore, the multi-barcode identification device 700 provided by the present invention is applied to electronic devices. In practical applications, the aforementioned electronic devices can specifically be intelligent electronic devices with information processing functions, such as production management terminals, information management platforms, desktop computers, tablet computers, and laptop computers, etc., without specific limitations.

[0144] Specifically, the multi-barcode recognition device 700 provided by the present invention includes an acquisition unit 702 and a processing unit 704. During the recognition of multiple barcodes pasted or printed on a target object, the user can perform a target operation by scanning the target image of the target object using the scanning device, thereby recognizing any one of the N barcodes in the target image and obtaining the corresponding barcode information. Based on this, the acquisition unit 702 acquires the barcode information obtained by the scanning device. Further, the N barcodes in the target image correspond to N barcode frames in the display interface of the electronic device. After the acquisition unit 702 acquires the barcode information, the processing unit 704 verifies the correctness of the acquired barcode information based on the type of the target barcode frame where the input cursor is located in the display interface of the electronic device and the feature information of the acquired barcode information, to determine whether the acquired barcode information matches the target barcode frame where the input cursor is located.

[0145] Based on this, if the obtained barcode information is successfully verified, that is, if the obtained barcode information matches the target barcode frame where the input cursor is located, the processing unit 704 inputs the barcode information into the corresponding target barcode frame, that is, displays the barcode information in the corresponding target barcode frame on the display interface of the electronic device. Furthermore, the processing unit 704 automatically moves the input cursor to the next target barcode frame on the display interface of the electronic device. At this time, the user can perform a target operation on the scanning device to scan the target image of the target object again to obtain new barcode information. The acquisition unit 702 can acquire this new barcode information, and the processing unit 704 verifies the correctness of the new barcode information. If the new barcode information is successfully verified, it is input into its corresponding target barcode frame. This process is repeated until the barcode information of the above N barcodes has been input into the N barcode frames, completing the recognition operation of multiple barcodes in the target object.

[0146] In this way, during the recognition of multiple barcodes, the system automatically matches and inputs barcode information based on the type of the target barcode frame and the characteristics of the barcode information. It also automatically switches the input cursor, reducing user steps and time. Furthermore, barcodes that fail verification are not entered, improving input accuracy. Based on this, users do not need to precisely align each barcode for scanning; they can trigger multiple scans by performing multiple target operations on the scanning device, thus obtaining the corresponding barcode information. This reduces the operational difficulty of barcode recognition and improves recognition efficiency. Additionally, the automatic matching and input of barcode information based on the type of the target barcode frame and the characteristics of the barcode information allows multiple barcodes to be compactly arranged within the same area, reducing the surface area occupied by the barcodes and decreasing the number of operations required for affixing or printing barcodes, further improving operational efficiency.

[0147] Where N is a positive integer greater than 1.

[0148] Furthermore, in practical applications, the above-mentioned barcode can be a one-dimensional barcode, i.e., a barcode, or a two-dimensional barcode, i.e., a QR code; no specific restrictions are made here.

[0149] Furthermore, it's understandable that multiple barcodes will differ in at least one aspect. For example, the number of digits might differ: some are 8 digits, some are 12 digits, and some are 15 digits; or, the representation might differ: some are purely numerical (e.g., 12345678), some are purely alphabetic (e.g., ABCDEFG), some are a combination of numbers and letters (e.g., 123DFG456), and some contain special characters at a specific position (e.g., 123-ABC). Thus, by analyzing the characteristics of the barcode information, such as the number of digits and its representation, the type of barcode information can be determined.

[0150] Furthermore, the N barcodes in the target image correspond to the N barcode frames on the display interface of the electronic device.

[0151] Furthermore, the aforementioned feature information may specifically include key feature information and unique feature information of the barcode information. By identifying and analyzing the key feature information and unique feature information of the barcode information, the barcode type corresponding to the barcode information can be determined. Furthermore, by identifying the type of the target barcode frame, the barcode type matching the target barcode frame can be determined.

[0152] Based on this, by comparing the barcode type indicated by the target barcode frame with the barcode type indicated by the barcode information, it can be determined whether the barcode information matches the target barcode frame; or, by comparing the barcode feature information indicated by the target barcode frame with the feature information of the barcode information, it can also be determined whether the barcode information matches the target barcode frame.

[0153] In addition, in practical applications, the aforementioned scanning device can be a barcode scanner, a smartphone, a tablet computer, or any other device that can communicate and interact with the aforementioned electronic device and has a barcode scanning function; no specific restrictions are imposed here.

[0154] In an embodiment of the present invention, optionally, the processing unit 704 is further configured to: obtain new barcode information and perform correctness verification in the event of barcode information verification failure, until the barcode information verification is successful.

[0155] In an embodiment of the present invention, optionally, the processing unit 704 is specifically used for: obtaining the character length of the barcode information; determining that the barcode information is incorrect if the character length does not match the first condition; determining the corresponding code information based on the barcode information if the character length matches the first condition; and verifying the correctness of the barcode information based on the type of the target barcode frame and the code information; wherein the first condition is related to the type of the target barcode frame.

[0156] In an embodiment of the present invention, optionally, the processing unit 704 is specifically used to: determine that the barcode information is correct if the code information matches the second condition; and determine that the barcode information is incorrect if the code information does not match the second condition; wherein the second condition is related to the type of the target barcode frame.

[0157] In an embodiment of the present invention, optionally, the first condition is: the character length of the barcode information is the target length; wherein, the target length is related to the type of the target barcode frame.

[0158] In an embodiment of the present invention, optionally, the second condition is: the code information indicates that the first M characters of the barcode information are the target form, and the code information indicates that the (M+1)th character of the barcode information is the target character; wherein, the target character and the target form are both related to the type of the target barcode frame.

[0159] In an embodiment of the present invention, optionally, the target image corresponds to a target object, and the processing unit 704 is further configured to: store N barcode information into the storage area of ​​the target object; read N stored information from the storage area; compare the N barcode information and the N stored information in sequence; and determine the storage result of the N barcode information based on the comparison result.

[0160] In an embodiment of the present invention, the target operation may optionally be a shaking or moving operation of the scanning device by the user.

[0161] In one embodiment of the present invention, another multi-barcode identification device is also proposed. For example... Figure 8 As shown, Figure 8 A structural block diagram of a multi-barcode recognition device 800 provided in an embodiment of the present invention is shown. The multi-barcode recognition device 800 includes:

[0162] Memory 802, on which programs or instructions are stored;

[0163] The processor 804 executes the above-described program or instructions to implement the steps of the multi-barcode recognition method as described in any of the above embodiments.

[0164] The multi-barcode recognition device 800 provided in this embodiment includes a memory 802 and a processor 804. When the program or instructions in the memory 802 are executed by the processor 804, they implement the steps of the multi-barcode recognition method as described in any of the above embodiments. Therefore, the multi-barcode recognition device 800 has all the beneficial effects of the multi-barcode recognition method in any of the above embodiments, which will not be repeated here.

[0165] Specifically, the memory 802 and the processor 804 can be connected via a bus or other means. The processor 804 may include one or more processing units, and the processor 804 may be a chip such as a central processing unit (CPU), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), or a field-programmable gate array (FPGA).

[0166] In one embodiment of the invention, an electronic device is also provided. For example... Figure 9 As shown, Figure 9 A structural block diagram of an electronic device 900 provided in an embodiment of the present invention is shown. The electronic device 900 includes the multi-barcode recognition device 800 described in the above embodiments. Therefore, the electronic device 900 possesses all the technical effects of the multi-barcode recognition device 800 described in the above embodiments, and will not be repeated here.

[0167] In practical applications, the aforementioned electronic device 900 can be a smart device with information processing capabilities. For example, the aforementioned electronic device 900 can be a production management terminal, an information management terminal, a desktop computer, a tablet computer, or a laptop computer, etc., without any specific limitations.

[0168] A fifth aspect of the present invention provides a multi-barcode identification system. For example... Figure 10 As shown, Figure 10 A structural block diagram of a multi-barcode identification system 1000 provided in an embodiment of the present invention is shown. The multi-barcode identification system 1000 includes a scanning device 1002 and the electronic device 900 described in the above embodiment.

[0169] The scanning device 1002 is used to scan the target image in response to the user's target operation to obtain the corresponding barcode information. Furthermore, the electronic device 900 is communicatively connected to the scanning device 1002.

[0170] The multi-barcode identification system 1000 proposed in the fifth aspect of the present invention includes the electronic device 900 in the above-described fourth aspect embodiment. Therefore, the multi-barcode identification system 1000 proposed in the fifth aspect of the present invention possesses all the beneficial effects of the electronic device 900 in the above-described fourth aspect embodiment, which will not be repeated here.

[0171] In practical applications, the scanning device 1002 can be a barcode scanner, a smartphone, a tablet computer, or other device that can communicate and interact with the electronic device 900 and has a barcode scanning function. No specific limitations are made here.

[0172] A sixth aspect of the present invention provides a readable storage medium storing a program or instructions thereon that, when executed by a processor, implements the steps of the multi-barcode identification method as described in any of the above embodiments.

[0173] The readable storage medium provided in this embodiment of the invention stores programs or instructions that, when executed by a processor, can implement the steps of the multi-barcode recognition method as described in any of the above embodiments. Therefore, this readable storage medium possesses all the beneficial effects of the multi-barcode recognition method in any of the above embodiments, which will not be elaborated further here.

[0174] Specifically, the aforementioned readable storage medium can include any medium capable of storing or transmitting information. Examples of readable storage media include electronic circuits, semiconductor memory devices, read-only memory (ROM), random access memory (RAM), compact disc read-only memory (CD-ROM), flash memory, erasable ROM (EROM), magnetic tape, floppy disk, optical disk, hard disk, fiber optic media, radio frequency (RF) links, optical data storage devices, etc. Code segments can be downloaded via computer networks such as the Internet and intranets.

[0175] An embodiment of the seventh aspect of the present invention provides a computer program product comprising a computer program that, when executed by a processor, implements the multi-barcode recognition method as described in any of the above embodiments. Therefore, the computer program product proposed in the seventh aspect of the present invention possesses all the beneficial effects of the multi-barcode recognition method in any of the embodiments of the first aspect, which will not be elaborated further here.

[0176] In the description of this specification, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance, unless otherwise expressly specified and limited. The terms "connection," "installation," and "fixing," etc., should be interpreted broadly. For example, "connection" can mean a fixed connection, a detachable connection, or an integral connection; it can mean a direct connection or an indirect connection through an intermediate medium. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.

[0177] In the description of this specification, the terms "one embodiment," "some embodiments," "specific embodiment," etc., refer to a specific feature, structure, material, or characteristic described in connection with that embodiment or example, which is included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0178] Furthermore, the technical solutions of the various embodiments of the present invention can be combined with each other, but only if they are feasible for those skilled in the art. If the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such combination of technical solutions does not exist and is not within the scope of protection claimed by the present invention.

[0179] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A method for identifying multiple barcodes, characterized in that, The multi-barcode identification method, performed by an electronic device, includes: Obtain barcode information, which is obtained by the user scanning a target image from a target image through a target operation of the scanning device. The target image includes N barcodes, and the N barcodes correspond to N barcode frames in the display interface of the electronic device. The correctness of the barcode information is verified based on the feature information of the barcode information and the type of the target barcode frame in the display interface; If the barcode information is successfully verified, the barcode information is input into the target barcode frame, the input cursor is moved to the next target barcode frame in the display interface, new barcode information is obtained and its correctness is verified, until the barcode information of the N barcodes is input into the N barcode frames; The feature information includes key feature information and unique feature information of the barcode information; After verifying the correctness of the barcode information, the method for recognizing multiple barcodes further includes: If the barcode information verification fails, new barcode information is obtained and its correctness is verified until the barcode information verification is successful.

2. The method for identifying multiple barcodes according to claim 1, characterized in that, The step of verifying the correctness of the barcode information based on its feature information and the type of the target barcode frame in the display interface includes: Obtain the character length of the barcode information; If the character length does not meet the first condition, the barcode information verification is deemed to have failed. The first condition is related to the type of the target barcode frame. If the character length meets the first condition, the barcode information is converted into code information, and the correctness of the barcode information is verified according to the code information and the type of the target barcode frame.

3. The method for identifying multiple barcodes according to claim 2, characterized in that, The step of verifying the correctness of the barcode information based on the code information and the type of the target barcode frame includes: If the code information meets the second condition, the barcode information is deemed to have been successfully verified. The second condition is related to the type of the target barcode frame. If the code information does not meet the second condition, the barcode information verification is deemed to have failed.

4. The method for identifying multiple barcodes according to claim 2, characterized in that, The first condition is that the character length of the barcode information is the target length, and the target length is related to the type of the target barcode frame.

5. The method for identifying multiple barcodes according to claim 3, characterized in that, The second condition is: the code information indicates that the first M characters of the barcode information are the target form, and the code information indicates that the (M+1)th character of the barcode information is the target character, wherein the target form and the target character are related to the type of the target barcode frame.

6. The method for identifying multiple barcodes according to any one of claims 1 to 5, characterized in that, The target image corresponds to a target object. After the barcode information of the N barcodes is input into the N barcode frames, the multi-barcode recognition method further includes: Write N barcode information into the storage area of ​​the target object; Read N pieces of stored information from the storage area; The N stored information items and the N barcode information are compared sequentially; The writing result of the N barcode information is determined based on the comparison results.

7. The method for identifying multiple barcodes according to any one of claims 1 to 5, characterized in that, The target operation is the user's shaking operation of the scanning device.

8. A multi-barcode identification device, characterized in that, The multi-barcode recognition device, used in electronic devices, includes: An acquisition unit is used to acquire barcode information, which is obtained by the user scanning a target image through a target operation of the scanning device. The target image includes N barcodes, and the N barcodes correspond to N barcode frames in the display interface of the electronic device. The processing unit is used to verify the correctness of the barcode information based on the feature information of the barcode information and the type of the target barcode frame in the display interface; The processing unit is further configured to, when the barcode information is successfully verified, input the barcode information into the target barcode frame, move the input cursor to the next target barcode frame in the display interface, obtain new barcode information and perform correctness verification, until the barcode information of the N barcodes is input into the N barcode frames; The feature information includes key feature information and unique feature information of the barcode information; The processing unit is further configured to acquire new barcode information and perform correctness verification in the event that the barcode information verification fails, until the barcode information verification is successful.

9. A multi-barcode identification device, characterized in that, include: Memory, which stores programs or instructions; A processor that, when executing the program or instructions, implements the steps of the method for recognizing multiple barcodes as described in any one of claims 1 to 7.

10. An electronic device, characterized in that, include: The multi-barcode identification device as described in claim 9.

11. A multi-barcode identification system, characterized in that, include: A scanning device is used to scan a target image in response to a user's target operation in order to obtain the corresponding barcode information; The electronic device of claim 10 is communicatively connected to the scanning device.

12. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the multi-barcode identification method as described in any one of claims 1 to 7.

13. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the multi-barcode recognition method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • A multi-code simultaneous identification method and an identification system

    CN109241806A