Product information acquisition method and device

By labeling products and detecting pallet specification information, selecting target scripts to control image acquisition equipment to collect product label information, the problem of low information entry efficiency in existing technologies is solved, and the effect of automated batch reading of product information is achieved.

CN120689728APending Publication Date: 2025-09-23BEJING EDIFIER TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510693720.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-27
Publication Date
2025-09-23

AI Technical Summary

Technical Problem

In the prior art, when entering product information, a barcode scanner is used to enter information for each product one by one, resulting in low information entry efficiency.

Method used

By labeling the products and placing them in the corresponding pallets, detecting the specifications of the pallets, determining the product type based on the specifications, selecting the target script to control the image acquisition device to collect the label information on the products in the pallets, and using intelligent recognition and adaptive script selection to perform batch reading.

Benefits of technology

It realizes the automatic batch reading of product information, significantly improves the efficiency of information entry, and solves the problem of low information entry efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120689728A_ABST
    Figure CN120689728A_ABST
Patent Text Reader

Abstract

The invention discloses a product information acquisition method and device, and relates to the field of electronic manufacturing. The method comprises the following steps: labeling a product according to the type of the product, and determining a tray corresponding to the product; placing the labeled product in a tray corresponding to the product; detecting specification information of the tray; determining the type of the product placed in the tray according to the specification information of the tray; determining a target script from the N scripts according to the type of the product placed in the tray; and controlling image acquisition equipment to acquire label information on the product placed in the tray according to the target script. The technical problem that in the prior art, when product information is input, a code scanning gun is used for carrying out information input on products one by one, and consequently the information input efficiency is low is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic manufacturing, and more specifically, to a method and device for collecting product information. Background Art

[0002] In the field of electronics manufacturing, each product, such as a PCB (Printed Circuit Board), is assigned a unique serial number. The serial number can be printed as a QR code and affixed to the board. After the PCB is produced, the information of each PCB needs to be entered into the MES (Manufacturing Execution System). When entering the information, it is necessary to scan the QR code on the PCB, query the PCB's production test records in the MES system, and check whether the test has passed. In addition, at each key process in the production process, it is necessary to scan the PCB's serial number and upload the PCB's test and production records for subsequent traceability.

[0003] However, in the prior art, when entering product information, a method of using a barcode scanner to enter information for each product one by one has a technical problem of low information entry efficiency.

[0004] To address the above-mentioned problems, no effective solutions have been proposed so far. Summary of the Invention

[0005] The embodiments of the present application provide a product information collection method and device to at least solve the technical problem in the prior art of low information entry efficiency caused by using a barcode scanner to enter product information one by one when entering product information.

[0006] According to one aspect of an embodiment of the present application, a product information collection method is provided, including: labeling products according to their types and determining a pallet corresponding to the products; placing the labeled products in the pallet corresponding to the products; detecting specification information of the pallet, wherein the specification information includes at least: the number of grids in the pallet and shape information of each grid in the pallet; determining the type of product placed on the pallet according to the specification information of the pallet, wherein pallets of different specifications are used to place different types of products; determining a target script from N scripts according to the type of product placed on the pallet, wherein N is an integer greater than 1, the N scripts correspond one-to-one to the N types of products, and each script is used to control an image acquisition device to collect label information on one type of product; controlling the image acquisition device to collect label information on the product placed on the pallet according to the target script.

[0007] Optionally, the image acquisition device is controlled according to the target script to collect label information on the products placed in the pallet, including: controlling the image acquisition device according to the target script to take pictures of the labels carried by the products in the pallet to obtain label images; performing image preprocessing on the label images to obtain target label images; converting the target label images into storage data and recording them in the host computer; reading the target label images in the host computer through the controller and identifying and obtaining the label information of the products.

[0008] Optionally, the size of the pallet is a preset size, and pallets of different specifications are divided into different numbers of grids and the grid sizes of pallets of different specifications are different.

[0009] Optionally, before controlling the image acquisition device to capture the label information on the products placed on the pallet according to the target script, the label color on the products placed on the pallet and / or the color of the products themselves are detected; based on the label color on the products and / or the color of the products themselves, the illumination light information of each area of ​​the pallet is determined, wherein the illumination light information includes at least the illumination light color, the illumination light intensity and the illumination light path.

[0010] Optionally, before controlling the image acquisition device to acquire label information on the products placed on the pallet according to the target script, the placement posture of the products placed on the pallet in various areas of the pallet is detected; and the illumination light information of various areas of the pallet is determined according to the placement posture.

[0011] Optionally, the image acquisition device is controlled according to the target script to collect label information on the products placed on the pallet, including: detecting whether the pallet is located in the target area; when it is detected that the pallet is not in the target area, moving the pallet to the target area by means of a moving plate; when it is determined that the pallet has been moved to the target area, the image acquisition device is controlled according to the target script to collect label information on the products placed on the pallet.

[0012] Optionally, when it is detected that label information for the product on the i-th grid is successfully collected, the label information of the product on the i-th grid is sent to the product query system, where i is an integer greater than or equal to 1.

[0013] Optionally, when it is detected that the label information for the product on the i-th grid is not successfully collected, an alarm message is generated and displayed on the upper computer interface, wherein the alarm message includes at least the location information of the i-th grid and a code indicating a product label identification failure on the i-th grid.

