Collecting and associating method for native codes and endowed codes in traceability process and scanning and endowing all-in-one machine
By using height adjustment and automatic recognition technology of the integrated scanning and coding machine, the problem of low efficiency in traditional scanning and coding methods has been solved. This has enabled automated, accurate coding and traceability of battery cells, reduced energy consumption and light pollution, and improved production efficiency.
Patent Information
- Application Number
- CN202511336115.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-18
- Publication Date
- 2025-12-16
AI Technical Summary
Traditional barcode scanning and coding methods are inefficient in battery cell manufacturing, prone to human error, and cannot meet the requirements of large-scale, high-precision production. Furthermore, frequent parameter adjustments and complex processes increase time costs and energy consumption.
The system employs an integrated scanning and coding machine, which combines a height adjustment unit, a scanning unit, a coding unit, and a coding unit. It adaptively adjusts the scanning height through a laser rangefinder and a servo motor drive system, and automatically identifies and generates coding codes using machine vision and optical technologies. The data is then transmitted to the backend storage via encryption.
It enables automatic scanning and coding of battery cells, reducing energy consumption and light pollution, improving production efficiency and traceability accuracy, and supporting high-precision material traceability.
Smart Images

Figure CN121145899A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data processing technology, specifically to a method for collecting and associating original codes and engraved codes during the tracing process, and an integrated scanning and engraving machine. Background Technology
[0002] In modern industrial production, especially in the field of battery cell manufacturing, the demand for product traceability and data management is growing. As a key component of various electronic products, the recording and tracking of information during the production process of battery cells is crucial. Traditional barcode scanning methods often require manual operation, which is not only inefficient but also prone to human error, failing to meet the requirements of large-scale, high-precision production. Furthermore, during product changeovers, frequent parameter adjustments and complex processes increase production time costs and the probability of errors. Continuously triggering barcode scanning would also lead to energy consumption and light pollution. Summary of the Invention
[0003] In view of this, this application discloses a method for collecting and associating native codes and engraved codes during the traceability process, applied to a scanning and engraving integrated machine. The scanning and engraving integrated machine includes a height adjustment unit, a scanning unit, an engraving unit, an engraving unit, and a sending unit. The method includes: using the height adjustment unit to obtain the material type of the material; adjusting the scanning unit to a preset height according to the material type; in response to sensing the material entering the collection area, activating the scanning unit to collect the native code of the material and activating the engraving unit to generate an engraved code of the material based on a preset algorithm; replacing the native code with the engraved code using the engraved code; and sending the native code and the engraved code to a backend for associated storage using the sending unit.
[0004] In some embodiments, the method further includes: performing incoming material inspection based on the image acquired by the barcode scanning unit, and generating an inspection result; the inspection result includes whether it is qualified or unqualified; if the inspection result is unqualified, the inspection result also includes the detected defect type; generating the marking code of the material based on a preset algorithm includes: generating an indicator based on the inspection result; the indicator indicates the inspection result of the material; and generating a supplementary code of the marking code based on the indicator.
[0005] In some embodiments, the scanning and coating integrated machine includes a platform; the platform is used to carry and transport the material; the method further includes: confirming that the material has entered the collection area in response to a sensor mounted on the platform being triggered; the sensor includes at least one of the following: a vision sensor; a gravity sensor; a photoelectric sensor.
[0006] In some embodiments, the platform is a transmission platform; activating the scanning unit to collect the original code of the material and perform incoming material detection includes: obtaining the position of the material entering the collection area; determining the distance between the material and a preset optimal scanning position based on the position; controlling the transmission platform to move the material to the preset optimal scanning position and collect a second image based on the distance; and performing code reading and incoming material detection based on the second image.
[0007] In some embodiments, obtaining the position of the material entering the collection area includes: activating the scanning unit and acquiring a first image of the material; confirming the position of the material entering the collection area based on the first image; or, confirming the position of the material entering the collection area based on information fed back by the gravity sensor.
[0008] In some embodiments, the scanning unit includes a camera subunit and an illumination subunit; the light emitted by the illumination subunit and the transmission direction of the transmission platform are in the same direction, and the light makes a preset angle with the plane where the transmission platform is located; the step of controlling the transmission platform to move the material to the preset optimal scanning position and acquire a second image based on the distance includes: based on the transmission platform transmitting the material to a first position before the preset optimal scanning position and a second position after the preset optimal scanning position, and triggering the camera subunit to acquire a second image at that position; the step of performing barcode reading and incoming material detection based on the second image includes: based on the first position, the second image acquired at the preset optimal scanning position and the second position, performing barcode recognition and incoming material detection respectively, obtaining the recognized barcode and its corresponding first confidence level, and the incoming material detection result and its corresponding second confidence level; the first confidence level is used to indicate the credibility of the recognized barcode; the second confidence level is used to indicate the credibility of the incoming material detection result; the barcode with the highest first confidence level is taken as the final barcode reading result, and the incoming material detection result with the highest second confidence level is taken as the final incoming material detection result.
[0009] In some embodiments, generating the material's marking code based on a preset algorithm includes: obtaining the material information of the material based on the original code; the material information includes at least one of the following: original manufacturer, original production date, material properties, and material code; performing a hash operation on the material information to obtain a hash result; and combining the hash result with at least one of the following information to generate a marking code of a preset number of bits: current manufacturer, current date, and unique code.
[0010] In some embodiments, replacing the original code with the assigned code based on the marking unit includes: obtaining the material type of the material; configuring the laser power of the marking unit to a power level corresponding to the material type according to the material type; clearing the original code of the material based on the laser and marking the assigned code onto the material.
[0011] In some embodiments, after replacing the original code with the assigned code based on the coding unit, the method further includes: reading the assigned code based on the scanning unit; confirming successful replacement of the code in response to successful reading; and performing replacement again in response to failed reading.
[0012] This application also proposes an integrated scanning and coding machine. It includes a height adjustment unit, a scanning unit, a coding unit, an engraving unit, and a sending unit. The height adjustment unit is used to acquire the material type of the material and adjust the scanning unit to a preset height according to the material type. The scanning unit is used to acquire the original code of the material in response to sensing the material entering the acquisition area. The coding unit is used to generate an engraved code for the material based on a preset algorithm. The engraving unit is used to replace the original code with the engraved code. The sending unit sends the original code and the engraved code to a backend for associated storage.
[0013] In any of the foregoing embodiments, the integrated scanning and coding machine can be equipped with a height adjustment unit, a scanning unit, a coding unit, an engraving unit, and a sending unit. The scanning height is adjusted according to the material type of the incoming material, and the scanning unit is activated only upon detecting the incoming material. Furthermore, the engraved code and the original code can be stored together. This not only achieves automatic scanning and coding of materials but also adapts to various materials, reduces energy consumption and light pollution, and facilitates material traceability by enabling the associated storage of the original code and the engraved code. Attached Figure Description
[0014] The accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below.
[0015] Figure 1 This is a flowchart illustrating a method for collecting and associating native code and assigned code during the tracing process, as shown in this application.
[0016] Figure 2 This is a schematic flowchart illustrating an incoming material inspection method based on machine vision, as shown in this application.
[0017] Figure 3 This is a flowchart illustrating a scanning method according to this application.
[0018] Figure 4This is a schematic diagram illustrating a scanning and detection method for this application.
[0019] Figure 5 This is a schematic diagram illustrating a method for generating an inscription code according to this application.
[0020] Figure 6 This is a schematic diagram illustrating the structure of a scanning and coating integrated machine according to this application.
[0021] Figure 7 This is a schematic diagram illustrating a scenario of a system for associating native code and etched code, as shown in this embodiment. Detailed Implementation
[0022] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of devices and methods consistent with some aspects of this application as detailed in the appended claims.
[0023] The terminology used in this application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The singular forms “a,” “the,” and “the” used in this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any or all possible combinations of one or more of the associated listed items. It should also be understood that the word “if” as used herein, depending on the context, can be interpreted as “when,” “in response to a determination,” or “when…”.
[0024] This application proposes a method for collecting and associating native codes and engraved codes during the traceability process. This method utilizes an integrated scanning and coding machine equipped with a height adjustment unit, a scanning unit, a coding unit, an engraving unit, and a sending unit. The scanning height is adjusted according to the material type of the incoming material, and the scanning unit is activated only upon detecting incoming material. Furthermore, the engraved codes and native codes can be associated and stored. This not only achieves automatic scanning and coding of materials but also adapts to various materials, reduces energy consumption and light pollution, and facilitates material traceability by enabling the associated storage of native codes and engraved codes.
[0025] The following diagram illustrates the method for collecting and associating the original code and the inscribed code during the tracing process.
[0026] Please see Figure 1 , Figure 1This is a flowchart illustrating a method for collecting and associating native codes and engraved codes during the traceability process, as shown in this application. This method is applied to a scanning and engraving integrated machine. The scanning and engraving integrated machine includes a height adjustment unit, a scanning unit, an engraving unit, and a sending unit. The materials traced in this application can be arbitrary, such as battery cells, wafers, gold products, furniture, etc. This application focuses on illustrating this method using battery cells as an example.
[0027] Height Adjustment Unit: Used to adjust the scanning height. In some methods, this can be done manually. In more preferred embodiments of this application, to reduce reliance on personnel, automatic height adjustment can be implemented. This unit, as a core component of the integrated scanning and labeling machine for adapting to different specifications of battery cells, integrates a laser rangefinder and a servo motor drive system. The laser rangefinder scans the outline of the battery cell, and combined with a pre-built battery cell size parameter library, accurately identifies the battery cell's height, diameter, and other material type information. Based on the identification results, the servo motor drive system precisely adjusts the scanning unit to the optimal working distance from the surface of the battery cell's original code, ensuring that the scanning unit performs the original code scanning operation at the optimal angle and distance, thereby improving the scanning success rate and the accuracy of information collection.
[0028] The barcode scanning unit is used for barcode scanning. This unit may include a light source and a barcode reading module. The barcode reading module is equipped with an industrial-grade high-frame-rate image sensor and a multi-core decoding chip, providing high-speed and high-precision barcode scanning performance. The light source may include a light source controller for illumination. Once the height adjustment unit completes the barcode scanning height setting and the infrared sensor detects that the battery cell has entered the preset acquisition area, the barcode scanning unit immediately starts. It can quickly identify common barcodes on the surface of the battery cell, such as 1D barcodes, 2D barcodes, and micro-dot matrix barcodes, rapidly converting the acquired image information into digital signals and transmitting them to the control system of the barcode scanning and coding machine via a high-speed data bus, providing accurate raw data for subsequent coding and data association. The barcode scanning unit can be a fixed-handle scanner, an industrial camera, or other machine vision equipment.
[0029] Coding Unit: Used to generate the engraving code. This unit can be integrated into the control system and equipped with a customized coding algorithm module. After the scanning unit successfully collects the original code, the coding unit can integrate information such as the battery cell production batch, model, capacity, and production date according to a preset algorithm to generate a unique engraving code. Simultaneously, the generated engraving code strictly adheres to industry standards and the company's internal coding specifications, ensuring that it serves as a unique identifier throughout the entire lifecycle of the battery cell—production, distribution, and use—achieving precise traceability.
[0030] Engraving Unit: Used for engraving. The engraving unit employs high-precision ultraviolet laser marking technology, achieving micron-level engraving accuracy. After receiving the engraving information generated by the marking unit and instructions from the control system, the marking unit automatically adjusts parameters such as laser power, frequency, and scanning speed based on the cell material (e.g., aluminum casing, soft-pack) and surface characteristics. Through ultraviolet laser engraving on the cell surface, the engraving is clearly and permanently marked on the cell, ensuring both clarity and durability of the engraving while maintaining cell performance and safety.
[0031] Transmitting Unit: Used for data transmission. The transmitting unit can be equipped with a communication module and a data encryption chip, providing efficient and secure data transmission capabilities. After the marking unit completes the marking process, the transmitting unit can encrypt the collected raw code and the generated marked code to prevent theft and tampering during data transmission. Subsequently, the data is quickly and stably transmitted to the backend data management system via the network. Furthermore, the transmitting unit supports data caching and retransmission mechanisms, ensuring complete data transmission to the backend even under unstable network conditions, achieving reliable association and storage of the raw code and marked code. The communication module can be a 5G / 4G / 3G module, or a Bluetooth, Wi-Fi, or other similar module.
[0032] like Figure 1 As shown, the method may include S102-S108.
[0033] S102, using the height adjustment unit, the material type of the material is obtained, and the scanning unit is adjusted to a preset height according to the material type.
[0034] The height adjustment unit uses a laser rangefinder to scan the shape of the battery cells entering the integrated machine, acquiring dimensional information such as cell height and diameter to determine the cell's material type. Taking cylindrical 18650 cells and prismatic power batteries as examples, their dimensions differ significantly, allowing the height adjustment unit to quickly and accurately identify them. After determining the material type, the height adjustment unit retrieves the corresponding scanning height parameters from a preset parameter database and precisely adjusts the scanning unit height using a servo motor drive system. For instance, for 18650 cells, the scanning unit can be adjusted to a height of 8 centimeters above the cell surface, laying the foundation for accurate subsequent scanning.
[0035] S104, in response to sensing that the material has entered the collection area, the scanning unit is activated to collect the original code of the material and the coding unit is activated to generate the coding code of the material based on a preset algorithm.
[0036] When a battery cell moves along the conveyor belt and enters the collection area defined by an infrared sensor, the integrated control system receives the sensor signal and simultaneously activates the scanning and coding units. The scanning unit quickly scans the original code on the surface of the battery cell and transmits the collected original code information to the control system in real time. Simultaneously, the coding unit, based on a preset algorithm and combined with production information such as the battery cell's production batch, model, and capacity, can quickly generate the corresponding coding. This simultaneous operation of the two units significantly improves overall work efficiency and effectively shortens the processing time for a single battery cell.
[0037] It is understood that the material can also be placed manually by manually triggering a button (or stepping on it) provided by the all-in-one machine to complete the placement and instruct the all-in-one machine to start subsequent operations.
[0038] S106, the original code is replaced by the assigned code based on the coding unit.
[0039] After receiving marking information and instructions from the control system, the marking unit automatically adjusts the ultraviolet laser marking parameters based on the cell material and surface characteristics. For aluminum-cased cells, the laser power can be appropriately increased to ensure marking clarity; for pouch cells, the laser power can be reduced to prevent damage. During the marking process, the marking unit's built-in vision inspection system monitors the marking quality in real time, covering indicators such as marking clarity, integrity, and character spacing. If the marking quality fails to meet the standard, it is immediately fed back to the control system, which then instructs the marking unit to re-mark until the marking quality meets the requirements.
[0040] S108, the original code and the engraving code are sent to the backend for associated storage based on the sending unit.
[0041] The sending unit first packages the collected native code and the generated engraved code, adding metadata information such as timestamps and device numbers. Then, a data encryption chip performs high-strength encryption on the data packet, and the encrypted data is transmitted to the backend data management system via the communication module. After receiving the data, the backend system accurately associates the native code and the engraved code according to pre-set data formats and association rules, and stores the data in the database. Thus, during the subsequent use, maintenance, and quality traceability of the battery cell, the native code information and complete production and distribution data of the cell can be quickly obtained by querying the engraved code.
[0042] The process of producing a batch of square lithium iron phosphate cells will be illustrated using an example from the cell production line of a new energy battery manufacturer.
[0043] The height adjustment unit operates as follows: When the batch of square lithium iron phosphate cells enters the loading station of the integrated scanning and coding machine via the conveyor belt, the laser rangefinder of the height adjustment unit immediately scans the cells to obtain their size information, thus determining that they are square cells. Subsequently, based on preset parameters, the height adjustment unit drives the servo motor to adjust the scanning unit from its initial position to a height of 10 cm above the cell surface, placing the scanning unit in the optimal working position.
[0044] The scanning and coding units work in tandem: As the battery cell continues to move along the conveyor belt and enters the collection area set by the infrared sensor, the sensor signal triggers the integrated control system, which can simultaneously start the scanning and coding units. The scanning unit quickly scans the original code on the surface of the battery cell (containing information such as the battery cell production batch, raw material batch, and initial performance parameters) and transmits the collected original code information to the integrated control system in real time. At the same time, the coding unit generates a unique coding code based on a preset algorithm, combined with information such as the order number of this production task, the battery cell model, and the production time. This coding code covers information such as the battery cell production process, quality inspection results, and subsequent logistics and usage tracking information. The coding unit performs the following operation: After receiving the coding code information, the coding unit can automatically adjust the power of the ultraviolet laser marking to 8W, the frequency to 50KHz, and the scanning speed to 500mm / s, based on the aluminum shell material characteristics of the square lithium iron phosphate battery cell, and replace the original code on the surface of the battery cell with the coding code. The markings are clearly and firmly applied to the aluminum casing of the battery cell using ultraviolet laser engraving, without any adverse effects on the cell's performance or structure. During the engraving process, a built-in vision inspection system monitors the engraving quality in real time, ensuring the markings are clear and complete.
[0045] The transmitting unit completes data transmission: After encrypting the original code and the marking code information, the transmitting unit can transmit it to the battery manufacturer's backend data management system via the network. The backend system associates and stores this information with cell production process data, quality inspection data, raw material procurement data, etc. When the batch of cells exhibits performance abnormalities or quality problems in subsequent applications, by querying the marking code on the cell surface, detailed information such as the cell's production source, raw material supplier, production process parameters, and quality inspection records can be quickly traced, facilitating the company to promptly identify the root cause of the problem and take effective improvement and recall measures.
[0046] Through the technical solutions described in S102 - S108, based on the scanning and coding integrated machine with a height adjustment unit, a scanning unit, a coding unit, a marking unit, and a sending unit, the scanning height can be adjusted according to the material type of the incoming material, and the scanning unit is only activated for scanning when the incoming material is detected. Moreover, the marked code and the original code can be associated and stored. Thus, not only the automatic scanning and automatic coding of materials are achieved, but also various materials can be adapted, energy consumption and light pollution are reduced, and the associated storage of the original code and the marked code facilitates the traceability of materials.
[0047] In some embodiments, incoming material detection can also be integrated in the scanning and coding integrated machine to improve the utilization rate of the equipment, and the detection result can be given as an accessory code of the marked code, which neither affects the marked code nor is convenient for tracing the detection result.
[0048] Please refer to Figure 2 , Figure 2 which is a schematic flow diagram of a method for detecting incoming materials based on machine vision shown in this application. This method is integrated in the scanning and coding integrated machine. As Figure 2 shown, the method includes S202 - S206. Among them, S204 - S206 are some embodiments of the steps of generating the marked code of the material based on a preset algorithm in S104.
[0049] S202, perform incoming material detection based on the image collected by the scanning unit to generate a detection result.
[0050] The detection result includes qualified or unqualified; if the detection result is unqualified, the detection result also includes the detected defect type.
[0051] The image data of the battery cell collected by the scanning unit is transmitted to the incoming material detection module, which detects and analyzes the appearance, size, surface defects, etc. of the battery cell based on image processing algorithms and preset quality standards to generate a detection result. The detection results are divided into two categories: qualified and unqualified. If it is unqualified, the specific defect type will be further specified, such as scratches on the surface of the battery cell, size deviation, etc. This part can refer to the relevant content of machine vision detection and will not be elaborated here.
[0052] S204, generate an indication mark based on the detection result; the indication mark indicates the detection result of the material.
[0053] According to the detection result, the system generates a corresponding indication mark. If the battery cell is detected as qualified, the indication mark is "qualified"; if it is unqualified, it is marked as the specific defect type, such as "surface scratch" "size out of tolerance", etc., and this indication mark intuitively reflects the detection status of the battery cell.
[0054] S206, generate an accessory code of the marked code based on the indication mark.
[0055] Based on the generated indicator, the system creates an auxiliary code for the engraved code. The auxiliary code is associated with the engraved code but does not change the main information of the engraved code. The detection result information is integrated into it using specific encoding rules to facilitate subsequent traceability.
[0056] The process of producing a batch of square lithium iron phosphate cells will be used as an example for explanation.
[0057] After the battery cells are loaded, the height adjustment unit positions the scanning height and enters the acquisition area to trigger scanning and coding. While scanning the original code on the battery cell, the scanning unit transmits the acquired image data to the incoming material inspection module. During inspection, a minor scratch is found on the surface of one battery cell, and the incoming material inspection module generates a "surface scratch" non-conforming inspection result. Based on this result, the system generates an indicator "surface scratch" and, based on this indicator, generates a supplementary code for coding, encoding the inspection result information within it. Simultaneously, the coding unit combines information such as the battery cell's production batch, model, and production date to generate a unique coding code. The coding unit marks the coding code on the battery cell's aluminum casing, and the sending unit encrypts the coding code and supplementary code before transmitting them to the backend storage. If a problem occurs with the battery cell later, scanning the coding code will link to the supplementary code, allowing for tracing of the incoming material defect and rework, thus aiding in quality control.
[0058] Combining incoming material inspection and barcode reading improves efficiency and facilitates subsequent material classification. Subsequent equipment can obtain an auxiliary code by scanning and engraving the barcode, which indicates whether the material was qualified upon arrival. This facilitates traceability. Defects in the incoming material are recorded through barcode engraving. Even after rework, this code can still be used to record that the material was defective and required rework to be qualified, making it easier to determine responsibility.
[0059] In some embodiments, a sensor can be used to detect and confirm that material has entered the collection area, thereby triggering the scanning process. The integrated scanning and labeling machine includes a platform; the platform is used to carry and transport the material; the method further includes: confirming that material has entered the collection area in response to a sensor mounted on the platform being triggered; the sensor includes at least one of the following: a vision sensor; a gravity sensor; and a photoelectric sensor. The platform can be a transmission platform or a stationary platform. If it is a transmission platform, the material can be transported to the transmission platform via another assembly line. If it is a stationary platform, the user can place the material on the platform. The sensor can be: a vision sensor; a gravity sensor; or a photoelectric sensor. The vision sensor can be an ambient monitoring device; detecting items based on the monitoring device can improve the utilization rate of the monitoring device and save equipment costs. The photoelectric sensor or the gravity sensor can be installed on the integrated machine to sense the material. When the sensor detects material through visual detection, gravity, photoelectric, or other methods, it can send a signal to notify the integrated machine.
[0060] Take a gravity sensor as an example. The transmission platform of the integrated scanning and mapping machine is equipped with a high-precision gravity sensor, which monitors the weight changes carried by the platform in real time. When the battery cell is automatically transported to the transmission platform via the assembly line, or is placed on the platform manually, the gravity sensor detects that the weight exceeds a preset threshold (for example, 0.3 kg for a regular battery cell) and immediately sends a signal to the control system to confirm that the battery cell has entered the acquisition area. This signal will serve as the trigger command to start the subsequent operation process.
[0061] For example, a batch of square lithium iron phosphate battery cells is transported to the transfer platform of the scanning and mapping machine via an automated production line, where a gravity sensor monitors the weight of the platform in real time. When a single battery cell (weighing approximately 0.5 kg) is placed on the platform, the sensor detects a weight change exceeding a preset threshold and immediately sends a signal to the control system to confirm that the cell has entered the data acquisition area. The scanning and mapping machine can then complete the subsequent operations.
[0062] Compared to traditional photoelectric sensing methods, gravity sensing is less susceptible to interference from ambient light, dust, and other factors, offering higher stability and reducing the false trigger rate to below 0.1%. Furthermore, it can accurately identify the presence of battery cells, avoiding missed detections due to blind spots and ensuring the accuracy and reliability of detection in the data collection area.
[0063] Because the surface material of the incoming material is easily reflective and the code is small, the original code is not easily recognized. In some embodiments, to solve the aforementioned problem, the material can be moved to the optimal scanning position based on its position entering the collection area and a preset optimal scanning position to improve the accuracy of code reading and thus enhance the accuracy of traceability.
[0064] Please see Figure 3 , Figure 3 This is a schematic diagram illustrating a scanning method according to this application. Figure 3 As shown, the method includes S302-S308.
[0065] S302, Obtain the position where the material enters the collection area.
[0066] This step can determine the position in at least two ways: one is a machine vision-based method, and the other is a method based on the position information within the range of the gravity sensor after the material has entered the collection area, as determined by the gravity sensor.
[0067] The first method involves activating the scanning unit to capture a first image of the material; based on the first image, confirming the location where the material enters the collection area.
[0068] When material enters the acquisition area (triggered by a preset signal, such as a gravity sensor on the transmission platform), the system automatically activates the image acquisition function of the scanning unit. The scanning unit is equipped with an industrial camera that can quickly and clearly capture the overall appearance of the material and its surrounding environment—the initial image. This image acquisition process is rapid, completing within tens of milliseconds, ensuring timely acquisition of the material's status information at the moment of entry.
[0069] After acquiring the first image, the system analyzes it using advanced image processing algorithms and pattern recognition technology. First, edge detection algorithms can be used to identify the material's contours, thus determining its boundary range in the image. Then, feature point extraction algorithms (such as SIFT and SURF) can be used to extract unique feature points on the material surface and match them with pre-established material model features. Finally, based on the transformation relationship between the image coordinate system and the actual physical coordinate system, the specific position coordinates of the material in the acquisition area (including position information in the X, Y, and Z axes, as well as angle and orientation information) can be calculated. For example, for regularly shaped materials like battery cells, by identifying their corner feature points, the center position and tilt angle of the battery cell in the acquisition area can be accurately calculated, providing accurate location information for subsequent scanning and processing operations.
[0070] This achieves the following results: sub-millimeter-level positioning accuracy, offering significant advantages for micromaterials or scenarios requiring precise positioning; the ability to identify materials of different shapes, colors, and surface features without requiring complex parameter adjustments for each material, thus offering high versatility; and the ability to use the acquired images for real-time monitoring and traceability, allowing operators to intuitively understand the status of materials entering the acquisition area.
[0071] The second method involves confirming the location where the material enters the collection area based on information fed back from the gravity sensor.
[0072] As materials are conveyed onto the transport platform via an assembly line or manually placed, the gravity sensors mounted on the platform begin to function. These gravity sensors, arranged in a distributed array, cover the entire transport platform area, allowing for real-time monitoring of weight changes at different locations. When material enters the data collection area, the gravity sensors detect a significant increase in weight and can feed back the weight data from each sensor node to the control system in real time. For example, for materials with a certain weight, such as battery cells, when a cell is placed on the transport platform, the corresponding gravity sensor outputs a corresponding electrical signal; the signal strength is related to the cell's weight.
[0073] After receiving feedback from the gravity sensors, the control system analyzes and processes the weight data based on a pre-set algorithm. Since the distribution of the gravity sensors is known, the approximate location of the material on the transmission platform can be inferred by calculating the differences in weight changes at different sensor nodes and combining this with the estimated weight of the material. For example, if a gravity sensor near the left side of the transmission platform detects a large weight change, while the sensor on the right side shows a smaller change, it can be determined that the material is mainly located in the left-side area of the transmission platform. Further algorithm optimization and data fusion can then more accurately determine the center position of the material. Furthermore, the trend of weight data changes from the gravity sensors can be used to determine whether the material has fully entered the acquisition area and its entry speed, providing comprehensive data support for subsequent operations.
[0074] This achieves the following results: material position can be quickly determined solely through weight data processing without complex image analysis, with an extremely short response time, making it suitable for high-speed assembly line operations. Compared to machine vision systems, gravity sensors are lower in cost and simpler to maintain, making them suitable for cost-sensitive production environments. Unaffected by ambient light or material surface reflections, they maintain stable performance even in harsh industrial environments, providing highly reliable position determination results.
[0075] After obtaining the location where the material enters the collection area, subsequent steps can be continued.
[0076] S304, Based on the location, determine the distance between the material and the preset optimal scanning position.
[0077] After acquiring the position of the battery cell within the acquisition area using machine vision or a gravity sensor, the system can call upon preset optimal scanning position parameters (such as a height of 10cm and a horizontal offset of 5mm) and calculate the displacement of the current position relative to the optimal position in the X, Y, and Z axes using spatial geometry algorithms. For example, if the battery cell center coordinates are determined to be (X1, Y1, Z1) by machine vision, and the optimal scanning position coordinates are (X0, Y0, Z0), then the displacements ΔX = X0 - X1, ΔY = Y0 - Y1, and ΔZ = Z0 - Z1 can be calculated.
[0078] If the gravity sensor determines that the battery cell is located in the left area of the transmission platform, the system can calculate the distance to the optimal position based on the position mapping relationship of the sensor array.
[0079] S306, Based on the distance control, the transmission platform moves the material to the preset optimal scanning position and acquires a second image.
[0080] In this example, the integrated scanning and coding machine is equipped with a transmission platform. This platform integrates a high-precision linear motor module, which smoothly moves the battery cell to the optimal scanning position at a preset speed (e.g., 0.1 mm / s) based on the calculated displacement. Upon arrival, the scanning unit continuously acquires 5 frames of images at a preset frame rate and synthesizes a high-definition second image using a multi-frame fusion algorithm. For motion control, a PID closed-loop control algorithm can be used to adjust the motor output in real time, ensuring a positioning accuracy of ±0.05 mm. S308, Code reading and incoming material detection are performed based on the second image.
[0081] After obtaining the second image, code reading and subsequent incoming material inspection can be performed.
[0082] The schemes described in S302-S308 can be used to move the material to the optimal scanning position to improve the accuracy of barcode reading and thus enhance the accuracy of traceability.
[0083] When scanning and inspecting smooth, reflective materials such as battery cells, semiconductors, and wafers, the light is easily interfered with by reflections, leading to a high failure rate in native code recognition, affecting the reading effect and reducing the reliability of product traceability. In some embodiments, to solve the aforementioned problems, the positional relationship between the light source and the material and multi-position image acquisition can be optimized. On the one hand, the light source and the material are set at a certain angle to change the illumination angle, reduce the impact of specular reflection on code reading, and improve the success rate of native code recognition. On the other hand, three different positions are selected around the "optimal scanning position" to take pictures of the top surface of the material for code reading and incoming material inspection from three different angles, so that the material is image-acquired under three different tilted lighting scenarios. The system uses the image data acquired from multiple positions to integrate image features under different lighting angles through image fusion and analysis algorithms. This not only enhances the recognition effect of QR codes and other markings, but also more comprehensively detects defects such as scratches and stains on the top surface of the material, improving the accuracy of incoming material inspection and ultimately achieving efficient and accurate product traceability.
[0084] Please see Figure 4 , Figure 4 This is a schematic diagram illustrating a scanning and detection method according to this application. Figure 4 As shown, the method includes steps S402-S406. The scanning unit of the integrated scanning and labeling machine includes a camera subunit and a light-illuminating subunit; the light emitted by the light-illuminating subunit and the transmission direction of the transmission platform are in the same direction, and the light and the plane where the transmission platform is located form a preset angle.
[0085] S402, based on the transmission platform, the material is transmitted to a first position before the preset optimal scanning position and a second position after the preset optimal scanning position, and at the position, the camera subunit is triggered to acquire a second image.
[0086] On the path along which the transmission platform transports the battery cell to the preset optimal scanning position, the system can pre-set three key points. For example, the first position can be set 3cm before the optimal scanning position, with the light source illuminating the top surface of the battery cell at an angle smaller than the preset angle. Alternatively, the first position can be set 3cm after the optimal scanning position, with the light source illuminating the battery cell at an angle greater than the preset angle.
[0087] As the battery cell passes through these three positions in sequence, the camera subunit can be triggered to quickly acquire images of the top surface. Each acquisition takes less than 50ms, ensuring that the images are clear and have different lighting characteristics.
[0088] S404, based on the first position, the second image acquired at the preset optimal scanning position and the second position is used for barcode recognition and incoming material detection, respectively, to obtain the recognized barcode and the corresponding first confidence level, as well as the incoming material detection result and the corresponding second confidence level.
[0089] The first confidence level is used to indicate the degree of credibility of the identified barcode; the second confidence level is used to indicate the degree of credibility of the incoming material inspection results.
[0090] The system can process images acquired from three locations in parallel. For example, deep learning algorithms can be used to decode the image at each location and calculate the first confidence level of the recognition result (e.g., 92% for location 1, 98% for the optimal location, and 95% for location 2). The algorithm can automatically identify the impact of reflective areas on the barcode; a lower confidence level indicates greater reflective interference. Then, image segmentation techniques can be used to detect surface defects (scratches, stains, etc.) and generate a second confidence level (e.g., 90% for location 1, 96% for the optimal location, and 88% for location 2). Different lighting angles can highlight different types of defects (e.g., vertical light easily reveals pits, while oblique light easily exposes scratches).
[0091] S406, take the first barcode with the highest confidence as the final barcode reading result, and take the second incoming material inspection result with the highest confidence as the final incoming material inspection result.
[0092] The system can intelligently compare three sets of results. For example, it can select the image with the highest confidence level (such as 98% of the optimal position) as the final barcode reading result to ensure the accuracy of the barcode information. Alternatively, it can select the image with the second highest confidence level (such as 96% of the optimal position) as the final detection conclusion to reduce the risk of missed detections.
[0093] The schemes described in S402-S406 utilize image data collected from multiple locations. Through image fusion and analysis algorithms, image features under different lighting angles can be integrated. This not only enhances the recognition effect of QR codes and other markings, but also more comprehensively detects defects such as scratches and stains on the top surface of materials, improving the accuracy of incoming material inspection and ultimately achieving efficient and accurate product traceability.
[0094] In some factory environments with numerous devices, network interference is frequent, causing traceability failures during battery cell tracking due to network issues, thus impacting production efficiency. In some embodiments, to address this problem, traceability information such as the product's original code and production date can be packaged into a generated encoding code using a hash algorithm. Subsequently, a dehazing algorithm corresponding to the hash algorithm can be used to reconstruct the traceability information, eliminating the need for background network queries and ensuring efficient generation.
[0095] Please see Figure 5 , Figure 5 This is a schematic diagram illustrating a method for generating an inscription code, as described in this application. Figure 5 As shown, the method may include S502-S506.
[0096] S502, Obtain the material information of the material based on the native code.
[0097] The material information includes at least one of the following: original manufacturer, original production date, material properties, and material code.
[0098] The system can read the original code of the battery cell through a barcode scanning unit. This original code serves as the initial identifier of the battery cell and contains rich material information. Based on the original code, the system can quickly parse and obtain material information including at least the original manufacturer, original production date, material properties, and material code. For example, specific fields in the original code may correspond to the battery cell's manufacturer code; by parsing using preset encoding rules, it can determine which manufacturer produced the battery cell. The original production date information helps trace the battery cell's production timeline, providing foundational data for subsequent quality analysis and production management.
[0099] S504, perform a hash operation on the material information to obtain a hash result.
[0100] After obtaining the material information of the battery cell, the system can use this information as input and perform calculations using a hash algorithm. A hash algorithm, as a function that can map data of arbitrary length to a fixed-length hash value, possesses characteristics such as one-wayness, speed, and uniqueness. For the battery cell's material information, after hashing, a fixed-length hash result is obtained. This hash result can be seen as a "digital fingerprint" of the material information; it corresponds one-to-one with the original material information, and different material information can generate different hash results. Even slight changes in the material information can produce drastically different hash results, thus ensuring the accuracy and immutability of the information.
[0101] S506, combine the hash result with at least one of the following information to generate a preset bit length of encoding code: current manufacturer, current date, unique code.
[0102] The system can combine the hash result obtained in step S504 with at least one piece of information, such as the current manufacturer, the current date, and a unique code. The current manufacturer information indicates the production entity of the battery cell in the current production stage; the current date records the time the marking code was generated; and the unique code ensures the uniqueness of each marking code within a certain range. Through specific encoding rules and formats, the system can integrate this information to generate a marking code of a preset length. For example, following the order of "hash result + current manufacturer code + current date + unique code" and a fixed length requirement, the final marking code can be formed. The generated marking code not only contains the original traceability information of the battery cell (implied through the hash result) but also covers key information from the current production stage, facilitating subsequent production management and quality traceability.
[0103] An example of battery cell production.
[0104] In a certain new energy battery manufacturing plant, the factory has numerous pieces of equipment and a complex network environment, frequently experiencing network interference issues. A batch of cylindrical battery cells, model 18650, entered the production process.
[0105] The scanning unit of the integrated scanning and coding machine can scan the native code on the surface of the battery cell. The native code content is "ABC123456789". According to the preset encoding rules, the system can parse the native code and obtain the material information of the battery cell: the native manufacturer can be "Battery Cell Manufacturing Co., Ltd. A", the native production date can be "October 1, 2024", the material attribute can be "lithium-ion battery, capacity 2600mAh", and the material code can be "CL-18650-001".
[0106] Then, the system can take the obtained material information "Cell Manufacturing Co., Ltd. A, October 1, 2022, lithium-ion battery, capacity 2600mAh, CL-18650-001" as input, and use a 64-bit hash algorithm to perform the calculation, thereby obtaining a 64-bit hash result "9a3b12c45d6e7f89".
[0107] Subsequently, the manufacturer of the battery cell can be "Battery Assembly Company Limited B", the current date can be "May 25, 2025", and the system can generate a unique code "0001". Following preset encoding rules, the system combines the 64-bit hash result, the current manufacturer, the current date, and the unique code to generate a pre-set etch code (assuming 96 bits): "9a3b12c45d6e7f89 Battery Assembly Company Limited B202505250001". The etch unit can then clearly mark this etch code on the surface of the battery cell.
[0108] In subsequent production processes, when it is necessary to trace the cell, even if the factory network fails and cannot connect to the backend database for querying, the hash result in the assigned code can be processed by a device equipped with a reverse hash algorithm corresponding to the 64-bit hash algorithm. This allows the original material information of the cell to be restored, and the traceability operation can be successfully completed, ensuring that production efficiency is not affected by network problems.
[0109] In the process of material traceability, different material types have different physical properties. If the laser power is used improperly during the marking operation, the original code may not be completely removed or the material may be damaged, affecting the accuracy of traceability and the quality of the material. In some embodiments, to solve this technical problem, the material type can be obtained first to clarify the material properties; then, according to the material type, the laser power of the marking unit can be configured to a corresponding power level to establish an adaptation relationship between the material type and the laser power; finally, based on the adjusted laser power, the original code of the material is removed and the marking code is marked onto the material surface.
[0110] Through the above-mentioned technical means, the laser power can be precisely controlled for different materials. While thoroughly removing the original code, it avoids damaging the material due to excessive power or failing to remove the code due to insufficient power, thereby improving the accuracy and reliability of replacing the original code with the engraved code, ensuring the smooth progress of the material traceability process, ensuring the integrity and effectiveness of traceability information, and improving the quality control level of material production and circulation.
[0111] For example, in the cell manufacturing workshop of a lithium battery manufacturer, multiple scanning and marking machines are running on the production line. When producing a batch of aluminum-cased square lithium iron phosphate cells, this method of collecting and associating native codes and marking codes is used.
[0112] After the battery cell enters the scanning and marking machine, the height adjustment unit scans the cell's shape using a laser rangefinder to obtain information such as its height and dimensions, confirming that the cell is an aluminum-cased square lithium iron phosphate cell, thus obtaining the material type. Due to the high hardness and relatively high melting point of aluminum, to smoothly remove the original code and engrave the marking code, the system configures the laser power of the marking unit to 12W (this power is the adapted power obtained from testing on aluminum-cased cells) according to pre-set parameters corresponding to the material type and laser power. Subsequently, based on the adjusted 12W laser power, the marking unit removes the original code from the cell surface. Under the powerful laser energy, the original code is completely removed. Next, the marking unit engraves the marking code, containing information such as the cell's production batch, model, capacity, and production date, onto the cell surface in a clear and standardized format, completing the replacement of the original code with the marking code.
[0113] By precisely configuring the laser power according to the cell material type, this method ensures that the original code is completely removed, avoiding interference from residual original code on the identification and traceability of the engraved code. It also ensures that the aluminum-cased cells will not suffer damage such as excessive burning or deformation due to excessive laser power, or that the original code will not be completely removed or the engraved code will be blurred due to insufficient power. This allows the engraved code of each cell to be presented accurately and clearly, providing a reliable basis for subsequent cell quality traceability and production management, and significantly improving the standardization of the cell production process and the accuracy of the traceability system.
[0114] During material traceability, after the coding unit replaces the original code with an assigned code, there may be issues such as poor coding quality or blurred assigned codes leading to unsuccessful replacements that cannot be detected in a timely manner. This can result in errors or omissions in subsequent traceability information, affecting the accuracy and reliability of product quality traceability. In some embodiments, to address this issue, after the coding unit completes the replacement of the original code with an assigned code, a scanning unit can be used to read the newly etched assigned code. If the scanning unit successfully reads the assigned code information, the replacement operation is confirmed to be successful; if the reading fails, the system immediately triggers a re-replacement process, repeating the original code clearing and assigned code engraving operations until the scanning unit can successfully read the assigned code.
[0115] This technology allows for timely verification of the effectiveness of code replacement, ensuring that the codes on every material can be accurately read.
[0116] Taking battery cell production as an example, even if unclear markings occasionally occur during large-scale production, they can be quickly corrected through code reading verification and replacement mechanisms, ensuring the integrity and accuracy of battery cell traceability information. This greatly improves the reliability of the product quality traceability system, avoids production management chaos and quality traceability errors caused by marking problems, and effectively improves the stability of the production process and the level of product quality control.
[0117] This application also proposes an integrated scanning and mapping machine. Please see below. Figure 6 , Figure 6 This is a schematic diagram illustrating the structure of a scanning and coating integrated machine according to this application. Figure 6 As shown, the integrated scanning and coding machine 600 includes a height adjustment unit 610, a scanning unit 620, a coding unit 630, a coding unit 640, and a sending unit 650.
[0118] The height adjustment unit 610 is used to obtain the material type of the material and adjust the scanning unit to a preset height according to the material type; The scanning unit 620 is used to collect the original code of the material in response to sensing that the material has entered the collection area; The coding unit 630 is used to generate an engraving code for the material based on a preset algorithm; The marking unit 640 is used to replace the original code with the marking code based on the marking unit; The sending unit 650 sends the original code and the engraving code to the backend for associated storage.
[0119] Please see Figure 7 , Figure 7 This is a schematic diagram illustrating a scenario of a system linking native code and etched code, as shown in this embodiment. Figure 7 As shown, the system includes several scanning and marking integrated machines 701 and a backend system 702. The two are communicatively connected. The scanning and marking integrated machines can send the generated marking codes and original codes to the backend system 702 for associated storage.
[0120] Therefore, this not only enables automatic scanning and coding of materials, but also allows for adaptation to various materials, reducing energy consumption and light pollution, and enabling the associated storage of original codes and engraved codes to facilitate material traceability.
[0121] In some embodiments, the scanning and marking machine further includes a detection unit 660, which is used to perform incoming material inspection based on the image collected by the scanning unit and generate an inspection result; the inspection result includes qualified or unqualified; if the inspection result is unqualified, the inspection result also includes the detected defect type; The coding unit further generates an indicator based on the detection result; the indicator indicates the detection result of the material. A supplementary code for the inscription code is generated based on the indicated identifier.
[0122] In some embodiments, the scanning and coating integrated machine includes a platform for carrying and transporting the material. The machine also includes a sensing unit for confirming that material has entered the collection area in response to a gravity sensor mounted on the platform being triggered; the sensor includes at least one of the following: a vision sensor; a gravity sensor; and a photoelectric sensor.
[0123] In some embodiments, the platform is a transmission platform; the scanning and coating integrated machine further acquires the position of the material entering the collection area; Based on the location, determine the distance between the material and the preset optimal scanning position; Based on the distance control, the transmission platform moves the material to the preset optimal scanning position and acquires a second image; Code reading and incoming material detection are performed based on the second image.
[0124] In some embodiments, the scanning and marking machine further activates the scanning unit to acquire a first image of the material; based on the first image, it confirms the position of the material entering the acquisition area. or, Based on the information fed back by the gravity sensor, the location where the material enters the collection area is confirmed.
[0125] In some embodiments, the scanning unit includes a camera subunit and a lighting subunit; the light emitted by the lighting subunit is in the same direction as the transmission direction of the transmission platform, and the light is at a preset angle to the plane on which the transmission platform is located.
[0126] The scanning and coding machine further transmits the material to a first position before the preset optimal scanning position and a second position after the preset optimal scanning position based on the transmission platform, and triggers the camera subunit to acquire a second image at the position; Based on the first position, the second image acquired at the preset optimal scanning position and the second position is used for barcode recognition and incoming material detection, respectively, to obtain the recognized barcode and its corresponding first confidence level, as well as the incoming material detection result and its corresponding second confidence level; the first confidence level is used to indicate the credibility of the recognized barcode; the second confidence level is used to indicate the credibility of the incoming material detection result; The first barcode with the highest confidence level is taken as the final barcode reading result, and the second incoming material inspection result with the highest confidence level is taken as the final incoming material inspection result.
[0127] In some embodiments, the coding unit further obtains material information of the material based on the native code; the material information includes at least one of the following: native manufacturer, native production date, material properties, and material code; The material information is hashed to obtain a hash result; The hash result is combined with at least one of the following information to generate a preset bit length encoding code: current manufacturer, current date, unique code.
[0128] In some embodiments, the marking unit further acquires the material type of the material; According to the material type, the laser power of the marking unit is configured to a power level corresponding to the material type; The laser is used to remove the original code from the material and to etch the engraving code onto the material.
[0129] In some embodiments, the scanning and coding machine further reads the engraved code based on the scanning unit after replacing the original code with the engraved code based on the coding unit, and confirms that the replacement code is successful in response to successful reading. In response to a read failure, a replacement is performed again. Those skilled in the art will understand that one or more embodiments of this application can be provided as a method, system, or computer program product. Therefore, one or more embodiments of this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of this application can take the form of a computer program product implemented on one or more computer-usable storage media (which may include, but are not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0130] In this application, "and / or" means having at least one of the two. The various embodiments in this application are described in a progressive manner, and similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the data processing device embodiments are basically similar to the method embodiments, so the description is relatively simple, and relevant parts can be referred to the description of the method embodiments.
[0131] While this application contains numerous specific implementation details, these should not be construed as limiting the scope of any disclosure or the scope of the claims, but rather are primarily used to describe the features of specific embodiments of a particular disclosure. Certain features described in the multiple embodiments of this application may also be implemented in combination in a single embodiment. Conversely, various features described in a single embodiment may also be implemented separately in multiple embodiments or in any suitable sub-combination. Furthermore, while features may function in certain combinations as described and even initially claimed in this way, one or more features from a claimed combination may be removed from that combination in some cases, and a claimed combination may refer to a sub-combination or a variation of a sub-combination.
[0132] Similarly, although operations are depicted in a specific order in the accompanying drawings, this should not be construed as requiring these operations to be performed in the specific order shown or sequentially, or requiring all illustrated operations to be performed to achieve the desired result. In some cases, multitasking and parallel processing may be advantageous. Furthermore, the separation of various system modules and components in the described embodiments should not be construed as requiring such separation in all embodiments, and it should be understood that the described program components and systems can generally be integrated together in a single software product or packaged into multiple software products.
[0133] The above are merely preferred embodiments of one or more embodiments of this application and are not intended to limit the scope of one or more embodiments of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of one or more embodiments of this application should be included within the scope of protection of one or more embodiments of this application.
Claims
1. A method for collecting and associating original code and engraved code during the tracing process, applied to a scanning and engraving integrated machine, characterized in that, The integrated scanning and coding machine includes a height adjustment unit, a scanning unit, a coding unit, a coding unit, and a sending unit. The method includes: Using the height adjustment unit, the material type of the material is obtained, and the scanning unit is adjusted to a preset height according to the material type; In response to sensing that the material has entered the collection area, the scanning unit is activated to collect the original code of the material and the coding unit is activated to generate the coding code of the material based on a preset algorithm. The original code is replaced by the assigned code based on the coding unit; The sending unit sends the original code and the imprinting code to the backend for associated storage.
2. The method for collecting and associating original code and assigned code during the tracing process according to claim 1, characterized in that, The method further includes: Incoming material inspection is performed based on the image acquired by the scanning unit, and an inspection result is generated; the inspection result includes whether it is qualified or unqualified; if the inspection result is unqualified, the inspection result also includes the type of defect detected; The generation of the marking code for the material based on the preset algorithm includes: An indicator is generated based on the test results; the indicator indicates the test results of the material. A supplementary code for the inscription code is generated based on the indicated identifier.
3. The method for collecting and associating original code and assigned code during the tracing process according to claim 2, characterized in that, The integrated scanning and coating machine includes a platform; the platform is used to carry and transport the material; the method further includes: In response to the triggering of the sensors mounted on the platform, it is confirmed that the material has entered the collection area; the sensors include at least one of the following: a vision sensor; a gravity sensor; and a photoelectric sensor.
4. The method for collecting and associating original code and assigned code during the tracing process according to claim 3, characterized in that, The platform is a transmission platform; the scanning unit is activated to collect the original code of the material and perform incoming material inspection, including: Obtain the location where the material enters the collection area; Based on the location, determine the distance between the material and the preset optimal scanning position; Based on the distance control, the transmission platform moves the material to the preset optimal scanning position and acquires a second image; Code reading and incoming material detection are performed based on the second image.
5. The method for collecting and associating original code and assigned code during the tracing process according to claim 4, characterized in that, The step of obtaining the location where the material enters the collection area includes: The scanning unit is activated to capture a first image of the material; based on the first image, the position of the material entering the collection area is confirmed. or, Based on the information fed back by the gravity sensor, the location where the material enters the collection area is confirmed.
6. The method for collecting and associating original code and inscribed code during the tracing process according to claim 4, characterized in that, The scanning unit includes a camera subunit and a light source subunit; the light emitted by the light source subunit is in the same direction as the transmission direction of the transmission platform, and the light source forms a preset angle with the plane on which the transmission platform is located; The step of controlling the transmission platform to move the material to the preset optimal scanning position and acquire a second image based on the distance includes: Based on the transmission platform, the material is transmitted to a first position before the preset optimal scanning position and a second position after the preset optimal scanning position, and the camera subunit is triggered to acquire a second image at the position; The step of reading codes and detecting incoming materials based on the second image includes: Based on the first position, the second image acquired at the preset optimal scanning position and the second position is used for barcode recognition and incoming material detection, respectively, to obtain the recognized barcode and its corresponding first confidence level, as well as the incoming material detection result and its corresponding second confidence level; the first confidence level is used to indicate the credibility of the recognized barcode; the second confidence level is used to indicate the credibility of the incoming material detection result; The first barcode with the highest confidence level is taken as the final barcode reading result, and the second incoming material inspection result with the highest confidence level is taken as the final incoming material inspection result.
7. The method for collecting and associating original code and inscribed code during the tracing process according to claim 1, characterized in that, The generation of the marking code for the material based on the preset algorithm includes: The material information of the material is obtained based on the native code; the material information includes at least one of the following: native manufacturer, native production date, material properties, and material code; The material information is hashed to obtain a hash result; The hash result is combined with at least one of the following information to generate a preset bit length encoding code: current manufacturer, current date, unique code.
8. The method for collecting and associating original code and assigned code during the tracing process according to claim 1, characterized in that, The step of replacing the original code using the assigned code based on the coding unit includes: Obtain the material type of the material; According to the material type, the laser power of the marking unit is configured to a power level corresponding to the material type; The laser is used to remove the original code from the material and to etch the engraving code onto the material.
9. The method for collecting and associating original code and inscribed code during the tracing process according to claim 1, characterized in that, After replacing the original code with the assigned code based on the coding unit, the method further includes: Based on the scanning unit, the code is read, and in response to successful reading, the replacement code is confirmed to be successful. In response to the read failure, perform the replacement again.
10. A scanning and coating integrated machine, characterized in that, Includes a height adjustment unit, a barcode scanning unit, a barcode assignment unit, a barcode engraving unit, and a sending unit; The height adjustment unit is used to obtain the material type of the material and adjust the scanning unit to a preset height according to the material type; The scanning unit is used to collect the original code of the material in response to sensing that the material has entered the collection area; The coding unit is used to generate a coding code for the material based on a preset algorithm; The marking unit is used to replace the original code with the marking code based on the marking unit; The sending unit sends the original code and the engraving code to the backend for associated storage.