Numerical control interface setting method and device, electronic equipment and readable storage medium

By dividing the CNC system interface into functional areas and generating a navigation list, the problem of users having difficulty finding control components is solved, enabling rapid location and efficient search of functional controls.

CN121579112APending Publication Date: 2026-02-27GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511682936.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-17
Publication Date
2026-02-27

AI Technical Summary

Technical Problem

In existing CNC systems, users often find it difficult to quickly locate the components they need to control, leading to operational challenges.

Method used

Multiple functional areas are set up on the functional interface, and functional controls with the same function type are grouped into the same area to generate a navigation list. The target functional control is matched by a query command and the user is redirected to the corresponding area.

Benefits of technology

It improves the efficiency of finding functional controls, enabling users to clearly locate functional controls, reducing switching operations, and enhancing the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121579112A_ABST
    Figure CN121579112A_ABST
Patent Text Reader

Abstract

The invention provides a numerical control interface setting method and device, electronic equipment and a readable storage medium. The method comprises the following steps: setting a plurality of functional areas on a functional interface; for each function area, setting a function control consistent with the function type of the function area in the function area; generating a navigation list based on the corresponding relationship between the function control and the function area; obtaining a query instruction, and matching a target function control corresponding to the query instruction in the navigation list; and skipping to a functional area corresponding to the target functional control. According to the method, the function controls are divided by functions in the function interface, so that the function controls with consistent functions are arranged in one function area, a user can clearly determine the positions of the function controls, and then the navigation list is generated based on the corresponding relation between the function controls and the function areas; therefore, the specific function control can be quickly searched and positioned based on the navigation list, and the searching efficiency of the function control is further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of numerical control systems, and more particularly to a numerical control interface setting method, apparatus, electronic device, and readable storage medium. Background Technology

[0002] Existing CNC systems often contain a variety of control modules and components; at the same time, there are various hierarchical relationships between different modules and components. Therefore, when using a CNC system, users often face the problem of finding the component they need to control. Summary of the Invention

[0003] The main objective of this invention is to provide a CNC interface setting method, device, electronic device, and readable storage medium, aiming to solve the problem that it is difficult to find control components in existing CNC systems.

[0004] To achieve the above objectives, the present invention provides a CNC interface setting method, the method comprising the following steps: Set up multiple functional areas on the interface; For each functional area, a functional control with the same function type as the functional area is set within the functional area; A navigation list is generated based on the correspondence between the functional controls and the functional areas; Obtain the query command and match the target function control corresponding to the query command in the navigation list; Jump to the functional area corresponding to the target functional control.

[0005] Optionally, setting multiple functional areas on the functional interface includes: Obtain the functional theme corresponding to the aforementioned functional interface; Identify multiple function types corresponding to the aforementioned function theme; For each of the aforementioned function types, the function area is set, and a corresponding function label for that function type is generated; The function labels are displayed in the title bar of the function area.

[0006] Optionally, generating the navigation list based on the correspondence between the functional controls and the functional areas includes: Identify the target functional area that has been loaded; Obtain the target functional area and the attribute information of the functional controls contained within the target functional area; Generate the navigation list containing the attribute information and the corresponding relationship.

[0007] Optionally, setting multiple functional areas on the functional interface includes: Get current user information; Determine the user permissions corresponding to the current user information; Match the target functional area corresponding to the user's permissions; Load the target functional area on the functional interface.

[0008] Optionally, the query instruction includes: Obtain the historical switching count of each functional control, and arrange the functional controls in descending order of historical switching count to obtain a control queue; Display the labels of the first few functional controls in the control queue on the navigation interface; In response to the user's selection of the function control label, a query instruction containing the selected function control label is generated.

[0009] Optionally, the step of matching the target function control corresponding to the query instruction in the navigation list includes: The similarity between the query command and each of the functional controls is calculated based on the navigation list; A predetermined number of the functional controls with the highest similarity are selected as the target functional controls.

[0010] Optionally, the jump to the functional area corresponding to the target functional control includes: The target function controls are displayed in order of similarity. In response to the user's selection of the target function control, the system jumps to the function area corresponding to the target function control selected by the user.

