Engraving control method, engraving control device, electronic device, and storage medium

By remotely monitoring the laser engraving process, the problem of the harm to human health caused by on-site monitoring of laser engraving is solved. It enables remote control and real-time information feedback, reducing material waste and fire risk.

CN117245239BActive Publication Date: 2026-02-10SHENZHEN MINTION TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202310972174.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-02
Publication Date
2026-02-10
Estimated Expiration
2043-08-02

AI Technical Summary

Technical Problem

In existing technologies, the laser engraving process requires manual on-site monitoring, which is harmful to the human body and makes remote monitoring impossible.

Method used

By acquiring the model carving file, sending it to the carving machine and sending a start carving command, capturing carving video and sending it to the terminal device, receiving a stop carving command from the terminal, controlling the carving machine to stop or continue carving, and combining flame light source information to trigger early warnings and video sampling intervals, remote monitoring and control can be achieved.

Benefits of technology

It enables remote monitoring of laser engraving, reduces material waste, protects the engraving machine, provides real-time engraving progress and effect information, and prevents abnormal situations such as fires.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117245239B_ABST
    Figure CN117245239B_ABST
Patent Text Reader

Abstract

The application provides a carving control method, a carving control device, an electronic device and a storage medium, and belongs to the technical field of carving. The model carving file is acquired, the model carving file is sent to a carving machine, a start carving instruction is sent to the carving machine, the carving machine responds to the start carving instruction, a video of a process of carving a preset material according to the model carving file is collected, a carving video is obtained, the carving video is sent to a terminal device, a first stop carving instruction fed back by the terminal device according to the carving video is received, the first stop carving instruction is sent to the carving machine, so that the carving machine stops carving according to the first stop carving instruction, and remote monitoring of a laser carving process is realized.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of engraving technology, and in particular to an engraving control method, an engraving control device, an electronic device, and a storage medium. BACKGROUND

[0002] In related technologies, the laser engraving process is monitored on site in an artificial manner. However, laser light can cause damage to the human eye, and on-site monitoring is harmful to the human body. Therefore, it is necessary to monitor the laser engraving process through remote monitoring. How to remotely monitor the laser engraving process has become a problem to be solved. SUMMARY

[0003] The main purpose of the embodiments of the present application is to propose an engraving control method, an engraving control device, an electronic device, and a storage medium, which aims to remotely monitor the laser engraving process.

[0004] To achieve the above-mentioned purpose, a first aspect of the embodiments of the present application proposes an engraving control method, which comprises:

[0005] obtaining a model engraving file;

[0006] sending the model engraving file to an engraving machine, and sending a start engraving instruction to the engraving machine;

[0007] video collecting a process in which the engraving machine engraves a preset material according to the model engraving file in response to the start engraving instruction, to obtain an engraving video;

[0008] sending the engraving video to a terminal device, and receiving a first stop engraving instruction fed back by the terminal device according to the engraving video;

[0009] sending the first stop engraving instruction to the engraving machine, so that the engraving machine stops engraving according to the first stop engraving instruction.

[0010] In some embodiments, the model engraving file is obtained by:

[0011] obtaining a model engraving pattern and position information; the position information is used to indicate the position of the model engraving pattern on the preset material;

[0012] obtaining the model engraving file according to the model engraving pattern and the position information.

[0013] In some embodiments, after the engraving video is sent to the terminal device and the first stop engraving instruction fed back by the terminal device according to the engraving video is received, the engraving control method further comprises:

[0014] receiving flame light source information triggered by a fire of the engraving machine;

[0015] triggering a pre-warning according to the flame source information, and generating pre-warning information;

[0016] sending the pre-warning information to the terminal device, and receiving a second stop-engraving instruction fed back by the terminal device according to the pre-warning information;

[0017] sending the second stop-engraving instruction to the engraving machine, so that the engraving machine stops engraving according to the second stop-engraving instruction.

[0018] In some embodiments, after the process of collecting a video of the engraving machine engraving the preset material according to the model engraving file in response to the start-engraving instruction is performed, the engraving control method further comprises:

[0019] receiving a video sampling interval sent by the terminal device;

[0020] sampling the engraving video according to the video sampling interval to obtain a sampled engraving video.

[0021] In some embodiments, after the process of collecting a video of the engraving machine engraving the preset material according to the model engraving file in response to the start-engraving instruction is performed, the engraving control method further comprises:

[0022] performing engraving progress evaluation according to an engraving power, an already-engraved file capacity and a target file capacity to obtain engraving progress data;

[0023] performing engraving duration evaluation according to the engraving power, the already-engraved file capacity and the target file capacity to obtain an engraving remaining duration;

[0024] sending the engraving progress data and the engraving remaining duration to the terminal device.

[0025] In some embodiments, the sending of the engraving video to the terminal device comprises:

[0026] obtaining a video duration of the engraving video;

[0027] if the video duration is less than a preset duration, storing the engraving video in a preset storage space until the video duration is greater than or equal to the preset duration, reading the engraving video from the preset storage space, and sending the engraving video to the terminal device.

[0028] In some embodiments, after the process of collecting a video of the engraving machine engraving the preset material according to the model engraving file in response to the start-engraving instruction is performed, the engraving control method further comprises:

[0029] send the terminal device according to the engraving video feedback of the first stop engraving instruction;

[0030] send the first stop engraving instruction to the engraving machine, so that the engraving machine stops engraving according to the first stop engraving instruction.

[0031] To achieve the above object, a second aspect of the embodiment of the present application provides an engraving control device, the device comprises:

[0032] an acquisition module, configured to acquire a model engraving file;

[0033] a first sending module, configured to send the model engraving file to an engraving machine, and send a start engraving instruction to the engraving machine;

[0034] a video acquisition module, configured to acquire a video of a process of the engraving machine engraving a preset material according to the model engraving file in response to the start engraving instruction, to obtain an engraving video;

[0035] a second sending module, configured to send the terminal device according to the engraving video feedback of the first stop engraving instruction;

[0036] a third sending module, configured to send the first stop engraving instruction to the engraving machine, so that the engraving machine stops engraving according to the first stop engraving instruction.

[0037] To achieve the above object, a third aspect of the embodiment of the present application provides an electronic device, the electronic device comprises a memory and a processor, the memory stores a computer program, and the processor realizes the engraving control method of the first aspect when executing the computer program.

[0038] To achieve the above object, a fourth aspect of the embodiment of the present application provides a computer readable storage medium, the computer readable storage medium stores a computer program, and the computer program is executed by the processor to realize the engraving control method of the first aspect.

[0039] The carving control method, the carving control device, the electronic equipment and the computer readable storage medium provided by the present application, by acquiring a model carving file, sending the model carving file to the carving machine, and sending a start carving instruction to the carving machine, the carving machine is remotely controlled according to the start carving instruction to carve the preset material according to the model carving file. The process of the carving machine responding to the start carving instruction and carving the preset material according to the model carving file is video collected, and the carving video is obtained. The carving video is sent to the terminal device, which can make the terminal device acquire the video of laser carving in real time, and determine the carving progress, carving effect and other information according to the video. The terminal device receives the first stop carving instruction fed back according to the carving video, and sends the first stop carving instruction to the carving machine, so that the carving machine stops carving according to the first stop carving instruction. When the carving video shows that the carving effect is not good, the first stop carving instruction can be used to make the carving machine stop working immediately, which reduces the waste of materials and realizes the remote monitoring of laser carving. BRIEF DESCRIPTION OF DRAWINGS

[0040] Figure 1 is a flowchart of the carving control method provided by the embodiment of the present application;

[0041] Figure 2 is a flowchart of step S110 in Figure 1 ;

[0042] Figure 3 is another flowchart of the carving control method provided by the embodiment of the present application;

[0043] Figure 4 is another flowchart of the carving control method provided by the embodiment of the present application;

[0044] Figure 5 is another flowchart of the carving control method provided by the embodiment of the present application;

[0045] Figure 6 is a flowchart of step S140 in Figure 1 ;

[0046] Figure 7 is another flowchart of the carving control method provided by the embodiment of the present application;

[0047] Figure 8 is a structural schematic diagram of the carving control device provided by the embodiment of the present application;

[0048] Figure 9 is a hardware structural schematic diagram of the electronic equipment provided by the embodiment of the present application. DETAILED DESCRIPTION

[0049] In order to make the purposes, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the drawings and embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application and not to limit the present application.

[0050] It should be noted that although the functional modules are divided in the device schematic diagram, and the logical sequence is shown in the flowchart, in some cases, the steps shown or described can be performed in a manner different from the module division in the device or the sequence in the flowchart. The terms "first", "second", and the like in the specification and claims and the above-described drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0051] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the present application only and is not intended to limit the present application.

