Automatic laser marking method, system, terminal and storage medium

CN117483964BActive Publication Date: 2026-08-07SHENZHEN KAADAS INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHENZHEN KAADAS INTELLIGENT TECH CO LTD
Filing Date
2023-11-06
Publication Date
2026-08-07

AI Technical Summary

Technical Problem

[0005]本发明的主要目的在于提供一种自动镭射打标方法、系统、终端及存储介质,旨在解决现有技术的镭射打标方法在处理动态流水打标内容时,镭射的效率不高,且无法对接收的数据进行校验,导致镭射的准确率较低的问题

Benefits of technology

[0033]In this invention, the product barcode is obtained, and marking information is derived from the barcode. A control encoding array is acquired, and the target control encoding is obtained by searching the array based on the marking information. A corresponding marking application is then obtained based on the target control encoding, and the marking application is controlled to verify the marking information, obtaining a verification result and determining whether the result is correct. When the verification result is correct, the marking application is controlled to laser-etch the marking information onto the product. This invention uses handle control to transmit data between different application tools, improving the efficiency of processing dynamic, sequential marking content, and verifies the received marking information, thereby ensuring the accuracy of laser etching.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117483964B_ABST
    Figure CN117483964B_ABST
Patent Text Reader

Abstract

The application discloses an automatic laser marking method, system, terminal and storage medium, and the method comprises the following steps: obtaining the product barcode of a product, obtaining marking information according to the product barcode; obtaining a control code array, and performing lookup processing on the control code array according to the marking information to obtain a target control code; obtaining a corresponding marking application according to the target control code, controlling the marking application to verify the marking information to obtain a verification result, and judging whether the verification result is correct; when the verification result is correct, controlling the marking application to laser mark the marking information on the product. Through the handle control mode, the application transmits data between different application tools, improves the efficiency of processing dynamic flow marking content, and verifies the received marking information, so that the accuracy of laser marking is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of laser technology, and in particular to an automatic laser marking method, system, terminal, and computer-readable storage medium. Background Technology

[0002] Laser marking technology uses lasers to create text, patterns, and other markings on the surface of objects. It offers advantages such as high precision, high speed, and the permanence of the marks. In industry, particularly in the integrated circuit (IC) industry, high-precision and high-volume IC marking is required; therefore, improvements to laser marking technology and equipment are crucial.

[0003] Generally, the laser engraving content on the outer shell of finished products is the same. Simply editing the same text allows for automatic laser marking. However, for products with serial numbers, the content to be laser engraved on the outer shell is different. Currently, this is done manually to obtain product data, which is inefficient and prone to errors. While serial port commands are also available for laser marking, flawed software processing logic can lead to data loss or temporary freezes due to prolonged unresponsiveness. Furthermore, the lack of a data verification mechanism results in incorrect content being laser-marked onto the product, leading to waste.

[0004] Therefore, existing technologies still need to be improved and developed. Summary of the Invention

[0005] The main objective of this invention is to provide an automatic laser marking method, system, terminal, and storage medium, aiming to solve the problems of low laser marking efficiency and inability to verify received data in existing laser marking methods when processing dynamic serial marking content, resulting in low laser marking accuracy.

[0006] To achieve the above objectives, the present invention provides an automatic laser marking method, which includes the following steps:

[0007] Obtain the product barcode and then obtain the labeling information based on the product barcode.

[0008] Obtain the control code array, and perform a lookup process on the control code array according to the marking information to obtain the target control code;

[0009] The corresponding marking application is obtained based on the target control encoding, the marking application is controlled to verify the marking information, the verification result is obtained, and it is determined whether the verification result is correct.

[0010] When the verification result is correct, the marking application is controlled to laser-etch the marking information onto the product.

[0011] Optionally, the automatic laser marking method, wherein obtaining the product barcode and obtaining marking information based on the product barcode specifically includes:

[0012] Obtain product data information, scan the data information to obtain the product barcode;

[0013] The system accesses the database server via a network interface, sends the product barcode to the database server, and receives marking information from the database server, wherein the marking information is obtained by the database server by matching the product barcode.

[0014] Optionally, in the automatic laser marking method, the marking information includes a serial number and a MAC address.

[0015] Optionally, the automatic laser marking method, wherein obtaining the control code array and performing a lookup process on the control code array according to the marking information to obtain the target control code specifically includes:

[0016] Obtain the window information of the current operation window, obtain the corresponding control information based on the window information, and collect the control codes of the control information to obtain a control code array;

[0017] The target control code is obtained by searching and matching the control code array based on the marking information.

[0018] Optionally, the automatic laser marking method, wherein obtaining the corresponding marking application based on the target control encoding, controlling the marking application to verify the marking information, obtaining a verification result, and determining whether the verification result is correct, specifically includes:

[0019] The corresponding marking application is obtained based on the target control code, the interface information of the marking application is obtained, and the target code of the marking application is obtained based on the interface information.

[0020] The marking information is sent to the marking application according to the target code, and the marking application is controlled to verify the marking information, obtain the verification result, and determine whether the verification result is correct.

[0021] Optionally, the automatic laser marking method, wherein when the verification result is correct, controlling the marking application to laser-etch the marking information onto the product specifically includes:

[0022] When the verification result is correct, a laser printing instruction is generated based on the verification result, and the laser printing instruction is sent to the marking application;

[0023] The laser printing instructions control the marking application to laser-print the marking information onto the product.

[0024] Optionally, the automatic laser marking method further includes, after determining whether the verification result is correct:

[0025] If the verification result is incorrect, the marking information is corrected to obtain the target marking information, and the target marking information is sent to the marking application.

[0026] Optionally, in the automatic laser marking method, the automatic laser marking system includes:

[0027] The information acquisition module is used to acquire the product barcode of the product and obtain the marking information based on the product barcode;

[0028] The data lookup module is used to obtain the control code array and perform lookup processing on the control code array according to the marking information to obtain the target control code;

[0029] The information verification module is used to obtain the corresponding marking application based on the target control encoding, control the marking application to verify the marking information, obtain the verification result, and determine whether the verification result is correct.

[0030] The information laser module is used to control the marking application to laser-etch the marking information onto the product when the verification result is correct.

[0031] In addition, to achieve the above objectives, the present invention also provides a terminal, wherein the terminal includes: a memory, a processor, and an automatic laser marking program stored in the memory and executable on the processor, wherein when the automatic laser marking program is executed by the processor, it implements the steps of the automatic laser marking method as described above.

[0032] In addition, to achieve the above objectives, the present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores an automatic laser marking program, which, when executed by a processor, implements the steps of the automatic laser marking method as described above.

[0033] In this invention, the product barcode is obtained, and marking information is derived from the barcode. A control encoding array is acquired, and the target control encoding is obtained by searching the array based on the marking information. A corresponding marking application is then obtained based on the target control encoding, and the marking application is controlled to verify the marking information, obtaining a verification result and determining whether the result is correct. When the verification result is correct, the marking application is controlled to laser-etch the marking information onto the product. This invention uses handle control to transmit data between different application tools, improving the efficiency of processing dynamic, sequential marking content, and verifies the received marking information, thereby ensuring the accuracy of laser etching. Attached Figure Description

[0034] Figure 1 This is a flowchart of a preferred embodiment of the automatic laser marking method of the present invention;

[0035] Figure 2 This is a schematic diagram of the interface for laser marking application in a preferred embodiment of the automatic laser marking method of the present invention;

[0036] Figure 3 This is a schematic diagram of the laser marking application window in a preferred embodiment of the automatic laser marking method of the present invention;

[0037] Figure 4 This is a schematic diagram of a window containing marking information, representing a preferred embodiment of the automatic laser marking method of the present invention.