[0011] To achieve the above objectives, the present invention also provides a CNC interface setting device, the CNC interface setting device comprising: The first settings module is used to set multiple functional areas on the functional interface; The second setting module is used to set functional controls that are consistent with the function type of each functional area in the functional area. The first generation module is used to generate a navigation list based on the correspondence between the functional controls and the functional areas; The first receiving module is used to obtain a query instruction and match the target functional control corresponding to the query instruction in the navigation list; The first jump module is used to jump to the functional area corresponding to the target functional control.

[0012] Optionally, the first setting module includes: The first acquisition unit is used to acquire the functional theme corresponding to the functional interface; The first determining unit is used to determine multiple functional types corresponding to the functional theme; The first generation unit is used to set the functional area for each of the functional types and generate the corresponding functional label for the functional type. The first display unit is used to display the function labels in the title bar of the function area.

[0013] Optionally, the first generation module includes: The second determining unit is used to determine the loaded target functional area; The second acquisition unit is used to acquire the target functional area and the attribute information of the functional controls contained in the target functional area; The second generation unit is used to generate the navigation list containing the attribute information and the correspondence.

[0014] Optionally, the first setting module includes: The third acquisition unit is used to acquire current user information; The third determining unit is used to determine the user permissions corresponding to the current user information; The first matching unit is used to match the target functional area corresponding to the user's permissions; The first loading unit is used to load the target functional area on the functional interface.

[0015] Optionally, the first receiving module includes: The fourth acquisition unit is used to acquire the historical switching count of each of the functional controls and arrange the functional controls in descending order of historical switching count to obtain a control queue; The second display unit is used to display multiple functional control labels that are at the front of the control queue on the navigation interface; The first response unit is configured to generate a query instruction containing the selected function control label in response to the user's selection of the function control label.

[0016] Optionally, the first receiving module includes: The first calculation unit is used to calculate the similarity between the query instruction and each of the functional controls based on the navigation list; The first execution unit is used to select a preset number of the functional controls with the highest similarity as the target functional controls.

[0017] Optionally, the first jump module includes: The third display unit is used to display the target function controls in order of similarity. The second response unit is used to respond to the user's selection of the target function control and jump to the function area corresponding to the target function control selected by the user.

[0018] To achieve the above objectives, the present invention also provides an electronic device, the electronic device including a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the numerical control interface setting method as described above.

[0019] To achieve the above objectives, the present invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the numerical control interface setting method described above.

[0020] This invention proposes a CNC interface setting method, device, electronic device, and readable storage medium. Multiple functional areas are set on a functional interface. For each functional area, functional controls with the same function type as the functional area are set within that area. A navigation list is generated based on the correspondence between the functional controls and the functional areas. A query command is obtained, and a target functional control corresponding to the query command is matched in the navigation list. The user is then redirected to the functional area corresponding to the target functional control. By dividing functional controls in the functional interface according to their functions, functional controls with the same function are placed within the same functional area. This allows users to clearly identify the location of functional controls. Furthermore, the navigation list generated based on the correspondence between functional controls and functional areas enables users to quickly locate specific functional controls, further improving the efficiency of finding functional controls. Attached Figure Description

[0021] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0022] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0023] Figure 1 This is a flowchart illustrating the first embodiment of the CNC interface setting method of the present invention; Figure 2 This is a schematic diagram of the functional interface in the CNC interface setting method of the present invention; Figure 3This is a schematic diagram illustrating the generation of the navigation list in the CNC interface setting method of the present invention; Figure 4 This is a schematic diagram of the navigation interface in the CNC interface setting method of the present invention; Figure 5 This is a schematic diagram of fuzzy matching in the CNC interface setting method of the present invention; Figure 6 This is a schematic diagram of the module structure of the electronic device of the present invention. Detailed Implementation

[0024] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, and not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this application.

[0025] This invention provides a method for setting up a CNC interface, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the CNC interface setting method of the present invention. The method includes the following steps: Step S10: Set up multiple functional areas on the functional interface; The functional interface is the specific operating interface of a CNC system. It can be understood that a CNC system can contain multiple different functional interfaces, each set based on different control types. The specific type of functional interface can be set according to actual needs; for example, functional interfaces may include data display interfaces, coordinate setting interfaces, program editing interfaces, etc. Generally, only one functional interface is displayed at a time in a CNC system, and switching between functional interfaces is achieved through soft keys on the CNC system or virtual keys on the functional interface. Each functional interface can have multiple functional areas, and the functional areas of each interface are set according to its own requirements.