[0052] In the related art, the laser engraving process is monitored on site in an artificial manner. However, laser light can cause damage to the human eye, and on-site monitoring is harmful to the human body, so it is necessary to monitor the laser engraving process through remote monitoring. How to remotely monitor the laser engraving process has become a problem to be solved.

[0053] Based on this, the present application provides an engraving control method, an engraving control device, an electronic device and a computer readable storage medium, which aims to remotely monitor the laser engraving process.

[0054] The engraving control method, the engraving control device, the electronic device and the computer readable storage medium provided by the embodiments of the present application are specifically described by the following embodiments, and first, the engraving control method in the embodiments of the present application is described.

[0055] The engraving control method provided by the embodiments of the present application relates to the field of engraving technology. The engraving control method provided by the embodiments of the present application can be applied to a terminal, can be applied to a server end, and can also be software running in a terminal or a server end. In some embodiments, the terminal can be a smart phone, a tablet computer, a notebook computer, a desktop computer, etc.; the server end can be configured as an independent physical server, can be configured as a server cluster or a distributed system composed of multiple physical servers, can also be configured as a cloud server providing basic cloud computing services such as cloud service, cloud database, cloud computing, cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, CDN, and big data and artificial intelligence platform; and the software can be an application that implements the engraving control method, etc., but is not limited to the above forms.

[0056] The application is operable in a variety of general purpose or special purpose computing system environments or configurations. Examples of well-known computing systems, environments, and / or configurations that can be suitable for use with the application include, but are not limited to, personal computers, server computers, handheld or laptop devices, tablet devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like. The application can be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, and the like, that perform particular tasks or implement particular abstract data types. The application can also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules can be located in local and remote computer storage media including memory storage devices.

[0057] Figure 1 is an optional flowchart of the engraving control method provided by the embodiments of the application, Figure 1 The method in the above embodiment can be applied to an engraving control device, and can include but is not limited to the steps S110 to S150.

[0058] In step S110, a model engraving file is acquired.

[0059] In step S120, the model engraving file is sent to an engraving machine, and a start engraving instruction is sent to the engraving machine.

[0060] In step S130, a video of a process of engraving a preset material according to the model engraving file is collected in response to the start engraving instruction, to obtain an engraving video.

[0061] In step S140, the engraving video is sent to a terminal device, and a first stop engraving instruction fed back by the terminal device according to the engraving video is received.

[0062] In step S150, the first stop engraving instruction is sent to the engraving machine, so that the engraving machine stops engraving according to the first stop engraving instruction.

[0063] The steps S110 to S150 shown in the embodiments of the application can enable the terminal device to acquire a video of laser engraving in real time by sending the engraving video to the terminal device, and determine information such as an engraving progress and an engraving effect according to the video. Meanwhile, the terminal device can remotely control the engraving machine to start or stop engraving. When the engraving video shows that the engraving effect is not good, the terminal device can immediately stop the engraving machine, thereby reducing material waste.

[0064] Please refer to Figure 2 In some embodiments, the step S110 can include but is not limited to the steps S210 to S220.

[0065] In step S210, the model carving pattern and the position information are obtained; the position information is used to indicate the position of the model carving pattern on the preset material.

[0066] In step S220, the model carving file is obtained according to the model carving pattern and the position information.

[0067] In step S210 of some embodiments, the carving control device has a USB interface, one end of a USB connecting line is inserted into the USB interface, and the other end is inserted into the interface at the corresponding position of the carving machine, so as to realize the connection between the carving control device and the carving machine, to send control commands to the carving machine or read the feedback of the carving machine to the control commands. The carving control device is provided with a carving machine indicator light, which is used to display whether the carving control device is connected to the carving machine. For example, if the carving machine indicator light shows a stable red color, it means that the carving control device is connected to the carving machine; if the carving machine indicator light shows a flickering red color, it means that the carving control device is not connected to the carving machine. Specifically, the carving control device sends a connection request to the carving machine through the USB connecting line, the carving machine tries to connect the carving control device in response to the connection request, and feeds back the connection result to the carving control device, so that the carving control device switches the display of the carving machine indicator light according to the connection result. If the connection result indicates that the carving control device is connected to the carving machine, the carving machine indicator light shows a stable red color. If the connection result indicates that the carving control device is not connected to the carving machine, the carving machine indicator light shows a flickering red color. The carving control device also has a data interface through which the carving control device and a computer are connected, and the lightburn carving software is deployed on the computer. The model carving pattern is a pattern that needs to be carved on the preset material. The position information is the carving position of the model carving pattern on the preset material. It can be understood that the data stored on the carving control device can be transmitted to the computer through the data interface. The model carving pattern is imported into the lightburn software, the model carving image is edited, and the position of the model carving pattern on the preset material is set, and the model carving pattern and the position information are transmitted to the carving control device through the data interface.

