Marking method, device and equipment and storage medium

Through 3D measurement and compensation technology, the problem of the difference in height of the marking object affecting the laser marking effect is solved, and the uniformity and quality of the marking effect are improved.

CN120095342APending Publication Date: 2025-06-06SHENZHEN TETELASER TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510169798.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-17
Publication Date
2025-06-06

AI Technical Summary

Technical Problem

The height difference of the marking object will affect the laser marking effect, resulting in uneven marking effect.

Method used

The target point is scanned through a 3D measuring instrument, and the X-axis coordinates and Z-axis coordinates of the target point are obtained, the corresponding Z-axis compensation value is calculated, and the Z-axis coordinates of the target point are compensated. Finally, the target point is marked based on the compensated parameters.

Benefits of technology

Overcome the influence of the height difference of the marking object on the marking effect, ensuring the uniformity and quality of the marking effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120095342A_ABST
    Figure CN120095342A_ABST
Patent Text Reader

Abstract

The invention discloses a marking method, device and equipment and a storage medium, and relates to the technical field of laser marking, and the method comprises the steps: compensating a target point second parameter based on a pre-obtained target point first parameter; and marking the target point based on the first parameter of the target point and the compensated second parameter of the target point. According to the invention, the height difference of the marked object does not affect the marking effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of laser marking technology, and in particular to a marking method, device, equipment and storage medium. Background Art

[0002] In modern manufacturing, laser marking technology is widely used due to its high precision, non-contact processing, environmental protection and energy saving.

[0003] However, in practical applications, the height difference of the marked object will affect the marking effect.

[0004] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention

[0005] The main purpose of the present application is to provide a marking method, device, equipment and storage medium, aiming to solve the current technical problem that the height difference of the marked object will affect the marking effect.

[0006] To achieve the above purpose, the present application proposes a marking method, which comprises:

[0007] Compensating a second parameter of the target point based on a pre-obtained first parameter of the target point;

[0008] The target point is marked based on the first parameter of the target point and the compensated second parameter of the target point.

[0009] In one embodiment, the step of compensating the second parameter of the target point based on the pre-obtained first parameter of the target point includes:

[0010] The target point is scanned by a 3D measuring instrument to obtain a first parameter of the target point and a second parameter of the target point.

[0011] In one embodiment, the first parameter of the target point is the X-axis coordinate of the target point, the second parameter of the target point is the Z-axis coordinate of the target point, and the step of compensating the second parameter of the target point based on the pre-obtained first parameter of the target point includes:

[0012] Calculate the corresponding Z-axis compensation value of the target point based on the X-axis coordinate of the target point and the Z-axis coordinate of the target point;

[0013] The Z-axis coordinate of the target point is compensated based on the Z-axis compensation value of the target point.

[0014] In one embodiment, the step of calculating the corresponding target point Z-axis compensation value based on the target point X-axis coordinate and the target point Z-axis coordinate comprises:

[0015] Acquire a preset Z-axis coordinate based on the X-axis coordinate of the target point;

[0016] The corresponding target point Z-axis compensation value is calculated based on the preset Z-axis coordinate and the target point Z-axis coordinate.

[0017] In one embodiment, the step of marking the target point based on the first parameter of the target point and the compensated second parameter of the target point includes:

[0018] Based on the first parameter of the target point and the compensated second parameter of the target point, controlling a focus adjustment mechanism of the marking device to adjust a focus position;

[0019] The target point is marked based on the adjusted focus position.

[0020] In one embodiment, the step of marking the target point based on the adjusted focus position includes:

[0021] Performing a marking test on the target point based on the adjusted focus position to obtain test data;

[0022] Check whether the test data meets the expected effect.

[0023] In one embodiment, the step of checking whether the test data meets the expected effect includes:

[0024] The preset AI model is used to check at least one of the sparks, sounds, and marks after marking during the marking process to determine whether it meets the expected effect.

[0025] In addition, to achieve the above purpose, the present application also proposes a marking device, which includes:

[0026] A compensation module, used for compensating a second parameter of the target point based on a pre-obtained first parameter of the target point;

[0027] The marking module is used to mark the target point based on the first parameter of the target point and the compensated second parameter of the target point.

[0028] In addition, to achieve the above objectives, the present application also proposes a marking device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the marking method described above.

[0029] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the marking method described above are implemented.

[0030] One or more technical solutions proposed in this application have at least the following technical effects:

[0031] The present application compensates the second parameter of the target point based on the first parameter of the target point obtained in advance, thereby overcoming the influence of the height difference of the marked object on the marking effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0033] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0034] Figure 1 A schematic diagram of a process flow provided for Embodiment 1 of the marking method of this application;

[0035] Figure 2 A brief flow chart of the marking method for this application;

[0036] Figure 3 Schematic diagram of the marking process for this application Figure 1 ;

[0037] Figure 4 Schematic diagram of the marking process for this application Figure 2 ;

[0038] Figure 5 This is a schematic diagram of the structure of the marking equipment for this application;

[0039] Figure 6 It is a schematic diagram of the turntable lifting assembly;

[0040] Figure 7 is a schematic diagram of the jig assembly;

[0041] Figure 8 is a schematic diagram of a light source support assembly;

[0042] Fig. 9 It is a schematic diagram of the lifting and cavity components;

[0043] Fig.10 is a schematic diagram of a CCD / 3D camera assembly;

[0044] Fig.11 A schematic diagram of scanning a target object by a 3D measuring instrument for this application;

[0045] Fig.12 This is a schematic diagram of the result of scanning the target object using a 3D measuring instrument for this application;

[0046] Fig.13 Schematic diagram of height compensation for this application Figure 1 ;

[0047] Fig.14 Schematic diagram of height compensation for this application Figure 2 ;

[0048] Fig.15 This is a schematic diagram of the module structure of the marking device according to an embodiment of the present application;

[0049] Fig.16 Schematic diagram of the device structure of the hardware operating environment involved in the marking method in the embodiment of the present application.

[0050] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0051] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0052] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0053] The main solution of the embodiment of the present application is: compensating the second parameter of the target point based on the pre-obtained first parameter of the target point; marking the target point based on the first parameter of the target point and the compensated second parameter of the target point.

[0054] In this embodiment, for the convenience of description, the following description is made with the marking system as the execution subject.

[0055] In the prior art, the height difference of the marked object will affect the laser marking effect. Specifically, during the laser marking process, the height difference of the material surface will directly affect the focusing effect of the laser beam. When the material surface is uneven or there is a height difference, the focus point of the laser beam will shift, resulting in uneven distribution of laser energy on the material surface. This uneven energy distribution will directly affect the marking effect, especially the difference in color depth.

[0056] The present application provides a solution, which compensates the second parameter of the target point based on the first parameter of the target point obtained in advance, thereby overcoming the influence of the height difference of the marked object on the marking effect.

[0057] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device, a marking device, etc. that can realize the above functions, or an electronic system, a marking system, etc. that can realize the above functions. The following takes the marking system as an example to illustrate this embodiment and the following embodiments.

[0058] Based on this, the present application embodiment provides a marking method, referring to Figure 1 , Figure 1 A schematic diagram of the process flow provided for the first embodiment of the marking method of the present application.

[0059] In this embodiment, the marking method includes steps S20 to S30:

[0060] Step S20, compensating the second parameter of the target point based on the first parameter of the target point obtained in advance;

[0061] It should be noted that the marking method of the present application uses a laser generator to generate a high-energy continuous laser beam. The focused laser acts on the surface of the material, causing the local temperature to rise sharply, resulting in instant melting or even vaporization of the material surface. By precisely controlling the path of the laser on the material surface, the desired graphic mark can be formed.

[0062] Reference Figure 2 , Figure 2 A brief flowchart of the marking method for this application is shown below.