[0038] Figure 5 This is a schematic diagram of a preferred embodiment of the automatic laser marking system of the present invention;

[0039] Figure 6 This is a schematic diagram of the operating environment of a preferred embodiment of the terminal of the present invention. Detailed Implementation

[0040] To make the objectives, technical solutions, and advantages of this invention clearer and more explicit, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

[0041] It should be noted that if the embodiments of the present invention involve directional indicators (such as up, down, left, right, front, back, etc.), the directional indicators are only used to explain the relative positional relationship and movement of the components in a certain specific posture (as shown in the figure). If the specific posture changes, the directional indicators will also change accordingly.

[0042] Furthermore, if the embodiments of this invention involve descriptions such as "first" or "second," these descriptions are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first" or "second" may explicitly or implicitly include at least one of those features. Additionally, the technical solutions of the various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. If the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed by this invention.

[0043] The automatic laser marking method described in the preferred embodiment of the present invention, such as... Figure 1 As shown, the automatic laser marking method includes the following steps:

[0044] Step S10: Obtain the product barcode and obtain the marking information based on the product barcode.

[0045] Step S10 includes:

[0046] Step S11: Obtain product data information, scan the data information to obtain the product barcode;

[0047] Step S12: Access the database server via the network interface, send the product barcode to the database server, and receive the marking information sent by the database server, wherein the marking information is obtained by the database server by matching the product barcode.

[0048] Specifically, for products with serial numbers, the content on the product casing of each product is unique. Laser engraving this content requires first acquiring the content of each product casing. Existing solutions involve reading the content from within the product or retrieving it from a data server, both of which are manual operations, inefficient and prone to errors. In this embodiment of the invention, for products with serial numbers, product data information, such as images or videos of the product casing, is acquired via a camera. This data information is then scanned using a main application, such as UniATE (a general ATE development platform), to obtain the product barcode, for example, the serial number of the product casing. The product barcode is then sent to a database server via a network interface, and the database server receives marking information. The database server matches the received product barcode to obtain corresponding marking information, including a serial number and a MAC address. This embodiment of the invention not only efficiently acquires the content of the product casing but also improves the accuracy of the product casing content.

[0049] Step S20: Obtain the control code array, and perform a search on the control code array according to the marking information to obtain the target control code.

[0050] Step S20 includes:

[0051] Step S21: Obtain the window information of the current operation window, obtain the corresponding control information based on the window information, and collect the control codes of the control information to obtain a control code array;

[0052] Step S22: Search and match the control code array according to the marking information to obtain the target control code.

[0053] Specifically, after obtaining the marking information through the main application, it is necessary to control the corresponding slave application, such as laser marking software. However, existing laser marking software does not provide a formal and reliable user interface API for third-party software to control it. Instead, it provides a serial port to receive serial port commands sent by third-party software and prints based on these commands. However, due to poor processing logic in existing laser marking software, its query-based waiting for serial port commands from third-party software has problems, resulting in failure to receive data or prolonged unresponsiveness, causing temporary freezing. In this embodiment of the invention, the window information of the window that needs to be operated is obtained, for example... The window title is used to enumerate all controls within the operation window based on the window information and extract the corresponding control information. The control codes of the control information are collected to obtain a control code array. Then, the control code array is searched and matched according to the marking information to obtain the target control code. Obtaining the target control code is to send the event to the control corresponding to the target control code through the Windows message sending method. This control responds according to the received message, thereby achieving the purpose of manipulation between different applications. This solves the problem of laser marking software freezing caused by serial port commands and also ensures the integrity of data reception, thereby improving laser efficiency.

[0054] Step S30: Obtain the corresponding marking application according to the target control encoding, control the marking application to verify the marking information, obtain the verification result, and determine whether the verification result is correct.

[0055] Step S30 includes:

[0056] Step S31: Obtain the corresponding marking application according to the target control code, acquire the interface information of the marking application, and obtain the target code of the marking application according to the interface information;

