Processing method, equipment, system, readable medium and program product
By controlling the processing equipment and recognizing the parameter array image element data in the interactive interface, a processing parameter array for a specified processing material is generated, which solves the problem that users have difficulty obtaining suitable processing parameters and improves the efficiency of setting processing parameters.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-24
- Publication Date
- 2026-03-13
AI Technical Summary
In modern manufacturing, users often find it difficult to obtain processing parameters that meet their needs in a convenient and intuitive way, leading to low processing efficiency and failures.
The processing equipment is controlled by the test parameter array in the interactive interface to perform processing, acquire the parameter array image and identify the image element data, and display the processing parameter array corresponding to the specified processing material.
It improves the efficiency of setting processing parameters, enabling users to set processing parameters more quickly and accurately.
Smart Images

Figure CN121661168A_ABST
Abstract
Description
[0001] Cross-references
[0002] This application claims priority to Chinese Patent Application No. 202411146500.6, filed on August 20, 2024, entitled “Data Processing Method, Apparatus, System and Medium Based on Processing Equipment”, the entire contents of which are incorporated herein by reference. Technical Field
[0003] This application belongs to the field of processing technology, specifically relating to a processing method, equipment, system, computer-readable medium, and program product. Background Technology
[0004] In modern manufacturing, technologies such as laser processing and tool processing are widely used in various fields due to their high precision, flexibility, and efficiency. During processing, it is usually necessary to determine appropriate processing parameters before starting the process. However, in these technologies, users often find it difficult to conveniently and intuitively obtain the processing parameters that meet their needs, which can easily lead to problems such as low processing efficiency and processing failures. Summary of the Invention
[0005] The purpose of this application is to provide a processing method, equipment, system, computer-readable medium, and program product to improve the efficiency of setting processing parameters.
[0006] Other features and advantages of this application will become apparent from the following detailed description, or may be learned in part from practice of this application.
[0007] According to one aspect of the embodiments of this application, a processing method is provided, including:
[0008] Based on the test parameter array in the interactive interface, the processing equipment is controlled to process the specified material to obtain the specified processed material filled with multiple array elements; wherein, the test parameter array includes multiple array elements and multiple test processing parameter groups;
[0009] Obtain a parameter array image obtained by image acquisition for the specified processing material;
[0010] The image content of the parameter array image is identified to obtain image element data contained in the parameter array image; wherein, the image element data includes image elements and image element positions, the image elements include array elements and character elements, and the character elements include at least one of processing parameter name, processing equipment name, processing material name, and processing mode name;
[0011] Based on the image element data contained in the parameter array image, the processing parameter array corresponding to the specified processing material is displayed in the interactive interface.
[0012] According to one aspect of the embodiments of this application, a processing apparatus is provided, comprising:
[0013] The testing and processing module is used to control the processing equipment to process a specified material based on the test parameter array in the interactive interface, so as to obtain a specified processed material filled with multiple array elements; wherein, the test parameter array includes multiple array elements and multiple test processing parameter groups;
[0014] The image acquisition module is used to acquire a parameter array image obtained by image acquisition of the specified processing material;
[0015] An image recognition module is used to recognize the image content of the parameter array image to obtain image element data contained in the parameter array image; wherein, the image element data includes image elements and image element positions, the image elements include array elements and character elements, and the character elements include at least one of processing parameter name, processing equipment name, processing material name, and processing mode name;
[0016] An array display module is used to display the processing parameter array corresponding to the specified processing material in the interactive interface based on the image element data contained in the parameter array image.
[0017] According to one aspect of the embodiments of this application, a computer-readable medium is provided having a computer program stored thereon, which, when executed by a processor, implements the processing method in any embodiment of this application.
[0018] According to one aspect of the embodiments of this application, a processing apparatus is provided, comprising:
[0019] slide rail;
[0020] A processing head, which is slidably mounted on the slide rail;
[0021] A communication component, wherein the communication component is configured to receive a target processing path obtained from the steps of the processing method provided in any embodiment of the present application;
[0022] A controller, based on the acquired target processing path, controls the processing head to move on the slide rail for processing.
[0023] According to one aspect of the embodiments of this application, a system is provided, comprising:
[0024] At least one data processor; and
[0025] At least one memory stores instructions that, when executed by the at least one data processor, implement the processing method in any embodiment of this application. According to one aspect of an embodiment of this application, a computer-readable medium is provided storing a computer program that, when executed by a processor, implements the processing method provided in any embodiment of this application.
[0026] According to one aspect of the embodiments of this application, an electronic device is provided, the electronic device comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor executes the executable instructions to cause the electronic device to perform the processing method in any embodiment of the present application.
[0027] According to one aspect of the embodiments of this application, a computer program product or computer program is provided, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the processing method in any embodiment of this application.
[0028] In the technical solution provided in this application embodiment, firstly, based on the test parameter array in the interactive interface, the processing equipment is controlled to process a specified material to obtain a specified processed material filled with multiple array elements; wherein, the test parameter array includes multiple array elements and multiple test processing parameter groups; and then, an image of the parameter array obtained by image acquisition of the specified processed material is acquired; then, the image content of the parameter array image is identified to obtain the image element data contained in the parameter array image; wherein, the image element data includes image elements and image element positions, the image elements include array elements and character elements, and the character elements include at least one of the processing parameter name, processing equipment name, processing material name, and processing mode name; finally, based on the image element data contained in the parameter array image, the processing parameter array corresponding to the specified processed material is displayed in the interactive interface. In this way, a processing parameter array corresponding to a specified processed material can be conveniently generated, and the processing parameter array can display the processing parameter groups corresponding to each array element. Users can then use the array elements displayed in the processing parameter array to set processing parameters, thereby enabling users to set processing parameters more quickly and accurately, effectively improving the efficiency of setting processing parameters.
[0029] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description
[0030] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort.
[0031] Figure 1 A schematic diagram of the processing system architecture applying the technical solution of this application is shown.
[0032] Figure 2 A schematic diagram of the processing equipment using the technical solution of this application is shown.
[0033] Figure 3 A flowchart illustrating a processing method provided in one embodiment of this application is shown schematically.
[0034] Figures 4A-4H A schematic diagram of the interactive interface provided in the embodiments of this application is shown.
[0035] Figures 5A-5B A schematic diagram of the material type selection interface provided in an embodiment of this application is shown.
[0036] Figures 5C-5D A schematic diagram of the processing parameter array provided in the embodiments of this application is shown.
[0037] Figure 6 A flowchart illustrating a processing method provided in one embodiment of this application is shown schematically.
[0038] Figures 7A-7F The diagram illustrates the interactive interface of each step in the processing method provided in the embodiments of this application.
[0039] Figures 8A-8D The illustration shows a schematic diagram of the steps involved in the processing method provided in the embodiments of this application.
[0040] Figure 9 A schematic block diagram of the processing apparatus provided in the embodiments of this application is shown.
[0041] Figure 10 A schematic diagram of a computer system architecture suitable for implementing the processing method of the embodiments of this application is shown. Detailed Implementation
[0042] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided to make this application more comprehensive and complete, and to fully convey the concept of the exemplary embodiments to those skilled in the art.
[0043] Furthermore, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a thorough understanding of embodiments of this application. However, those skilled in the art will recognize that the technical solutions of this application can be practiced without one or more of the specific details, or other methods, components, apparatuses, steps, etc., can be employed. In other instances, well-known methods, apparatuses, implementations, or operations are not shown or described in detail to avoid obscuring various aspects of this application.
[0044] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.
[0045] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.
[0046] Figure 1 A schematic diagram of the processing system architecture applying the technical solution of this application is shown.
[0047] like Figure 1 As shown, the processing system may include a terminal device 110 and a processing device 120. The terminal device 110 may include devices such as smartphones, tablets, laptops, smart voice interaction devices, smart home appliances, and vehicle terminals capable of sending control commands to the processing device 120. The processing device 120 may be a laser processing device, screen printing device, printer, or electronic cutting machine. A communication connection exists between the terminal device 110 and the processing device 120, which may be a wired or wireless communication connection.
[0048] The technical solutions provided in this application can be applied to the terminal device 110, the processing device 120, or jointly implemented by the terminal device 110 and the processing device 120. This application does not impose any special limitations on these applications. For example, the terminal device 110 can display a processing parameter array according to the technical solution of this application, determine the target processing parameters based on the user's operation on the processing parameter array, generate processing instructions based on the pattern to be processed and the target processing parameters, and then send the processing instructions to the processing device 120. Finally, the processing device 120 performs processing according to the processing instructions.
[0049] Figure 2 A schematic diagram of the processing equipment using the technical solution of this application is shown.
[0050] like Figure 2 As shown, the processing equipment includes a housing, a processing equipment base plate (i.e., processing platform) 40, a processing head 50, a laser tube 30, a slide rail 80, a communication component 20, and a controller 60. The processing equipment base plate 40 includes a processing area 41 for placing materials. The housing includes an upper shell 90 and a lower shell 70. The processing head 50 is slidably mounted on the slide rail 80. The communication component 20 is used to receive the target processing path obtained from the steps of the method provided in any embodiment of this application. Based on the target processing path, the controller 60 controls the movement of the processing head 50 on the slide rail 80 to process the surface of the material. The communication component 20 and the controller 60 are installed inside the backplate of the laser tube 30. Figure 2 It is not visible from a mid-range perspective, so it is shown by connecting the boxes with dashed lines.
[0051] In one embodiment, the processing head 50 may include, but is not limited to, a laser head, a cutting head, a plasma cutting head, a water gun head, a drill bit, a pen tip, etc. Correspondingly, the processing equipment may perform processing including, but not limited to, laser cutting, engraving, drilling, welding, and tool cutting.
[0052] In one embodiment, depending on the type of processing equipment, the processing equipment may include corresponding marking heads, welding heads, engraving heads, cutting heads, etc., and the processing equipment may include one or more of these different types of processing heads.
[0053] In one embodiment, a reflector 11 is provided between the processing head 50 and the laser tube 30. The light beam generated by the laser tube 30 is reflected by the reflector 11 to the processing head 50 and then emitted after reflection, focusing and other processes to process the workpiece.
[0054] In one embodiment, the processing head 50 can generate a light spot. In another embodiment, the light spot can be generated by other components, such as the laser tube 30 of a carbon dioxide laser tube, and enter the beam emitting device through the reflector 11, etc., and finally exit through the processing head 50 to process the workpiece. The processing head can emit laser light, but it can do more than just emit laser light.
[0055] In one embodiment, such as Figure 2 The upper shell 90 and the bottom shell 70, as shown, together enclose an internal space for accommodating processed materials. The upper shell 90 and the bottom shell 70 can be detachably or fixedly connected, or they can be a single integral structure. In one embodiment, the upper shell 90 is also provided with a rotatable cover plate, which the operator can open or close to access the internal space for inserting or removing processed materials. Through the blocking and / or filtering effect of the upper shell 90 and the bottom shell 70, laser leakage from the processing head 50 during operation can be prevented from causing personal injury to the operator.
[0056] like Figure 2 In the example shown, the slide rail 80 is disposed in the aforementioned internal space, and the processing head 50 is mounted on the slide rail 80. The slide rail 80 can be an X-axis or Y-axis guide rail, which can be a linear guide rail or a guide rail in which an optical axis and a roller slide together, etc., as long as it can drive the processing head 50 to move and process on the X and Y axes. The processing head 50 can also be provided with a Z-axis moving track for focusing by moving in the Z-axis direction before and / or during processing.
[0057] The processing method provided in this application will be described in detail below with reference to specific embodiments.
[0058] Figure 3 A flowchart illustrating a processing method provided in one embodiment of this application is shown schematically. This method can be implemented by a processing apparatus, processing equipment, processing system, or terminal device. The implementation process of the technical solution of this application will be described below using a terminal device as the executing entity. Figure 3 As shown, the processing method provided in this embodiment includes steps 310 to 340, as detailed below:
[0059] Step 310: Based on the test parameter array in the interactive interface, control the processing equipment to process the specified material to obtain the specified processed material filled with multiple array elements; wherein, the test parameter array includes multiple array elements and multiple test processing parameter groups.
[0060] Specifically, the test parameter array demonstrates the desired pattern of the final processing parameter array. This array is a structured representation integrating different processing parameters and their corresponding effects. Presented as an array, its rows and columns can represent different processing parameters (such as any two of laser power, pulse frequency, scanning speed, number of processing passes, engraving density, pulse width, focal depth distance, and spot size). It contains multiple array elements, which visually demonstrate the potential processing effects after processing the material using specific parameters, providing a visual reference for selecting appropriate parameters. Therefore, the key content of the test parameter array is consistent with that of the processing parameter array; for example, they share the same array elements and processing parameters. The processing parameters in the test parameter array are referred to as test processing parameters. One array element can correspond to multiple test processing parameters, and multiple (two or more) test processing parameters corresponding to one array element can be considered a test processing parameter group.
[0061] Processing parameters refer to the operating parameters of processing equipment when processing materials. These parameters are typically related to the type of equipment, processing mode, and type of material being processed. For example, taking laser processing equipment as an example, processing parameters include, but are not limited to, at least one of the following: laser power, scan speed, beam diameter, pulse frequency, pulse width, focal depth, spot size, beam mode, gas type and flow rate, focal length, and light source. Furthermore, the laser power used in laser cutting mode differs from that used in laser engraving mode. Similarly, the scan speed for metal materials may differ from that for wood materials. In practical applications, processing parameters can be flexibly adjusted according to the specific application scenario. It is understandable that processing parameters have corresponding numerical values; for example, if the scan speed is specifically 50 mm / s, then a test set of processing parameters actually includes multiple processing parameter values.
[0062] Array elements can represent patterns applied to materials. Array elements can be lines, graphics, text, specific patterns, etc. In some cases, all array elements in a test parameter array are the same, for example, they are all the same type of geometric shape; in other cases, the test parameter array can have different array elements, for example, some array elements are geometric shapes and some array elements are text.
[0063] Users can set array elements and corresponding test processing parameter groups in the interactive interface to form a test parameter array. The terminal device can generate test processing instructions based on the test parameter array and send the instructions to the processing equipment. The processing equipment processes the specified processing material placed in the processing area based on the test processing instructions, thereby obtaining the specified processing material filled with multiple array elements. The specified processing material is the material placed by the user in the processing area. It can be a material recorded in the database of the current terminal device or the processing equipment, such as a material from the material list provided by the terminal device, or a material not recorded in the database, such as a new material provided by the user. Optionally, for ease of distinction, the unprocessed material is recorded as the specified material, and the material processed based on the test parameter array is also recorded as the specified processing material.
[0064] In one embodiment of this application, the process of a user setting array elements may be: in response to a selection operation of a specified shape in a shape list in an interactive interface, the selected specified shape is used as an array element. That is, the processing setting software provided by the terminal device or processing equipment can provide a preset shape list, which the user opens through the interactive interface, and then selects a specified shape from it as an array element. For example, as shown below... Figure 4A The interactive interface shown has a shape list displayed on the left side (i.e., Figure 4A The left-hand frame contains multiple selectable shapes. The user chooses a specific shape, which is then displayed as an array element on the canvas in the center of the interface. The user can place the desired shape onto the canvas by clicking, dragging, or other methods.
[0065] In one embodiment of this application, the process of a user setting array elements can be: in response to a text input operation on the interactive interface, using the input text content as array elements. That is, the user can use text characters as array elements. For example, such as Figure 4B The interactive interface shown includes text editing controls. Figure 4B The icon is shaped like a "T". When the user clicks the control, a text input box appears in the middle of the canvas. The user enters text content in the text input box, and the entered text content can be used as an array element. For example, entering the text character "X".
[0066] In one embodiment of this application, the process of a user setting array elements can be as follows: in response to an image import operation in the interactive interface, the imported image is used as an array element. That is, the user can use a custom image as an array element, and this image is displayed in the interactive interface through the image import operation. For example, such as... Figure 4C The interactive interface shown includes an image import control. Figure 4C The icon is in thumbnail format. Clicking this control displays an image import interface, where users can upload images to be imported and placed as array elements on the canvas. Optionally, users can also drag and drop images from other locations onto the canvas.
[0067] In one embodiment of this application, the process of a user setting array elements may be as follows: in response to a pattern import operation in the interactive interface, the imported pattern is displayed in the interactive interface; in response to a selection operation of pattern elements in the imported pattern, the selected pattern elements are used as array elements. That is, the user can edit the imported pattern, such as selecting some elements in the pattern and using the selected pattern elements as array elements. For example, the imported pattern is a composite pattern composed of a circle and a rectangle, and the user can select either the circle or the rectangle as array elements. Of course, the user can also select all elements of the imported pattern as array elements, which is similar to the operation of using an imported image as array elements.
[0068] In one embodiment of this application, after setting array elements, the user needs to generate a corresponding test parameter array based on the array elements. The specific process includes: in response to the test parameter array generation request for the array elements, displaying a test parameter array information setting control in the interactive interface; in response to the setting operation of the test parameter array information setting control, generating and displaying the test parameter array in the interactive interface based on the set test parameter array information.
[0069] Specifically, the test parameter array generation request can be triggered by the user. For example, when the user selects an array element, an operation menu related to the array element can be displayed in the interactive interface. This operation menu includes an option to generate a test parameter array. The user clicks this option, thereby triggering the test parameter array generation request. For example, based on... Figure 4A As shown in the image, after the user selects an array element in the canvas, they can click the "Apply" control in the interactive interface. Figure 4A The icon style consists of three small squares and one diamond, resulting in the following: Figure 4D The interactive interface shown displays the specific content of the controls, including the "Material test array" option. When the user clicks this option, it triggers a request to generate a test parameter array. Here, "material test array" and "test parameter array" have the same meaning.
[0070] In this embodiment, after the terminal device or processing device detects the test parameter array generation request, it displays a test parameter array information setting control in the interactive interface. The test parameter array information includes the test processing parameter type, test processing parameter value, row and column values of array elements, and the interval between array elements. The array elements are arranged in a matrix, and the row and column values of the array elements indicate the number of rows and columns in the matrix. Of course, the test parameter array can also be presented in other forms, such as concentric circles or spirals. This embodiment uses a matrix form as an example. The interval between array elements includes the difference in processing parameters between two adjacent array elements in the row direction and the difference in processing parameters between two adjacent array elements in the column direction. For example, if the row direction represents a power parameter, the power difference between two adjacent array elements is 20; if the column direction represents a speed parameter, the speed difference between two adjacent array elements is 40.
[0071] Optionally, the spacing between array elements in the test parameter array can also include the distance between adjacent array elements in the row direction and the distance between adjacent array elements in the column direction. The distance between adjacent array elements in the row direction can be the same or different. For example, in a row with 3 array elements, the distance between the first two array elements is 1 cm, and the distance between the last two array elements can be 2 cm. Similarly, the distance between adjacent array elements in the column direction can be the same or different.
[0072] For example, based on Figure 4D The test parameter array generation request triggered by the interactive interface shown can obtain... Figure 4E The interactive interface shown displays multiple controls for setting test parameter array information, such as the number of rows (Columns), the number of columns (Rows), the type of test processing parameter (Parameter), the spacing between array elements (Spacing), and the maximum and minimum values (Min) of the test processing parameter. This is understandable. Figure 4E The interactive interface shown is displayed using a two-dimensional test parameter array as an example. That is, the test parameter array is in the form of a two-dimensional matrix, where the rows can be regarded as the X-axis and thus denoted as X columns, and the columns can be regarded as the Y-axis and thus denoted as Y rows. Each dimension corresponds to a processing parameter, the maximum and minimum values of the processing parameter, and the interval between array elements.
[0073] Once the test parameter array information is set, the corresponding test parameter array can be generated and displayed in the interactive interface. For example, based on... Figure 4E The canvas in the middle of the interactive interface shows the test parameter array generated based on the information of the test parameter array.
[0074] As can be seen, users only need to set one array element to obtain a test parameter array containing multiple array elements. The specific generation process of this test parameter array is as follows: the array elements are copied according to the row and column values of the array elements in the test parameter array to obtain multiple array elements, and the multiple array elements are arranged in an array to generate a pattern array in the interactive interface; according to the pattern array, the test processing parameters corresponding to each array element are arranged; the processing material name and processing equipment name are determined in the interactive interface; according to the pattern array, the test processing parameters corresponding to each array element, the processing material name, and the processing equipment name, the test parameter array is displayed in the interactive interface.
[0075] In other words, the array elements are first copied according to their row and column values to obtain multiple array elements. These multiple array elements are then arranged in a matrix according to these row and column values to obtain a pattern array composed of multiple array elements. In a two-dimensional array, one array pattern corresponds to two processing parameters. Therefore, based on the arrangement position of each array element in the pattern array, the test processing parameters corresponding to each array element are arranged around the periphery of the pattern array. For example, processing power is arranged below the pattern array, and scanning speed is arranged to the left of the pattern array. It can be understood that these processing parameters can also be arranged in other positions according to actual needs.
[0076] Furthermore, to demonstrate which processing equipment and material the test parameter array was generated for, the user can specify the processing material name and processing equipment name in the interactive interface, and then arrange these names in their corresponding positions to obtain the test parameter array. The arrangement of the processing material name and processing equipment name can be preset, such as placing them above the pattern array, or the user can manually adjust their positions. Optionally, the processing material name can display not only the name of the processing material but also its type, thickness, and dimensions. Similarly, the processing equipment name can display its model, serial number, and location. In some cases, to demonstrate which processing mode the test parameter array is set for, the processing mode can be specified in the interactive interface, and the processing mode name can be arranged in the corresponding position. Processing modes include, but are not limited to, laser engraving mode, laser cutting mode, and tool cutting mode.
[0077] For example, based on Figure 4B The array elements shown, after setting the test parameter array information, can be obtained. Figure 4F The test parameter array shown is based on... Figure 4C The array elements shown, after setting the test parameter array information, can be obtained. Figure 4G The test parameter array is shown. Among them, Figure 4B , Figure 4C The corresponding interactive interface for triggering the test parameter array generation request and Figure 4D The same applies, so I won't repeat myself.
[0078] according to Figures 4E to 4G As can be seen, users can choose any shape or their own custom image to generate a test parameter array. The generation of test parameter arrays is highly flexible, which improves the diversity of processing parameter array styles and expands the personalized setting function of processing parameter arrays.
[0079] In one embodiment of this application, when generating the test parameter array, the method further includes: displaying an array data setting interface on the interactive interface in response to a parameter array setting operation for array elements; generating multiple array elements in the test parameter array based on the set row and column values in response to a setting operation for the row and column value controls; and determining a test processing parameter group corresponding to each array element based on the set processing parameters in response to a setting operation for the processing parameter controls.
[0080] The array data setting interface includes row and column value controls for array elements and processing parameter controls. In this embodiment, the distance intervals between array elements are all the same; for example, the row spacing is always a first value, and the column spacing is always a second value. The first and second values can be the same or different. In this case, after setting the row and column values based on the row and column value controls, the terminal device or processing device determines the arrangement style of the array elements in the test parameter array based on the preset distance intervals between array elements. On the other hand, the processing parameter controls include processing parameter controls corresponding to the row and column directions, respectively. For example, the array data setting interface is as follows: Figure 4E As shown.
[0081] In one embodiment of this application, the process of setting processing parameters when generating a test parameter array includes: in response to a parameter array setting operation for array elements, displaying an array data setting interface on an interactive interface; in response to a setting operation for a processing parameter type setting control, displaying multiple processing parameter type options, and determining the processing parameter type set for the processing parameter array based on the selected processing parameter type option; in response to a setting operation for a processing parameter value setting control corresponding to the processing parameter type, determining the processing parameter range corresponding to the processing parameter type, and determining the test processing parameters corresponding to each array element based on the processing parameter range and the row and column values of the array elements in the test parameter array; wherein, the processing parameter type includes at least two of power, speed, number of processing operations, engraving density, frequency, pulse width, focal point drop distance, and spot size.
[0082] The array data settings interface includes controls for setting processing parameter types and values. For example, such as... Figure 4H The array data settings interface shown allows you to click the processing parameter type (Parameter) setting control, which displays a drop-down menu with multiple processing parameter type options. Users can select one as the desired processing parameter type. Generally, the processing parameter types for any two dimensions should be different. For example, if the processing parameter type selected in the row direction is laser power, the processing parameter type selected in the column direction cannot be laser power; it must be another processing parameter type.
[0083] Each type of processing parameter has its corresponding processing parameter value setting control. This control can be used to set the range of processing parameters. For example, Figure 4H In the array data settings interface shown, the "Max. (%)" and "Min. (%)" controls below the processing parameter "Power" represent the maximum and minimum power values, respectively. If the "Max. (%)" control is set to 100 and the "Min. (%)" control is set to 10, then the range of the processing parameter "Power" is [10, 100]. In this case, the numerical interval between processing parameters in the row / column direction is evenly distributed according to the array elements in that direction. For example, if there are 5 columns in the row direction, then the power parameter interval between two adjacent array elements in the row direction is power value range / (number of columns - 1) = 90 / 4 = 22.5. This can be rounded to the nearest integer (or rounded up or down), resulting in a power parameter interval of 23. Therefore, the power parameter values corresponding to the 5 array elements in the row direction are: 10, 33, 56, 79, and 100. The column direction follows the same principle and will not be elaborated further.
[0084] In one embodiment of this application, after determining the processing parameter type, the process of setting the processing parameter value can also be: in response to the setting operation of the processing parameter value setting control based on the processing parameter type for each array element, the set processing parameter is determined as the test processing parameter corresponding to each array element.
[0085] In other words, each array element has a separate control for setting processing parameters. This control allows for individual adjustment of the processing parameters for that array element, typically for each row or column. This setting allows for different intervals between processing parameters of adjacent array elements. For example, in the row direction, the power difference between the first two array elements is 20, and the power difference between the last two array elements is 40. The same applies to the column direction. The advantage of this parameter setting, besides enhancing personalization capabilities, is that it avoids processing waste caused by processing parameters with minimal changes in processing effect, ensuring that subsequent processing parameter arrays reflect significantly different processing effects. For example, if the power parameter values for five array elements in the row direction are 10, 33, 56, 79, and 100, assuming that the processing effect of the material is similar and indistinguishable within the power parameter range of 30-60, then the final processing effect of the array elements corresponding to power parameters 33 and 56 is similar. Therefore, it is unnecessary to process these two different power parameters separately; only one needs to be used to represent the corresponding processing effect. For example, suppose the processing effect corresponding to power parameter 88 is significantly different from that of power parameters 79 and 100. Then, the user can add power parameter 88 as a test processing parameter. Finally, the power parameter values corresponding to the five array elements in the row direction could be: 10, 56, 79, 88, and 100. This ensures that the processing parameter array displays elements with clearly different processing effects, making the processing parameter array more valuable for reference.
[0086] Step 320: Obtain the parameter array image obtained by image acquisition for the specified processing material.
[0087] Specifically, an image acquisition device can be used to acquire images of a specified material after processing based on test array parameters, thereby obtaining a parameter array image. The parameter array image can reflect the actual processing effect of processing array elements onto the specified material based on the various test processing parameter groups in the test array parameters.
[0088] In one embodiment of this application, the image acquisition device may be configured within the processing equipment. An image acquisition control is provided in the interactive interface of the terminal device. Once the user determines that the processing equipment has completed processing the specified material, the image acquisition control is triggered, causing the terminal device to perform a parameter array image acquisition operation. Based on this operation, the terminal device sends an image acquisition command to control the image acquisition device of the processing equipment to acquire images of the processed specified material, obtain a parameter array image, and display it in the interactive interface.
[0089] In one embodiment of this application, the process of acquiring the parameter array image can also be as follows: in response to the parameter array image upload operation, the uploaded image is used as the parameter array image. That is, the image acquisition operation can be performed by the user, in which case the user only needs to upload the acquired parameter array image to the terminal device. For example, the user uses their mobile phone to take a picture of the specified processed material after processing to obtain a parameter array image, and then uploads the parameter array image to the terminal device through the parameter array image upload operation. The terminal device can display the uploaded parameter array image through the interactive interface.
[0090] Step 330: Identify the image content of the parameter array image to obtain the image element data contained in the parameter array image; wherein, the image element data includes image elements and image element positions, the image elements include array elements and character elements, and the character elements include at least one of the following: processing parameter name, processing equipment name, processing material name, and processing mode name.
[0091] Specifically, after obtaining the parameter array image, an image content recognition operation is performed. This operation identifies all image elements and their location information within the parameter array image. In this embodiment, image elements include array elements and character elements. Character elements refer to image content displayed in character form. However, character elements do not include array elements in character form. Therefore, character elements actually refer to image content displayed in character form outside of array elements, such as processing parameter names, processing parameter values, processing material names, processing equipment names, processing mode names, etc. A character element can be one or more of these.
[0092] In one embodiment of this application, the image content recognition process specifically includes: recognizing array elements in a parameter array image to obtain array elements and their positions; recognizing character elements in a parameter array image to obtain character elements and their positions; constructing a relationship between array elements and character elements based on their positions; and generating image element data contained in the parameter array image based on the relationships between array elements and their positions, character elements and their positions, and the relationships between array elements and character elements.
[0093] Specifically, different recognition methods are used for array elements and character elements. For array elements, a pre-trained array element recognition model can be used to perform the recognition operation. The recognition result includes each array element in the parameter array image and its position. The array element recognition process can be performed by selecting and recognizing array elements using a rectangular bounding box. The position of the array element can be represented by the pixel coordinates of the corresponding bounding box in the parameter array image, such as the top-left and bottom-right pixel coordinates of the bounding box, or the center point coordinates of the bounding box.
[0094] For character elements, character element recognition is employed. This can be achieved using a character recognition model, such as OCR (Optical Character Recognition). The recognition result includes each character element in the parameter array image and its position. Character element recognition can be performed by selecting and recognizing a rectangular bounding box. The position of each character element can be represented by the pixel coordinates of the corresponding bounding box in the parameter character image, such as the top-left and bottom-right pixel coordinates, or the center point coordinates. Each character element represents an independent string. For example, processing parameter names like "Speed (mm / s)" and "Power (%)" are individual character elements; processing parameter values like 10, 30, and 50 are also individual character elements; and the names of processing equipment and processing materials are also individual character elements.
[0095] After obtaining the array elements and their positions, and the character elements and their positions, it is also necessary to determine the relationship between the array elements and the character elements. This relationship mainly refers to the relationship between the array elements and the processing parameters, which is mainly to determine which specific processing parameter corresponds to an array element.
[0096] As an example, when the array elements in the parameter array image are arranged in matrix form, they have row and column coordinates. At the same time, the processing parameters are also based on the row and column arrangement. Therefore, if the row and column coordinates of an array element are determined, and the row and column coordinates of the processing parameters are also determined, then there will be a correlation between the array elements and the processing parameters that belong to the same row and column coordinates. In this way, it can be determined which processing parameter group the array element corresponds to.
[0097] In one embodiment of this application, the process of constructing the association between array elements and character elements includes: performing clustering processing on all array element positions to determine the array position of each array element in the processing parameter array based on the clustering results; determining the array position of each processing parameter in the processing parameter array based on the processing parameter name position and the processing parameter value position; and determining the association between array elements and processing parameters based on the array position of each array element and the array position corresponding to each processing parameter.
[0098] Specifically, clustering the positions of all array elements yields multiple clusters. Array elements within the same cluster will have identical positions. The number of clusters determines the row and column values in the processing parameter array. The position of an array element is represented by the pixel position of the center point of its rectangular frame, which includes both x-coordinate and y-coordinate. To determine the number of rows in the processing parameter array, clustering is performed on the x-coordinates of all array element positions. The number of clusters for each x-coordinate determines the number of rows. Furthermore, sorting the x-coordinates of each cluster according to a coordinate transformation rule (e.g., sorting from smallest to largest) determines which column each cluster corresponds to. Similarly, to determine the number of columns in the processing parameter array, clustering is performed on the y-coordinates of all array element positions. The number of clusters for each y-coordinate determines the number of columns. Furthermore, sorting the y-coordinates of each cluster according to a coordinate transformation rule (e.g., sorting from largest to smallest) determines which row each cluster corresponds to. Based on the row and column clustering results, the array position of each array element can be determined, that is, which row and column the array element is located in.
[0099] It's important to note that pixel coordinates typically use the top-left pixel of the image as the origin, with the x-coordinate increasing from left to right and the y-coordinate increasing from top to bottom. In contrast, the row and column coordinates of the array elements in the processing parameter array are usually based on the bottom-left corner of the matrix formed by the array elements, with row coordinates increasing from left to right and column coordinates increasing from bottom to top. Therefore, arranging the x-coordinates from smallest to largest represents the corresponding row coordinates, while arranging the y-coordinates from largest to smallest represents the corresponding column coordinates. Of course, in practical applications, other construction methods can be used for the pixel and array coordinate systems. Therefore, when determining the row and column coordinates, adaptive adjustments are needed based on the construction methods of both coordinate systems.
[0100] When determining the row and column positions of processing parameters, the pattern of change in the positions of the parameter names and values can be used. Firstly, processing parameter values in the row direction typically have the same vertical pixel coordinate, while those in the column direction typically have the same horizontal pixel coordinate. Therefore, based on the pattern of change in the positions of the processing parameter values, it's possible to determine which processing parameter values are row-oriented and which are column-oriented. Furthermore, the specific row or column of a processing parameter can be determined based on the order of their sizes. Secondly, processing parameter names in the row direction are naturally closer to other processing parameters in the column direction, and vice versa. Therefore, based on the position of the processing parameter name, it's possible to determine which group of processing parameter values it's closest to, and thus, which specific processing parameter it represents—that is, the processing parameter name corresponding to that value.
[0101] For example, such as Figure 7C The character recognition results shown here only display the content of the character elements, not their positional data. Taking the processing parameters as an example, by analyzing the position of the processing parameter values, it can be determined that the values 20, 15, and 10 belong to the column direction processing parameters, and their positions are arranged sequentially from top to bottom. Therefore, 20 belongs to the third row, 15 to the second row, and 10 to the first row (here, the array element at the bottom left corner of the matrix is used as the starting point of the row and column). Similarly, it can be determined that the values 80, 90, and 100 belong to the row direction processing parameters, and belong to the first, second, and third columns respectively. At the same time, the processing parameter name "Speed (mm / s)" is close to the values 20, 15, and 10, and the processing parameter name "Power (%)" is close to the values 80, 90, and 100. Therefore, it can be determined that the processing parameters 20, 15, and 10 are speed parameters, and the processing parameters 80, 90, and 100 are power parameters.
[0102] When constructing the association relationships, taking the array element in the lower left corner of the matrix as an example, based on the clustering results, it can be determined that it belongs to the first row and first column. According to the identification of the processing parameters mentioned above, the power parameter corresponding to the first row and first column can be determined to be 80 and the speed parameter to be 10. Therefore, the processing parameter group corresponding to this array element in the first row and first column is (power 80, speed 10). Similarly, the association relationships between other array elements and processing parameter groups are determined in turn.
[0103] Finally, based on the array elements and their positions, the character elements and their positions, and the relationships between array elements and character elements, image element data containing the parameter array image is generated. Specifically, the image element data includes array elements and their positions, processing parameter values and their positions, the names of the processing parameters corresponding to the processing parameter values, the names of the processing equipment and the names of the processing materials.
[0104] In one embodiment of this application, after identifying the character element and its position, it is necessary to determine what type of character the character element specifically represents, such as whether a string represents a processing equipment name or a processing material name. Therefore, the character element is matched against preset rule templates to determine its corresponding character element type. For example, the character element is matched against an equipment name template and a material name template. If a character element matches the equipment name template, it indicates that the character element belongs to the processing equipment name; if a character element matches the material name template, it indicates that the character element belongs to the processing material name. Optionally, the character element type can also be determined by analyzing its specific content. For example, the character element "Speed(mm / s)" means speed (mm / s), so it can be determined to be a processing parameter name. Alternatively, by judging the range and position of the value, it can be determined to be power or speed; by keyword matching, it can be determined to be the processing material name, processing mode name, etc.
[0105] In one embodiment of this application, in order to improve the image content recognition effect before recognizing the image content of the parameter array image, the method further includes: filtering the parameter array image to obtain a filtered image; performing contrast enhancement processing on the filtered image to obtain a processed parameter array image; and then performing image content recognition on the processed parameter array image to obtain image element data contained in the parameter array image.
[0106] The filtering process is used to eliminate random noise in the parametric array image, making the image smoother. Filtering methods include Gaussian filtering and mean filtering. Contrast enhancement is used to highlight image content, improve image clarity and recognizability, and thus enhance the accuracy of subsequent image content recognition. Histogram equalization can be used to enhance contrast.
[0107] In one embodiment of this application, after obtaining the image element data, the method further includes: creating a corresponding folder in the database according to the name of the processed material, and storing the image element data in the folder; storing the parameter array image in the database, and establishing an association between the name of the processed material and the parameter array image.
[0108] Specifically, files are created based on the names of the processed materials so that image element data for different materials can be categorized and stored in a database. The database can be a relational database, a file system, or an object storage service (OSS). Simultaneously, parametric array images are stored in the database, and a relationship is established between the processed material names and the parametric array images. This allows for subsequent retrieval of the corresponding parametric array image based on the processed material name, or the use of image element data corresponding to the processed material name based on the parametric array image.
[0109] For example, the data structure stored in the database is shown in Table 1 below.
[0110] Table 1
[0111]
[0112] Wherein, ID represents the number or identifier corresponding to the image element data, name represents the name of the processed material, machine represents the name of the processed equipment, powers represents the power parameters, speeds represents the speed parameters, and Image url represents the storage address of the parameter array image.
[0113] Step 340: Based on the image element data contained in the parameter array image, display the processing parameter array corresponding to the specified processing material in the interactive interface.
[0114] Specifically, after obtaining the image element data, a processing parameter array can be displayed in the interactive interface. Users can use this processing parameter array to perform processing operations, such as setting processing parameters through the processing parameter array.
[0115] Since the parameter array image is obtained by image acquisition based on the actual processing scene, the array elements in the parameter array image actually reflect the processing effect that the processing equipment can create on the specified processing material when processing the specified processing material based on the corresponding processing parameter set. The processing effect includes the texture, color information, etc. of the specified processing material after processing. Therefore, the processing parameter array, which is constructed based on the image element data in the parameter array image, also reflects the processing effect of the corresponding processing parameter set. Therefore, when users select processing parameters, they can directly determine the target processing parameters by viewing the processing effect corresponding to the array elements in the processing parameter array. This not only allows users to flexibly select target processing parameters but also provides a preview of the processing parameter effect in advance, making the setting of processing parameters more convenient and intuitive.
[0116] In the technical solution provided in this application embodiment, firstly, based on the test parameter array in the interactive interface, the processing equipment is controlled to process a specified material to obtain a specified processed material filled with multiple array elements; wherein, the test parameter array includes multiple array elements and multiple test processing parameter groups; and then, an image of the parameter array obtained by image acquisition of the specified processed material is acquired; then, the image content of the parameter array image is identified to obtain the image element data contained in the parameter array image; wherein, the image element data includes image elements and image element positions, the image elements include array elements and character elements, and the character elements include at least one of the processing parameter name, processing equipment name, processing material name, and processing mode name; finally, based on the image element data contained in the parameter array image, the processing parameter array corresponding to the specified processed material is displayed in the interactive interface. In this way, a processing parameter array corresponding to a specified processed material can be conveniently generated, and the processing parameter array can display the processing parameter groups corresponding to each array element. Users can then use the array elements displayed in the processing parameter array to set processing parameters, thereby enabling users to set processing parameters more quickly and accurately, effectively improving the efficiency of setting processing parameters.
[0117] Furthermore, the technical solution of this application also makes the acquisition of processing parameter arrays no longer limited to the limited data provided by processing equipment or software, thereby improving the flexibility of acquiring processing parameter arrays; and, based on the array elements and test processing parameters in the test parameter array, the content in the processing parameter array can be adaptively adjusted, further improving the flexibility of setting processing parameter arrays, enabling users to set and generate corresponding processing parameter arrays according to actual needs, and subsequently use the processing parameter arrays they create for actual processing, thereby improving the user's processing experience.
[0118] In one embodiment of this application, the process of displaying a processing parameter array in an interactive interface specifically includes: arranging multiple first processing parameters in a first direction according to a first preset rule, and arranging multiple second processing parameters in a second direction according to a second preset rule; determining a first array position of the array element in the first direction based on the association between the array element and the first processing parameter, and determining a second array position of the array element in the second direction based on the association between the array element and the second processing parameter; arranging the array element according to the first array position and the second array position to display the processing parameter array corresponding to the specified processing material in the interactive interface.
[0119] In this context, the first direction can be either a row or a column, and the second direction is either a row or a column. The processing parameters corresponding to the first direction are denoted as the first processing parameter, and the processing parameters corresponding to the second direction are denoted as the second processing parameter. The first preset rule can be from largest to smallest or from smallest to largest in the first direction, and the second preset rule can also be from largest to smallest or from smallest to largest in the second direction. The first preset rule and the second preset rule can be the same or different. Taking the first direction as the row direction and the second direction as the column direction as an example, the processing parameters in the row direction are arranged in order from left to right and from smallest to largest, and the processing parameters in the column direction are arranged in order from bottom to top and from smallest to largest. At the same time, based on the array position corresponding to the array element, each array element is arranged in its corresponding position to form a processing parameter array.
[0120] Optionally, considering that the image element data also includes processing equipment name, processing material name, first parameter name, second parameter name, processing mode name, etc., when forming the processing parameter array, the character elements other than the first and second processing parameters are arranged to their corresponding preset positions according to the character element type; wherein, the first processing parameter name is arranged close to the first processing parameter, and the second processing parameter name is arranged close to the second processing parameter. For example, the processing equipment name, processing material name, and processing mode name are all arranged above the processing parameter array.
[0121] In one embodiment of this application, after generating the processing parameter array, the method further includes: in response to a material type selection operation, displaying a material type selection interface in an interactive interface, the material type selection interface including multiple material type controls; in response to a selection operation of the material type controls, determining the target processing material type based on the selected material type control, and displaying the processing parameter array corresponding to the target processing material type in the interactive interface.
[0122] In other words, users can invoke the corresponding processing parameter array through material type selection. Specifically, in the material type selection interface, multiple material type controls corresponding to the same material type are displayed based on the material name and the data source identifier of the corresponding processing parameter array. For example, assuming the material type is Popular plywood, the terminal device or processing equipment provides a preset processing parameter array, and the user generates another processing parameter array using the technical solution of this application, then the material type selection interface will look like this: Figure 5A As shown, the material type control corresponding to the preset processing parameter array of the terminal device or processing equipment is only displayed as "Popular plywood", while the material type control corresponding to the user-created processing parameter array is displayed as "Popular plywood (Custom)". These two types of material type controls indicate the data source of the processing parameter array. For example, "Custom" in the material type name displayed by the material type control indicates that the processing parameter array is custom-defined, while the absence of the "Custom" identifier indicates that it is a system-preset processing parameter array. Furthermore, the material type controls corresponding to custom processing parameter arrays and system-preset processing parameter arrays are marked with different colors, such as... Figure 5A As shown, the border of the material type control corresponding to the custom processing parameter array is displayed in red, while the border of the material type control corresponding to the system preset processing parameter array is displayed in black.
[0123] For example, the material type selection interface can also be as follows: Figure 5B As shown, when a user selects a material type control, the corresponding processing parameter array is displayed in the interactive interface. Figure 5B The image shown on the right side of the interface.
[0124] In one embodiment of this application, the process of displaying the processing parameter array corresponding to the target processing material type further includes: if the target processing material type corresponds to multiple processing parameter arrays, then multiple processing parameter arrays are displayed simultaneously in the interactive interface, and different data source identifiers are set for each processing parameter array.
[0125] In other words, when the same material type corresponds to multiple processing parameter arrays, these arrays are displayed simultaneously, but the corresponding data sources need to be labeled. For example, the border of the system preset processing parameter array is displayed in black, and the border of the custom processing parameter array is displayed in red. Another example is displaying the border of the system preset processing parameter array in black, the border of the first custom processing parameter array in red, and the border of the second custom processing parameter array in yellow. Yet another example is displaying preset identifiers within the processing parameter arrays to indicate the data source; for instance, a black dot or the words "System Preset" in the upper right corner of the image indicates a system preset processing parameter array, while a red dot or the words "Custom" in the upper right corner indicates a custom processing parameter array.
[0126] In one embodiment of this application, the process of displaying the processing parameter array corresponding to the target processing material type further includes: if the target processing material type corresponds to multiple processing parameter arrays, selecting one of the multiple processing parameter arrays as the default processing parameter array to display on the interactive interface; and in response to the processing parameter array switching operation, displaying the switched processing parameter array on the interactive interface.
[0127] In other words, when the same type of material corresponds to multiple processing parameter arrays, one can be selected as the default processing parameter array for display. Users can switch to processing parameter arrays from other data sources for display using the processing parameter array switching operation. For example, the system preset processing parameter array is displayed by default, and users can switch to a custom processing parameter array for display using the processing parameter array switching operation.
[0128] In one embodiment of this application, after displaying the machining parameter array, the method further includes: in response to a hover operation on the machining parameter array, obtaining the relative position of the operation position of the hover operation with respect to the machining parameter array; determining, based on the relative position, the array element to which the hover operation points and the element position of the array element; and displaying a hover marker at the element position, the hover marker including at least one of a marker effect image matching the pattern size of the array element and machining parameter information represented by the array element.
[0129] In other words, when a hover operation is detected on a specific array element within the processing parameter array, the terminal device determines the corresponding array element based on the location of the hover operation. Then, a hover marker is displayed at the element's location. This marker can show the selected array element's marker effect, the corresponding processing parameter information (such as speed and power), or both types of data simultaneously. The hover operation can be a cursor hover operation used to select an array element, or a hover operation on a touchscreen that generates a touch effect to select an array element; for example, a user pressing their finger on an array element is considered a hover operation on that element.
[0130] For example, such as Figure 5C The processing parameter array shown allows users to hover their cursor over the array element corresponding to power 90 and speed 50. A hover icon will then appear near the element's location, displaying the specific processing parameters corresponding to that array element.
[0131] In one embodiment of this application, the process of displaying the processing parameter array further includes: differentiated display of the first array element corresponding to the recommended processing parameters in the processing parameter array.
[0132] Recommended processing parameters refer to processing parameters determined by the terminal device or processing equipment based on predetermined rules and recommended to the user, such as frequently used processing parameters or parameters with good processing effects. When displaying the processing parameter array, the first array elements corresponding to the recommended processing parameters are displayed differently to highlight the processing effect of the recommended processing parameters. Differentiation includes at least one of the following: marking the first array elements with a different color border, highlighting the first array elements, and adding a specific identifier to the first array elements. For example, the border of the array element corresponding to the recommended processing element is displayed in red, while the borders of the array elements corresponding to other processing elements are displayed without color.
[0133] Optionally, the terminal device or processing device can also set the recommendation priority (which also reflects the degree of recommendation) for each processing parameter group, and differentiate the display of array elements corresponding to different recommendation priorities. For example, the array element corresponding to the most recommended processing parameter (highest recommendation priority) can be displayed in red, the array element corresponding to the second most recommended processing parameter (second highest recommendation priority) can be displayed in purple, and the array element corresponding to the lowest recommended processing parameter (lowest recommendation priority) can be displayed in blue, etc. For example, such as... Figure 5DThe processing parameter array shown uses different colored borders to display the array elements corresponding to processing parameters with different recommendation levels. Specifically, the array elements whose processing effect indicates that the material texture color is too light are displayed with blue borders, the array elements whose processing effect indicates that the material texture color is moderate are displayed with green borders, and the array elements whose processing effect indicates that the material texture color is too dark are displayed with red borders.
[0134] In one embodiment of this application, after obtaining the processing parameter array, the method further includes: determining the pattern to be processed in the interactive interface; in response to the selection operation of array elements in the processing parameter array, using the processing parameters corresponding to the selected array elements as the target processing parameters corresponding to the pattern to be processed; generating processing instructions based on the pattern to be processed and the target processing parameters; and sending the processing instructions to the processing equipment to control the processing equipment to process the target processing material placed in the processing area; wherein the target processing material and the specified processing material are of the same type.
[0135] In other words, after obtaining the processing parameter array, it can be used to process the same type of target materials. Users can set the target processing parameters corresponding to the pattern to be processed by selecting array elements in the processing parameter array, and then generate processing instructions based on the pattern to be processed and the target processing parameters to control the processing equipment to perform processing.
[0136] Since the array elements in the processing parameter array can reflect the processing effect formed by the material being processed under the corresponding processing parameter group, determining the target processing parameters through the processing parameter array can provide users with a preview of the processing effect corresponding to the processing parameters. This allows users to select the target processing parameters corresponding to the processing effect that meets the requirements for processing, which not only improves the efficiency of setting processing parameters, but also improves the accuracy and efficiency of material processing, and can avoid repeated processing operations caused by the processing effect not meeting expectations.
[0137] In one embodiment of this application, the image recognition process in step 330 may further be: performing recognition on the array element positions of the parameter array image to obtain the position information of each array element in the parameter array image; and performing recognition on the processing parameter group for each array element corresponding to each position information to obtain the processing parameter group corresponding to each array element in the parameter array image.
[0138] In one optional embodiment, the position information of the array element on the parameter array image is the element position, which can be represented by coordinates, such as (x, y), where x represents the horizontal coordinate and y represents the vertical coordinate. For example, the array element can be outlined with a regular border, and the position information of the array element on the parameter array image can be represented by the coordinates of the upper left corner and the lower right corner of the regular border. Thus, the terminal device first identifies the position of each array element in the parameter array image, and then performs processing parameter group identification after clarifying the position of each array element on the parameter array image, avoiding misidentification and omissions, and improving the accuracy of the identification process.
[0139] Accordingly, the process of identifying the processing parameter group for each array element corresponding to each position information to obtain the processing parameter group of each array element in the parameter array image may include: identifying the processing parameter group associated with each array element corresponding to each position information from multiple processing parameter groups to obtain the processing parameter group of each array element in the parameter array image.
[0140] In other words, in the optional embodiment, the terminal device associates / maps each array element corresponding to location information with the corresponding processing parameter set to obtain the processing parameter set for each array element in the parameter array image. By implementing this optional embodiment, the terminal device can easily and accurately associate / map array elements with the corresponding processing parameter set to obtain the processing parameter set for each array element in the parameter array image.
[0141] In one embodiment of this application, the image recognition process may include: inputting a parameter array image into a recognition processing model to identify each array element in the parameter array image based on the array element position and processing parameter group; obtaining the position information of each array element in the parameter array image output by the recognition processing model on the parameter array image, and the processing parameter group of each array element in the parameter array image.
[0142] In other words, in the optional embodiment, the terminal device inputs the parameter array image into the recognition processing model, and then the recognition processing model identifies each array element in the parameter array image based on its position and processing parameter set. Correspondingly, the recognition processing model outputs the recognition processing result, that is, the position information of each array element in the parameter array image and the processing parameter set of each array element. In this way, the terminal device, with the help of the recognition processing model, achieves recognition of each array element in the parameter array image based on its position and processing parameter set, exhibiting a high degree of intelligence and improving the accuracy and efficiency of the recognition processing.
[0143] In one embodiment of this application, the image recognition process may include: performing recognition processing on the parameter array image through a server to obtain the position information of each array element in the parameter array image and the processing parameter group of each array element in the parameter array image.
[0144] In other words, in the optional embodiment, the parameter array image is processed by a server. Having the server perform the parameter array image recognition reduces the processing load on the terminal device, saves its computing resources, and since the server-side computing resources are relatively more abundant than those on the terminal device, the efficiency of the recognition process is improved.
[0145] In one embodiment of this application, the process of obtaining the position information of each array element in the parameter array image and the processing parameter group of each array element in the parameter array image by performing recognition processing on the parameter array image by a server may include:
[0146] The server identifies the positions of array elements in the parameter array image to obtain the position information of each array element in the parameter array image. It also identifies the processing parameter group for each array element corresponding to each position information to obtain the processing parameter group for each array element in the parameter array image.
[0147] By implementing this optional embodiment, the server first identifies the position of each array element in the parameter array image, and then performs processing parameter group identification after clarifying the position of each array element on the parameter array image. This avoids phenomena such as incorrect identification and omission of identification, and improves the accuracy of identification processing.
[0148] In one embodiment of this application, the recognition processing of the parameter array image by the server may include: sending the parameter array image to the server so that the server can identify each array element in the parameter array image based on the position of the array element and the processing parameter group through the recognition processing model; obtaining the position information of each array element in the parameter array image on the parameter array image output by the recognition processing model, and the processing parameter group of each array element in the parameter array image.
[0149] In other words, in an optional embodiment, the terminal device first sends the parameter array image to the server. The server then inputs the parameter array image into a recognition processing model, which identifies each array element in the parameter array image based on its position and processing parameter set. This yields the position information of each array element in the parameter array image and the processing parameter set for each array element. The terminal device then obtains the information output by the recognition processing model for display.
[0150] By implementing this optional embodiment, the server uses a recognition processing model to identify each array element in the parameter array image based on the array element position and processing parameter group, which is highly intelligent and improves the accuracy and efficiency of recognition processing.
[0151] In one embodiment of this application, the process of sending a parameter array image to a server may include: if an upload operation for a parameter array image is received, then sending the parameter array image to the server.
[0152] Accordingly, the process of obtaining the position information of each array element in the parameter array image output by the recognition processing model, and the processing parameter group of each array element in the parameter array image, may include: receiving the position information of each array element in the parameter array image output by the recognition processing model, and the processing parameter group of each array element in the parameter array image, sent by the server; and displaying the position information of each array element in the parameter array image, and the processing parameter group of each array element in the parameter array image.
[0153] In other words, in an optional embodiment, the user can send an upload operation for the parameter array image to the terminal device. The terminal device receives the upload operation and, in response, sends the parameter array image to the server. The server then uses a recognition processing model to identify the position and processing parameter group of each array element in the parameter array image, obtaining the position information of each array element on the parameter array image and the processing parameter group of each array element. The server feeds back the position information of each array element on the parameter array image and the processing parameter group of each array element to the terminal device. The terminal device receives and displays this information for the user to view.
[0154] By implementing this optional embodiment, the terminal device displays the position information of each array element in the parameter array image, as well as the processing parameter group of each array element in the parameter array image, which can be viewed by the user. This provides good human-computer interaction and improves the user experience.
[0155] In one embodiment of this application, the training process of the aforementioned recognition processing model may include:
[0156] A training sample set is obtained, which includes a first sample image and a second sample image. The first and second sample images are obtained by image acquisition of training processing material containing multiple sample array elements. The training processing material is processed by processing equipment according to multiple processing parameter sets. The second sample image has a label relative to the first sample image. The first sample image is input into the model to be trained to obtain the recognition processing sample result of the first sample image. Based on the loss value between the recognition processing sample result and the second sample image, the model to be trained is iteratively trained until the loss value is less than a set value, thus obtaining the recognition processing model.
[0157] That is, in the optional embodiment, the training process of the recognition processing model is to first obtain a training sample group containing a first sample image and a second sample image, then input the first sample image into the model to be trained to obtain the recognition processing sample result of the first sample image, and then iteratively train the model to be trained according to the loss value between the recognition processing sample result and the second sample image until the loss value is less than a set value, thereby training the recognition processing model.
[0158] In the optional embodiment, both the first sample image and the second sample image refer to the array image obtained by image acquisition of the training processing material. The training processing material refers to the material filled with multiple sample array elements obtained by the processing equipment processing sample array elements onto the training material according to multiple processing parameter groups. The training material refers to the material used for training that is not filled with multiple array elements. Correspondingly, the training processing material refers to the training material that has been processed and filled with multiple array elements.
[0159] It is understood that the process of generating the first sample image and the second sample image is similar to that of generating the parameter array image in the aforementioned embodiments. The difference is that the first sample image and the second sample image are used to train the model to be trained, while the parameter array image is used to generate the processing parameter array. The materials involved in the two processes (the training process is for training materials and training processing materials, and the usage process is for specified materials and specified processing materials), processing parameter groups, and array elements (the training process is for sample array elements, and the usage process is for array elements) can be the same or different. In practical applications, they can be flexibly adjusted according to specific application scenarios.
[0160] It should be clear that the second sample image has a label relative to the first sample image. Therefore, the model to be trained can be iteratively trained based on the loss value between the recognition and processing sample result and the second sample image until the loss value is less than the set value.
[0161] In one optional embodiment, the number of training sample groups can be one or more, typically multiple training sample groups, thereby improving the training accuracy of the recognition and processing model.
[0162] In one embodiment of this application, the recognition processing result of the first sample image includes the first position sample information of each sample array element in the first sample image, and the first processing parameter sample group of each sample array element in the first sample image. The first position sample information of the sample array element refers to the position information of the sample array element on the first sample image. Similarly, the position information of the sample array element on the first sample image can be represented by coordinates, such as (x, y), where x represents the horizontal coordinate and y represents the vertical coordinate. For example, the sample array element can be outlined with a regular border, and the position information of the sample array element on the first sample image can be represented by the coordinates of the upper left corner and the lower right corner of the regular border. The first processing parameter sample group of the sample array element refers to the processing parameter group corresponding to the sample array element.
[0163] In one embodiment of this application, the label of the second sample image includes the second position sample information of each sample array element in the second sample image, and the second processing parameter sample group of each sample array element in the second sample image. The second position sample information of the sample array element refers to the position information of the sample array element on the second sample image. Similarly, the position information of the sample array element on the second sample image can be represented by coordinates, such as (x, y), where x represents the horizontal coordinate and y represents the vertical coordinate. For example, the sample array element can be outlined with a regular border, and the position information of the sample array element on the second sample image can be represented by the coordinates of the upper left corner and the lower right corner of the regular border. The second processing parameter sample group of the sample array element refers to the processing parameter group corresponding to the sample array element.
[0164] Accordingly, the process of iteratively training the model to be trained based on the loss value between the recognition and processing sample result and the second sample image until the loss value is less than a set value, thus obtaining the recognition and processing model, may include:
[0165] Based on the loss value between the first position sample information and the second position sample information, and the loss value between the first processing parameter sample group and the second processing parameter sample group, the model to be trained is iteratively trained until the loss value is less than the set value, thus obtaining the recognition processing model.
[0166] That is, in an optional embodiment, the model to be trained is iteratively trained based on the loss value between the first position sample information (i.e., the identified position information) and the second position sample information (i.e., the actual position information), and the loss value between the first processing parameter sample group (i.e., the identified processing parameter group) and the second processing parameter sample group (i.e., the actual processing parameter group), until the loss value (i.e., the loss value between the first position sample information and the second position sample information, and the loss value between the first processing parameter sample group and the second processing parameter sample group) is less than a set value, thereby training the recognition and processing model.
[0167] By implementing this optional embodiment, the recognition and processing model can be trained easily and accurately, thus providing strong support for the recognition and processing of parametric array images in applications.
[0168] The implementation process of the technical solution of this application will be described below with a specific embodiment.
[0169] Figure 6 A flowchart illustrating a processing method provided in one embodiment of this application is shown schematically. Figure 6 As shown, the processing method includes the following steps:
[0170] S1. Select materials, equipment, and set the parameter matrix. That is, through the interactive interface, specify the material to be processed (which can be represented by material name, material type, etc.), which processing equipment to use for processing (which can be represented by equipment name, equipment model, etc.), and set the specific content information of the test parameter array (i.e., parameter matrix), such as the array elements in the test parameter array, the number of rows and columns of the array elements, and the test processing parameter group corresponding to each array element.
[0171] S2. Material Processing. The specified material is placed in the processing area, and the processing equipment is controlled to process the specified material based on a test parameter array. For example, ... Figure 7A As shown, the interactive interface can display prompts to remind the user to place the specified material in the processing area. After the user places the material, they can click the "processing" button on the interactive interface. This causes the terminal device to generate test processing instructions based on the test parameter array and send these instructions to the processing equipment. The processing equipment then processes the specified material to obtain a material filled with multiple array elements. For example, when... Figure 7A After clicking the "processing" button in the interactive interface shown, the interactive interface will appear as follows: Figure 7BAs shown, this is used to confirm whether the processing preparation work has been completed. If it is confirmed that the above operations have been completed, you can click the "OK" button to make the processing equipment perform the processing operation.
[0172] S3. User uploads matrix image. Here, matrix image refers to a parameter array image. Optionally, the user can take a picture and upload the matrix image, or the terminal device can control the processing equipment to take a picture and upload the matrix image, or the user can control the processing equipment to take a picture and upload the matrix image. For example, when the processing equipment completes processing, the interactive interface is as follows: Figure 7C As shown, you can upload a parameter array image by clicking the "Take Photo and Upload" button. After clicking the "Take Photo and Upload" button, the interactive interface will appear as follows: Figure 7D As shown, "Camera" indicates directly taking a picture to acquire the parameter array image; "Open from device" indicates selecting an image from the device database as the parameter array image for uploading. For example, the uploaded matrix image is as follows... Figure 8A As shown.
[0173] S4. Image Content Recognition. After uploading the parameter array image, the interactive interface is as follows: Figure 7E As shown, image content recognition is being performed on the parameter array image, wherein the image content recognition steps include the following S41 to S43.
[0174] S41. Image Preprocessing. Image preprocessing includes Gaussian filtering and contrast enhancement. First, Gaussian filtering is applied to the uploaded matrix image to obtain the filtered image. For example, Figure 8A The matrix image shown is processed by Gaussian filtering to obtain... Figure 8B The filtered image is shown. Then, the filtered image undergoes contrast enhancement processing, for example, Figure 8B The filtered image shown has undergone contrast enhancement processing to obtain... Figure 8C The image shown is a processed parameter array.
[0175] S42. Image Recognition. Using a deep learning-based OCR model, characters (such as text and numbers) in a processed parameter array image are recognized; that is, character element recognition is performed, obtaining text bounding boxes (character element bounding boxes) and the corresponding text results (character element content). This OCR model is pre-trained, and its recognition accuracy is improved by training with a large amount of sample data. For example, based on... Figure 8C The character recognition results obtained from the parameter array image shown are as follows: Figure 8D As shown.
[0176] Meanwhile, through the pre-trained array element recognition model, each array element and its position are identified, that is, the position coordinates of the bounding rectangle of each array element.
[0177] S43. Parameter Parsing. Based on preset rules and templates, the identified information is parsed, meaning each character element is matched against a preset rule template to determine its corresponding character element type. For example, by judging the range and position of a number, it is determined to be power or speed; by keyword matching, the consumable name is determined.
[0178] For example, based on Figure 8D The character recognition results shown are parsed to obtain the following parsing results:
[0179] Material Name: 1 / 8" Poplar Plywood
[0180] Processing equipment: xTool F1Ultra-20W-455nm
[0181] Velocity distribution: 20, 15, 10
[0182] Power distribution: 100, 90, 80
[0183] S5. Array Display. That is, after obtaining image element data through image content recognition, a processing parameter array is generated based on this data and displayed on the interactive interface. For example, after image content recognition, the interactive interface looks like this: Figure 7F As shown, the processing parameter array is displayed, and users can select array elements to set the processing parameters.
[0184] S6. Data Storage. This involves storing image element data and their corresponding parameter array images in a database. Specifically, this can be done by storing the parsed data in a relational database, while simultaneously storing the corresponding information in a file system or object storage (OSS). Based on information such as the name of the processed material, corresponding folders are automatically created, and the data is stored in categories.
[0185] S7. Data Application. After data storage, users can see the corresponding material names in the material list and select the material name to call up the corresponding processing parameter array.
[0186] This application's technical solution can automatically identify all image elements, including processing parameters, in a parameter array image, avoiding the tedious process of manually entering processing parameters. This significantly shortens data input time, reduces errors caused by manual operation, and improves data accuracy and reliability. It improves both the efficiency of generating the processing parameter array and the accuracy of the data. Furthermore, this application's technical solution can handle irregular parameter arrays and uneven distribution of processing parameters, meeting the needs of different users and increasing the flexibility and scalability of processing parameter array settings.
[0187] It should be noted that although the steps of the method in this application are described in a specific order in the accompanying drawings, this does not require or imply that the steps must be performed in that specific order, or that all the steps shown must be performed to achieve the desired result. Additional or alternative steps may be omitted, multiple steps may be combined into one step, and / or one step may be broken down into multiple steps.
[0188] The following describes an embodiment of the apparatus of this application, which can be used to perform the processing methods in the above embodiments of this application. Figure 9 A schematic block diagram of the processing apparatus provided in an embodiment of this application is shown. Figure 9 As shown, the processing apparatus provided in this application embodiment includes:
[0189] The test processing module 910 is used to control the processing equipment to process a specified material based on the test parameter array in the interactive interface, so as to obtain a specified processed material filled with multiple array elements; wherein, the test parameter array includes multiple array elements and multiple test processing parameter groups;
[0190] Image acquisition module 920 is used to acquire a parameter array image obtained by image acquisition of the specified processing material;
[0191] The image recognition module 930 is used to recognize the image content of the parameter array image to obtain image element data contained in the parameter array image; wherein, the image element data includes image elements and image element positions, the image elements include array elements and character elements, and the character elements include at least one of processing parameter name, processing equipment name, processing material name, and processing mode name;
[0192] The array display module 940 is used to display the processing parameter array corresponding to the specified processing material in the interactive interface according to the image element data contained in the parameter array image.
[0193] In one embodiment of this application, a set of test processing parameters includes multiple test processing parameters; the apparatus further includes:
[0194] The test array generation module is used to respond to a test parameter array generation request for the array elements and display a test parameter array information setting control in the interactive interface. The information of the test parameter array includes the test processing parameter type, test processing parameter value, row and column values of the array elements in the test parameter array, and the interval between the array elements in the test parameter array. In response to the setting operation of the test parameter array information setting control, the module generates and displays the test parameter array in the interactive interface based on the set test parameter array information.
[0195] In one embodiment of this application, the test array generation module is specifically used for:
[0196] The array elements are copied according to the row and column values of the array elements in the test parameter array to obtain multiple array elements, and the multiple array elements are arranged in an array to generate a pattern array in the interactive interface.
[0197] Based on the pattern array, the test processing parameters corresponding to each array element are arranged;
[0198] In the interactive interface, determine the name of the material to be processed and the name of the processing equipment;
[0199] The test parameter array is displayed in the interactive interface based on the pattern array, the test processing parameters corresponding to each array element, the name of the processing material, and the name of the processing equipment.
[0200] In one embodiment of this application, the apparatus further includes:
[0201] The data setting module is used to display an array data setting interface on the interactive interface in response to a parameter array setting operation for the array elements; wherein, the array data setting interface includes row and column value controls and processing parameter controls for the array elements; in response to a setting operation for the row and column value controls, multiple array elements in the test parameter array are generated according to the set row and column values; in response to a setting operation for the processing parameter controls, a test processing parameter group corresponding to each array element is determined according to the set processing parameters.
[0202] In one embodiment of this application, the apparatus further includes:
[0203] The control display module is used to display an array data setting interface on the interactive interface in response to a parameter array setting operation for the array element; wherein the array data setting interface includes a processing parameter type setting control and a processing parameter value setting control.
[0204] The parameter type setting module is used to respond to the setting operation of the processing parameter type setting control, display multiple processing parameter type options, and determine the processing parameter type set for the processing parameter array based on the selected processing parameter type option; wherein, the processing parameter type includes at least two of power, speed, number of processing operations, engraving density, frequency, pulse width, focus drop distance, and spot size;
[0205] The parameter setting module is used to, in response to a setting operation of the processing parameter value setting control corresponding to the processing parameter type, determine the processing parameter range corresponding to the processing parameter type, and determine the test processing parameter corresponding to each array element based on the processing parameter range and the row and column values of the array elements in the test parameter array; or, in response to a setting operation of the processing parameter value setting control based on the processing parameter type for each array element, determine the set processing parameter as the test processing parameter corresponding to each array element.
[0206] In one embodiment of this application, the apparatus further includes an array element setting module, which is specifically used for:
[0207] In response to a selection operation of a specified shape from the shape list in the interactive interface, the selected specified shape is used as the array element; or
[0208] In response to a text input operation in the interactive interface, the input text content is used as an array element; or
[0209] In response to the image import operation in the interactive interface, the imported image is used as an array element; or
[0210] In response to a pattern import operation in the interactive interface, the imported pattern is displayed in the interactive interface; in response to a selection operation for a pattern element in the imported pattern, the selected pattern element is used as the array element.
[0211] In one embodiment of this application, the character element includes a first processing parameter and a second processing parameter; the image element data further includes the association between the array element and the first processing parameter, and the association between the array element and the second processing parameter; the array display module 940 is specifically used for:
[0212] Multiple first processing parameters are arranged in a first direction according to a first preset rule, and multiple second processing parameters are arranged in a second direction according to a second preset rule;
[0213] Based on the correlation between the array element and the first processing parameter, the first array position of the array element in the first direction is determined, and based on the correlation between the array element and the second processing parameter, the second array position of the array element in the second direction is determined.
[0214] The array elements are arranged according to the first array position and the second array position to display the processing parameter array corresponding to the specified processing material in the interactive interface.
[0215] In one embodiment of this application, the array display module 940 is further configured to:
[0216] The array elements are arranged according to the first array position and the second array position, and the character elements other than the first processing parameter and the second processing parameter are arranged to the corresponding preset positions according to the character element type, so as to display the processing parameter array corresponding to the specified processing material in the interactive interface; wherein, the character element type includes processing material name, processing equipment name, processing mode name, first processing parameter name and second processing parameter name; the arrangement position of the first processing parameter name is close to the first processing parameter, and the arrangement position of the second processing parameter name is close to the second processing parameter.
[0217] In one embodiment of this application, the device further includes an element data display module, which is specifically used for:
[0218] In response to a hover operation on the machining parameter array, the relative position of the hover operation position with respect to the machining parameter array is obtained;
[0219] Based on the relative position, determine the array element in the processing parameter array that the hover operation points to, and the element position of the array element;
[0220] The hovering marker is displayed at the location of the element, and the hovering marker includes at least one of the following: a marker effect image that matches the pattern size of the array element, and processing parameter information representing the array element.
[0221] In one embodiment of this application, the array display module 940 is specifically used for:
[0222] In the processing parameter array, the first array element corresponding to the recommended processing parameters is displayed differently;
[0223] The differentiated display includes at least one of the following: marking the first array element with a differentiated color box, highlighting the first array element, and adding a specific identifier to the first array element for display.
[0224] In one embodiment of this application, the apparatus further includes:
[0225] The material type display module is used to display a material type selection interface in the interactive interface in response to the material type selection operation. The material type selection interface includes multiple material type controls, wherein multiple material type controls corresponding to the same material type are displayed based on the data source identifier of the material name and the corresponding processing parameter array.
[0226] The array acquisition module is used to respond to the selection operation of the material type control, determine the target processing material type according to the selected material type control, and display the processing parameter array corresponding to the target processing material type on the interactive interface.
[0227] In one embodiment of this application, the array acquisition module is further configured to:
[0228] If the target material type corresponds to multiple processing parameter arrays, then the multiple processing parameter arrays are displayed simultaneously in the interactive interface, and different data source identifiers are set for each processing parameter array; and / or
[0229] If the target material type corresponds to multiple processing parameter arrays, one of the multiple processing parameter arrays is selected as the default processing parameter array and displayed on the interactive interface; in response to the processing parameter array switching operation, the switched processing parameter array is displayed on the interactive interface.
[0230] In one embodiment of this application, the character element includes the name of the processed material; the device further includes a data storage module, which is specifically used for:
[0231] Create a corresponding folder in the database according to the name of the processed material, and store the image element data in the folder;
[0232] The parameter array image is stored in the database, and an association is established between the name of the processed material and the parameter array image.
[0233] In one embodiment of this application, the image acquisition module 920 is specifically used for:
[0234] In response to the parameter array image acquisition operation, the image acquisition device of the processing equipment is controlled to acquire an image of the specified processed material after processing, obtain the parameter array image, and display it on the interactive interface; or
[0235] In response to the upload operation of the parameter array image, the uploaded image is used as the parameter array image.
[0236] In one embodiment of this application, the image recognition module 930 is specifically used for:
[0237] An element recognition unit is used to recognize array elements in the parameter array image to obtain the array elements and their positions in the parameter array image.
[0238] A character recognition unit is used to recognize character elements in the parameter array image to obtain the character elements and their positions in the parameter array image.
[0239] A relationship building unit is used to build an association relationship between the array elements and the character elements based on the positions of the array elements and the character elements.
[0240] The data generation unit is used to generate image element data contained in the parameter array image based on the array elements and their positions, the character elements and their positions, and the association between the array elements and the character elements.
[0241] In one embodiment of this application, the character element includes a processing parameter name and a processing parameter value; the relationship construction unit is specifically used for:
[0242] Clustering is performed on the positions of all array elements to determine the array position of each array element in the processing parameter array based on the clustering results;
[0243] Determine the array position of each machining parameter in the machining parameter array based on the position of the machining parameter name and the position of the machining parameter value;
[0244] The relationship between array elements and processing parameters is determined based on the array position of each array element and the array position corresponding to each processing parameter.
[0245] In one embodiment of this application, the image element data further includes character element types; the image recognition module 930 is also used for:
[0246] The character elements are matched with preset rule templates to determine the character element type corresponding to each character element.
[0247] In one embodiment of this application, the apparatus further includes a processing module, which is specifically used for:
[0248] The pattern to be processed is determined in the interactive interface;
[0249] In response to the selection operation of array elements in the processing parameter array, the processing parameters corresponding to the selected array elements are used as the target processing parameters corresponding to the pattern to be processed.
[0250] Generate processing instructions based on the pattern to be processed and the target processing parameters;
[0251] The processing instruction is sent to the processing equipment to control the processing equipment to process the target processing material placed in the processing area; wherein the target processing material and the designated processing material are of the same type.
[0252] The specific details of the processing apparatus provided in the various embodiments of this application have been described in detail in the corresponding method embodiments, and will not be repeated here.
[0253] Figure 10 A schematic block diagram of a computer system architecture for implementing the processing method of the embodiments of this application is shown.
[0254] It should be noted that, Figure 10 The computer system 1000 of the processing equipment shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0255] like Figure 10 As shown, the computer system 1000 includes a central processing unit (CPU) 1001, which can perform various appropriate actions and processes based on programs stored in read-only memory (ROM) 1002 or programs loaded from storage section 1008 into random access memory (RAM). The RAM 1003 also stores various programs and data required for system operation. The CPU 1001, ROM 1002, and RAM 1003 are interconnected via a bus 1004. An input / output interface 1005 (I / O interface) is also connected to the bus 1004.
[0256] The following components are connected to the input / output interface 1005: an input section 1006 including a keyboard, mouse, etc.; an output section 1007 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 1008 including a hard disk, etc.; and a communication section 1009 including a network interface card such as a local area network card, modem, etc. The communication section 1009 performs communication processing via a network such as the Internet. A drive 1010 is also connected to the input / output interface 1005 as needed. A removable medium 1011, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 1010 as needed so that computer programs read from it can be installed into the storage section 1008 as needed.
[0257] Specifically, according to embodiments of this application, the processes described in the various method flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 1009, and / or installed from removable medium 1011. When the computer program is executed by central processing unit 1001, it performs various functions defined in the system of this application.
[0258] It should be noted that the computer-readable medium shown in the embodiments of this application can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such transmitted data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination thereof.
[0259] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0260] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of this application, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0261] Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, touch terminal, or network device, etc.) to execute the method according to the embodiments of this application.
[0262] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein.
[0263] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
Claims
1. A processing method, characterized in that, include: Based on the test parameter array in the interactive interface, the processing equipment is controlled to process the specified material to obtain the specified processed material filled with multiple array elements; wherein, the test parameter array includes multiple array elements and multiple test processing parameter groups; Obtain a parameter array image obtained by image acquisition for the specified processing material; The image content of the parameter array image is identified to obtain image element data contained in the parameter array image; wherein, the image element data includes image elements and image element positions, the image elements include array elements and character elements, and the character elements include at least one of processing parameter name, processing equipment name, processing material name, and processing mode name; Based on the image element data contained in the parameter array image, the processing parameter array corresponding to the specified processing material is displayed in the interactive interface.
2. The processing method according to claim 1, characterized in that, A set of test processing parameters includes multiple test processing parameters; before controlling the processing equipment to process the specified material based on the test parameter array in the interactive interface, the method further includes: In response to the request to generate a test parameter array for the array elements, a test parameter array information setting control is displayed in the interactive interface; the information of the test parameter array includes the test processing parameter type, test processing parameter value, row and column values of the array elements in the test parameter array, and the interval between the array elements in the test parameter array. In response to the setting operation of the control for setting the test parameter array information, the test parameter array is generated and displayed in the interactive interface based on the set test parameter array information.
3. The processing method according to claim 2, characterized in that, Based on the configured test parameter array information, the test parameter array is generated and displayed in the interactive interface, including: The array elements are copied according to the row and column values of the array elements in the test parameter array to obtain multiple array elements, and the multiple array elements are arranged in an array to generate a pattern array in the interactive interface. Based on the pattern array, the test processing parameters corresponding to each array element are arranged; In the interactive interface, determine the name of the material to be processed and the name of the processing equipment; The test parameter array is displayed in the interactive interface based on the pattern array, the test processing parameters corresponding to each array element, the name of the processing material, and the name of the processing equipment.
4. The processing method according to claim 1, characterized in that, Before controlling the processing equipment to process the specified material based on the test parameter array in the interactive interface, the method further includes: In response to a parameter array setting operation for the array element, an array data setting interface is displayed on the interactive interface; wherein, the array data setting interface includes row and column value controls and processing parameter controls for the array element; In response to the setting operation of the row and column value control, multiple array elements in the test parameter array are generated according to the set row and column values; In response to the setting operation of the processing parameter control, the test processing parameter group corresponding to each array element is determined according to the set processing parameters.
5. The processing method according to claim 1, characterized in that, Before controlling the processing equipment to process the specified material based on the test parameter array in the interactive interface, the method further includes: In response to a parameter array setting operation for the array element, an array data setting interface is displayed on the interactive interface; wherein, the array data setting interface includes a processing parameter type setting control and a processing parameter value setting control; In response to a setting operation of the processing parameter type setting control, multiple processing parameter type options are displayed, and the processing parameter type set for the processing parameter array is determined based on the selected processing parameter type option; wherein, the processing parameter type includes at least two of power, speed, number of processing operations, engraving density, frequency, pulse width, focus drop distance, and spot size; In response to a setting operation of the processing parameter value setting control corresponding to the processing parameter type, the processing parameter range corresponding to the processing parameter type is determined, and the test processing parameter corresponding to each array element is determined based on the processing parameter range and the row and column values of the array elements in the test parameter array; or In response to the setting operation of the processing parameter value setting control based on the processing parameter type for each array element, the set processing parameter is determined as the test processing parameter corresponding to each array element.
6. The processing method according to claim 1, characterized in that, Before controlling the processing equipment to process the specified material based on the test parameter array in the interactive interface, the method further includes: In response to a selection operation of a specified shape from the shape list in the interactive interface, the selected specified shape is used as the array element; or In response to a text input operation in the interactive interface, the input text content is used as an array element; or In response to the image import operation in the interactive interface, the imported image is used as an array element; or In response to a pattern import operation in the interactive interface, the imported pattern is displayed in the interactive interface; in response to a selection operation for a pattern element in the imported pattern, the selected pattern element is used as the array element.
7. The processing method according to claim 1, characterized in that, The character element includes a first processing parameter and a second processing parameter; the image element data also includes the association between the array element and the first processing parameter, and the association between the array element and the second processing parameter; Based on the image element data contained in the parameter array image, the processing parameter array corresponding to the specified processing material is displayed in the interactive interface, including: Multiple first processing parameters are arranged in a first direction according to a first preset rule, and multiple second processing parameters are arranged in a second direction according to a second preset rule; Based on the correlation between the array element and the first processing parameter, the first array position of the array element in the first direction is determined, and based on the correlation between the array element and the second processing parameter, the second array position of the array element in the second direction is determined. The array elements are arranged according to the first array position and the second array position to display the processing parameter array corresponding to the specified processing material in the interactive interface.
8. The processing method according to claim 7, characterized in that, The array elements are arranged according to the first array position and the second array position to display the processing parameter array corresponding to the specified processing material in the interactive interface, including: The array elements are arranged according to the first array position and the second array position, and the character elements other than the first processing parameter and the second processing parameter are arranged to the corresponding preset positions according to the character element type, so as to display the processing parameter array corresponding to the specified processing material in the interactive interface; wherein, the character element type includes processing material name, processing equipment name, processing mode name, first processing parameter name and second processing parameter name; the arrangement position of the first processing parameter name is close to the first processing parameter, and the arrangement position of the second processing parameter name is close to the second processing parameter.
9. The processing method according to claim 1, characterized in that, After displaying the array of processing parameters corresponding to the specified processing material in the interactive interface, the method further includes: In response to a hover operation on the machining parameter array, the relative position of the hover operation position with respect to the machining parameter array is obtained; Based on the relative position, determine the array element in the processing parameter array that the hover operation points to, and the element position of the array element; The hovering marker is displayed at the location of the element, and the hovering marker includes at least one of the following: a marker effect image that matches the pattern size of the array element, and processing parameter information representing the array element.
10. The processing method according to claim 1, characterized in that, The interactive interface displays an array of processing parameters corresponding to the specified processing material, including: In the processing parameter array, the first array element corresponding to the recommended processing parameters is displayed differently; The differentiated display includes at least one of the following: marking the first array element with a differentiated color box, highlighting the first array element, and adding a specific identifier to the first array element for display.
11. The processing method according to claim 1, characterized in that, The method further includes: In response to the material type selection operation, a material type selection interface is displayed in the interactive interface. The material type selection interface includes multiple material type controls, wherein multiple material type controls corresponding to the same material type are displayed based on the data source identifier of the material name and the corresponding processing parameter array. In response to the selection operation of the material type control, the target processing material type is determined according to the selected material type control, and the processing parameter array corresponding to the target processing material type is displayed on the interactive interface.
12. The processing method according to claim 11, characterized in that, The interactive interface displays an array of processing parameters corresponding to the target material type, including: If the target material type corresponds to multiple processing parameter arrays, then the multiple processing parameter arrays are displayed simultaneously in the interactive interface, and different data source identifiers are set for each processing parameter array; and / or If the target material type corresponds to multiple processing parameter arrays, one of the multiple processing parameter arrays is selected as the default processing parameter array and displayed on the interactive interface; in response to the processing parameter array switching operation, the switched processing parameter array is displayed on the interactive interface.
13. The processing method according to claim 1, characterized in that, The character element includes the name of the processed material; after obtaining the image element data contained in the parameter array image, the method further includes: Create a corresponding folder in the database according to the name of the processed material, and store the image element data in the folder; The parameter array image is stored in the database, and an association is established between the name of the processed material and the parameter array image.
14. The processing method according to claim 1, characterized in that, Acquiring a parameter array image obtained by image acquisition for the specified processing material includes: In response to the parameter array image acquisition operation, the image acquisition device of the processing equipment is controlled to acquire an image of the specified processed material after processing, obtain the parameter array image, and display it on the interactive interface; or In response to the upload operation of the parameter array image, the uploaded image is used as the parameter array image.
15. The processing method according to claim 1, characterized in that, The image content of the parameter array image is identified to obtain image element data contained in the parameter array image, including: The array elements in the parameter array image are identified to obtain the array elements and their positions. The parameter array image is subjected to character element recognition to obtain the character elements and their positions in the parameter array image; Based on the positions of the array elements and the character elements, an association relationship is constructed between the array elements and the character elements; Based on the array elements and their positions, the character elements and their positions, and the relationships between the array elements and the character elements, the image element data contained in the parameter array image is generated.
16. The processing method according to claim 15, characterized in that, The character element includes the processing parameter name and the processing parameter value; Based on the positions of the array elements and the character elements, the association between the array elements and the character elements is constructed, including: Clustering is performed on the positions of all array elements to determine the array position of each array element in the processing parameter array based on the clustering results; Determine the array position of each machining parameter in the machining parameter array based on the position of the machining parameter name and the position of the machining parameter value; The relationship between array elements and processing parameters is determined based on the array position of each array element and the array position corresponding to each processing parameter.
17. The processing method according to claim 15, characterized in that, The image element data also includes character element types; in the process of generating the image element data contained in the parameter array image, the method further includes: The character elements are matched with preset rule templates to determine the character element type corresponding to each character element.
18. The processing method according to claim 1, characterized in that, The method further includes: The pattern to be processed is determined in the interactive interface; In response to the selection operation of array elements in the processing parameter array, the processing parameters corresponding to the selected array elements are used as the target processing parameters corresponding to the pattern to be processed. Generate processing instructions based on the pattern to be processed and the target processing parameters; The processing instruction is sent to the processing equipment to control the processing equipment to process the target processing material placed in the processing area; wherein the target processing material and the designated processing material are of the same type.
19. A processing device, characterized in that, include: slide rail; A processing head, which is slidably mounted on the slide rail; A processing platform, the processing platform including a processing area for placing a specified processing material, and a processing head movable on the processing area; A communication component, the communication component being configured to receive processing instructions generated from processing parameters obtained by the processing method according to any one of claims 1 to 18; A controller, based on the processing instructions, controls the processing head to move on the slide rail to perform at least one of laser processing, cutting processing, and printing processing on the processing material placed in the processing area.
20. A system comprising: At least one data processor; as well as At least one memory storing instructions that, when executed by the at least one data processor, implement the processing method according to any one of claims 1 to 18.
21. A computer-readable medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the processing method according to any one of claims 1 to 18.
22. A computer program product, characterized in that, The computer program product includes computer instructions stored in a computer-readable storage medium; The processor of the computer device reads the computer instructions from a computer-readable storage medium, and executes the computer instructions to cause the computer device to perform the processing method according to any one of claims 1 to 18.