[0068] In step S220 of some embodiments, the model carving pattern and the position information are used as the model carving file, and the carving control device transmits the model carving file to the carving machine through the USB interface, so that the carving machine carves the preset material according to the model carving file. The model carving file is a file in gcode standard.

[0069] In addition to the model carving pattern and the position information, the model carving file also includes the carving power, the carving speed, and the carving mode, wherein the carving power is the output power of the laser head of the carving machine, the carving speed is the moving speed of the laser head of the carving machine, and the carving mode is cutting carving, concave mold carving, etc.

[0070] Through the above steps S210 to S220, the engraving position of different shaped preset materials can be located so that the engraving machine can engrave the model and engrave the graphic at the engraving position of the preset material.

[0071] In step S120 of some embodiments, the engraving control device uses a DSP main control chip for multi-task instruction processing and video encoding processing. The engraving control device is equipped with a WIFI module, which is communicatively connected to the DSP main control chip. Through the WIFI module, the engraving control device can connect to a WIFI network, enabling remote transmission of video and command streams. The WIFI module includes an adjustable antenna, which can enhance wireless signal transmission by adjusting the antenna's direction. Simultaneously, the engraving control device is equipped with a WIFI indicator light, which directly indicates whether the engraving control device is connected to the WIFI network. For example, if the WIFI indicator light displays a stable green, it indicates that the engraving control device has successfully connected to the WIFI network; if the WIFI indicator light displays a flashing green, it indicates that the engraving control device is not connected to the WIFI network. The model engraving file can be remotely sent to the engraving machine via a terminal device, and a start engraving command can be sent to the engraving machine, enabling remote control of the engraving machine. For example, the model engraving file and the start engraving command can be sent to a wireless router via a mobile application or computer browser. After forwarding by the wireless router, the engraving control device receives the model engraving file and the start engraving command, and then sends the model engraving file and the start engraving command to the engraving machine. The model carving file and start carving command can also be sent through a computer connected to the carving control device.

[0072] In step S130 of some embodiments, Lightburn software is deployed on the computer. The computer is connected to the engraving machine, and the positioning function of Lightburn software, along with certain calibration steps, allows for point-to-point engraving or cutting of materials of different shapes and patterns. However, this method only achieves positioning and cannot remotely monitor the engraving machine. To achieve remote monitoring, the engraving control device in this embodiment includes a lens, infrared LEDs, and a focus knob. The lens is used for image acquisition and is a camera using a CMOS image sensor. The lens is communicatively connected to the DSP main control chip, enabling the DSP main control chip to encode the image acquired by the lens. The infrared LEDs provide compensation light to the lens, and the focus knob adjusts the lens focal length. The engraving control device can be positioned using a tripod to capture the laser engraving process. By adjusting the focus knob and using the infrared LEDs for light compensation, the engraving control device can acquire high-resolution engraving video, allowing for remote monitoring of the laser engraving process based on the engraving video. The engraving video is a video of the engraving machine engraving the preset material according to the model engraving file in response to the start engraving command.

[0073] While it's possible to remotely monitor the laser engraving process using a camera with Wi-Fi connectivity, this method doesn't allow for interconnection between the camera and the engraving machine, thus preventing remote control. This embodiment of the application achieves remote monitoring by connecting the camera and the engraving machine via a USB cable and transmitting engraving video and commands through a Wi-Fi module.

[0074] Please see Figure 3 In some embodiments, after step S130, the engraving control method may also include, but is not limited to, steps S310 to S320:

[0075] Step S310: Receive the video sampling interval sent by the terminal device;

[0076] Step S320: Perform video sampling on the engraving video according to the video sampling interval to obtain the sampled engraving video.

[0077] In step S310 of some embodiments, laser engraving typically takes a long time, resulting in a long video duration for the engraving video. This embodiment shortens the video duration by setting a video sampling interval to sample the engraving video, generating a time-lapse video with a single click. The video sampling interval is sent by the receiving terminal device. This interval can be sent remotely by the terminal device or at close range by a terminal device connected to the engraving control device and equipped with Lightburn software.