[0063] like Figure 2 As shown, the process of the marking method of the present application includes manual loading, turntable rotation, jacking positioning, 3D camera measurement, CCD camera positioning, laser marking, turntable rotation, and manual unloading. The above processes are explained below:

[0064] (1) Manual loading: In this step, the operator manually places the object to be marked at the designated location on the production line. This is usually done on a turntable or conveyor belt to facilitate subsequent automated processing.

[0065] (2) Turntable rotation: After the object is placed, the turntable starts to rotate, transferring the object from one workstation to the next. The design of the turntable allows multiple objects to undergo different processing steps at different workstations at the same time, thereby improving production efficiency.

[0066] (3) Lifting and positioning: When the object is transported to the measuring or marking position, the lifting mechanism will gently lift the object from the turntable and accurately position it. This step is to ensure that the object remains stable during the marking or measurement process to avoid errors caused by position deviation.

[0067] (4) 3D camera measurement: After lifting and positioning, the 3D camera scans the object to obtain the three-dimensional shape and height information of its surface. This information is crucial for subsequent laser marking, because the position of the laser focus needs to be adjusted according to the height of the object surface to ensure the consistency and clarity of the marking effect. Figure 3 , Figure 3 Schematic diagram of the marking process for this application Figure 1 .

[0068] (5) CCD camera positioning: After obtaining the three-dimensional information of the object, the CCD camera takes a picture of the object to obtain its two-dimensional image information. This step is usually used to further accurately determine the marking position to ensure that the marking pattern or text can be accurately placed at the predetermined position on the surface of the object.

[0069] (6) Laser marking: After determining the marking position and adjusting the laser focus, the laser marking equipment begins to mark the object. The laser beam moves on the surface of the object according to the predetermined pattern or text track, forming the required mark by melting or vaporizing the material surface.

[0070] (7) Turntable rotation: After marking is completed, the turntable rotates again to transfer the marked object to the next workstation or output location.

[0071] (8) Manual unloading: Finally, the operator manually removes the marked object at the designated output location, completing the entire marking process. Figure 4 , Figure 4 Schematic diagram of the marking process for this application Figure 2 .

[0072] Reference Figure 5 , Figure 5 This is a schematic diagram of the structure of the marking device of the present application. The marking device of the present application includes a turntable lifting assembly 21, a fixture assembly 22, a light source support assembly 23, a lifting and cavity assembly 25, and a CCD / 3D camera assembly 24. Figure 6 to Figure 10 , Figure 6 The schematic diagram of the turntable lifting assembly is shown in Figure 1. Figure 7 is a schematic diagram of the fixture assembly. Figure 8 is a schematic diagram of the light source support assembly. Fig. 9 It is a schematic diagram of the lifting and cavity components. Fig.10 Schematic diagram of the CCD / 3D camera assembly.

[0073] It should be noted that the target point is the marking point.

[0074] As an implementation manner, the first parameter of the target point may be the X-axis coordinate of the target point, and the second parameter of the target point may be the Z-axis coordinate of the target point.

[0075] As another implementation, the first parameter of the target point may be the height information of the target point, and the second parameter of the target point may be a parameter directly related to laser marking, such as the focus position of the laser beam, laser power, etc.

[0076] Step S30: marking the target point based on the first parameter of the target point and the compensated second parameter of the target point.

[0077] The specific position of the target point can be obtained based on the first parameter of the target point and the compensated second parameter of the target point, so as to mark the target point.

[0078] This embodiment provides a marking method, which compensates the second parameter of the target point based on the first parameter of the target point obtained in advance, thereby overcoming the influence of the height difference of the marked object on the marking effect.

[0079] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the first embodiment can be referred to the above description, and will not be repeated hereafter. On this basis, before step S20, the marking method further includes step S10:

[0080] Step S10: Scan the target point by a 3D measuring instrument to obtain a first parameter and a second parameter of the target point.

[0081] Reference Fig.11 , Fig.11 This is a schematic diagram of scanning a target object by a 3D measuring instrument in the present application, so as to obtain parameters of each target point in the target object, including a first parameter and a second parameter.