[0057] Step S32: Send the marking information to the marking application according to the target code, control the marking application to verify the marking information, obtain the verification result, and determine whether the verification result is correct.

[0058] Specifically, the corresponding marking application, i.e., the laser marking application, is obtained based on the target control encoding. The interface of the laser marking application is as follows: Figure 2 As shown, the interface information of the marking application is obtained, and the target code of the marking application is obtained based on the interface information. The purpose of obtaining the target code is to control the marking button in the marking application. The marking button is controlled to start marking according to the target code. After the marking button is started, a new window pops up in the interface of the marking application, for example, as shown. Figure 3The window shown prompts you to enter the text to be processed. Based on the target encoding, the marking information is sent to the marking application, i.e., the marking information is sent to this new window. Figure 4 As shown, Figure 4 The diagram shows that the new window has received the marking information, for example, AC:12:34:56:ED:AB. After the marking application receives the marking information, it verifies the marking information. If the marking information contains only one piece of information, only one verification is needed. In this embodiment of the invention, the marking information includes a serial number and a MAC address, so two verifications are required, and so on, to obtain the verification result. Then, the verification result is determined by using a handle, i.e., encoding, to determine whether the verification result is correct. That is, the GET_TEXT information is sent to the marking application, and the GET_TEXT information is compared with the marking information. Only the marking information with correct verification results is laser-etched onto the product, preventing content errors, improving accuracy, reducing waste caused by laser-etching incorrect content onto the product, and lowering costs.

[0059] Step S40: When the verification result is correct, control the marking application to laser-etch the marking information onto the product.

[0060] Step S40 includes:

[0061] Step S41: When the verification result is correct, generate a laser printing instruction based on the verification result and send the laser printing instruction to the marking application;

[0062] Step S42: Based on the laser printing instructions, control the marking application to laser print the marking information onto the product.

[0063] Specifically, when the verification result is correct, a laser printing instruction is generated based on the verification result and sent to the marking application. After receiving the laser printing instruction, the marking application inputs the marking information to the connected laser machine, and the laser machine laser prints the marking information onto the product. By laser printing the verified marking information onto the product, not only is the accuracy of the data improved and product waste reduced, but also the time cost of disassembly and rework is reduced, thereby improving laser efficiency.

[0064] Furthermore, if the verification result is incorrect, the erroneous marking information is corrected to obtain the target marking information or the marking information is re-received, and the target marking information or the re-received marking information is sent to the marking application, thereby avoiding the laser engraving of erroneous content onto the product.

[0065] Furthermore, such as Figure 5As shown, based on the above-described automatic laser marking method, the present invention also provides an automatic laser marking system, wherein the automatic laser marking system includes:

[0066] Information acquisition module 51 is used to acquire the product barcode of the product and obtain the marking information based on the product barcode;

[0067] The data lookup module 52 is used to obtain the control code array and perform lookup processing on the control code array according to the marking information to obtain the target control code;

[0068] The information verification module 53 is used to obtain the corresponding marking application according to the target control encoding, control the marking application to verify the marking information, obtain the verification result, and determine whether the verification result is correct.

[0069] The information laser module 54 is used to control the marking application to laser the marking information onto the product when the verification result is correct.

[0070] This invention provides an automatic laser marking system that uses handle control to transmit data between different application tools, improving the efficiency of processing dynamic, sequential marking content, and verifying the received marking information to ensure the accuracy of laser marking.

[0071] Furthermore, such as Figure 6 As shown, based on the above-mentioned automatic laser marking method, the present invention also provides a terminal, which includes a processor 10, a memory 20 and a display 30. Figure 6 Only some of the terminal components are shown; however, it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.