[0014] Optionally, when it is detected that the pallet includes M grids and products are placed on K grids among the M grids, a null value flag code is generated for the grids where no products are placed, where M is an integer greater than 1 and K is a positive integer less than M.

[0015] According to another aspect of an embodiment of the present application, a product information collection device is also provided, including: a pallet including multiple grids, the grids being used to place products; a controller for determining the type of product placed on the pallet based on the specification information of the pallet, and determining a target script from N scripts based on the type of product placed on the pallet, wherein pallets of different specifications are used to place different types of products, and the pallet specification information includes at least: the number of grids in the pallet and the shape information of each grid in the pallet; wherein N is an integer greater than 1, the N scripts correspond one-to-one to the N types of products, and each script is used to provide a strategy for collecting label information on products of the corresponding type; an image acquisition device for collecting label information on products placed on the pallet according to the target script.

[0016] Optionally, the product information acquisition device also includes: a bracket for supporting the image acquisition device; a background light for providing irradiation light; a filter for filtering light; a movable plate for placing the pallet; a start switch connected to the controller, wherein after the start switch is closed, the controller controls the movable plate to move the pallet to the target area and increases the level signal of the controller; a host computer connected to the controller, wherein after the host computer detects that the level signal of the controller has increased, it controls the image acquisition device to start acquiring label information on the products placed on the pallet.

[0017] According to another aspect of the present application, a computer-readable storage medium is provided, wherein a computer program is stored in the computer-readable storage medium. When the computer program runs, the device where the computer-readable storage medium is located executes the above-mentioned product information collection method.

[0018] According to another aspect of the present application, an electronic device is also provided, wherein the electronic device includes one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by one or more processors, the one or more processors execute the above-mentioned product information collection method.

[0019] As can be seen from the above, the present application first labels the products according to their types and determines the corresponding pallets for the products, and then places the labeled products in the corresponding pallets. The pallet's specification information is then detected, where the specification information includes at least the number of grids in the pallet and the shape information of each grid in the pallet. The type of product placed on the pallet is determined based on the pallet's specification information, where pallets of different specifications are used to hold different types of products. Based on the type of product placed on the pallet, a target script is determined from N scripts, where N is an integer greater than 1, and the N scripts correspond one-to-one to the N types of products, each script being used to control an image acquisition device to capture label information on a type of product. The image acquisition device is then controlled to capture label information on the product placed on the pallet based on the target script.

[0020] In an embodiment of the present application, intelligent recognition and adaptive script selection are adopted to determine the type of product placed in the pallet by detecting the specification information of the pallet, including the number of grids in the pallet and the shape information of each grid, thereby achieving the purpose of automatically reading product information in batches, thereby achieving the technical effect of significantly improving the efficiency of information entry, and thus solving the technical problem of low information entry efficiency caused by using a barcode scanner to enter information for products one by one in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0022] Figure 1 is a flow chart of an optional product information collection method according to an embodiment of the present application;

[0023] Figure 2 is a schematic diagram of an optional product information collection device according to an embodiment of the present application;

[0024] Figure 3 This is a schematic diagram of an optional PCB tray (specification 5*4) according to an embodiment of the present application;

[0025] Figure 4 This is a schematic diagram of an optional PCB tray (specification 10*8) according to an embodiment of the present application;

[0026] Figure 5 This is a schematic diagram of an optional PCB tray (specification 10*10) according to an embodiment of the present application;

[0027] Figure 6 Schematic diagram of an optional product information collection device according to an embodiment of the present application. DETAILED DESCRIPTION

[0028] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.

[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0030] It should also be noted that the information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) collected by this application are information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of relevant data comply with the relevant laws, regulations and standards of the relevant regions, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse. For example, an interface is set up between this system and relevant users or institutions. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or institution through the interface, and obtain relevant information after receiving the consent information fed back by the aforementioned user or institution.

[0031] According to an embodiment of the present application, an embodiment of a product information collection method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0032] Optionally, according to an embodiment of the present application, a product information collection system (hereinafter referred to as the system) is provided as the execution subject of the product information collection method based on the embodiment of the present application, wherein the system can be an embedded system combining software and hardware. Of course, the method execution subject in the embodiment of the present application can also be other forms of execution subjects, such as devices, equipment, etc. Those skilled in the art should know that this application does not specifically limit the specific form of expression of the method execution subject.

[0033] Figure 1 This is a flow chart of an optional product information collection method according to an embodiment of the present application. Figure 1 As shown, the method includes the following steps:

[0034] Step S101 : label the product according to its type and determine the pallet corresponding to the product.

[0035] Step S102: placing the labeled product in a tray corresponding to the product.

[0036] Optionally, the aforementioned "labeling" can mean that after a PCB (printed circuit board) is produced and passes necessary testing, each PCB is assigned a unique serial number. This serial number can be printed on a label in the form of a QR code and attached to the PCB. This serial number contains the product's unique identification information and is used to track and record every step of the process from production to warehousing.

[0037] Furthermore, the aforementioned "determining the pallet corresponding to the product" involves product classification and standardization. Because the shape and size of PCBs may vary depending on the product type, blister trays of varying specifications are required to accommodate different types of PCBs. The blister trays must be designed to match the size and shape of the PCBs, ensuring they will not move or become damaged during transportation and storage, and enabling efficient scanning and storage. For example, each size of blister tray corresponds to a specific type of PCB, ensuring that each PCB is correctly placed into its corresponding tray.