[0082] Reference Fig.12 , Fig.12 This is a schematic diagram of the result of scanning a target object using a 3D measuring instrument in this application.

[0083] Depend on Fig.12 It can be seen that the scanning result can accurately reflect the height of the target object.

[0084] Specifically, as an implementation method, the data of product surface protrusions and depressions can be obtained through a 3D laser measuring instrument to generate 3D coordinates, and these 3D coordinates can be compensated in the Z direction through software so that the marking position is always at the laser focus.

[0085] Based on the first embodiment of the present application, in the third embodiment of the present application, the same or similar contents as those in the first embodiment can refer to the above description, and will not be repeated in the following. On this basis, the first parameter of the target point is the X-axis coordinate of the target point, and the second parameter of the target point is the Z-axis coordinate of the target point. Step S20, based on the first parameter of the target point obtained in advance, compensates the second parameter of the target point and also includes steps S21 to S22:

[0086] Step S21, calculating a corresponding Z-axis compensation value of the target point based on the X-axis coordinate of the target point and the Z-axis coordinate of the target point;

[0087] The step S21 further includes steps S211 to S212:

[0088] Step S211, obtaining a preset Z-axis coordinate based on the X-axis coordinate of the target point;

[0089] It should be noted that in the marking system, the ideal height of the product can be pre-stored.

[0090] Furthermore, the product contour height is scanned through 3D line scanning, and the actual height of the product is compared with the ideal height pre-stored in the software to obtain the height difference between the two. Then, height compensation can be performed based on the height difference.

[0091] Step S212, calculating the corresponding target point Z-axis compensation value based on the preset Z-axis coordinate and the target point Z-axis coordinate.

[0092] Step S22, compensating the Z-axis coordinate of the target point based on the Z-axis compensation value of the target point.

[0093] The compensation value may be added to the current Z-axis coordinate of the target point, and the target point may be subsequently marked based on the X-axis coordinate of the target point and the compensated Z-axis coordinate of the target point.

[0094] Among them, if the actual height of the target point is lower than the ideal height, the compensation value is positive, indicating that the focal position of the laser or the position of the laser beam in the Z-axis direction needs to be adjusted upward; conversely, if the actual height of the target point is higher than the ideal height, the compensation value is negative, which means that the focal position of the laser or the position of the laser beam in the Z-axis direction needs to be adjusted downward when applied.

[0095] Reference Fig.13 , Fig.14 , Fig.13 Schematic diagram of height compensation for this application Figure 1 , Fig.14 Schematic diagram of height compensation for this application Figure 2 ;

[0096] like Fig.13 , Fig.14 As shown, the marking system includes a 3D camera (3D measuring instrument), a reflective lens and a material, wherein the laser mirror and the reflective mirror can be slightly adjusted up and down by a micro-displacement adjustment device to adjust the focal position of the laser or the position of the laser beam, thereby compensating for height changes.

[0097] As an implementation method, the product can be scanned by a 3D camera, and the obtained X-axis and Z-axis coordinates can be provided to the software. After the software obtains the data, it will compensate the Z-axis coordinate at the corresponding X-axis coordinate position during marking, so that the focus is always at the same height on the product.

[0098] Based on the first embodiment of the present application, in the fourth embodiment of the present application, the same or similar contents as those in the first embodiment can be referred to the above description, and will not be repeated in the following. On this basis, step S30, marking the target point based on the first parameter of the target point and the compensated second parameter of the target point also includes steps S31 and S34:

[0099] Step S31, based on the first parameter of the target point and the compensated second parameter of the target point, controlling the focus adjustment mechanism of the marking device to adjust the focus position;

[0100] As an implementation manner, the focus adjustment mechanism can adjust the focus position by adjusting the positions of the laser mirror and the reflective mirror.

[0101] Step S34, marking the target point based on the adjusted focus position.

[0102] Among them, since the focus position has been corrected according to the actual height of the product, the laser beam can accurately hit the target point and form the desired mark on its surface.