[0026] The functional area is the basic functional unit in the functional interface; the specific form of the functional area can be set according to actual needs, such as the functional area being set as a functional card.

[0027] Multiple functional areas are set independently on the functional interface. Visually, there is a clear separation between the multiple functional areas. For example, the functional areas are set as functional cards. Therefore, each functional area is displayed in the form of an independent card. Thus, when users view the functional interface, they can intuitively understand the location and separation of different functional areas, thereby clearly understanding the functional differences between different functional areas.

[0028] Step S20: For each functional area, set a functional control that matches the functional type of the functional area within the functional area; See Figure 2 Functional controls are controls that specifically implement operations; the specific type of functional controls can be set based on actual needs, such as buttons, text boxes, lists, etc.

[0029] The function type indicates the type of function area; the specific function type can be set based on actual needs, such as parameter setting, mechanical coordinate display, data display, file management, etc.

[0030] It is understandable that a functional area corresponds to a functional type, and all functional controls set within a functional area are controls of that functional type. For example, if the functional area is for parameter setting, the functional controls set within it may include parameter input text boxes, unit drop-down selection boxes, save buttons, reset buttons, parameter description labels, etc. If the functional area is for data display, the functional controls set within it may include text boxes, table controls, toggle drop-down boxes, etc.

[0031] In this embodiment, functional controls with the same function are stored in the same functional area according to their type, so that the functional controls in a functional area all serve one function. Therefore, based on specific control needs, users can find all functional controls in the corresponding functional area, improving the efficiency of control search.

[0032] Step S30: Generate a navigation list based on the correspondence between the functional controls and the functional areas; The correspondence between function controls and function areas is used to indicate the function area where the function control is located.

[0033] The navigation list stores the correspondence between functional controls and functional areas, allowing users to locate specific functional controls. In addition to the correspondence, the navigation list also allows users to set other relevant information about functional controls and functional areas, such as function type and other attributes.

[0034] Step S40: Obtain a query instruction and match the target function control corresponding to the query instruction in the navigation list; The query command is issued by the user; specifically, a query button or query interface can be set on the function interface. The query button can lead to the navigation interface, where users can search for function controls by entering information in the query bar. The query command is generated by the information entered by the user. The specific form of the input information can be set according to actual needs, such as text or voice. In addition to user input, function control options can also be provided, and users can trigger the query command by selecting a function control option.

[0035] Since the navigation list can locate specific functional controls, the functional controls can be identified by matching them using search commands within the navigation list. The specific matching method can be set according to actual needs, such as character matching or fuzzy matching.

[0036] Step S50: Jump to the functional area corresponding to the target functional control.

[0037] After identifying the target functional control, the functional area where the functional control is located can be determined based on the corresponding relationship, thus enabling the positioning of the functional control.

[0038] After identifying the functional area, jump to the functional area to display the target functional control; specifically, jump to the corresponding functional interface of the functional area, thereby reducing the user's operation of switching functional interfaces; after switching to the functional interface, highlight the functional area where the target functional control is located and the target functional control itself, so that the user can intuitively find the target functional control.

[0039] This embodiment divides functional controls into functional areas within the functional interface, allowing functional controls with the same function to be placed in the same functional area. This makes it clear to users the location of functional controls, and a navigation list is generated based on the correspondence between functional controls and functional areas. This allows users to quickly find and locate specific functional controls based on the navigation list, further improving the efficiency of finding functional controls.

[0040] Furthermore, in the second embodiment of the CNC interface setting method of the present invention based on the first embodiment, step S10 includes the following steps: Step S11: Obtain the functional theme corresponding to the functional interface; Step S12: Determine multiple function types corresponding to the function theme; Step S13: Set the functional area for each functional type and generate the corresponding functional label for the functional type; Step S14: Display the function label in the title bar of the function area.

[0041] Functional themes are used to indicate the type of functional interface; functional themes can be set according to actual needs, such as data display, coordinate setting, and program editing.