[0038] Optionally, the above steps S101 and S102 can be summarized as the following process:

[0039] First, PCBs are categorized by product type or size. A QR code label containing a unique serial number is then generated and printed for each PCB type and accurately affixed to each PCB. Finally, the correct blister tray specifications are selected based on the PCB classification, and the PCBs with QR code labels are placed in the corresponding blister tray for subsequent automated processing.

[0040] Through the above steps S101 and S102, not only the identity traceability of each PCB is guaranteed, but also the efficiency and accuracy of subsequent automated scanning and warehousing are improved through standardized pallet processing.

[0041] Step S103: detecting the specification information of the pallet.

[0042] In step S103 , the specification information includes at least: the number of grids in the tray and the shape information of each grid in the tray.

[0043] Optionally, the system can automatically detect the number of grids on the pallet using sensors or visual recognition technology. Different pallets have different numbers of grids. If the number of grids is large, a higher scanning resolution or more detailed scanning pattern is required to accurately capture the label information in each grid.

[0044] Optionally, custom blister trays can be designed, including rectangular, circular, and other special-shaped grids. Recognizing shape information helps the system determine the type of product within each grid and select the most appropriate image acquisition parameters and processing algorithms. For example, products within a rectangular grid require different scanning angles and focal lengths than those within a circular grid.

[0045] Optionally, the pallet specification information obtained from the detection needs to be organized and transmitted to the host computer or control system to provide basic data for the next step of product type identification and target script selection.

[0046] Optionally, by precisely detecting the specification information of the pallet, the system can accurately locate the position of each product and select the most suitable script to control the image acquisition device for high-precision shooting.

[0047] Step S104: determining the type of product placed on the pallet according to the specification information of the pallet.

[0048] In step S104, pallets of different specifications are used to place different types of products.

[0049] Optionally, the pallet's specifications (e.g., number of grids, grid shape, size, etc.) directly reflect the types of products that can be placed on it. The system can establish a mapping table or rule engine to associate the specifications with product types, thereby enabling rapid determination of product types based on the detected specifications.

[0050] For example, the system uses a built-in camera or sensor to detect that a pallet has 36 rectangular grids, each of which conforms to the specifications of a standard X-shaped pallet. Based on the matching rules between product specifications and pallet grids, the system quickly determines that the pallet is carrying a standard X-shaped product (such as a specific model of PCB board).

[0051] In another scenario, the system reads the specifications of a pallet using a special embedded RFID tag on its bottom, identifying it as a pallet for special circular components. Based on this information, the system uses a machine learning model to determine that the pallet is carrying special Y-shaped circular components, such as capacitors or inductors.

[0052] Optionally, to infer the product type from the specification information, the system can use computer vision technology to analyze the distribution pattern and size ratio of the items on the pallet, or identify special identifiers (such as pallet corner marks or embedded radio frequency identification tags), and then use pattern recognition or machine learning algorithms to determine what type of product is carried on the pallet.

[0053] For example, if the items in a grid are arranged in a regular pattern, the system can preliminarily determine that the products are standardized electronic components. If the length-to-width ratio of an item in a grid is 1:1, the system can use a pre-set rules engine to preliminarily determine that the item is a round part or other suitable component. By reading embedded RFID tags, the system can obtain detailed pallet specifications and accurately determine the type of product loaded on the pallet.

[0054] Optionally, once the pallet specification information is detected, the system should immediately feed it back to the control center, usually a host computer or PLC (Programmable Logic Controller). The control center will select or determine the corresponding product type based on the specification information and prepare for the next stage of script selection and image acquisition device settings.

[0055] Optionally, the system can automatically detect and identify product types on pallets, significantly reducing the need for manual intervention, avoiding errors and delays associated with manual product identification, and improving the automation level of the production line. Furthermore, the rapid acquisition of specification information and accurate identification of product types enable the system to immediately invoke appropriate scripts and initiate targeted scanning with image acquisition devices, thereby accelerating product information collection and warehousing, effectively improving production efficiency.

[0056] Step S105 : determining a target script from the N scripts according to the type of the product placed on the tray.

[0057] In step S105 , N is an integer greater than 1, the N scripts correspond one-to-one to the N types of products, and each script is used to control the image acquisition device to acquire label information on one type of product.

[0058] Optionally, the system first needs to build a script library consisting of N scripts, where N represents the number of product types the system can handle. Each script is designed for a specific type of product and contains all the parameters and instructions required to control the image acquisition device, such as camera resolution, exposure time, focus adjustment, and image processing algorithm settings.

[0059] Next, after identifying the product type on the pallet, the system uses a matching algorithm to select the corresponding target script from a script library. This matching algorithm can be based on a clear mapping between product type and script, such as through a database query or pre-defined rules. This ensures that the selected script will most effectively control the image acquisition device and, therefore, the label characteristics of that product type.

[0060] Optionally, once the target script is determined, the system sends a control signal to the image acquisition device, which begins collecting label information. The script should also include a device status monitoring and feedback mechanism to ensure the smooth progress of the acquisition process and promptly address any anomalies, such as blurred or unreadable labels. Furthermore, the collected label information can be stored in a database for subsequent traceability and analysis. For example, during quality inspection, if a problem is discovered in a batch of products, the label information can be used to quickly locate the problem at the production stage.