[0103] Based on the fourth embodiment of the present application, in the fifth embodiment of the present application, the same or similar contents as those in the fourth embodiment can be referred to the above description, and will not be repeated in the following. On this basis, before step S34, the marking method further includes steps S32 to S33:

[0104] Step S32, performing a marking test on the target point based on the adjusted focus position to obtain test data;

[0105] It should be noted that in the laser marking process, it is crucial to ensure the accuracy of the focus position, because it directly affects the quality, clarity and consistency of the marking. Even after the focus adjustment mechanism is corrected, the actual focus position may deviate from the expected one due to various factors (such as mechanical errors, changes in material properties, environmental factors, etc.). Therefore, before performing the formal marking operation, you can perform a marking test and check whether the test data meets the expected results.

[0106] Among them, the test data may include sparks, sounds during the marking process, and traces after marking.

[0107] The traces after marking can also include the depth, width, shape, etc. These parameters reflect the quality of the marking effect.

[0108] Step S33, checking whether the test data meets the expected effect.

[0109] Among other things, the test data can be compared with pre-set quality standards, design specifications or previously marked samples.

[0110] Based on the fifth embodiment of the present application, in the sixth embodiment of the present application, the same or similar contents as those in the fifth embodiment can be referred to the above description, and will not be repeated in the following. On this basis, step S33, checking whether the test data meets the expected effect also includes step S331:

[0111] Step S331, using a preset AI model to check at least one of the sparks, sounds, and marks after marking during the marking process to determine whether they meet the expected effect.

[0112] It should be noted that the AI ​​model used is obtained through training. The training process is described in the following 6 points:

[0113] 1. Data collection: Collect relevant data such as sparks, sounds, and traces after marking generated during the marking process. These data should cover the marking process under various circumstances, including normal and abnormal situations, to ensure the generalization ability of the model.

[0114] 2. Data preprocessing: Preprocess the data according to the characteristics of the collected data.

[0115] 3. Model selection: Select the appropriate AI model according to the characteristics of the marking process and the inspection requirements. For example, for sound inspection, you can choose a convolutional neural network (CNN) or a recurrent neural network (RNN) in deep learning; for image inspection, such as traces after marking, you can choose a convolutional neural network in deep learning. In summary, you can choose a convolutional neural network in deep learning as the AI ​​model.

[0116] 4. Model design: Based on the selected model, build the architecture of the AI ​​model, including determining the model's hierarchy, activation function, loss function and other key parameters. Design algorithms and processes suitable for marking process inspection to ensure that the model can accurately identify and judge features such as sparks, sounds, and post-marking traces.

[0117] 5. Model training: Use the preprocessed data set to train the AI ​​model. During the training process, the model will continuously learn the characteristics and rules of the data and adjust the model parameters to minimize the loss function.

[0118] 6. You can also perform model evaluation and testing to further optimize the model.

[0119] Subsequently, the AI ​​model can be deployed and applied.

[0120] Among them, the trained AI model is deployed to the marking equipment or system and integrated with the marking process to ensure that the model can check sparks, sounds, post-marking traces and other features in real time and accurately in actual applications.

[0121] During the marking process, the AI ​​model will automatically check features such as sparks, sounds, and marks after marking, and give a judgment on whether it meets the expected effect. Based on the judgment results of the AI ​​model, the marking equipment or system can automatically adjust the marking parameters or issue an alarm to ensure the quality and safety of the marking process.

[0122] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the marking method of the present application. More simple transformations based on this technical concept are all within the protection scope of the present application.

[0123] This application also provides a marking device, please refer to Fig.15 , the marking device comprises:

[0124] A compensation module 10, used to compensate a second parameter of the target point based on a pre-obtained first parameter of the target point;

[0125] The marking module 20 is used to mark the target point based on the first parameter of the target point and the compensated second parameter of the target point.