[0042] It is understandable that different functional themes have different functional requirements. Therefore, different functional types are set for different functional themes. For example, if the functional theme of the functional interface is coordinate setting, the corresponding functional types may include workpiece coordinate system setting, coordinate system calibration, coordinate units, format setting, etc.

[0043] Since different function types indicate different specific functions, a corresponding function area is set for each function type, and then function controls of the same function type are set in the function area.

[0044] Function labels are used to describe the function type. The specific form of the function label can be set according to actual needs, such as text, graphics, etc. For example, if the function type is coordinate system calibration, the generated function label can be the text "coordinate system calibration". It is understood that the function interface contains multiple function areas. Therefore, in order to clearly distinguish different function areas, in this embodiment, a title bar is set in the function area, and a function label obtained from the function type is set on the title bar. This allows the function label to indicate the type of function area, and users can intuitively understand the type of function area based on the function label, further improving the efficiency of finding function controls.

[0045] Further, see Figure 3 In the third embodiment of the CNC interface setting method of the present invention based on the first embodiment, step S30 includes the following steps: Step S31: Determine the loaded target functional area; The target functional area is the loaded functional area; it can be understood that the functional area is loaded when the CNC system is initialized; the loaded functional area is the functional area that the user can access.

[0046] Further, step S10 includes the following steps: Step S15: Determine the user permissions corresponding to the current user information; Step S16: Match the target functional area corresponding to the user permissions; Step S17: Load the target functional area on the functional interface.

[0047] It is understandable that CNC systems contain functional interfaces, functional areas, or functional controls at different levels, and access to these interfaces, areas, and controls is subject to access permissions. For example, some interfaces, areas, and controls can only be accessed by users with high access privileges. Therefore, when loading a functional interface, it is necessary to first obtain user permissions and determine the functional areas that the user can access, i.e., the target functional areas, based on those permissions. Then, the target functional areas are loaded onto the functional interface, thus loading functional areas within the user's access privileges.

[0048] In other embodiments, the target functional interface and target functional control can also be determined based on user permissions; the target functional interface is the functional interface that the user has the permission to access, and the target functional control is the functional control that the user has the permission to access.

[0049] After determining the target functional interface, target functional area, and target functional control, the target functional interface is loaded first, then the corresponding target functional area is loaded for each target functional interface, and the corresponding target functional control is loaded for each target functional area. This enables the loading of content that can be accessed within the user's permissions, thus realizing the access permission settings of the CNC system.

[0050] Step S32: Obtain the target functional area and the attribute information of the functional controls contained within the target functional area; Step S33: Generate the navigation list containing the attribute information and the correspondence.

[0051] The attribute information includes information about the functional area and functional controls. The attribute information of the functional area may include the function type, function label, name of the functional interface, and address of the functional interface. The attribute information of the functional controls may include the function type, label of the functional area, and address of the functional area.

[0052] After obtaining the attribute information, a navigation list is generated based on the correspondence between the attribute information and the functional areas and functional controls; thus, the navigation list can contain information about the relevant functional controls within the user's permissions, thereby enabling the location of functional controls within the user's permissions.

[0053] Further, see Figure 4 In the fourth embodiment of the CNC interface setting method of the present invention based on the first embodiment, step S40 includes the following steps: Step S41: Obtain the historical switching count of each functional control, and arrange the functional controls in descending order of historical switching count to obtain a control queue; Step S42: Display the labels of the multiple functional controls that are at the front of the control queue on the navigation interface; Step S43: In response to the user's selection of the function control label, a query instruction containing the function control label selected by the user is generated.

[0054] The historical switching count represents the number of times a functional control has been operated by the user throughout history. It can be understood that the historical switching count reflects the frequency with which the functional control is operated by the user, and thus, on the other hand, it also reflects the degree of user need for the functional control. The larger the historical switching count, the more frequently the user needs to control the functional control, and the more likely the customer is to search for the functional control. Therefore, in this embodiment, the functional controls are sorted based on the historical switching count to clarify the control status of each functional control.

[0055] The function control label is the label corresponding to the function control; the function control label can specifically indicate the function type, name, etc. of the function control.

[0056] The navigation interface displays function control labels according to the number of historical switches. Specifically, it identifies several function control labels with a large number of historical switches, and the specific number of function control labels can be set based on actual needs. When displaying, the function control labels can be arranged in descending order of the number of historical switches, so that users can intuitively understand the usage of the function control labels.