[0061] Optionally, this process can effectively manage image acquisition equipment, ensuring efficient and accurate collection of product label information from pallets. Furthermore, operators simply place the pallet into the device and start it, and the system automatically completes the entire process of script matching and information collection, streamlining the process and improving operational simplicity and user experience.

[0062] Step S106: Control the image acquisition device to acquire label information on the products placed on the tray according to the target script.

[0063] Optionally, the target script specifies the image acquisition device's parameter settings, operating procedures, and data processing logic. Once the system determines the target script, it can parse the script content and convert it into instructions that the image acquisition device can understand, such as setting the camera's resolution, exposure time, lens focal length, starting image acquisition, and how to interpret the processed image data.

[0064] The parameter settings of the target script include but are not limited to: adjusting the camera resolution according to the size and accuracy requirements of the label; adjusting the focal length to ensure that the camera can focus clearly on the label; adjusting the exposure time according to the ambient light and the reflective characteristics of the label to avoid overexposure or underexposure; and adjusting the intensity and angle of the light source to reduce reflections or shadows.

[0065] Optionally, the target script contains parameter settings that are optimized based on an understanding of the characteristics of the QR codes used for that product type and experimentally derived. For example, for a small QR code on a PCB, the script might set a higher resolution and a shorter exposure time to ensure image clarity; whereas for a larger QR code, a different parameter combination might be used.

[0066] Optionally, the target script may also include image processing instructions, for example, removing noise from the image to improve image quality; enhancing the contrast of label edges to facilitate subsequent recognition; converting the collected image into a format suitable for subsequent processing (such as grayscale image, binary image, etc.).

[0067] Optionally, the image data captured by the image acquisition device needs to be parsed using optical character recognition (OCR) or a QR code recognition algorithm to extract specific information from the label. This extracted information is then verified to ensure its accuracy and completeness. For example, the QR code can be checked to ensure it conforms to a standard format and the text is correct. The parsed information is then stored in a database or management system for subsequent query and tracing.

[0068] Optionally, the script not only controls the image acquisition device but also manages the entire data flow through interaction with the host computer and PLC. For example, when the PLC receives a start button signal, the script can control the camera to begin reading the code. Once the reading is complete, the script can notify the host computer to read the scan result, and then connect to the MES system to form a closed-loop data acquisition and management system.

[0069] Optionally, executing the target script enables the image acquisition device to automatically and batch-collect label information from all products on a pallet, significantly improving data collection efficiency and reducing labor costs. Furthermore, the parameter settings and adaptive selection mechanism included in the script, based on a deep understanding and optimization of product characteristics, ensure high-quality image acquisition, thereby improving QR code recognition accuracy and system reliability. Furthermore, the system can flexibly handle different product types, finding the optimal acquisition solution regardless of QR code size, location, or environmental conditions, enhancing the system's adaptability and versatility.

[0070] Optionally, Figure 2 is a schematic diagram of an optional product information collection device according to an embodiment of the present application, such as Figure 2 As shown in the figure, the entire equipment is composed of a cabinet, which not only provides a stable structural support, but also integrates all key components, such as cameras, lighting systems, computer hosts, routers, and PLC controllers.

[0071] First, during the initial setup phase, the equipment undergoes preparation and login. After startup, the built-in main power supply provides power to all components. The PLC controller, the central nervous system of the equipment, coordinates the activities of all parts. The host computer runs the host software and prepares for data exchange with the MES system. The router ensures stable data transmission within the network. Additionally, an emergency switch is installed on one side of the equipment to quickly stop the equipment in an emergency, ensuring the safety of both the operator and the equipment.

[0072] Next, the equipment enters the testing phase. During the test, the operator first logs into the host computer software, enters the account and password to start the MES system client, then selects a pallet of specific specifications as needed. The host computer software automatically establishes a connection with the camera, PLC, and MES system client.

[0073] The camera located above the cabinet is equipped with a bracket, background light, and filter, with pre-set scripts for different blister tray sizes. These components work together to ensure high-quality images in various lighting conditions, laying the foundation for subsequent label information collection.

[0074] The operator then places the blister tray containing the PCB into the machine's blister tray placement area, which is equipped with a positioning device to ensure correct alignment. Once the tray is positioned, the operator presses the start button, triggering the corresponding IO signal on the PLC, indicating the tray's entry and simultaneously activating the image acquisition device to read the data.

[0075] Under the control of the PLC, the pallet moves automatically and sends the blister tray into the scanning area to ensure that the QR code on each PCB board can be accurately scanned.

[0076] When the start button signal reaches the host computer, it controls the camera to begin reading the QR code data according to a pre-set script. During this time, the backlight provides uniform lighting to enhance the contrast between the QR code and the background, improving the read success rate. Furthermore, the device incorporates filters to further optimize image acquisition conditions, reduce ambient light interference, and ensure image clarity and readability.

[0077] After receiving the QR code data decoded by the camera, the host computer immediately connects to the MES system to batch query the test records of each PCB board in the MES system. The host computer will display the query results (i.e., whether the test passed or not), allowing operators to monitor the storage status in real time.

[0078] At the same time, the PLC continuously monitors the entire process to ensure the correct movement of the pallet. After the image acquisition is completed, it controls the pallet to withdraw the pallet from the scanning area and prepare for the next operation cycle.