[0078] In step S320 of some embodiments, the engraved video includes multiple video frames, and one or more video frames are acquired at each video sampling interval to obtain the sampled engraved video. For example, if the engraved video is 3 hours long and the video sampling interval is 20 minutes, then one video frame of the engraved video is acquired every 20 minutes to obtain the sampled engraved video.

[0079] Understandably, it's also possible to achieve one-click generation of time-lapse videos without sampling the sculpting video. Specifically, the camera captures one image at each video sampling interval, and multiple images are sorted in ascending order of capture time to obtain the sampled sculpting video.

[0080] Through steps S310 to S320 above, a time-lapse video can be generated with one click, allowing users to quickly understand the entire laser engraving process.

[0081] Please see Figure 4 In some embodiments, after step S130, the engraving control method may also include, but is not limited to, steps S410 to S430:

[0082] Step S410: Evaluate the carving progress based on the carving power, the size of the carved file, and the size of the target file to obtain carving progress data;

[0083] Step S420: Evaluate the engraving time based on the engraving power, the size of the already engraved file, and the size of the target file to obtain the remaining engraving time;

[0084] Step S430: Send the carving progress data and remaining carving time to the terminal device.

[0085] In step S410 of some embodiments, to enable users to remotely view the laser engraving progress, the engraving progress is evaluated based on the engraving power, the size of the already engraved file, and the target file size to obtain engraving progress data. During laser engraving, the engraving speed and engraving position coordinates change rapidly, so the engraving progress data may not include the engraving speed and engraving position coordinates. The size of the already engraved file refers to the storage space occupied by the completed portion of the model engraving graphic, and the target file size refers to the storage space occupied by the model engraving graphic. Subtracting the target file size from the already engraved file size yields the remaining engraved file size, which represents the storage space occupied by the un-engraved portion of the model engraving graphic. The engraving power, the size of the already engraved file, the target file size, and the remaining engraved file size are used as the engraving progress data.

[0086] In step S420 of some embodiments, the carving time is evaluated based on the already carved file size and the target file size to obtain the remaining carving time. The remaining carving time is the carving time required for the uncarved portion of the model's carved graphic. Specifically, the remaining carved file size is obtained by subtracting the target file size from the already carved file size, and the carved time corresponding to the already carved file size is obtained. The carved time is the carving time consumed for the completed portion of the model's carved graphic. The ratio of the carved time to the already carved file size is used as the carving time per unit file size, which represents the time required to carve a unit file size. The remaining carving time is obtained by multiplying the carving time per unit file size by the remaining carved file size.

[0087] or,

[0088] The remaining carving time is estimated based on the carving power, the size of the already carved file, and the target file size. Specifically, the carving power is multiplied by the carved time to obtain the carved energy, which represents the energy required to carve the completed portion of the model's graphic. The carved energy is divided by the carved file size to obtain the carving energy per unit file size, which represents the energy required to carve a unit of file size. The carving energy per unit file size is multiplied by the remaining carved file size to obtain the remaining carving energy, which represents the energy required to carve the unfinished portion of the model's graphic. The remaining carving energy is divided by the carving power to obtain the remaining carving time.

[0089] In step S430 of some embodiments, the DSP main control chip sends the engraving progress data and the remaining engraving time to the wireless router via the WIFI module. The wireless router then forwards the engraving progress data and the remaining engraving time to the terminal device, so that the user of the terminal device can obtain the engraving progress of the laser engraving.

[0090] Through steps S410 to S430 above, the laser engraving progress can be obtained remotely via a mobile application or computer browser.

[0091] Please see Figure 5 In some embodiments, after step S130, the engraving control method may also include, but is not limited to, steps S510 to S520:

[0092] Step S510: Send the engraving video to the terminal device and receive the engraving parameters fed back by the terminal device based on the engraving video;

[0093] Step S520: Send the engraving parameters to the engraving machine so that the engraving machine can adjust its equipment parameters according to the engraving parameters.

