Device parameter setting method and device, 3D printing device and storage medium
By extracting keywords and mode levels of the working mode of 3D printing equipment through a semantic parsing model and combining them with the basic parameters of the equipment, the target working mode is determined. This solves the problem of cumbersome and time-consuming parameter settings in existing technologies and enables quick and efficient configuration of equipment parameters.
Patent Information
- Application Number
- CN202310945674.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-28
- Publication Date
- 2025-11-18
- Estimated Expiration
- 2043-07-28
AI Technical Summary
The parameter setting process for existing 3D printing equipment is cumbersome and time-consuming, and the diversity of equipment and program systems leads to different setting paths, making it difficult to achieve unified and efficient parameter configuration.
By obtaining the working mode description information from the parameter setting instructions, using a semantic parsing model to extract keywords and mode levels, and combining this with the device's basic parameter items to determine the target working mode, parameter settings are performed in this mode, supporting user-defined adjustments.
It enables quick setting of device parameters, reduces the difficulty of operation, saves time, improves setting efficiency, and is suitable for different devices and program systems.
Smart Images

Figure CN119458895B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a method, apparatus, 3D printing equipment, and storage medium for setting device parameters. Background Technology
[0002] 3D printing is a rapid prototyping technology that creates objects of various shapes by depositing materials layer by layer. Typically, before a 3D model can be converted into an actual object, a series of parameter settings need to be configured on the printing equipment. Only after these settings are complete can the 3D printing task be executed.
[0003] In practical applications, numerous parameters need to be set, including not only the specifications of the 3D model itself but also the equipment parameters that instruct the device to operate. Furthermore, there are many types of 3D printing equipment and various software systems. Different devices or software systems require different parameter setting paths, making the process of setting equipment parameters for 3D printing equipment in related technologies cumbersome and time-consuming. Summary of the Invention
[0004] Based on this, a method, apparatus, 3D printing equipment, and storage medium for setting device parameters are provided to address the aforementioned technical problems.
[0005] Firstly, this application provides a method for setting device parameters, including:
[0006] In response to the device's parameter setting command, obtain the operating mode description information carried in the parameter setting command;
[0007] Based on the description of the working mode, determine the target working mode;
[0008] Configure the device parameters according to the multiple working parameters and their values under the target working mode.
[0009] In one embodiment, determining the target operating mode based on the operating mode description information includes:
[0010] Semantic parsing is performed on the working mode description information to determine the semantic working mode and the reference parameter items under the semantic working mode;
[0011] The target operating mode is determined based on the reference parameters and the basic operating parameters of the equipment.
[0012] In one embodiment, semantic parsing is performed on the operating mode description information to determine the semantic operating mode, including:
[0013] Input the working mode description information into the semantic parsing model, and use the semantic parsing model to extract the working mode keywords and mode levels from the working mode description information;
[0014] The semantic working mode is determined based on the keywords and mode level of the working mode.
[0015] In one embodiment, determining the target operating mode based on reference parameter items and basic device operating parameter items includes:
[0016] If the reference parameter items include all the basic parameter items, then the semantic working mode is determined as the target working mode;
[0017] If the reference parameter items do not include all the basic parameter items, then the undetermined parameter items not included in the reference parameter items are determined from the preset parameter items, and the target working mode is determined according to the semantic working mode and the undetermined parameter items.
[0018] In one embodiment, determining the target operating mode based on the semantic operating mode and the undetermined parameter items includes:
[0019] Get the default parameter values of the pending parameter items, and get the parameter items and their parameter values in the semantic working mode;
[0020] The target working mode is generated based on the undetermined parameter items and their default parameter values, as well as the parameter items and their parameter values in the semantic working mode.
[0021] In one embodiment, determining the target operating mode based on the semantic operating mode and the undetermined parameter items includes:
[0022] Display input prompts for pending parameters and receive supplementary information on the device's operating mode;
[0023] Determine the parameter values of the pending parameter items based on the supplementary information from the working mode;
[0024] The target working mode is generated based on the undetermined parameter items and their parameter values, as well as the parameter items and their parameter values in the semantic working mode.
[0025] In one embodiment, before setting the device parameters according to multiple operating parameter items and their values under the target operating mode, the method further includes:
[0026] Displays the working parameters of the target working mode and the parameter values of each working parameter;
[0027] Receive user adjustments to working parameters and / or parameter values for working parameters in the target working mode, and obtain the adjusted target working mode.
[0028] Secondly, this application also provides a device for setting device parameters, including:
[0029] The instruction response module is used to respond to the device's parameter setting instructions and obtain the working mode description information carried in the parameter setting instructions;
[0030] The mode determination module is used to determine the target working mode based on the working mode description information;
[0031] The parameter setting module is used to set the parameters of the device according to multiple working parameter items and the parameter values of each working parameter item in the target working mode.
[0032] Thirdly, this application also provides a 3D printing device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of any of the above methods.
[0033] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the above methods.
[0034] In the aforementioned device parameter setting method, apparatus, 3D printing equipment, and storage medium, by responding to the device's parameter setting command, the operating mode description information carried in the parameter setting command is obtained. Based on the operating mode description information, the target operating mode is determined, and then the device parameters are set according to multiple operating parameter items and their values under the target operating mode. This method enables quick device parameter setting, eliminating the need for cumbersome operations by the user, significantly reducing setup difficulty, saving time, and improving efficiency. Attached Figure Description
[0035] Figure 1 This is an internal structural diagram of a computer device in one embodiment;
[0036] Figure 2 This is a flowchart illustrating a device parameter setting method in one embodiment;
[0037] Figure 3 This is a flowchart illustrating the process of determining a target operating mode in one embodiment;
[0038] Figure 4 This is a flowchart illustrating the process of determining a semantic working mode in one embodiment;
[0039] Figure 5 This is a flowchart illustrating the process of determining a target working mode based on a semantic working mode and undetermined parameter items in one embodiment.
[0040] Figure 6 This is a flowchart illustrating the process of determining a target working mode based on a semantic working mode and undetermined parameter items in another embodiment.
[0041] Figure 7 This is a flowchart illustrating the process of determining a target working mode based on a semantic working mode and undetermined parameter items in another embodiment.
[0042] Figure 8 This is a flowchart illustrating the process of adjusting the target operating mode in one embodiment;
[0043] Figure 9 This is a flowchart illustrating a device parameter setting method in another embodiment;
[0044] Figure 10 This is a structural block diagram of a device parameter setting apparatus in one embodiment. Detailed Implementation
[0045] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0046] The device parameter setting method provided in this application embodiment can be applied to, for example, Figure 1 The computer device shown includes a processor, memory, communication interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a device parameter setting method. The display screen can be an LCD screen or an e-ink screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad on the computer device's casing, or an external keyboard, touchpad, or mouse.
[0047] Those skilled in the art will understand that Figure 1 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0048] In one embodiment, such as Figure 2 As shown, a method for setting device parameters is provided, which can be applied to... Figure 1 Taking a computer device as an example, the explanation includes the following steps:
[0049] S210, In response to the device's parameter setting command, based on the operating mode description information carried in the parameter setting command.
[0050] The aforementioned equipment is a computer device, and optionally, the computer device can be a 3D printing device.
[0051] Among them, parameter setting instructions are used to instruct computer devices to set device parameters, and can be triggered based on user operations on the computer devices. Operating mode description information is a semantic description representing the operating mode of the computer device, and can be in text or voice format.
[0052] Optionally, the user inputs the current operating mode description information required by the computer device into the computer device, and the computer device generates a parameter setting instruction carrying the operating mode description information, and extracts the operating mode description information from the parameter setting instruction in response to the parameter setting instruction.
[0053] S220. Determine the target working mode based on the working mode description information.
[0054] The computer equipment supports multiple working modes, each with different parameters and values. For example, using a computer equipment as a 3D printing device, the quality mode corresponds to parameters related to the quality of the printed material, such as printing speed, travel speed, and nozzle temperature; the detail mode corresponds to parameters related to the detail of the printed material, such as layer height, wall thickness, and cooling fan; and the stability mode corresponds to parameters related to the stability of the printed material, such as bottom layer thickness, bottom layer printing speed, platform temperature, and support.
[0055] Optionally, after obtaining the operating mode description information, the computer device may perform semantic parsing on the operating mode description information to determine the operating mode that matches the operating mode description information among the various operating modes supported by the computer device based on the parsing results, and use it as the target operating mode.
[0056] S230. Set the parameters of the equipment according to the multiple working parameter items and the parameter values of each working parameter item in the target working mode.
[0057] Optionally, after determining the target working mode, the computer device can obtain multiple working parameter items and the parameter values of each working parameter item in the target working mode, and set parameters for the computer device to control the computer device to perform working tasks with the working parameter items and the parameter values of each working parameter item in the target working mode.
[0058] In this embodiment, the computer device responds to the device's parameter setting command, obtains the operating mode description information carried in the parameter setting command, determines the target operating mode based on the operating mode description information, and then sets the device parameters according to multiple operating parameter items and their values under the target operating mode. This method enables quick setting of device parameters, eliminating the need for cumbersome operations by the user, greatly reducing the difficulty of setting parameters, saving time, and improving efficiency.
[0059] In practical applications, equipment operation requires basic parameters, which are essential conditions for equipment operation. Based on this, in one embodiment, such as... Figure 3 As shown, S220 above, based on the working mode description information, determines the target working mode, including:
[0060] S310. Perform semantic parsing on the working mode description information to determine the semantic working mode and the reference parameter items under the semantic working mode.
[0061] Among them, semantic working mode is the working mode of computer equipment directly determined by the semantics of working mode description information.
[0062] Optionally, the computer device can perform semantic parsing on the working mode description information to determine the semantics of the working mode description information, and then determine the working mode that matches the semantics among the multiple working modes supported by the computer device as the semantic working mode, and further determine the reference parameter items under the semantic working mode. For example, if the working mode description information is: Please print a model with the highest quality and the most stable performance, the computer device semantically parses the working mode description information and finds that the semantics of the working mode description information include "highest quality" and "most stable". The parsed semantics "highest quality" and "most stable" are matched with the working modes 1, 2 and 3 supported by the computer device. It is determined that working mode 1 matches the semantics "highest quality" and working mode 2 matches the semantics "most stable". The computer device can then determine that working mode 1 and working mode 2 are semantic working modes, and determine the parameter items under working mode 1 and working mode 2 as reference parameter items under the semantic working mode.
[0063] S320. Determine the target operating mode based on the reference parameter items and the basic operating parameter items of the equipment.
[0064] The basic parameters of different computer devices may differ, and the basic parameters of computer devices may also differ when performing different tasks.
[0065] Optionally, before determining the target operating mode, the computer device may obtain pre-set basic operating parameters of the device, or determine the basic operating parameters of the device based on the type of the computer device and / or the work task to be performed, and then compare the reference parameters in the semantic operating mode with the basic operating parameters of the device, and determine the target operating mode based on the comparison results.
[0066] In this embodiment, the computer device performs semantic parsing on the operating mode description information to determine the semantic operating mode and reference parameter items within the semantic operating mode. Then, based on the reference parameter items and the basic operating parameters of the device, it determines the target operating mode. In the above method, the target operating mode is determined comprehensively based on the semantic operating mode determined from the operating mode description information and the basic operating parameters of the device. This not only meets user needs but also satisfies the basic conditions for device operation.
[0067] In an optional embodiment, to improve the matching degree between the determined semantic working mode and the working mode description information, such as Figure 4 As shown, S310 above performs semantic parsing on the working mode description information to determine the semantic working mode and the reference parameter items under the semantic working mode, including:
[0068] S410. Input the working mode description information into the semantic parsing model, and extract the working mode keywords and mode level from the working mode description information through the semantic parsing model.
[0069] Optionally, the semantic parsing model is a Neuro-Linguistic Programming (NLP) model, which can be used to implement natural language processing and extract keywords from natural language.
[0070] Optionally, the computer device can input the working mode description information into a semantic parsing model. The semantic parsing model extracts keywords from the working mode description information that match the high-level semantic keywords in a preset high-level semantic set, which are then used as working mode keywords. Furthermore, context detection is performed on the matched working mode keywords to extract the modifiers of the working mode keywords in the working mode description information, which are used as the mode level of each working mode keyword. Continuing the example above, if the working mode description information is: "Please print a model with the highest quality and the most stable performance," and the preset high-level semantic set includes the high-level semantic keywords "quality" and "stability," the computer device can use "quality" and "stability" from the working mode description information as working mode keywords. It can then extract the modifiers for the working mode keyword "quality" as "highest" and "stability" as "most," thus determining that the mode level of the working mode keyword "quality" is the highest level, and the mode level of the working mode keyword "stability" is also the highest level.
[0071] S420. Determine the semantic working mode based on the working mode keywords and mode level.
[0072] Optionally, the computer device pre-stores working mode keywords and corresponding mode levels for various supported working modes. The computer device can match the working mode keywords and corresponding mode levels determined based on the working mode description information with the pre-stored working mode keywords and corresponding mode levels for various working modes, so as to identify the working mode that matches both the working mode keywords and corresponding mode levels determined based on the working mode description information as the semantic working mode. Continuing the example above, the working mode keywords and corresponding mode levels determined based on the working mode description information include: working mode keyword "quality", corresponding mode level is the highest level; working mode keyword "stability", corresponding mode level is the highest level; the computer device pre-stores: working mode 1 (working mode keyword "quality", corresponding mode level is the highest level), working mode 2 (working mode keyword "stability", corresponding mode level is the highest level), working mode 3 (working mode keyword "stability", corresponding mode level is normal), working mode 4 (working mode keyword "quality", corresponding mode level is normal). After matching, the computer device determines working mode 1 and working mode 2 as the above semantic working modes.
[0073] In this embodiment, the computer device inputs the working mode description information into a semantic parsing model. The semantic parsing model extracts the working mode keywords and mode levels from the working mode description information, and determines the semantic working mode based on the working mode keywords and mode levels. Through the above method, the semantic parsing model can accurately extract keywords from the working mode description information, thereby improving the matching degree between the determined semantic working mode and the working mode description information, and providing an accurate data foundation for subsequently determining the target working mode that meets user needs.
[0074] The target operating mode can be determined based on whether the reference parameter items in the semantic operating mode include all the basic parameter items. Therefore, in one embodiment, such as... Figure 5 As shown, the above-mentioned S320, determining the target operating mode based on the reference parameter items and the basic operating parameter items of the equipment, includes:
[0075] S510. If the reference parameter items include all the basic parameter items, then the semantic working mode is determined as the target working mode.
[0076] Optionally, if the reference parameter items in the semantic operating mode include all the basic parameter items, and the semantic operating mode can meet the basic conditions for the computer device to operate, the computer device can directly use the semantic operating mode as the target operating mode. For example, if the reference parameter items in semantic operating mode 1 and semantic operating mode 2 include A, B, C, D, and E, and the basic parameter items for device operation include A, B, and C, and the reference parameter items include all the basic parameter items, then the computer device determines semantic operating mode 1 and semantic operating mode 2 as the target operating modes.
[0077] S520. If the reference parameter items do not include all the basic parameter items, then determine the undetermined parameter items not included in the reference parameter items from the basic parameter items, and determine the target working mode based on the semantic working mode and the undetermined parameter items.
[0078] Optionally, if the reference parameter items in the semantic operating mode do not include all the basic parameter items (i.e., the reference parameter items do not include basic parameter items or include only some basic parameter items), indicating that the semantic operating mode cannot meet the basic conditions for the computer device to operate, the computer device further identifies the parts of the basic parameter items that are not included in the reference parameter items as pending parameter items, and determines the target operating mode based on the semantic operating mode and the pending parameter items. For example, if the reference parameter items under semantic operating mode 1 and semantic operating mode 2 include A, B, C, D, and E, and the basic parameter items for device operation include A, B, F, and G, and the reference parameter items only include some basic parameter items, the computer device further determines the target operating mode based on semantic operating mode 1 and semantic operating mode 2, as well as the unincluded pending parameter items F and G.
[0079] In this embodiment, the computer device determines the target operating mode based on whether the reference parameter items in the semantic operating mode include all the basic parameter items. If the reference parameter items include all the basic parameter items, the semantic operating mode is determined as the target operating mode; if the reference parameter items do not include all the basic parameter items, undetermined parameter items not included in the reference parameter items are determined from the preset parameter items, and the target operating mode is determined based on the semantic operating mode and the undetermined parameter items. Through the above method, the determined target operating mode can meet the basic conditions for device operation, reducing the risk of device malfunction.
[0080] There are several ways to determine the target working mode based on the semantic working mode and the undetermined parameter items. In one embodiment, such as... Figure 6 As shown, in S520 above, determining the target working mode based on the semantic working mode and the undetermined parameter items includes:
[0081] S610. Obtain the default parameter value of the pending parameter item, and obtain the parameter item and the parameter value of each parameter item in the semantic working mode.
[0082] Optionally, the computer device pre-stores default parameter values for each basic parameter item. After obtaining the undetermined parameter item from the basic parameter items, the computer device obtains the default parameter value of the undetermined parameter item, as well as the parameter item and parameter value of each parameter item in the semantic working mode.
[0083] Optionally, before obtaining the default parameter value of the pending parameter item, the computer device may display a pop-up window on the display unit to ask the user whether to use the default parameter value of the pending parameter item, and obtain the default parameter value of the pending parameter item if the user chooses to use it. Conversely, if the user chooses not to use it and re-enters the parameter value of the pending parameter item, the computer device can directly accept the parameter value of the pending parameter item entered by the user.
[0084] S620. Generate the target working mode based on the undetermined parameter items and their default parameter values, as well as the parameter items and their parameter values in the semantic working mode.
[0085] Optionally, after obtaining the default parameter values of the pending parameter items, as well as the parameter items and their respective parameter values in the semantic working mode, the computer device can combine the pending parameter items and their default parameter values, along with the parameter items and their respective parameter values in the semantic working mode, to generate a custom working mode, and use this custom working mode as the target working mode. Continuing the example above, the computer device can combine the pending parameter items F and G and their respective default parameter values, along with the reference parameter items A, B, C, D, and E under semantic working mode 1 and semantic working mode 2 and their respective default parameter values, to generate the target working mode.
[0086] In this embodiment, the computer device obtains the default parameter values of the pending parameter items and the parameter items and their parameter values in the semantic working mode. Based on these, a target working mode is generated. Providing default parameter values for the pending parameter items effectively avoids errors or inappropriate parameter settings caused by user input, significantly reducing the probability of subsequent device malfunctions due to incorrect or inappropriate parameter settings. This improves device efficiency and makes the method more suitable for beginners.
[0087] In an alternative embodiment, another way of determining the target operating mode is provided, such as Figure 7 As shown, in S520 above, determining the target working mode based on the semantic working mode and the undetermined parameter items includes:
[0088] S710 displays input prompts for pending parameter items and receives supplementary information on the device's operating mode.
[0089] Optionally, after the computer device determines the pending parameter item, it can display the input prompt for the pending parameter item in the form of a pop-up window through the display unit of the computer device, and receive supplementary working mode information entered by the user under the input prompt.
[0090] S720. Determine the parameter values of the pending parameter items based on the supplementary information of the working mode.
[0091] Optionally, the computer device may perform semantic parsing on the supplementary information of the working mode to determine the semantics of the supplementary information of the working mode, and determine the parameter value of the pending parameter item based on the semantics.
[0092] S730. Generate the target working mode based on the undetermined parameter items and their parameter values, as well as the parameter items and their parameter values in the semantic working mode.
[0093] Optionally, after obtaining the parameter values of the undetermined parameter items, as well as the parameter items and parameter values of each parameter item in the semantic working mode, the computer device can combine the undetermined parameter items and parameter values of each parameter item, as well as the parameter items and parameter values of each parameter item in the semantic working mode, to generate a custom working mode, and use this custom working mode as the target working mode.
[0094] In this embodiment, the computer device displays input prompts for pending parameter items and receives supplementary operating mode information. Based on this supplementary information, it determines the parameter values for the pending parameter items. Then, based on the pending parameter items and their values, as well as the parameter items and their values within the semantic operating mode, it generates a target operating mode. This method utilizes supplementary operating mode information to determine the parameter values for pending parameter items, thereby improving the convenience of parameter setting while meeting the basic operating conditions of the device.
[0095] To achieve adjustability of each working parameter item under the target working mode, in one embodiment, such as Figure 8 As shown, before setting the device parameters according to multiple working parameter items and their values in the target working mode in S230, the method further includes:
[0096] S810, Display the working parameters of the target working mode and the parameter values of each working parameter.
[0097] Optionally, before setting parameters according to the target working mode, the computer device can display the working parameter items of the target working mode and the parameter values of each working parameter item in the form of a list through the display unit, so that the user can adjust the working parameter items and / or the parameter values of the working parameter items in the target working mode.
[0098] S820: Receive the user's adjustment operation on the working parameter items and / or parameter values of the working parameter items for the target working mode, and obtain the adjusted target working mode.
[0099] Optionally, the computer device receives user adjustments to the working parameters and / or corresponding parameter values for the target working mode, such as deleting some working parameter items and / or modifying the parameter values of some working parameter items, to obtain the adjusted target working mode. For example, Table 1 below shows the parameter list of the target working mode before adjustment. If the user deletes the working parameter item "cooling fan" from this parameter list and modifies the parameter value of the working parameter item "printing speed" from 40mm / s to 50mm / s, the parameter list of the adjusted target working mode shown in Table 2 below will be obtained.
[0100] Table 1. Parameter list of the target working mode before adjustment
[0101]
[0102]
[0103] Table 2. Parameter list of the adjusted target working mode
[0104] Working parameters Parameter value Layer Height (mm) 0.2 Wall Thickness (mm) 0.8 Bottom Layer Thickness / mm 0.3 Print speed (mm / s) 50 Travel Speed (mm / s) 80 Bottom Layer Print Speed (mm / s) 20 Nozzle Temperature / °C 210 Bed Temperature / °C 60 Support Open
[0105] After obtaining the adjusted target working mode, the computer equipment uses multiple working parameter items and their values under the adjusted target working mode to set the equipment parameters.
[0106] It should be noted that, in order for the equipment to operate normally and safely, when a user adjusts the target working mode, the computer equipment must verify the legality of the adjustment operation. If the adjustment operation is found to be legal, the computer equipment will accept the corresponding adjustment operation. Otherwise, if the adjustment operation is found to be illegal, a warning box will pop up, prompting the user that the current adjustment operation is illegal and that the user needs to do it again.
[0107] Optionally, verifying the legality of the adjustment operation includes:
[0108] When the adjustment operation involves deleting a parameter item, the computer device determines whether the working parameter item to be deleted is a basic parameter item; if it is, the adjustment operation is deemed invalid; otherwise, if it is not, the adjustment operation is deemed valid.
[0109] When the adjustment operation involves modifying a parameter value, the computer device determines whether the modified input parameter value meets the parameter setting range of the corresponding working parameter item; if so, the adjustment operation is deemed valid; otherwise, if not, the adjustment operation is deemed invalid.
[0110] In this embodiment, before setting the device parameters according to multiple working parameter items and their values under the target working mode, the computer device can display the working parameter items and their values for the target working mode, and receive user adjustments to the working parameter items and / or their values under the target working mode, thus obtaining the adjusted target working mode. This method allows for batch adjustment of parameter items based on the same interface, improving both the efficiency and flexibility of parameter settings.
[0111] To facilitate understanding by those skilled in the art, the device parameter setting method provided in this application is described in detail below, such as... Figure 9 As shown, the method may include:
[0112] S901. In response to the device's parameter setting command, obtain the working mode description information carried in the parameter setting command;
[0113] S902. Input the working mode description information into the semantic parsing model, and extract the working mode keywords and mode level from the working mode description information through the semantic parsing model;
[0114] S903. Determine the semantic working mode based on the working mode keywords and mode level, and determine the reference parameter items in the semantic working mode;
[0115] S904. If the reference parameter items include all the basic parameter items, then the semantic working mode is determined as the target working mode.
[0116] S905. If the reference parameter item does not include all the basic parameter items, then determine the undetermined parameter items that are not included in the reference parameter item from the preset parameter items.
[0117] S906. Obtain the default parameter values of the pending parameter items, and obtain the parameter items and their parameter values in the semantic working mode; generate the target working mode based on the pending parameter items and their default parameter values, as well as the parameter items and their parameter values in the semantic working mode; or, display input prompts for the pending parameter items and receive supplementary information about the device's working mode; determine the parameter values of the pending parameter items based on the supplementary information about the working mode; generate the target working mode based on the pending parameter items and their parameter values, as well as the parameter items and their parameter values in the semantic working mode.
[0118] S907. Display the working parameters of the target working mode and the parameter values of each working parameter;
[0119] S908. Receive the user's adjustment operation for the working parameter items and / or parameter values of the working parameter items of the target working mode, and obtain the adjusted target working mode.
[0120] S909. Set the parameters of the equipment according to the multiple working parameter items and the parameter values of each working parameter item in the target working mode.
[0121] It should be noted that the descriptions in S901-S909 above can be found in the relevant descriptions in the above embodiments, and their effects are similar, so they will not be repeated here.
[0122] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0123] Based on the same inventive concept, this application also provides a device for implementing the device parameter setting method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more device parameter setting device embodiments provided below can be found in the limitations of the device parameter setting method described above, and will not be repeated here.
[0124] In one embodiment, such as Figure 10 As shown, a device parameter setting apparatus is provided, comprising: an instruction response module 1001, a mode determination module 1002, and a parameter setting module 1003, wherein:
[0125] The instruction response module 1001 is used to respond to the parameter setting instruction of the device and obtain the working mode description information carried in the parameter setting instruction;
[0126] The mode determination module 1002 is used to determine the target working mode based on the working mode description information;
[0127] The parameter setting module 1003 is used to set the parameters of the device according to multiple working parameter items and the parameter values of each working parameter item in the target working mode.
[0128] In one embodiment, the pattern determination module 1002 includes:
[0129] The parsing submodule is used to perform semantic parsing on the working mode description information to determine the semantic working mode and the reference parameter items under the semantic working mode;
[0130] The target submodule is used to determine the target operating mode based on the reference parameters and the basic operating parameters of the equipment.
[0131] In one embodiment, the parsing submodule includes:
[0132] The extraction unit is used to input the working mode description information into the semantic parsing model, and extract the working mode keywords and mode levels from the working mode description information through the semantic parsing model.
[0133] The pattern unit is used to determine the semantic working pattern based on the working pattern keywords and the pattern level.
[0134] In one embodiment, the target submodule includes:
[0135] The first unit is used to determine the semantic working mode as the target working mode if the reference parameter items include all the basic parameter items.
[0136] The second unit is used to determine the undetermined parameter items not included in the reference parameter items from the preset parameter items if the reference parameter items do not include all the basic parameter items, and to determine the target working mode based on the semantic working mode and the undetermined parameter items.
[0137] In one embodiment, the second unit includes:
[0138] The default subunit is used to obtain the default parameter values of the pending parameter items, and to obtain the parameter items and their parameter values in the semantic working mode;
[0139] The combination subunit is used to generate the target working mode based on the undetermined parameter items and their default parameter values, as well as the parameter items and their parameter values in the semantic working mode.
[0140] In one embodiment, the second unit includes:
[0141] The supplementary subunit is used to display input prompts for pending parameter items and receive supplementary information on the device's operating mode;
[0142] The parameter subunit is used to determine the parameter values of the pending parameter items based on supplementary information from the working mode.
[0143] The target sub-unit is used to generate the target working mode based on the undetermined parameter items and their parameter values, as well as the parameter items and their parameter values in the semantic working mode.
[0144] In one embodiment, the above-described device further includes: an information display module and a mode adjustment module;
[0145] The information display module is used to display the working parameters of the target working mode and the parameter values of each working parameter.
[0146] The mode adjustment module is used to receive user adjustments to the working parameter items and / or parameter values of the working parameter items in the target working mode, and to obtain the adjusted target working mode.
[0147] Each module in the aforementioned device parameter setting apparatus can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0148] In one embodiment, a 3D printing apparatus is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0149] In response to the device's parameter setting command, the device obtains the operating mode description information carried in the parameter setting command; based on the operating mode description information, the device determines the target operating mode; and sets the device parameters according to the multiple operating parameter items and their values under the target operating mode.
[0150] In one embodiment, the processor further performs the following steps when executing the computer program:
[0151] Semantic parsing is performed on the operating mode description information to determine the semantic operating mode and the reference parameter items under the semantic operating mode; the target operating mode is determined based on the reference parameter items and the basic operating parameters of the equipment.
[0152] In one embodiment, the processor further performs the following steps when executing the computer program:
[0153] The working mode description information is input into the semantic parsing model, and the working mode keywords and mode levels are extracted from the working mode description information through the semantic parsing model; the semantic working mode is determined based on the working mode keywords and mode levels.
[0154] In one embodiment, the processor further performs the following steps when executing the computer program:
[0155] If the reference parameter item includes all the basic parameter items, then the semantic working mode is determined as the target working mode; if the reference parameter item does not include all the basic parameter items, then the undetermined parameter items not included in the reference parameter item are determined from the preset parameter items, and the target working mode is determined according to the semantic working mode and the undetermined parameter items.
[0156] In one embodiment, the processor further performs the following steps when executing the computer program:
[0157] Obtain the default parameter values of the pending parameter items, and obtain the parameter items and their parameter values in the semantic working mode; generate the target working mode based on the pending parameter items and their default parameter values, as well as the parameter items and their parameter values in the semantic working mode.
[0158] In one embodiment, the processor further performs the following steps when executing the computer program:
[0159] Display input prompts for pending parameter items and receive supplementary information on the device's operating mode; determine the parameter values for pending parameter items based on the supplementary information on the operating mode; generate the target operating mode based on the pending parameter items and their parameter values, as well as the parameter items and their parameter values in the semantic operating mode.
[0160] In one embodiment, the processor further performs the following steps when executing the computer program:
[0161] Displays the working parameters and their values for the target working mode; receives user adjustments to the working parameters and / or their values for the target working mode, and obtains the adjusted target working mode.
[0162] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:
[0163] In response to the device's parameter setting command, the device obtains the operating mode description information carried in the parameter setting command; based on the operating mode description information, the device determines the target operating mode; and sets the device parameters according to the multiple operating parameter items and their values under the target operating mode.
[0164] In one embodiment, when the computer program is executed by the processor, it further performs the following steps:
[0165] Semantic parsing is performed on the operating mode description information to determine the semantic operating mode and the reference parameter items under the semantic operating mode; the target operating mode is determined based on the reference parameter items and the basic operating parameters of the equipment.
[0166] In one embodiment, when the computer program is executed by the processor, it further performs the following steps:
[0167] The working mode description information is input into the semantic parsing model, and the working mode keywords and mode levels are extracted from the working mode description information through the semantic parsing model; the semantic working mode is determined based on the working mode keywords and mode levels.
[0168] In one embodiment, when the computer program is executed by the processor, it further performs the following steps:
[0169] If the reference parameter item includes all the basic parameter items, then the semantic working mode is determined as the target working mode; if the reference parameter item does not include all the basic parameter items, then the undetermined parameter items not included in the reference parameter item are determined from the preset parameter items, and the target working mode is determined according to the semantic working mode and the undetermined parameter items.
[0170] In one embodiment, when the computer program is executed by the processor, it further performs the following steps:
[0171] Obtain the default parameter values of the pending parameter items, and obtain the parameter items and their parameter values in the semantic working mode; generate the target working mode based on the pending parameter items and their default parameter values, as well as the parameter items and their parameter values in the semantic working mode.
[0172] In one embodiment, when the computer program is executed by the processor, it further performs the following steps:
[0173] Display input prompts for pending parameter items and receive supplementary information on the device's operating mode; determine the parameter values for pending parameter items based on the supplementary information on the operating mode; generate the target operating mode based on the pending parameter items and their parameter values, as well as the parameter items and their parameter values in the semantic operating mode.
[0174] In one embodiment, when the computer program is executed by the processor, it further performs the following steps:
[0175] Displays the working parameters and their values for the target working mode; receives user adjustments to the working parameters and / or their values for the target working mode, and obtains the adjusted target working mode.
[0176] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:
[0177] In response to the device's parameter setting command, the device obtains the operating mode description information carried in the parameter setting command; based on the operating mode description information, the device determines the target operating mode; and sets the device parameters according to the multiple operating parameter items and their values under the target operating mode.
[0178] In one embodiment, when the computer program is executed by the processor, it further performs the following steps:
[0179] Semantic parsing is performed on the operating mode description information to determine the semantic operating mode and the reference parameter items under the semantic operating mode; the target operating mode is determined based on the reference parameter items and the basic operating parameters of the equipment.
[0180] In one embodiment, when the computer program is executed by the processor, it further performs the following steps:
[0181] The working mode description information is input into the semantic parsing model, and the working mode keywords and mode levels are extracted from the working mode description information through the semantic parsing model; the semantic working mode is determined based on the working mode keywords and mode levels.
[0182] In one embodiment, when the computer program is executed by the processor, it further performs the following steps:
[0183] If the reference parameter item includes all the basic parameter items, then the semantic working mode is determined as the target working mode; if the reference parameter item does not include all the basic parameter items, then the undetermined parameter items not included in the reference parameter item are determined from the preset parameter items, and the target working mode is determined according to the semantic working mode and the undetermined parameter items.
[0184] In one embodiment, when the computer program is executed by the processor, it further performs the following steps:
[0185] Obtain the default parameter values of the pending parameter items, and obtain the parameter items and their parameter values in the semantic working mode; generate the target working mode based on the pending parameter items and their default parameter values, as well as the parameter items and their parameter values in the semantic working mode.
[0186] In one embodiment, when the computer program is executed by the processor, it further performs the following steps:
[0187] Display input prompts for pending parameter items and receive supplementary information on the device's operating mode; determine the parameter values for pending parameter items based on the supplementary information on the operating mode; generate the target operating mode based on the pending parameter items and their parameter values, as well as the parameter items and their parameter values in the semantic operating mode.
[0188] In one embodiment, when the computer program is executed by the processor, it further performs the following steps:
[0189] Displays the working parameters and their values for the target working mode; receives user adjustments to the working parameters and / or their values for the target working mode, and obtains the adjusted target working mode.
[0190] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0191] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0192] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A method for setting equipment parameters, characterized in that, The method includes: In response to a parameter setting command from the device, obtain the operating mode description information carried in the parameter setting command; Semantic parsing is performed on the working mode description information to determine the semantic working mode and the reference parameter items under the semantic working mode; If the reference parameter items include all the basic parameter items, then the semantic working mode is determined to be the target working mode; If the reference parameter item does not include all of the basic parameter items, then the undetermined parameter items not included in the reference parameter item are determined from the preset parameter items, and the target working mode is determined according to the semantic working mode and the undetermined parameter items. The device is configured with parameters according to multiple working parameter items and their values under the target working mode.
2. The method according to claim 1, characterized in that, The step of semantically parsing the working mode description information to determine the semantic working mode includes: The working mode description information is input into the semantic parsing model, and the working mode keywords and mode levels are extracted from the working mode description information by the semantic parsing model. The semantic working mode is determined based on the working mode keywords and the mode level.
3. The method according to claim 1, characterized in that, Determining the target working mode based on the semantic working mode and the undetermined parameter items includes: Obtain the default parameter value of the pending parameter item, and obtain the parameter item and the parameter value of each parameter item in the semantic working mode; The target working mode is generated based on the undetermined parameter items and their default parameter values, as well as the parameter items and their parameter values in the semantic working mode.
4. The method according to claim 1, characterized in that, Determining the target working mode based on the semantic working mode and the undetermined parameter items includes: Display input prompts for the pending parameter items and receive supplementary information on the device's operating mode; The parameter values of the pending parameter items are determined based on the supplementary information of the working mode. The target working mode is generated based on the undetermined parameter items and their parameter values, as well as the parameter items and their parameter values in the semantic working mode.
5. The method according to any one of claims 1-4, characterized in that, Before setting the device parameters according to multiple operating parameter items and the parameter values of each operating parameter item in the target operating mode, the method further includes: Display the working parameter items of the target working mode and the parameter values of each working parameter item; Receive user adjustment operations for working parameter items and / or parameter values of the working parameter items in the target working mode, and obtain the adjusted target working mode.
6. A device for setting equipment parameters, characterized in that, The device includes: The instruction response module is used to respond to the parameter setting instruction of the device and obtain the working mode description information carried in the parameter setting instruction; The mode determination module is used to perform semantic parsing on the working mode description information to determine the semantic working mode and the reference parameter items under the semantic working mode; if the reference parameter items include all the basic parameter items, then the semantic working mode is determined as the target working mode; if the reference parameter items do not include all the basic parameter items, then the undetermined parameter items not included in the reference parameter items are determined from the preset parameter items, and the target working mode is determined according to the semantic working mode and the undetermined parameter items. The parameter setting module is used to set parameters for the device according to multiple working parameter items and the parameter values of each working parameter item in the target working mode.
7. The apparatus according to claim 6, characterized in that, The pattern determination module is also used for: The working mode description information is input into the semantic parsing model, and the working mode keywords and mode levels are extracted from the working mode description information by the semantic parsing model. The semantic working mode is determined based on the working mode keywords and the mode level.
8. A 3D printing apparatus, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 5.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Regulation method for operation parameter, and mobile terminal
CN108008808A
Parameter adjusting method, mobile terminal and computer readable storage medium
CN109545221A