[0057] In other embodiments, all the function control labels corresponding to the function controls can be arranged in descending order of the number of times they have been switched in history on the navigation interface, and users can see all the function control labels by scrolling.

[0058] In other embodiments, the navigation interface can also display the labels of functional controls in a regionalized manner using functional interfaces and functional areas. At the same time, the historical switching counts of the functional interfaces and functional areas are counted based on the historical switching counts of the functional controls. For example, the historical switching counts of the functional areas are the sum of the historical switching counts of the included functional controls, and the historical switching counts of the functional interfaces are the sum of the historical switching counts of the included functional areas.

[0059] In the actual display, the functional controls are first displayed as a whole in the functional interface, that is, the functional control labels within a functional interface are displayed together, and multiple functional interfaces are arranged and displayed in order according to the number of historical switches. Within the corresponding area of ​​each functional interface, the functional control labels are displayed as a whole based on the number of historical switches of the functional area, and multiple functional areas are arranged and displayed in order according to the number of historical switches; within each functional area, the functional control labels are arranged and displayed in order according to the number of historical switches.

[0060] After the function control labels are displayed, the user can select a specific function control label, such as by clicking on it. When the user selects a function control label, it is assumed that the user has found the required function control. Therefore, a query command containing the function control label is generated, so that the corresponding target function control can be directly matched through the function control label in the query command.

[0061] In addition to selecting function control labels, users can also enter query information themselves, and query instructions will be generated based on the user's input.

[0062] In other embodiments, the navigation interface may also display recently accessed function control labels or function area labels; users can directly jump to the corresponding function area by selecting function control labels or function labels.

[0063] In other embodiments, the navigation interface can also set search history to display historical query commands; users can directly trigger the generation of corresponding query commands by selecting historical query commands.

[0064] In other embodiments, an intelligent tagging system can be used to automatically add category tags to search records to classify functional areas and controls, making it easier for users to quickly filter.

[0065] In other embodiments, users can also favorite functional areas or functional controls, and the navigation interface can display the favorite functional areas or functional controls; users can directly jump to the corresponding functional area by selecting the displayed functional area or functional control.

[0066] In this embodiment, by displaying the function control labels based on the number of historical switches, users can directly initiate the search for function controls by selecting the function control label, which reduces the user's input cost and improves the efficiency of searching for function controls.

[0067] Further, see Figure 5 In the fifth embodiment of the CNC interface setting method of the present invention based on the first embodiment, step S40 includes the following steps: Step S44: Calculate the similarity between the query command and each of the functional controls based on the navigation list; Step S45: Select a preset number of functional controls with the highest similarity as the target functional controls.

[0068] Similarity is used to indicate the degree of similarity between a query command and a functional control. It is understandable that when a user uses a query, they may not be able to fully remember the information of the functional control. Therefore, the query command often cannot be the same as the information of the functional control. Therefore, it is necessary to find the functional control that may be the target object of the query command within the functional control. The higher the similarity between the query command and the functional control, the more it indicates that the functional control is the functional control that the user needs to find.

[0069] The specific similarity calculation method can be set according to actual needs, such as using the Levenshtein distance algorithm for fuzzy search:

[0070] Where 'a' represents the query command and 'b' represents the name of the functional control; i For the first i characters of the query command, b j The first j characters of the function control name, lev a,b (i, j) represents the Levenshtein distance between the first i characters of the query command and the first j characters of the function control name; 1 (ai≠bj ) The value is 1 when ai≠bj, and 0 otherwise.

[0071] The smaller the Levenshtein distance between the query command and the function control, the higher the similarity between the query command and the function control.

[0072] After determining the similarity between the query command and each functional control, a preset number of functional controls with the highest similarity are selected as target functional controls. This ensures that multiple possible results are provided to the user, preventing the most similar functional control from being the one the user is looking for. The specific value of the preset number can be set based on actual needs.

[0073] It should be noted that when the query command is generated by the user by selecting a function control label, since the function control label directly corresponds to a unique function control, the function control corresponding to the function control label is directly used as the target function control.