[0079] Next, the equipment enters the result display and exception handling stage. The final warehousing results and reading delay and other information will be presented on the computer monitor. The operator can understand the equipment status and task progress in real time through the monitor.

[0080] In the event of failure to successfully read the information, the host computer will generate an alarm message and display it on the computer monitor to remind the operator to check the location of the specific grid or the status of the product.

[0081] In summary, the entire testing process begins with the equipment's startup preparation phase, which involves logging in and configuring the host computer to ensure connectivity with the MES system. Subsequently, precise pallet placement, automated pallet movement, camera image acquisition, and environmental optimization of background lighting and filters enable efficient product information collection. During the data processing phase, the host computer interfaces with the MES system to automatically verify and display warehousing results, while also providing timely feedback on any anomalies, ensuring production process continuity and data integrity.

[0082] Optionally, Figure 3 This is a schematic diagram of an optional PCB tray (specification 5*4) according to an embodiment of the present application. Figure 3 A plastic tray is shown in the figure, which is designed to hold and secure multiple PCBs. The inside of the tray contains a series of grooves or fixing frames that are customized according to the size and shape of the PCB to ensure that each PCB is properly fixed in the tray to avoid displacement or damage during movement. PCB boards are usually rectangular in shape with smooth edges and the surface is covered with circuits and electronic components. In a prominent position on each PCB, there is a QR code label for traceability. These labels may be placed on the edge, center, or any other location that is easy to scan, and each label contains a unique serial number that serves as the "identity card" of the PCB.

[0083] in addition, Figure 3 The tray is designed with multiple compartments, each corresponding to a PCB. The tray's grid shape matches the size and shape of the PCB, providing precise support and positioning. The PCBs are precisely positioned within each groove of the tray, ensuring that each QR code label is accurately captured by the camera when scanned on automated equipment. By loading multiple PCBs onto the tray at once, the system enables batch scanning, significantly improving production efficiency and data entry speed.

[0084] Optionally, Figure 4 This is a schematic diagram of an optional PCB tray (specification 10*8) according to an embodiment of the present application. Figure 5 This is a schematic diagram of an optional PCB tray (specification 10*10) according to an embodiment of the present application. Figure 4 、 Figure 5and Figure 3 The three trays shown in FIG. 1 differ only in their specifications, but the overall dimensions of the trays are the same. Figure 3 The PCB tray with the specifications shown can hold 20 PCB boards. Figure 4 The PCB tray with the specifications shown can hold 80 PCB boards. Figure 5 The PCB tray of the specifications shown can hold 100 PCB boards, and the remaining functions are as described above.

[0085] From the above content, it can be seen that the embodiment of the present application adopts the method of intelligent recognition and adaptive script selection. By detecting the specification information of the pallet, including the number of grids in the pallet and the shape information of each grid, the type of product placed in the pallet is determined, thereby achieving the purpose of automatic batch reading of product information, thereby achieving the technical effect of significantly improving the efficiency of information entry, and thus solving the technical problem of low information entry efficiency caused by using a barcode scanner to enter information for products one by one in the prior art when entering product information.

[0086] In an optional embodiment, the size of the pallet is a preset size, and pallets of different specifications are divided into different numbers of grids and the grid sizes of pallets of different specifications are different.

[0087] Optionally, pallet dimensions can be set to pre-set sizes, representing a standard for the pallet's basic shape and dimensions. This helps ensure stable and consistent operation within automated equipment. Standardized pallet dimensions facilitate design and manufacturing, simplify equipment interfaces and operational processes, and facilitate compatibility and unified control across automated equipment.

[0088] Optionally, pallets of different sizes can be designed with varying grid sizes based on the number of PCBs or components they carry. For example, some pallets may feature 36 grids to accommodate the batch processing needs of large-scale production, while smaller pallets may have only 12 grids, making them more suitable for smaller quantities or products of unusual sizes. Grid size is also adjusted based on the pallet's specifications and intended use. This adjustment optimizes space utilization and ensures the pallet can efficiently handle items of varying sizes.

[0089] Regularly shaped pallets can be divided into grids of equal size. For example, a rectangular pallet can be divided into several equally sized square or rectangular grids. Special-purpose pallets can be divided into grids of varying sizes based on the size and shape of the items. For example, a pallet can have several larger grids for large items and smaller grids for smaller items. Furthermore, in some advanced automated systems, the pallet's grid division can be dynamically adjusted based on actual needs. For example, sensors can detect the size of the items on the pallet and automatically adjust the grid division.

[0090] In an optional embodiment, before controlling the image acquisition device to capture label information on products placed on the pallet according to a target script, the system can detect the label color on the products placed on the pallet and / or the color of the products themselves, and then determine the illumination light information of each area of ​​the pallet based on the label color on the products and / or the color of the products themselves, wherein the illumination light information includes at least the illumination light color, illumination light intensity, and illumination light path.

[0091] Optionally, the system can use sensors or visual recognition technology to detect the color of the product label and the color of the product itself before starting to capture label information, as different color combinations can affect the quality of image acquisition and the ultimate decoding success rate. For example, a dark QR code label on a light background requires different lighting conditions than a light QR code label on a dark background.