[0094] In step S510 of some embodiments, the laser power of the engraving machine is typically greater than 5W. To ensure smooth laser engraving and reduce accidents, the user must remain in the room where the engraving machine is operating to monitor it. Currently, engraving machines do not have network connectivity, making remote monitoring of the laser engraving process impossible, and users cannot know the engraving effect. This application embodiment uses an engraving control device to send the engraving video to a terminal device, allowing the user of the terminal device to view the engraving video anytime, anywhere, and understand the laser engraving effect remotely. The DSP main control chip encodes the engraving video, compresses the encoded engraving video via a WIFI module, and transmits it to a wireless router. The wireless router then sends the engraving video to a server, which in turn sends it to the terminal device. The terminal device decodes the engraving video to view it. The engraving video demonstrates the laser engraving effect. If the user of the terminal device is not satisfied with the engraving effect, they can adjust the engraving parameters and send these parameters to the engraving control device. The engraving control device receives the engraving parameters from the terminal device based on the engraving video. The engraving parameters include engraving speed and engraving intensity. It should be noted that the process of sending the engraving parameters to the engraving control device can be referred to in step S120, and will not be repeated here.

[0095] In step S520 of some embodiments, the DSP main control chip sends engraving parameters to the engraving machine so that the engraving machine adjusts its equipment parameters according to the engraving parameters, and adjusts the equipment parameters of the engraving machine to the specific values ​​of the engraving parameters sent by the terminal device.

[0096] Through steps S510 to S520 above, the engraving speed, engraving intensity and other engraving parameters of the engraving machine can be remotely controlled.

[0097] In step S140 of some embodiments, the engraving video is sent to the terminal device, and a first stop engraving command is received from the terminal device based on the engraving video. The first stop engraving command is used to cause the engraving machine to remove the laser head and stop the engraving machine from working. When the engraving effect shown in the engraving video is not good, the engraving machine can be remotely controlled to stop working through the first stop engraving command. The process of remotely sending the engraving video to the terminal device can be referred to step S510, and will not be repeated here.

[0098] Please see Figure 6 In some embodiments, step S140 may include, but is not limited to, steps S610 to S620:

[0099] Step S610: Obtain the video duration of the engraving video;

[0100] In step S620, if the video duration is less than the preset duration, the engraved video is stored in the preset storage space until the video duration is greater than or equal to the preset duration. Then, the engraved video is read from the preset storage space and sent to the terminal device.

[0101] In step S610 of some embodiments, in order to reduce the waste of network resources and avoid frequent transmission of the engraving video from the engraving control device to the remote terminal device, the embodiments of this application limit the video duration of the engraving video. Specifically, the video duration of the engraving video is obtained.

[0102] In step S620 of some embodiments, the engraving control device is equipped with an SD memory card for storing engraving videos. The preset storage space is the storage space of the SD memory card. If the video duration is less than the preset duration, the engraving video is stored on the SD memory card until the duration of the engraving video stored on the SD memory card is greater than or equal to the preset duration. Then, the engraving video is read from the SD memory card and sent to the terminal device.

[0103] By using steps S610 to S620, the network bandwidth occupied by frequently sending engraving videos can be reduced, thus avoiding the waste of network resources.

[0104] Please see Figure 7 In some embodiments, after step S140, the engraving control method may also include, but is not limited to, steps S710 to S740:

[0105] Step S710: Receive flame light source information triggered by the engraving machine catching fire;

[0106] Step S720: Trigger an early warning based on the flame source information and generate early warning information;

[0107] Step S730: Send the warning information to the terminal device and receive the second stop carving command from the terminal device based on the warning information;

[0108] Step S740: Send a second stop carving command to the carving machine so that the carving machine stops carving according to the second stop carving command.

[0109] In step S710 of some embodiments, if the laser power of the engraving machine is set improperly or the engraving machine malfunctions, the engraving machine may catch fire. This embodiment of the application installs a flame sensor and a Bluetooth module on the engraving machine. The flame sensor and Bluetooth module are communicatively connected, and the flame sensor detects a fire source or a light source within a preset wavelength range. The flame source information is the fire source information or light source information measured by the flame sensor. When a flame or light source triggers the flame sensor to send the measured flame source information to the engraving control device via the Bluetooth module, the engraving control device receives the flame source information via its own Bluetooth module.

[0110] In step S720 of some embodiments, the engraving control device further includes a buzzer, which is triggered to alarm according to the flame light source information and generates a warning message. The warning message is used to notify the user of the terminal device that the engraving machine is malfunctioning.

[0111] In step S730 of some embodiments, a warning message is sent to a terminal device so that the user of the terminal device can receive timely notification of an abnormal operation of the engraving machine. A second stop engraving command is received from the terminal device based on the warning message; this second stop engraving command is used to stop the engraving machine from operating. It is understood that users sometimes cannot respond to warning messages in a timely manner. After a warning is triggered based on the flame source information, the engraving control device can automatically generate a second stop engraving command to control the engraving machine to stop engraving, without needing to send the second stop engraving command through the terminal device.