[0074] Furthermore, in the sixth embodiment of the CNC interface setting method of the present invention based on the first embodiment, step S50 includes the following steps: Step S51: Display the target function controls in order of similarity. Step S52: In response to the user's selection of the target function control, jump to the function area corresponding to the target function control selected by the user.

[0075] When the number of target function controls is 1, the user can directly jump to the function area corresponding to the target function control without having to click again.

[0076] When there are multiple target function controls, they are arranged in descending order of similarity and then displayed.

[0077] Users can select the function control they need to operate from the displayed target function controls; after the user selects a function control, the navigation list determines the corresponding function area of ​​the function control, and jumps to that function area; thus realizing the positioning of the function control.

[0078] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.

[0079] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0080] This application also provides a CNC interface setting device for implementing the above-described CNC interface setting method, the CNC interface setting device comprising: The first settings module is used to set multiple functional areas on the functional interface; The second setting module is used to set functional controls that are consistent with the function type of each functional area in the functional area. The first generation module is used to generate a navigation list based on the correspondence between the functional controls and the functional areas; The first receiving module is used to obtain a query instruction and match the target functional control corresponding to the query instruction in the navigation list; The first jump module is used to jump to the functional area corresponding to the target functional control.

[0081] This CNC interface setting device divides functional controls into functional areas within the interface, allowing users to clearly identify the location of functional controls. Furthermore, a navigation list is generated based on the correspondence between functional controls and functional areas, enabling users to quickly locate specific functional controls and further improving the efficiency of finding them.

[0082] It should be noted that the first setting module in this embodiment can be used to execute step S10 in this application embodiment, the second setting module in this embodiment can be used to execute step S20 in this application embodiment, the first generating module in this embodiment can be used to execute step S30 in this application embodiment, the first receiving module in this embodiment can be used to execute step S40 in this application embodiment, and the first jump module in this embodiment can be used to execute step S50 in this application embodiment.

[0083] Furthermore, the first setting module includes: The first acquisition unit is used to acquire the functional theme corresponding to the functional interface; The first determining unit is used to determine multiple functional types corresponding to the functional theme; The first generation unit is used to set the functional area for each of the functional types and generate the corresponding functional label for the functional type. The first display unit is used to display the function labels in the title bar of the function area.

[0084] Furthermore, the first generation module includes: The second determining unit is used to determine the loaded target functional area; The second acquisition unit is used to acquire the target functional area and the attribute information of the functional controls contained in the target functional area; The second generation unit is used to generate the navigation list containing the attribute information and the correspondence.

[0085] Furthermore, the first setting module includes: The third acquisition unit is used to acquire current user information; The third determining unit is used to determine the user permissions corresponding to the current user information; The first matching unit is used to match the target functional area corresponding to the user's permissions; The first loading unit is used to load the target functional area on the functional interface.

[0086] Further, the first receiving module includes: The fourth acquisition unit is used to acquire the historical switching count of each of the functional controls and arrange the functional controls in descending order of historical switching count to obtain a control queue; The second display unit is used to display multiple functional control labels that are at the front of the control queue on the navigation interface; The first response unit is configured to generate a query instruction containing the selected function control label in response to the user's selection of the function control label.

[0087] Further, the first receiving module includes: The first calculation unit is used to calculate the similarity between the query instruction and each of the functional controls based on the navigation list; The first execution unit is used to select a preset number of the functional controls with the highest similarity as the target functional controls.

[0088] Furthermore, the first jump module includes: The third display unit is used to display the target function controls in order of similarity. The second response unit is used to respond to the user's selection of the target function control and jump to the function area corresponding to the target function control selected by the user.

[0089] Reference Figure 6 In terms of hardware structure, the electronic device may include components such as a communication module 10, a memory 20, and a processor 30. In the electronic device, the processor 30 is connected to both the memory 20 and the communication module 10. The memory 20 stores a computer program, which is executed by the processor 30. When the computer program is executed, it implements the steps of the above-described method embodiments.

[0090] The communication module 10 can connect to external communication devices via a network. The communication module 10 can receive requests from the external communication devices and can also send requests, instructions, and information to the external communication devices. The external communication devices can be other electronic devices, servers, or IoT devices, such as televisions, etc.