[0126] The marking device provided by the present application adopts the marking method in the above embodiment, which can solve the technical problem that the height difference of the marked object will affect the marking effect. Compared with the prior art, the beneficial effects of the marking device provided by the present application are the same as the beneficial effects of the marking method provided by the above embodiment, and the other technical features of the marking device are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0127] The present application provides a marking device, which includes: at least one processor; and a memory that is communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the marking method in the above-mentioned embodiment one.

[0128] Reference below Fig.16 , which shows a schematic diagram of the structure of a marking device suitable for implementing the embodiment of the present application. The marking device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig.16 The marking device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0129] like Fig.16 As shown, the marking device may include a processing device 1001 (such as a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the marking device are also stored. The processing device 1001, ROM1002 and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the marking device to communicate with other devices wirelessly or wired to exchange data. Although the figure shows a marking device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.

[0130] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0131] The marking device provided by the present application adopts the marking method in the above embodiment, which can solve the technical problem that the height difference of the marked object will affect the marking effect. Compared with the prior art, the beneficial effects of the marking device provided by the present application are the same as the beneficial effects of the marking method provided by the above embodiment, and the other technical features in the marking device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0132] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0133] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0134] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the marking method in the above-mentioned embodiment.

[0135] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.

[0136] The computer-readable storage medium may be included in the marking device; or may exist independently without being assembled into the marking device.

[0137] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the marking device, the marking device: compensates the second parameter of the target point based on the pre-obtained first parameter of the target point; and marks the target point based on the first parameter of the target point and the compensated second parameter of the target point.

[0138] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0139] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0140] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0141] The readable storage medium provided in this application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned marking method, and can solve the technical problem that the height difference of the marked object will affect the marking effect. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the marking method provided in the above-mentioned embodiment, and will not be repeated here.

[0142] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A marking method, characterized in that: The method comprises: Compensating a second parameter of the target point based on a pre-obtained first parameter of the target point; The target point is marked based on the first parameter of the target point and the compensated second parameter of the target point.

2. The method according to claim 1, characterized in that The step of compensating the second parameter of the target point based on the first parameter of the target point obtained in advance includes: The target point is scanned by a 3D measuring instrument to obtain a first parameter of the target point and a second parameter of the target point.

3. The method according to claim 1, characterized in that The first parameter of the target point is the X-axis coordinate of the target point, the second parameter of the target point is the Z-axis coordinate of the target point, and the step of compensating the second parameter of the target point based on the pre-obtained first parameter of the target point includes: Calculate the corresponding Z-axis compensation value of the target point based on the X-axis coordinate of the target point and the Z-axis coordinate of the target point; The Z-axis coordinate of the target point is compensated based on the Z-axis compensation value of the target point.

4. The method according to claim 3, characterized in that The step of calculating the corresponding target point Z-axis compensation value based on the target point X-axis coordinate and the target point Z-axis coordinate comprises: Acquire a preset Z-axis coordinate based on the X-axis coordinate of the target point; The corresponding target point Z-axis compensation value is calculated based on the preset Z-axis coordinate and the target point Z-axis coordinate.

5. The method according to claim 1, characterized in that The step of marking the target point based on the first parameter of the target point and the compensated second parameter of the target point comprises: Based on the first parameter of the target point and the compensated second parameter of the target point, controlling a focus adjustment mechanism of the marking device to adjust a focus position; The target point is marked based on the adjusted focus position.

6. The method according to claim 5, characterized in that The step of marking the target point based on the adjusted focus position includes: Performing a marking test on the target point based on the adjusted focus position to obtain test data; Check whether the test data meets the expected effect.

7. The method according to claim 6, characterized in that The step of checking whether the test data meets the expected effect includes: The preset AI model is used to check at least one of the sparks, sounds, and marks after marking during the marking process to determine whether it meets the expected effect.

8. A marking device, characterized in that: The device comprises: A compensation module, used for compensating a second parameter of the target point based on a pre-obtained first parameter of the target point; The marking module is used to mark the target point based on the first parameter of the target point and the compensated second parameter of the target point.

9. A marking device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the marking method according to any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the marking method according to any one of claims 1 to 7 are implemented.