Method and apparatus for modifying system parameters of a laser welder
By generating encrypted configuration instructions and using device encoding for decryption, the problem of misuse of configuration instructions in laser welding machine system parameter modification is solved, achieving legal and timely parameter adjustment, and protecting product value and trade secrets.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SICHUAN STRONGEST LASER TECH CO LTD
- Filing Date
- 2026-02-02
- Publication Date
- 2026-05-29
AI Technical Summary
In existing methods for modifying parameters of laser welding machine systems, configuration commands are easily exploited maliciously, leading to the leakage of product value and trade secrets. Furthermore, the lack of timeliness control renders parameter adjustments ineffective.
By collecting user change requests and device codes, encrypted configuration instructions are generated. The device codes are then used as decryption keys to determine the validity and timeliness of the instructions, and parameters are modified only within a legal timeframe.
It effectively prevents configuration commands from being misused on other devices, protects trade secrets, prevents parameters from being repeatedly used after they expire, and ensures the legality and timeliness of parameter modifications.
Smart Images

Figure CN121607776B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of laser technology, and in particular to a method for modifying parameters of a laser welding machine system. This application also relates to a device for modifying parameters of a laser welding machine system, a computing device, and a computer-readable storage medium. Background Technology
[0002] To facilitate product production and management, the hardware configuration of each laser welding machine is consistent. However, to address different usage environments and processes, different adaptability parameters are introduced before shipment. In actual use, customers may need to adjust the equipment's functions. However, as these adaptability parameters are trade secrets of each laser welding machine manufacturer, they cannot be directly provided to customers.
[0003] Specifically, adaptability parameters are a collective term for a set of internal parameter settings of a laser welding machine system. These parameters are modified by inputting configuration commands through the external interface of the laser welding machine. Since these configuration commands are applicable to all laser welding machines of the same model, directly disclosing them to non-company personnel could lead to malicious misuse and illegal application to other machines of the same model, damaging the product's value. Furthermore, configuration commands often contain commercial parameters of the product; disclosing them directly to non-company personnel could leak trade secrets, damaging the company's value. Additionally, because configuration commands themselves lack timeliness—they can be entered at any time to modify the equipment's adaptability parameters—disclosing them to non-company personnel could result in repeated misuse, further damaging the product's value. Summary of the Invention
[0004] In view of this, embodiments of this application provide a method for modifying parameters of a laser welding machine system to address the technical deficiencies in the prior art. Embodiments of this application also provide a device for modifying parameters of a laser welding machine system, a computing device, and a computer-readable storage medium.
[0005] According to a first aspect of the embodiments of this application, a method for modifying parameters of a laser welding machine system is provided, including:
[0006] Collect user change requests and the first device code input by the target user, and retrieve instruction time information;
[0007] Based on the user's change request, an original configuration instruction is generated, and combined with the instruction time information and the first device encoding, an encrypted configuration instruction is generated;
[0008] The second device code of the target welding machine is used as the decryption key to determine whether the encrypted configuration command can be decrypted.
[0009] If so, the parameters of the target welding machine are modified by using the decrypted instruction time information and the original configuration instruction;
[0010] If not, stop modifying the parameters of the target welding machine and report a stop message.
[0011] Optionally, generating the original configuration instructions based on the user's change request includes:
[0012] Based on the user's changed requirements, the original configuration instructions, including packet header, instructions, data length, data, and packet footer, are generated.
[0013] Optionally, the step of combining the instruction time information with the first device code to generate an encrypted configuration instruction includes:
[0014] Write the instruction time information into the specified location of the original configuration instruction to obtain a valid configuration instruction;
[0015] The first device code is used as the encryption key, and the encryption configuration instruction is generated based on the valid configuration instruction.
[0016] Optionally, the step of using the first device code as an encryption key to generate the encryption configuration instruction based on the valid configuration instruction includes:
[0017] Based on preset instruction completion rules, the valid configuration instructions are completed to obtain the final configuration instructions;
[0018] The first device code is used as the encryption key, and the final configuration instruction is processed by a preset encryption algorithm to obtain the encrypted configuration instruction.
[0019] Optionally, modifying the parameters of the target welding machine using the decrypted instruction time information and the original configuration instruction includes:
[0020] The second device code is used as the decryption key to decrypt the encrypted configuration instruction, thereby obtaining the final configuration instruction;
[0021] Irrelevant bytes are removed from the final configuration instruction to obtain the valid configuration instruction;
[0022] Based on the valid configuration instruction, the instruction time information and the original configuration instruction are determined, and the parameters of the target welding machine are modified.
[0023] Optionally, determining the instruction time information and the original configuration instruction based on the valid configuration instruction includes:
[0024] Based on the time format corresponding to the instruction time information, the instruction time information is extracted from the specified position of the valid configuration instruction, and the original configuration instruction is determined.
[0025] The current time information is retrieved and compared with the instruction time information to determine whether the time difference is less than a preset time threshold.
[0026] If so, modify the parameters of the target welding machine according to the original configuration instructions;
[0027] If not, stop modifying the parameters of the target welding machine and report a stop message.
[0028] Optionally, the packet header and the packet footer consist of strings of a fixed format.
[0029] According to a second aspect of the embodiments of this application, a laser welding machine system parameter modification device is provided, comprising:
[0030] The collection module is configured to collect user change requests and first device codes input by the target user, and to retrieve instruction time information;
[0031] The encryption module is configured to generate an original configuration instruction based on the user's change request, and combine the instruction time information with the first device encoding to generate an encrypted configuration instruction;
[0032] The parameter modification module is configured to use the second device code of the target welding machine as the decryption key to determine whether the encrypted configuration instruction can be decrypted. If so, the parameters of the target welding machine are modified by using the decrypted instruction time information and the original configuration instruction. If not, the parameter modification of the target welding machine is stopped and a stop information is reported.
[0033] According to a third aspect of the embodiments of this application, a computing device is provided, comprising:
[0034] Memory and processor;
[0035] The memory is used to store computer-executable instructions, and the processor executes the computer-executable instructions to implement the steps of the laser welding machine system parameter modification method.
[0036] According to a fourth aspect of the present application, a computer-readable storage medium is provided that stores computer-executable instructions, which, when executed by a processor, implement the steps of the laser welding machine system parameter modification method.
[0037] According to a fifth aspect of the present application, a chip is provided that stores a computer program, which, when executed by the chip, implements the steps of the laser welding machine system parameter modification method.
[0038] The laser welding machine system parameter modification method provided in this application collects user change requests and a first device code input by the target user, and calls instruction time information; generates an original configuration instruction based on the user change request, and generates an encrypted configuration instruction by combining the instruction time information and the first device code; uses the second device code of the target welding machine as a decryption key to determine whether the encrypted configuration instruction can be decrypted; if so, the parameters of the target welding machine are modified using the decrypted instruction time information and the original configuration instruction; if not, the parameter modification of the target welding machine is stopped, and a stop information is reported. This method incorporates configuration instructions into instruction time information and uses a specified device code as a key for encryption, effectively solving the industry problem of remotely adjusting the adaptability parameters of laser welding machines while preventing the leakage and misuse of these parameters. Attached Figure Description
[0039] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0040] Figure 1 This is a flowchart of a method for modifying parameters of a laser welding machine system according to an embodiment of this application;
[0041] Figure 2 This is a schematic diagram illustrating the generation of encrypted configuration instructions for a laser welding machine system parameter modification method provided in an embodiment of this application;
[0042] Figure 3 This is a logic diagram for generating encrypted configuration instructions for a laser welding machine system parameter modification method provided in one embodiment of this application;
[0043] Figure 4 This is a schematic diagram showing the breakdown of encrypted configuration instructions for a laser welding machine system parameter modification method provided in an embodiment of this application;
[0044] Figure 5 This is a logic diagram of the encrypted configuration instruction breakdown for a laser welding machine system parameter modification method provided in one embodiment of this application;
[0045] Figure 6 This is a schematic diagram of the structure of a laser welding machine system parameter modification device provided in one embodiment of this application;
[0046] Figure 7 This is a structural block diagram of a computing device provided in one embodiment of this application. Detailed Implementation
[0047] Many specific details are set forth in the following description to provide a full understanding of this application. However, this application can be implemented in many other ways different from those described herein, and those skilled in the art can make similar extensions without departing from the spirit of this application; therefore, this application is not limited to the specific embodiments disclosed below.
[0048] The terminology used in one or more embodiments of this application is for the purpose of describing particular embodiments only and is not intended to limit the scope of one or more embodiments of this application. The singular forms “a,” “the,” and “the” used in one or more embodiments of this application and in the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” used in one or more embodiments of this application refers to and includes any or all possible combinations of one or more associated listed items.
[0049] It should be understood that although the terms first, second, etc., may be used to describe various information in one or more embodiments of this application, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, first may also be referred to as second without departing from the scope of one or more embodiments of this application, and similarly, second may also be referred to as first.
[0050] First, the terminology used in one or more embodiments of the present invention will be explained.
[0051] 3DES: Triple Data Encryption Standard, is a symmetric encryption algorithm. It is an enhanced version of DES, the data encryption standard, but the encryption algorithm requires that the encrypted information can only be a multiple of 8 bytes.
[0052] SN Number: Each laser welding machine has a unique SN number, which serves as the unique identifier for the equipment.
[0053] This application provides a method for modifying parameters of a laser welding machine system. This application also relates to a device for modifying parameters of a laser welding machine system, a computing device, and a computer-readable storage medium, which will be described in detail in the following embodiments.
[0054] Figure 1 A flowchart illustrating a method for modifying parameters of a laser welding machine system according to an embodiment of this application is shown, specifically including the following steps:
[0055] Step S102: Collect the user change request and the first device code input by the target user, and retrieve the instruction time information;
[0056] Step S104: Generate an original configuration instruction based on the user's change request, and combine the instruction time information with the first device encoding to generate an encrypted configuration instruction;
[0057] Step S106: Use the second device code of the target welding machine as the decryption key to determine whether the encrypted configuration instruction can be decrypted. If yes, modify the parameters of the target welding machine by using the decrypted instruction time information and the original configuration instruction. If no, stop modifying the parameters of the target welding machine and report a stop message.
[0058] The adaptability parameters include settings for the upper limit of laser welding machine power, the operating temperature range of laser welding machine, the cooling system parameters of laser welding machine, the communication interface parameters of laser welding machine, the fault monitoring point settings of laser welding machine, the log parameters of laser welding machine, the control system settings of laser welding machine, and the language settings of laser welding machine. These system adaptability parameters can be modified by inputting configuration commands through the external interface of the laser welding machine.
[0059] Based on this, for laser welding machines that require adaptive parameter modifications, the user inputs their own needs (i.e., user change requirements) and the device code of the laser welding machine requiring adaptive modifications (i.e., the first device code) to the encryption execution entity responsible for generating encryption configuration instructions. It should be noted that the encryption execution entity can be a host computer, an app, embedded software, a web front-end, or a network back-end, etc. The specific encryption execution entity is determined by the actual usage scenario, and this embodiment does not impose any limitations.
[0060] Next, the start time for generating the encrypted configuration instruction is determined, corresponding to the instruction time information. The encryption execution entity generates the original configuration instruction based on the user's change request instruction, and then, combined with the first device code and instruction time information, generates the encrypted configuration instruction. The encryption execution entity sends out the encrypted configuration instruction and decrypts it using the second device code of the target welding machine.
[0061] Specifically, the target welding machine is the welding machine currently undergoing adaptive parameter modification. There may be a situation where it is different from the welding machine corresponding to the first device number of the user-input encryption execution subject. In this case, it is impossible to successfully decrypt the encrypted configuration command through the second device number. This avoids the situation where the configuration command is maliciously used and illegally applied to other devices of the same model.
[0062] Furthermore, in step S104, the process of generating the original configuration instructions based on the user's change requirements is specifically implemented as follows in this embodiment:
[0063] Based on the user's changed requirements, the original configuration instructions, including packet header, instructions, data length, data, and packet footer, are generated.
[0064] Furthermore, in the above steps, the packet header and the packet footer consist of strings of a fixed format.
[0065] Furthermore, in step S104, the process of generating an encrypted configuration instruction by combining the instruction time information and the first device code is specifically implemented as follows in this embodiment:
[0066] Write the instruction time information into the specified position of the original configuration instruction to obtain a valid configuration instruction; use the first device code as the encryption key, and generate the encrypted configuration instruction based on the valid configuration instruction.
[0067] Furthermore, in the above steps, the process of using the first device code as the encryption key and generating encrypted configuration instructions based on valid configuration instructions is specifically implemented as follows in this embodiment:
[0068] Based on preset instruction completion rules, the valid configuration instructions are completed to obtain the final configuration instructions; the first device code is used as the encryption key, and the final configuration instructions are processed by a preset encryption algorithm to obtain the encrypted configuration instructions.
[0069] The configuration command consists of a string with a specific format, featuring uniform header and footer characters. Therefore, the original configuration command comprises five parts: header, command, data length, data, and footer. The command, data length, and data can vary depending on the specific requirements, resulting in inconsistent character lengths based on the configuration content. Because command completion is involved, to avoid confusion between the header / footer and the completion characters, the header and footer characters are set differently from the completion characters. For example, if completion is achieved using 0xAA, then the header and footer characters will not be 0xAA.
[0070] Based on this, the encrypted execution entity combines the instruction time information with the original configuration instruction. To facilitate data processing and post-decryption data analysis, the instruction time information is written to a designated location in the original configuration instruction, such as automatically appending the instruction time information to the original configuration instruction and integrating it into a valid configuration instruction. It should be noted that the instruction time information has a fixed format, such as being represented in YMDhms (year, month, day, hour, minute, second) format, where the value of seconds ranges from 0 to 60.
[0071] Next, the valid configuration instructions are encrypted. During the process of generating encrypted configuration instructions, the choice of encryption algorithm is determined by the actual use scenario. For some types of encryption algorithms, such as 3DES, there are requirements on the length of the data to be encrypted. Therefore, for such encryption algorithms, the valid configuration instructions are completed by the instruction completion rules associated with the encryption algorithm to obtain the final configuration instructions.
[0072] For example, such as Figure 2 A schematic diagram of the encrypted configuration command generation method for modifying parameters of a laser welding machine system is provided, wherein... Figure 2 (a) Characterizes the original configuration instruction, which specifies that the packet header is fixed at 0x3C and the packet tail is fixed at 0xC3; Figure 2 (b) A valid configuration instruction is characterized in which instruction timing information is written to the end of the original configuration instruction; Figure 2 (c) Representing the final configuration instruction. Since 3DES is used for encryption, and the encryption algorithm requires that the encrypted information must be a multiple of 8 bytes, but the valid configuration instruction is not necessarily a multiple of 8 bytes, it is not possible to directly use 3DES to encrypt the configuration instruction. Therefore, the encryption execution body will determine whether the length of the valid instruction is a multiple of 8. If it is not a multiple of 8, it will automatically pad the valid instruction with 0xAA to make the instruction length a multiple of 8, thus obtaining the final configuration instruction.
[0073] It should be noted that the first and second device codes serve to identify the corresponding welding machine. Therefore, the device serial number (SN) can be used as the device code. Following the example above, in the 3DES encryption process, the m-byte final configuration instruction is encrypted with the 16-byte device SN to obtain an m-byte encrypted configuration instruction. This method establishes a strong correlation between the device identity and the encrypted configuration instruction, preventing the configuration instruction from being misused on other devices of the same model, and also preventing the leakage of trade secrets.
[0074] So, the generation process of the encryption configuration instructions in the example above is as follows: Figure 3 The provided method for modifying parameters of a laser welding machine system includes an encrypted configuration instruction generation logic diagram. The overall process involves generating an original configuration instruction based on the user's modification requirements, integrating the original configuration instruction with the current time (the current time being the instruction time information), and then determining whether the length of the valid configuration instruction is a multiple of 8. If not, "0xAA" is appended to the end of the valid configuration instruction to generate the final configuration instruction. If the length of the valid configuration instruction is a multiple of 8, it is directly used as the final configuration instruction and participates in the encryption process using the laser welding machine's serial number (SN) as the key, ultimately generating the encrypted configuration instruction.
[0075] Furthermore, in step S106, the process of modifying the parameters of the target welding machine by using the decrypted instruction timing information and the original configuration instruction is specifically implemented as follows in this embodiment:
[0076] The second device code is used as the decryption key to decrypt the encrypted configuration instruction to obtain the final configuration instruction; irrelevant bytes are removed from the final configuration instruction to obtain the valid configuration instruction; based on the valid configuration instruction, the instruction time information and the original configuration instruction are determined, and the parameters of the target welding machine are modified.
[0077] Furthermore, in the above steps, the process of determining the instruction time information and the original configuration instruction based on the valid configuration instruction is specifically implemented as follows in this embodiment:
[0078] Based on the time format corresponding to the instruction time information, the instruction time information is extracted from the specified position of the valid configuration instruction, and the original configuration instruction is determined; the current time information is called and compared with the instruction time information to determine whether the time difference is less than a preset time threshold. If so, the parameters of the target welding machine are modified according to the original configuration instruction; if not, the parameter modification of the target welding machine is stopped, and a stop information is reported.
[0079] The decryption execution entity can be an app, host computer, embedded software, web front-end, network back-end, etc. The encryption execution entity and the decryption execution entity can be the same entity or different entities. Generally, the encryption execution entity and the decryption execution entity are different entities, such as the encryption execution entity being the host computer and the decryption execution entity being the corresponding app.
[0080] In addition, the decryption execution entity is connected to the target welding machine. The connection method can be wired or wireless. Wired connection includes network cable, USB, serial port, CAN port, etc., while wireless connection includes Bluetooth, Wi-Fi, 4G, 5G, Zigbee, satellite communication, etc.
[0081] Based on this, the decryption execution entity sends a query command to read the second device code of the target welding machine. The execution entity uses the second device code as the decryption key to decrypt the encrypted configuration command, obtaining the decrypted final configuration command. For the final configuration command that completes the valid configuration command using preset command completion rules, the characters used for completion are removed. These characters used for completion are irrelevant and do not affect the original configuration command or command time information in the final configuration command.
[0082] For example, such as Figure 4The provided method for modifying parameters of a laser welding machine system is illustrated in the diagram of the encrypted configuration instruction splitting. For a valid configuration instruction, the instruction time information can be separated from the specified position of the valid configuration instruction according to the time format corresponding to the instruction time information, thereby determining the original configuration instruction.
[0083] For the decryption process of encrypted configuration commands, such as Figure 5 The provided method for modifying parameters of a laser welding machine system includes an encrypted configuration instruction breakdown logic diagram. The user receives the encrypted instruction, i.e., the encrypted configuration instruction, and inputs it into the accompanying app, which is the decryption execution entity. The app uses the serial number (SN) of the laser welding machine as the key for decryption. Here, the laser welding machine is the target welding machine, and its SN is the second device code. Then, it checks if the decrypted data ends with "0xAA". If so, the extra "0xAA" is removed; otherwise, a valid decrypted instruction, i.e., a valid configuration instruction, is generated.
[0084] In the process of decryption execution, the final configuration instruction is processed by removing all 0xAA bytes at the end to obtain the decrypted valid instruction. Since the last bit of the time information is seconds and its value ranges from 0 to 60, it cannot be 0xAA. Therefore, when the last byte is not 0xAA, it indicates that the supplementary bytes have been removed.
[0085] The valid decryption commands are then divided into original command information and command time information. Here, the valid decryption commands are valid configuration commands, and the original command information is the original configuration command. Specifically, the command time information is selected from a specified location according to the time format corresponding to the command time information, leaving the remaining initial part of the original configuration command. If the time threshold is preset to one hour, the command time information is compared with the current time to see if it is within one hour. If not, the command is discarded; if so, the command is sent to the laser welding machine. The laser welding machine, in this case, is the target welding machine, and executing the corresponding command means modifying the parameters according to the original configuration command.
[0086] In summary, encrypting configuration commands prevents the leakage of product information and trade secrets; using a specified device serial number as the encryption key prevents commands from being misused on other devices, thus protecting the product's commercial value; adding command time information to the configuration information prevents commands from being repeatedly used after timeout, further protecting the product's commercial value; and adding specific bytes after the command solves the problem that 3DES must encrypt and decrypt data that is a multiple of 8.
[0087] Corresponding to the above method embodiments, this application also provides an embodiment of a laser welding machine system parameter modification device. Figure 6A schematic diagram of a laser welding machine system parameter modification device according to an embodiment of this application is shown. Figure 6 As shown, the device includes:
[0088] The collection module 602 is configured to collect user change requests and first device codes input by the target user, and to call instruction time information;
[0089] The encryption module 604 is configured to generate an original configuration instruction based on the user's change request, and combine the instruction time information with the first device encoding to generate an encrypted configuration instruction;
[0090] The parameter modification module 606 is configured to use the second device code of the target welding machine as the decryption key to determine whether the encrypted configuration instruction can be decrypted. If so, the parameters of the target welding machine are modified by using the decrypted instruction time information and the original configuration instruction. If not, the parameter modification of the target welding machine is stopped and a stop information is reported.
[0091] In an optional embodiment, the encryption module 604 is further configured to:
[0092] Based on the user's changed requirements, the original configuration instructions, including packet header, instructions, data length, data, and packet footer, are generated.
[0093] In an optional embodiment, the encryption module 604 is further configured to:
[0094] Write the instruction time information into the specified position of the original configuration instruction to obtain a valid configuration instruction; use the first device code as the encryption key, and generate the encrypted configuration instruction based on the valid configuration instruction.
[0095] In an optional embodiment, the encryption module 604 is further configured to:
[0096] Based on preset instruction completion rules, the valid configuration instructions are completed to obtain the final configuration instructions; the first device code is used as the encryption key, and the final configuration instructions are processed by a preset encryption algorithm to obtain the encrypted configuration instructions.
[0097] In an optional embodiment, the parameter modification module 606 is further configured to:
[0098] The second device code is used as the decryption key to decrypt the encrypted configuration instruction to obtain the final configuration instruction; irrelevant bytes are removed from the final configuration instruction to obtain the valid configuration instruction; based on the valid configuration instruction, the instruction time information and the original configuration instruction are determined, and the parameters of the target welding machine are modified.
[0099] In an optional embodiment, the parameter modification module 606 is further configured to:
[0100] Based on the time format corresponding to the instruction time information, the instruction time information is extracted from the specified position of the valid configuration instruction, and the original configuration instruction is determined; the current time information is called and compared with the instruction time information to determine whether the time difference is less than a preset time threshold. If so, the parameters of the target welding machine are modified according to the original configuration instruction; if not, the parameter modification of the target welding machine is stopped, and a stop information is reported.
[0101] In an optional embodiment, the encryption module 604 is further configured to:
[0102] The packet header and the packet footer consist of strings of a fixed format.
[0103] The laser welding machine system parameter modification device provided in this application collects user change requests and a first device code input by the target user, and calls instruction time information; generates an original configuration instruction based on the user change request, and generates an encrypted configuration instruction by combining the instruction time information and the first device code; uses the second device code of the target welding machine as a decryption key to determine whether the encrypted configuration instruction can be decrypted; if so, the parameters of the target welding machine are modified using the decrypted instruction time information and the original configuration instruction; if not, the parameter modification of the target welding machine is stopped, and a stop information is reported. This method incorporates configuration instructions into instruction time information and uses a specified device code as a key for encryption, effectively solving the industry problem of remotely adjusting the adaptability parameters of laser welding machines while preventing the leakage and misuse of these parameters.
[0104] The above is a schematic scheme of a laser welding machine system parameter modification device according to this embodiment. It should be noted that the technical solution of this laser welding machine system parameter modification device and the technical solution of the laser welding machine system parameter modification method described above belong to the same concept. Details not described in detail in the technical solution of the laser welding machine system parameter modification device can be found in the description of the technical solution of the laser welding machine system parameter modification method described above. Furthermore, the components in the device embodiment should be understood as functional modules necessary to implement each step of the program flow or each step of the method; these functional modules are not actual functional divisions or separations. A device claim defined by such a set of functional modules should be understood as a functional module architecture that primarily implements the solution through the computer program described in the specification, and not as a physical device that primarily implements the solution through hardware.
[0105] Figure 7A structural block diagram of a computing device 700 according to an embodiment of this application is shown. The components of the computing device 700 include, but are not limited to, a memory 710 and a processor 720. The processor 720 is connected to the memory 710 via a bus 730, and a database 750 is used to store data.
[0106] The computing device 700 also includes an access device 740, which enables the computing device 700 to communicate via one or more networks 760. Examples of these networks include a Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the Internet. The access device 740 may include one or more of any type of wired or wireless network interface (e.g., a Network Interface Card (NIC)), such as an IEEE 802.11 Wireless Local Area Network (WLAN) interface, a Wi-MAX interface, an Ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a Bluetooth interface, a Near Field Communication (NFC) interface, and so on.
[0107] In one embodiment of this application, the aforementioned components of the computing device 700 and Figure 7 Other components, not shown, can also be connected to each other, for example, via a bus. It should be understood that... Figure 7 The block diagram of the computing device shown is for illustrative purposes only and is not intended to limit the scope of this application. Those skilled in the art can add or replace other components as needed.
[0108] The computing device 700 can be any type of stationary or mobile computing device, including mobile computers or mobile computing devices (e.g., tablet computers, personal digital assistants, laptop computers, notebook computers, netbooks, etc.), mobile phones (e.g., smartphones), wearable computing devices (e.g., smartwatches, smart glasses, etc.) or other types of mobile devices, or stationary computing devices such as desktop computers or PCs. The computing device 700 can also be a mobile or stationary server.
[0109] The processor 720 is used to execute computer-executable instructions for each step of the laser welding machine system parameter modification method.
[0110] The above is a schematic representation of a computing device according to this embodiment. It should be noted that the technical solution of this computing device and the technical solution of the laser welding machine system parameter modification method described above belong to the same concept. Details not described in detail in the technical solution of the computing device can be found in the description of the technical solution of the laser welding machine system parameter modification method described above.
[0111] An embodiment of this application also provides a computer-readable storage medium storing computer instructions that, when executed by a processor, are used to implement the steps of the laser welding machine system parameter modification method.
[0112] The above is an illustrative scheme of a computer-readable storage medium according to this embodiment. It should be noted that the technical solution of this storage medium belongs to the same concept as the technical solution of the laser welding machine system parameter modification method described above. Details not described in detail in the technical solution of the storage medium can be found in the description of the technical solution of the laser welding machine system parameter modification method described above.
[0113] One embodiment of this application also provides a chip that stores a computer program, which, when executed by the chip, implements the steps of the laser welding machine system parameter modification method.
[0114] The foregoing has described specific embodiments of this application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired results. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0115] The computer instructions include computer program code, which may be in the form of source code, object code, executable file, or certain intermediate forms. The computer-readable medium may include any entity or device capable of carrying the computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium may be appropriately added to or subtracted according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media may not include electrical carrier signals and telecommunication signals.
[0116] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0117] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0118] The preferred embodiments disclosed above are merely illustrative of this application. The optional embodiments do not exhaustively describe all details, nor do they limit the invention to the specific implementations described. Clearly, many modifications and variations can be made based on the content of this application. These embodiments are selected and specifically described in this application to better explain the principles and practical applications of this application, thereby enabling those skilled in the art to better understand and utilize this application. This application is limited only by the claims and their full scope and equivalents.
Claims
1. A method for modifying parameters of a laser welding machine system, characterized in that, include: Collect user change requests and the first device code input by the target user, and retrieve instruction time information; Based on the user's change requirements, an original configuration instruction containing a packet header, command, data length, data, and packet trailer is generated. Combined with the command time information and the first device code, an encrypted configuration instruction is generated. Specifically, the command time information is written into a specified position of the original configuration instruction to obtain a valid configuration instruction. Based on a preset command completion rule, the valid configuration instruction is completed to obtain a final configuration instruction. The first device code is used as an encryption key, and the final configuration instruction is processed by a preset encryption algorithm to obtain the encrypted configuration instruction. The second device code of the target welding machine is used as the decryption key to determine whether the encrypted configuration command can be decrypted. If the encrypted configuration instruction can be decrypted, the parameters of the target welding machine are modified using the decrypted instruction time information and the original configuration instruction. Specifically, the second device code is used as the decryption key to decrypt the encrypted configuration instruction, obtaining the final configuration instruction. Irrelevant bytes are removed from the final configuration instruction to obtain the valid configuration instruction. Based on the time format corresponding to the instruction time information, the instruction time information is extracted from the specified position of the valid configuration instruction, and the original configuration instruction is determined. The current time information is retrieved and compared with the instruction time information to determine whether the time difference is less than a preset time threshold. If so, the parameters of the target welding machine are modified according to the original configuration instruction; otherwise, the parameter modification of the target welding machine is stopped, and a stop message is reported. If the encrypted configuration command cannot be decrypted, stop modifying the parameters of the target welding machine and report a stop message.
2. The method according to claim 1, characterized in that, The packet header and the packet footer consist of strings of a fixed format.
3. A parameter modification device for a laser welding machine system, characterized in that, include: The collection module is configured to collect user change requests and first device codes input by the target user, and to retrieve instruction time information; The encryption module is configured to generate an original configuration instruction containing a packet header, instruction, data length, data, and packet trailer based on the user's change requirements, and combine the instruction time information with the first device code to generate an encrypted configuration instruction. Specifically, the instruction time information is written into a specified position of the original configuration instruction to obtain a valid configuration instruction. Based on a preset instruction completion rule, the valid configuration instruction is completed to obtain a final configuration instruction. The first device code is used as an encryption key, and the final configuration instruction is processed by a preset encryption algorithm to obtain the encrypted configuration instruction. The parameter modification module is configured to use the second device code of the target welding machine as the decryption key to determine whether the encrypted configuration command can be decrypted. If the encrypted configuration instruction can be decrypted, the parameters of the target welding machine are modified by comparing the decrypted instruction time information with the original configuration instruction. Specifically, the second device code is used as the decryption key to decrypt the encrypted configuration instruction to obtain the final configuration instruction. Irrelevant bytes are removed from the final configuration instruction to obtain the valid configuration instruction. Based on the time format corresponding to the instruction time information, the instruction time information is extracted from the specified position of the valid configuration instruction, and the original configuration instruction is determined. The current time information is called and compared with the instruction time information to determine whether the time difference is less than a preset time threshold. If so, the parameters of the target welding machine are modified according to the original configuration instruction. If not, the parameter modification of the target welding machine is stopped, and a stop message is reported. If the encrypted configuration command cannot be decrypted, stop modifying the parameters of the target welding machine and report a stop message.
4. A computing device, characterized in that, include: Memory and processor; The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions to implement the steps of the laser welding machine system parameter modification method according to any one of claims 1 to 2.
5. A computer-readable storage medium storing computer instructions, characterized in that, When executed by the processor, this instruction implements the steps of the laser welding machine system parameter modification method according to any one of claims 1 to 2.