[0092] Optionally, the system can automatically adjust the color of the illumination light based on the detected color information to maximize the contrast between the label and the background. For example, if the label is black and the product is dark gray, the system can select a white light source to increase the contrast for easier camera recognition. Similarly, based on color information, the system can optimize the intensity of the illumination light to ensure that the barcode or text on the label is clearly visible and does not affect the image quality due to reflections or overexposure caused by excessive light. The system can also adjust the illumination angle or path of the light source to avoid direct reflections or shadows, ensuring that each label is evenly and effectively illuminated.

[0093] Optionally, by optimizing lighting conditions, the system can significantly improve the accuracy of reading QR codes or labels against a variety of background colors, ensuring high-precision information capture even in reflective or low-contrast environments. Furthermore, automated light source adjustment reduces the time required for rescanning or debugging due to poor lighting conditions, speeding up information collection and ultimately improving the efficiency and fluidity of the entire MES system.

[0094] In an optional embodiment, before controlling the image acquisition device to acquire label information on the products placed on the pallet according to the target script, it also includes: detecting the placement posture of the products placed on the pallet in various areas of the pallet; and determining the illumination light information of various areas of the pallet according to the placement posture.

[0095] Optionally, the system can directly detect the product's placement position on the pallet by installing a posture detection sensor above the pallet or near the image acquisition device. For example, this can be done using a lidar, depth camera, or mechanical sensor. The system can also extract product placement information from pre-captured images using image analysis algorithms. For example, the orientation and angle of the product can be determined by analyzing edges, contours, or feature points in the image. Based on the detected placement information, the system can also adjust the color, intensity, and path of the illumination light through a light source control system. The light source control system can include adjustable LED lights, filters, and other devices.

[0096] Optionally, the placement posture includes, but is not limited to, the product's orientation, tilt angle, and position on the pallet. In automated production environments, although products are typically placed in pre-set grids or grooves, slight deviations in operation or the product's inherent shape may cause slight tilt or offset, affecting the readability of the QR code. Therefore, the system utilizes advanced visual sensors or structured light projection technology to monitor the product's placement posture within each grid in real time, ensuring clear QR code reading even under non-ideal conditions.

[0097] Optionally, based on differences in light absorption and reflection between products placed in different postures, the system can adjust the color of the illumination light based on this posture information to achieve optimal contrast and read quality. Furthermore, since the placement of the product affects the degree of contact between the light and the product surface, the system can dynamically adjust the intensity of the illumination light to avoid reading failures caused by shadows or overly bright areas. For tilted or offset products, the system can adjust the angle of the light source to ensure that the light is perpendicular or near-perpendicular to the label, reducing reflections and distortion and improving read rates.

[0098] Optionally, the above process, through perception of product placement and optimization of light source control, allows the system to accurately read each QR code even if the product is slightly tilted or misaligned, ensuring the integrity of information collection. This can address issues such as insufficient, excessive, or reflected light caused by varying product placement, thereby optimizing image acquisition quality and ensuring accurate reading of label information. Furthermore, the combination of posture detection and light source adjustment can make the system more resistant to environmental interference, able to cope with minor changes common on the production line, such as slight vibrations, temperature changes, or humidity fluctuations, thereby maintaining stable performance and minimizing the need for rescanning due to poor lighting conditions, saving time and resources and improving production efficiency.

[0099] In an optional embodiment, the image acquisition device is controlled according to a target script to acquire label information on products placed on the pallet, including: detecting whether the pallet is located in a target area; if it is detected that the pallet is not in the target area, moving the pallet to the target area via a moving plate; if it is determined that the pallet has been moved to the target area, the image acquisition device is controlled according to the target script to acquire label information on products placed on the pallet.

[0100] Optionally, a sensor or camera within the device first checks that the tray is precisely positioned within a target area. This is essential for the image capture device to accurately focus and scan the QR code. The target area is determined by the design parameters of the device's image capture device and lighting system and is typically a preset area designed to ensure optimal reading results.

[0101] If the sensor detects that the pallet is not in the target area, the device triggers the mobile plate (an automated moving device) to move the pallet to the correct location. The design of the mobile plate must consider its power source (such as a motor), drive method (such as linear guides, rollers, etc.), and control strategy (such as closed-loop control) to ensure that the pallet can reach the target area smoothly and accurately.

[0102] Optionally, after confirming the pallet is in the target area, the device can control the image acquisition device to begin capturing label information on the products in the pallet according to a pre-set target script. This target script contains optimized parameters for the specific pallet specifications, product type, and label position, such as camera resolution settings, lens focal length, light intensity and color, to ensure that every label is captured clearly and accurately.

[0103] Optionally, the above process ensures that the tray is in the correct position before image acquisition, thus avoiding image blurring, occlusion, or distortion caused by position deviation, greatly improving the success rate of QR code information acquisition. At the same time, the device can effectively handle common position deviation problems on the production line, ensure that each product can be accurately recorded, and further support more efficient and refined production management and quality control.

[0104] In an optional embodiment, the product information acquisition method further includes: when it is detected that the label information of the product on the i-th grid has been successfully acquired, sending the label information of the product on the i-th grid to the product query system, where i is an integer greater than or equal to 1; when it is detected that the label information of the product on the i-th grid has not been successfully acquired, generating an alarm message and displaying it on the host computer interface, where the alarm message at least includes the position information of the i-th grid; when it is detected that the tray includes M grids and there are products placed on K of the M grids, for the grids without products, generating null value information, where M is an integer greater than 1 and K is a positive integer less than M.