[0112] In step S740 of some embodiments, a second stop carving command is sent to the carving machine so that the carving machine stops carving according to the second stop carving command, thereby protecting the carving machine and extending its service life.

[0113] Through steps S710 to S740 above, when the engraving machine malfunctions, the terminal device can promptly obtain information about the engraving machine's malfunction and take measures to reduce the occurrence of accidents during laser engraving.

[0114] In step S150 of some embodiments, a first stop carving command is sent to the carving machine so that the carving machine stops carving according to the first stop carving command.

[0115] In some embodiments, the engraving control device also includes a microphone. The microphone collects sound during the laser engraving process. Alternatively, it can send voice commands to the engraving machine to achieve voice control. In some embodiments, the engraving control device also has a power interface, allowing it to be charged by connecting a power cord to a power source when its battery is low.

[0116] The engraving control device of this application embodiment is an integrated multi-functional device. After network configuration, remote monitoring of the engraving machine can be achieved. It also features functions such as positioning engraving, flame sensor alarm, and automatic generation of time-lapse video. Through the engraving control device, users can remotely monitor the engraving machine via a mobile application or PC browser. If the engraving or cutting effect is unsatisfactory, the engraving or cutting work can be paused or stopped at any time. If the laser power setting is unreasonable or an engraving abnormality causes the engraving machine to catch fire, an alarm will sound via buzzer, the laser head will be automatically moved, and the user will be notified via the APP, effectively protecting the engraving machine. The engraving control device of this application embodiment is simple and convenient, requiring no complex configuration, and is plug-and-play. It can generate time-lapse video with one click and, combined with a flame sensor, achieve flame detection, alarm, and push notification functions. Users can upload gcode files to their mobile phones and computers for engraving or cutting, and view real-time video and control the engraving machine on both devices. Furthermore, it can perform positioning engraving or cutting of materials of different shapes using Lightburn software on a connected computer.

[0117] Please see Figure 8 This application also provides an engraving control device that can implement the above-described engraving control method. The device includes:

[0118] Module 810 is used to acquire model sculpting files;

[0119] The first sending module 820 is used to send the model carving file to the carving machine and send a start carving command to the carving machine;

[0120] The video acquisition module 830 is used to capture video of the engraving machine engraving the preset material according to the model engraving file in response to the engraving start command, and to obtain the engraving video.

[0121] The second sending module 840 is used to send the engraving video to the terminal device and receive the first stop engraving command from the terminal device based on the engraving video.

[0122] The third sending module 850 is used to send a first stop carving command to the carving machine so that the carving machine stops carving according to the first stop carving command.

[0123] The specific implementation of this carving control device is basically the same as the specific implementation of the carving control method described above, and will not be repeated here.

[0124] This application also provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the above-described engraving control method. This electronic device can be any smart terminal, including tablet computers, in-vehicle computers, etc.

[0125] Please see Figure 9 , Figure 9 The hardware structure of an electronic device according to another embodiment is illustrated. The electronic device includes:

[0126] The processor 910 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this application.

[0127] The memory 920 can be implemented as a read-only memory (ROM), static storage device, dynamic storage device, or random access memory (RAM). The memory 920 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 920 and called and executed by the processor 910 using the engraving control method of the embodiments of this application.

[0128] The input / output interface 930 is used to implement information input and output;

[0129] The communication interface 940 is used to enable communication and interaction between this device and other devices. Communication can be achieved through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).

[0130] Bus 950 transmits information between various components of the device (e.g., processor 910, memory 920, input / output interface 930, and communication interface 940);

[0131] The processor 910, memory 920, input / output interface 930 and communication interface 940 are connected to each other within the device via bus 950.

[0132] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described engraving control method.

[0133] Memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory may optionally include memory remotely located relative to the processor, and these remote memories can be connected to the processor via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

[0134] The engraving control method, engraving control device, electronic device, and computer-readable storage medium provided in this application enable the terminal device to acquire the laser engraving video in real time by sending the engraving video to the terminal device, and determine information such as engraving progress and engraving effect based on the video. Simultaneously, it allows for remote control of the engraving machine to start or stop engraving. When the engraving video shows an unsatisfactory engraving effect, the engraving machine can be stopped immediately, reducing material waste.