[0072] In some embodiments, the memory 20 may be an internal storage unit of the terminal, such as a hard disk or memory. In other embodiments, the memory 20 may be an external storage device of the terminal, such as a plug-in hard disk, smart media card (SMC), secure digital card (SD), flash card, etc. Further, the memory 20 may include both internal and external storage devices. The memory 20 is used to store application software and various types of data installed on the terminal, such as the program code installed on the terminal. The memory 20 can also be used to temporarily store data that has been output or will be output. In one embodiment, the memory 20 stores an automatic laser marking program 40, which can be executed by the processor 10 to implement the automatic laser marking method of this application.

[0073] In some embodiments, the processor 10 may be a central processing unit (CPU), a microprocessor, or other data processing chip, used to run program code stored in the memory 20 or process data, such as executing the automatic laser marking method.

[0074] In some embodiments, the display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, or an OLED (Organic Light-Emitting Diode) touchscreen. The display 30 is used to display information on the terminal and to display a visual user interface. The components 10-30 of the terminal communicate with each other via a system bus.

[0075] In one embodiment, when the processor 10 executes the automatic laser marking program 40 in the memory 20, the following steps are performed:

[0076] Obtain the product barcode and then obtain the labeling information based on the product barcode.

[0077] Obtain the control code array, and perform a lookup process on the control code array according to the marking information to obtain the target control code;

[0078] The corresponding marking application is obtained based on the target control encoding, the marking application is controlled to verify the marking information, the verification result is obtained, and it is determined whether the verification result is correct.

[0079] When the verification result is correct, the marking application is controlled to laser-etch the marking information onto the product.

[0080] The step of obtaining the product barcode and then obtaining the marking information based on the product barcode specifically includes:

[0081] Obtain product data information, scan the data information to obtain the product barcode;

[0082] The system accesses the database server via a network interface, sends the product barcode to the database server, and receives marking information from the database server, wherein the marking information is obtained by the database server by matching the product barcode.

[0083] The tagging information includes a serial number and a MAC address.

[0084] The step of obtaining the control code array and performing a lookup process on the control code array based on the tagging information to obtain the target control code specifically includes:

[0085] Obtain the window information of the current operation window, obtain the corresponding control information based on the window information, and collect the control codes of the control information to obtain a control code array;

[0086] The target control code is obtained by searching and matching the control code array based on the marking information.

[0087] Specifically, the step of obtaining the corresponding marking application based on the target control encoding, controlling the marking application to verify the marking information, obtaining a verification result, and determining whether the verification result is correct includes:

[0088] The corresponding marking application is obtained based on the target control code, the interface information of the marking application is obtained, and the target code of the marking application is obtained based on the interface information.

[0089] The marking information is sent to the marking application according to the target code, and the marking application is controlled to verify the marking information, obtain the verification result, and determine whether the verification result is correct.

[0090] Specifically, when the verification result is correct, controlling the marking application to laser-etch the marking information onto the product includes:

[0091] When the verification result is correct, a laser printing instruction is generated based on the verification result, and the laser printing instruction is sent to the marking application;

[0092] The laser printing instructions control the marking application to laser-print the marking information onto the product.

[0093] The step of determining whether the verification result is correct further includes:

[0094] If the verification result is incorrect, the marking information is corrected to obtain the target marking information, and the target marking information is sent to the marking application.

[0095] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores an automatic laser marking program, which, when executed by a processor, implements the steps of the automatic laser marking method described above.

[0096] In summary, this invention provides an automatic laser marking method, system, terminal, and storage medium. The method includes: acquiring a product barcode and obtaining marking information based on the product barcode; acquiring a control code array and performing a lookup process on the control code array based on the marking information to obtain a target control code; obtaining a corresponding marking application based on the target control code, controlling the marking application to verify the marking information, obtaining a verification result, and determining whether the verification result is correct; when the verification result is correct, controlling the marking application to laser-mark the marking information onto the product. This invention improves the efficiency of processing dynamic, sequential marking content by transmitting data between different application tools through handle control, and verifies the received marking information to ensure the accuracy of laser marking.