[0105] Optionally, when the image acquisition device successfully obtains the product label information on a certain grid (denoted as the i-th grid) on the tray, this information will be immediately sent to the product query system. The product query system can refer to a database or server integrated with the MES system, which is used to store and manage all production records and test data related to products. The successfully acquired information includes, but is not limited to, key data points such as the product serial number and test results, which can provide support for subsequent production traceability and quality control.

[0106] Optionally, when the system detects that the image acquisition device fails to successfully acquire the label information of the product on the i-th grid, an alarm message will be automatically generated and displayed. The alarm message at least includes the position information of this grid, enabling operators or the management system to quickly locate the problem and take remedial measures, such as rescan, check the product, or adjust the tray position. The above real-time feedback mechanism allows the system to quickly respond to production anomalies and avoid potential production stoppages or product omissions.

[0107] Optionally, when it is detected that the tray includes M grids and actually there are products placed on only K (K < M) grids, for the remaining M - K grids without products, the system will generate null value information. The existence of null value information, on the one hand, helps the system understand the actual loading status of the tray, avoid unnecessary scanning attempts for empty grids, and thus improve efficiency; on the other hand, it also provides a comprehensive view for production management, ensures that the status of all grids is accurately recorded, and helps with subsequent inventory management or production line optimization analysis.

[0108] Optionally, this process ensures that every product's information is accurately collected and recorded. Whether it's a successful read or a failed alarm, corresponding processing logic is in place to prevent data loss or incorrect entry, maintaining high data quality within the MES system. Furthermore, through the alarm information displayed on the host computer, operators can immediately notice grids where information collection failed and quickly intervene to investigate the cause, avoiding lengthy production interruptions and enhancing on-site emergency response capabilities. The system intelligently identifies and skips empty grids where no products are placed, reducing unnecessary scanning and processing time, accelerating the overall production process, and improving equipment utilization and production efficiency.

[0109] According to another aspect of the present application, a product information collection device is also provided, wherein: Figure 6 is a schematic diagram of an optional product information collection device according to an embodiment of the present application, such as Figure 6 As shown, the product information collection device includes: a tray 601 , a controller 602 , and an image collection device 603 .

[0110] Optionally, the pallet 601 includes multiple grids, which are used to place products; the controller 602 is used to determine the type of product placed on the pallet based on the specification information of the pallet, and determine the target script from N scripts based on the type of product placed on the pallet, wherein pallets of different specifications are used to place different types of products, and the pallet specification information includes at least: the number of grids in the pallet and the shape information of each grid in the pallet; wherein N is an integer greater than 1, the N scripts correspond one-to-one to the N types of products, and each script is used to provide a strategy for collecting label information on products of the corresponding type; the image acquisition device 603 is used to collect label information on the products placed on the pallet according to the target script.

[0111] Optionally, the product information acquisition device also includes: a bracket for supporting the image acquisition device; a background light for providing irradiation light; a filter for filtering light; a movable plate for placing the pallet; a start switch connected to the controller, wherein after the start switch is closed, the controller controls the movable plate to move the pallet to the target area and increases the level signal of the controller; a host computer connected to the controller, wherein after the host computer detects that the level signal of the controller has increased, it controls the image acquisition device to start acquiring label information on the products placed on the pallet.

[0112] Optionally, the product information collection device further includes: a first detection unit and a first determination unit. The first detection unit is configured to detect the color of labels on products placed on the pallet and / or the color of the products themselves; and the first determination unit is configured to determine illumination light information of various areas of the pallet based on the color of the labels on the products and / or the color of the products themselves, wherein the illumination light information includes at least illumination light color, illumination light intensity, and illumination light path.

[0113] Optionally, the product information collection device further includes: a second detection unit and a second determination unit. The second detection unit is configured to detect the placement posture of the product placed on the pallet in each area of ​​the pallet; and the second determination unit is configured to determine the illumination light information of each area of ​​the pallet based on the placement posture.

[0114] Optionally, the image acquisition device 603 further includes: a detection subunit, a processing subunit, and a capture subunit. The detection subunit is configured to detect whether the pallet is located in a target area; the processing subunit is configured to move the pallet to the target area via a moving plate if the pallet is not located in the target area; and the capture subunit is configured to control the image acquisition device to capture label information on products placed on the pallet according to a target script if the pallet has been moved to the target area.

[0115] Optionally, the product information collection device further includes: a processing unit, a first generating unit, and a second generating unit. The processing unit is configured to, upon detecting that label information for a product on the i-th grid has been successfully collected, send the label information for the product on the i-th grid to a product query system, where i is an integer greater than or equal to 1; the first generating unit is configured to, upon detecting that label information for a product on the i-th grid has not been successfully collected, generate an alarm message and display it on a host computer interface, where the alarm message includes at least location information for the i-th grid and a code indicating a label recognition failure for the product on the i-th grid; and the second generating unit is configured to, upon detecting that a pallet includes M grids and that products are placed on K of the M grids, generate a null value flag code for the grids where no products are placed, where M is an integer greater than 1 and K is a positive integer less than M.

[0116] According to another aspect of the present application, a computer-readable storage medium is provided, wherein a computer program is stored in the computer-readable storage medium. When the computer program runs, the device where the computer-readable storage medium is located executes the above-mentioned product information collection method.