[0135] The embodiments described in this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. As those skilled in the art will know, with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.

[0136] Those skilled in the art will understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of this application, and may include more or fewer steps than shown, or combine certain steps, or different steps.

[0137] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0138] Those skilled in the art will understand that all or some of the steps in the methods disclosed above, as well as the functional modules / units in the systems and devices, can be implemented as software, firmware, hardware, or suitable combinations thereof.

[0139] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0140] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.

[0141] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of the units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0142] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0143] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0144] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes multiple instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing programs, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0145] The preferred embodiments of the present application have been described above with reference to the accompanying drawings, but this does not limit the scope of the claims of the present application. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and substance of the embodiments of the present application shall be within the scope of the claims of the present application.

Claims

1. A carving control method, characterized in that, The method includes: Obtain the model sculpting file; Send the model carving file to the carving machine and send a start carving command to the carving machine; The engraving machine responds to the start engraving command and captures video of the process of engraving the preset material according to the model engraving file to obtain an engraving video. Send the carving video to the terminal device and receive the first stop carving command from the terminal device based on the carving video. Send the first stop carving command to the carving machine so that the carving machine stops carving according to the first stop carving command; After capturing video of the process of the engraving machine engraving the preset material according to the model engraving file in response to the engraving start command, the engraving control method further includes: The carving progress is evaluated based on the carving power, the size of the carved file, and the size of the target file to obtain carving progress data; the carving time is evaluated based on the carving power, the size of the carved file, and the size of the target file to obtain the remaining carving time; the carving progress data and the remaining carving time are sent to the terminal device. The step of estimating the remaining carving time based on the carving power, the size of the already carved file, and the size of the target file includes: Subtracting the target file size from the already carved file size yields the remaining carved file size; the carved duration corresponding to the already carved file size is obtained; the carved power and the carved duration are multiplied to obtain the carved energy, which represents the energy required for the completed portion of the model's carved graphic; the carved energy is divided by the carved file size to obtain the carved energy per unit file size, which represents the energy required for carving a unit file size; the carved energy per unit file size is multiplied by the remaining carved file size to obtain the remaining carved energy, which represents the energy required for the unfinished portion of the model's carved graphic; the remaining carved energy is divided by the carved power to obtain the remaining carved duration.

2. The engraving control method according to claim 1, characterized in that, The process of obtaining the model sculpting file includes: Obtain the model carving graphic and its position information; the position information is used to indicate the position of the model carving graphic on the preset material. The model carving file is obtained based on the model carving graphics and the position information.

3. The engraving control method according to claim 1, characterized in that, After sending the engraving video to the terminal device and receiving the first stop engraving command from the terminal device based on the engraving video, the engraving control method further includes: Receive information about the flame source triggered by the ignition of the engraving machine; The warning is triggered based on the flame source information, and a warning message is generated. The warning information is sent to the terminal device, and a second stop carving command is received from the terminal device based on the warning information. Send the second stop carving command to the carving machine so that the carving machine stops carving according to the second stop carving command.

4. The engraving control method according to claim 1, characterized in that, After capturing video of the process of the engraving machine engraving the preset material according to the model engraving file in response to the engraving start command, the engraving control method further includes: Receive the video sampling interval sent by the terminal device; The carving video is sampled according to the video sampling interval to obtain the sampled carving video.

5. The engraving control method according to any one of claims 1 to 4, characterized in that, Sending the engraved video to the terminal device includes: Obtain the video duration of the engraving video; If the video duration is less than the preset duration, the carving video is stored in the preset storage space until the video duration is greater than or equal to the preset duration. Then, the carving video is read from the preset storage space and sent to the terminal device.

6. The engraving control method according to any one of claims 1 to 4, characterized in that, After capturing video of the process of the engraving machine engraving the preset material according to the model engraving file in response to the engraving start command, the engraving control method further includes: Send the carving video to the terminal device and receive the carving parameters fed back by the terminal device based on the carving video; The engraving parameters are sent to the engraving machine so that the engraving machine can adjust its equipment parameters according to the engraving parameters.

7. An electronic device, characterized in that, The electronic device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the engraving control method according to any one of claims 1 to 6.

8. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the engraving control method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Control system and device of optical fiber laser cutting machine

    CN218694992U

  • Laser engraving system and engraving method

    US20080302771A1

  • Surveillance camera system, and video browsing method and video combining method for surveillance camera system

    WO2018042977A1