[0097] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal that includes that element.

[0098] Of course, those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware (such as a processor, controller, etc.). The program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The computer-readable storage medium can be a memory, magnetic disk, optical disk, etc.

[0099] It should be understood that the application of the present invention is not limited to the examples above. Those skilled in the art can make improvements or modifications based on the above description, and all such improvements and modifications should fall within the protection scope of the appended claims.

Claims

1. An automatic laser marking method, characterized in that, The automatic laser marking method includes: Obtain the product barcode and then obtain the labeling information based on the product barcode. Obtain the control code array, and perform a lookup process on the control code array according to the marking information to obtain the target control code; The process of obtaining the control code array and searching the control code array according to the marking information to obtain the target control code specifically includes: Obtain the window information of the current operation window, obtain the corresponding control information based on the window information, and collect the control codes of the control information to obtain a control code array; The target control code is obtained by searching and matching the control code array based on the marking information; The corresponding marking application is obtained based on the target control encoding, the marking application is controlled to verify the marking information, the verification result is obtained, and it is determined whether the verification result is correct. The step of obtaining the corresponding marking application based on the target control encoding, controlling the marking application to verify the marking information, obtaining the verification result, and determining whether the verification result is correct specifically includes: The corresponding marking application is obtained based on the target control code, the interface information of the marking application is obtained, and the target code of the marking application is obtained based on the interface information. The marking information is sent to the marking application according to the target code, and the marking application is controlled to verify the marking information, obtain the verification result, and determine whether the verification result is correct. When the verification result is correct, control the marking application to laser-etch the marking information onto the product; By laser-etching the verified marking information onto the product, the accuracy of the data and the efficiency of the laser process are improved.

2. The automatic laser marking method according to claim 1, characterized in that, The process of obtaining the product barcode and then obtaining the marking information based on the product barcode specifically includes: Obtain product data information, scan the data information to obtain the product barcode; The system accesses the database server via a network interface, sends the product barcode to the database server, and receives marking information from the database server, wherein the marking information is obtained by the database server by matching the product barcode.

3. The automatic laser marking method according to claim 1 or 2, characterized in that, The tagging information includes a serial number and a MAC address.

4. The automatic laser marking method according to claim 1, characterized in that, When the verification result is correct, controlling the marking application to laser-etch the marking information onto the product specifically includes: When the verification result is correct, a laser printing instruction is generated based on the verification result, and the laser printing instruction is sent to the marking application; The laser printing instructions control the marking application to laser-print the marking information onto the product.

5. The automatic laser marking method according to claim 1, characterized in that, The step of determining whether the verification result is correct further includes: If the verification result is incorrect, the marking information is corrected to obtain the target marking information, and the target marking information is sent to the marking application.

6. An automatic laser marking system, characterized in that, The automatic laser marking system is used to implement the automatic laser marking method according to any one of claims 1-5, and the automatic laser marking system includes: The information acquisition module is used to acquire the product barcode of the product and obtain the marking information based on the product barcode; The data lookup module is used to obtain the control code array and perform lookup processing on the control code array according to the marking information to obtain the target control code; The information verification module is used to obtain the corresponding marking application based on the target control encoding, control the marking application to verify the marking information, obtain the verification result, and determine whether the verification result is correct. The information laser module is used to control the marking application to laser-etch the marking information onto the product when the verification result is correct.

7. A terminal, characterized in that, The terminal includes: a memory, a processor, and an automatic laser marking program stored in the memory and executable on the processor. When the automatic laser marking program is executed by the processor, it implements the steps of the automatic laser marking method as described in any one of claims 1-5.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores an automatic laser marking program, which, when executed by a processor, implements the steps of the automatic laser marking method as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Report software data two-way intercommunication method and system, storage medium and equipment

    CN113284575A

  • Marking control method and device, nonvolatile storage medium and processor

    CN113695752A