[0117] According to another aspect of the present application, an electronic device is also provided, comprising one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by one or more processors, the one or more processors execute the above-mentioned product information collection method.

[0118] The above-mentioned embodiments or examples disclosed in this application are not exhaustive, but are only illustrations of some embodiments or examples, and are not intended to be specific limitations on the scope of protection disclosed in this application. In the absence of contradiction, each step in a certain embodiment or example in this application can be implemented as an independent example, and the steps can be arbitrarily combined. For example, the solution after removing some steps in a certain embodiment or example can also be implemented as an independent example, and the order of the steps in a certain embodiment or example can be arbitrarily exchanged. In addition, the optional methods or optional examples in a certain embodiment or example can be arbitrarily combined; in addition, the various embodiments or examples can be arbitrarily combined. For example, some or all of the steps in different embodiments or examples can be arbitrarily combined, and a certain embodiment or example can be arbitrarily combined with the optional methods or optional examples of other embodiments or examples.

[0119] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0120] In the above embodiments of the present application, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0121] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only exemplary. For example, the division of units can be a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0122] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple units. Some or all of the units may be selected to achieve the purpose of the present embodiment according to actual needs.

[0123] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0124] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.

[0125] The above is only a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A product information collection method, characterized in that: include: Label the product according to its type and determine the corresponding pallet for the product; placing the labeled products in the pallets corresponding to the products; Detecting specification information of the tray, wherein the specification information at least includes: the number of grids in the tray and shape information of each grid in the tray; Determining the type of product placed on the pallet according to the specification information of the pallet, wherein pallets of different specifications are used to place different types of products; Determining a target script from N scripts based on the type of product placed on the tray, where N is an integer greater than 1, the N scripts correspond one-to-one to the N types of products, and each script is used to control the image acquisition device to capture label information on one type of product; The image acquisition device is controlled according to the target script to acquire label information on the products placed on the tray.

2. The method according to claim 1, characterized in that Controlling the image acquisition device to acquire label information on the product placed on the pallet according to the target script includes: Controlling the image acquisition device to take pictures of labels carried on the products in the tray according to the target script to obtain label images; Performing image preprocessing on the label image to obtain a target label image; Convert the target tag image into storage data and record it in the host computer; The target label image is read in the host computer through a controller and the label information of the product is obtained by identification.

3. The method according to claim 1, characterized in that The size of the pallet is a preset size, and the number of grids divided into pallets of different specifications is different, and the grid sizes of pallets of different specifications are different.

4. The method according to claim 1, wherein Before controlling the image acquisition device to acquire label information on the products placed on the pallet according to the target script, the method further includes: detecting the color of labels on products placed on the tray and / or the color of the products themselves; The illumination light information of each area of ​​the tray is determined according to the color of the label on the product and / or the color of the product itself, wherein the illumination light information at least includes the illumination light color, the illumination light intensity and the illumination light path.

5. The method according to claim 1, wherein Before controlling the image acquisition device to acquire label information on the products placed on the pallet according to the target script, the method further includes: Detecting the placement posture of the products placed on the tray in various areas of the tray; The irradiation light information of each area of ​​the tray is determined according to the placement posture.

6. The method according to claim 1, wherein Controlling the image acquisition device to acquire label information on the products placed on the pallet according to the target script includes: detecting whether the tray is located in a target area; When it is detected that the tray is not in the target area, the tray is moved to the target area by a moving plate; When it is determined that the pallet has moved to the target area, the image acquisition device is controlled according to the target script to acquire label information on the products placed on the pallet.

7. The method according to claim 1, characterized in that The method further comprises: When it is detected that the label information of the product on the i-th grid is successfully collected, the label information of the product on the i-th grid is sent to the product query system, where i is an integer greater than or equal to 1; when it is detected that the label information of the product on the i-th grid is not successfully collected, an alarm message is generated and displayed on the upper computer interface, where the alarm message includes at least the location information of the i-th grid and a code indicating a product label identification failure on the i-th grid.

8. The method according to claim 7, characterized in that The method further comprises: When it is detected that the pallet includes M grids and products are placed on K grids among the M grids, a null value flag code is generated for the grids where no products are placed, where M is an integer greater than 1 and K is a positive integer less than M.

9. A product information collection device, characterized in that: include: A tray comprising a plurality of grids for placing products; a controller configured to determine a type of product placed on the pallet based on the pallet's specification information, and to determine a target script from N scripts based on the type of product placed on the pallet, wherein pallets of different specifications are used to place different types of products, and the pallet specification information includes at least: the number of grids in the pallet and shape information of each grid in the pallet; wherein N is an integer greater than 1, the N scripts correspond one-to-one to the N types of products, and each script is configured to provide a strategy for collecting label information on products of the corresponding type; An image acquisition device is used to acquire label information on the products placed on the pallet according to the target script.

10. The device according to claim 9, characterized in that The device further comprises: A bracket for supporting the image acquisition device; a background light for providing illumination light; a filter for filtering light; and a movable plate for placing the tray; a start switch connected to the controller, wherein after the start switch is closed, the controller controls the moving plate to move the supporting plate to the target area and increases the level signal of the controller; A host computer is connected to the controller, wherein after the host computer detects that the level signal of the controller increases, it controls the image acquisition device to start acquiring label information on the products placed on the tray.