[0091] The memory 20 can be used to store software programs and various data. The memory 20 may primarily include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as setting multiple functional areas on a functional interface), etc.; the data storage area may include a database, and may store data or information created based on system usage. Furthermore, the memory 20 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0092] The processor 30 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 20, and by calling data stored in the memory 20, it performs various functions and processes data, thereby providing overall monitoring of the electronic device. The processor 30 may include one or more processing units; optionally, the processor 30 may integrate an application processor and a modem processor. The application processor mainly handles the operating system, user interface, and applications, while the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 30.

[0093] although Figure 6 Not shown, but the above-described electronic device may further include a circuit control module for connecting to a power supply to ensure the normal operation of other components. Those skilled in the art will understand that... Figure 6 The electronic device structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0094] The present invention also proposes a computer-readable storage medium having a computer program stored thereon. The computer-readable storage medium may be... Figure 6 The memory 20 in the electronic device may also be at least one of ROM (Read-Only Memory) / RAM (Random Access Memory), magnetic disk, optical disk, etc. The computer-readable storage medium includes a number of instructions to cause a terminal device with a processor (which may be a television, automobile, mobile phone, computer, server, terminal, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0095] In this invention, the terms "first," "second," "third," "fourth," and "fifth" are used for descriptive purposes only and should not be construed as indicating or implying relative importance. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.

[0096] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0097] Although embodiments of the present invention have been shown and described above, the scope of protection of the present invention is not limited thereto. It is understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those skilled in the art can make changes, modifications, and substitutions to the above embodiments within the scope of the present invention, and such changes, modifications, and substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A method for setting up a CNC interface, characterized in that, The CNC interface setting method includes: Set up multiple functional areas on the interface; For each functional area, a functional control with the same function type as the functional area is set within the functional area; A navigation list is generated based on the correspondence between the functional controls and the functional areas; Obtain the query command and match the target function control corresponding to the query command in the navigation list; Jump to the functional area corresponding to the target functional control.

2. The CNC interface setting method as described in claim 1, characterized in that, The setting of multiple functional areas on the functional interface includes: Obtain the functional theme corresponding to the aforementioned functional interface; Identify multiple function types corresponding to the aforementioned function theme; For each of the aforementioned function types, the function area is set, and a corresponding function label for that function type is generated; The function labels are displayed in the title bar of the function area.

3. The CNC interface setting method as described in claim 1, characterized in that, The process of generating a navigation list based on the correspondence between the functional controls and the functional areas includes: Identify the target functional area that has been loaded; Obtain the target functional area and the attribute information of the functional controls contained within the target functional area; Generate the navigation list containing the attribute information and the corresponding relationship.

4. The CNC interface setting method as described in claim 1, characterized in that, The setting of multiple functional areas on the functional interface includes: Get current user information; Determine the user permissions corresponding to the current user information; Match the target functional area corresponding to the user's permissions; Load the target functional area on the functional interface.

5. The CNC interface setting method as described in claim 1, characterized in that, The query command includes: Obtain the historical switching count of each functional control, and arrange the functional controls in descending order of historical switching count to obtain a control queue; Display the labels of the first few functional controls in the control queue on the navigation interface; In response to the user's selection of the function control label, a query instruction containing the selected function control label is generated.

6. The CNC interface setting method as described in claim 1, characterized in that, The target function control that matches the query instruction in the navigation list includes: The similarity between the query command and each of the functional controls is calculated based on the navigation list; A predetermined number of the functional controls with the highest similarity are selected as the target functional controls.

7. The CNC interface setting method as described in claim 1, characterized in that, The jump to the functional area corresponding to the target functional control includes: The target function controls are displayed in order of similarity. In response to the user's selection of the target function control, the system jumps to the function area corresponding to the target function control selected by the user.

8. A CNC interface setting device, characterized in that, The CNC interface setting device includes: The first settings module is used to set multiple functional areas on the functional interface; The second setting module is used to set functional controls that are consistent with the function type of each functional area in the functional area. The first generation module is used to generate a navigation list based on the correspondence between the functional controls and the functional areas; The first receiving module is used to obtain a query instruction and match the target functional control corresponding to the query instruction in the navigation list; The first jump module is used to jump to the functional area corresponding to the target functional control.

9. An electronic device, characterized in that, The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the CNC interface setting method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the CNC interface setting method as described in any one of claims 1 to 7.