An editing method of an operation and maintenance tool and a computing device
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- XFUSION DIGITAL TECH CO LTD
- Filing Date
- 2022-12-08
- Publication Date
- 2026-06-16
AI Technical Summary
Existing operation and maintenance tools have fixed operation steps, which cannot meet the needs of special scenarios, resulting in long waiting times for users and large investment in customized development by suppliers.
By generating graphical operation and maintenance processes, users can add or remove functional modules and their logical relationships in the operation and maintenance tools, customize atomic, combined and logical functional modules, and directly generate the required operation and maintenance tools.
Users can flexibly modify operation and maintenance tools to improve efficiency and reduce waiting time and the development workload of suppliers.
Smart Images

Figure CN116257225B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computers, and more particularly to a method for editing an operation and maintenance tool and a computing device. Background Technology
[0002] With the digital transformation of enterprises and other organizations, the number of computing devices and the operational scenarios in their data centers are growing rapidly. Therefore, in the face of a large number of computing devices, operation and maintenance tools are needed to perform corresponding operations.
[0003] Typically, computing equipment vendors provide operation and maintenance tools to enable batch and automated operation and maintenance of computing equipment. However, the operation steps (or procedures) of these operation and maintenance tools are usually fixed. If these fixed operation steps (or procedures) do not meet certain special scenarios and some operation steps need to be modified, the usual approach is to submit a request to the vendor and wait for the vendor to re-release a new operation and maintenance tool to support the special scenario.
[0004] In this situation, data center users face long waiting times, disrupting their work. For vendors, it's impossible to predict or exhaustively list all possible special scenarios. Whenever a user has a request, the operation and maintenance tools need to be adapted, modified, and released specifically for that scenario, resulting in a large number of customized operation and maintenance tools being developed, incurring significant investment. Summary of the Invention
[0005] This application provides a method for editing operation and maintenance tools and a computing device for editing operation and maintenance tools, reducing the need for customized tool releases for specific scenarios by equipment suppliers, saving development workload, and reducing development investment.
[0006] The first aspect of this application provides a method for editing an operation and maintenance tool. In this application, after obtaining a first operation and maintenance tool, a first graphical operation and maintenance process is first generated based on the first tool. This first graphical operation and maintenance process includes N functional modules and the logical relationships between them, where N is a positive integer. A second graphical operation and maintenance process is obtained by adding a first functional module and its logical relationship with at least one of the N modules to the first graphical operation and maintenance process, and / or by deleting a second functional module from the first graphical operation and maintenance process and updating the logical relationships between the functional modules related to the second function in the first graphical operation and maintenance process. Then, a second operation and maintenance tool is generated based on the second graphical operation and maintenance process. This allows users to modify the first graphical operation and maintenance process as needed, transforming the first operation and maintenance tool into the second tool, without waiting for a new version release of the first tool or for equipment vendors to provide tools, significantly improving flexibility and efficiency. For equipment vendors, this reduces the need for customized tool releases for special scenarios, saving development workload and investment.
[0007] In some possible implementations, the method further includes outputting the second graphical operation and maintenance process, so that users can continue to modify the second graphical operation and maintenance process as needed to obtain the required operation and maintenance tools.
[0008] In some possible implementations, the N functional modules and the logical relationships between them can be determined, where N is a positive integer. Based on the N functional modules and the logical relationships between them, the first operation and maintenance tool is generated, thereby obtaining the first operation and maintenance tool that needs to be modified.
[0009] In some possible implementations, the method further includes outputting the first graphical operation and maintenance process based on the N functional modules and the logical relationships between the N functional modules, thereby converting the first operation and maintenance tool into a modifiable first graphical operation and maintenance process.
[0010] In some possible implementations, the N functional modules include one or more of atomic functional modules, combined functional modules, custom atomic functional modules, and custom combined functional modules. The combined functional module includes multiple atomic functional modules and the logical relationships between them. The custom atomic functional module is generated based on a first code received from user input. The custom combined functional module includes multiple functional modules and the logical relationships between them, and the multiple functional modules include at least one custom functional module. Therefore, the user can modify the first operation and maintenance tool using atomic functional modules and combined functional modules. Furthermore, the user can generate custom atomic functional modules and custom combined functional modules as needed, and modify the first operation and maintenance tool using both custom atomic functional modules and custom combined functional modules to obtain the desired second operation and maintenance tool.
[0011] In some possible implementations, the logical relationships between the N functional modules include one or more of logical functional modules and custom logical functional modules; wherein, the logical functional modules include logical relationships between multiple atomic functional modules; and the custom logical functional modules are generated based on second code received from user input. Therefore, the user can modify the first operation and maintenance tool through the logical functional modules. Furthermore, the user can also generate custom logical functional modules as needed, and modify the first operation and maintenance tool through these custom logical functional modules to obtain the desired second operation and maintenance tool.
[0012] A second aspect of this application provides a computing device, comprising: an acquisition module for acquiring a first operation and maintenance tool; a processing module for generating a first graphical operation and maintenance process based on the first operation and maintenance tool, the first graphical operation and maintenance process including N functional modules and logical relationships between the N functional modules, wherein N is a positive integer; the processing module is further configured to add a first functional module and logical relationships between the first functional module and at least one of the N functional modules in the first graphical operation and maintenance process, and / or delete a second functional module in the first graphical operation and maintenance process and update the logical relationships between the functional modules related to the second function in the first graphical operation and maintenance process to obtain a second graphical operation and maintenance process; the processing module is further configured to generate a second operation and maintenance tool based on the second graphical operation and maintenance process.
[0013] In some possible implementations, the processing module is also used to output the second graphical operation and maintenance process.
[0014] In some possible implementations, the acquisition module is specifically used to: determine the N functional modules and the logical relationships between the N functional modules, where N is a positive integer; and generate the first operation and maintenance tool based on the N functional modules and the logical relationships between the N functional modules.
[0015] In some possible implementations, the processing module is further configured to: output the first graphical operation and maintenance process based on the N functional modules and the logical relationships between the N functional modules.
[0016] In some possible implementations, the N functional modules include one or more of atomic functional modules, combined functional modules, custom atomic functional modules, and custom combined functional modules; wherein, the combined functional module includes multiple atomic functional modules and the logical relationships between the multiple atomic functional modules; the custom atomic functional module is generated based on a first code received from user input; the custom combined functional module includes multiple functional modules and the logical relationships between the multiple functional modules, and the multiple functional modules include at least one of the custom functional modules.
[0017] In some possible implementations, the logical relationships between the N functional modules include one or more of logical functional modules and custom logical functional modules; wherein, the logical functional modules include the logical relationships between multiple atomic functional modules; and the custom logical functional modules are generated based on a second code received from user input.
[0018] A third aspect of this application provides a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the method described in any one of the first, second, or third aspects above.
[0019] A fourth aspect of this application provides a computer program product including computer-executable instructions stored in a computer-readable storage medium; at least one processor of the device can read the computer-executable instructions from the computer-readable storage medium, and the at least one processor executes the computer-executable instructions to cause the device to implement the method provided by the first aspect or any possible implementation thereof.
[0020] A fifth aspect of this application provides a communication device that may include at least one processor, a memory, and a communication interface. The at least one processor is coupled to the memory and the communication interface. The memory is used to store instructions, the at least one processor is used to execute the instructions, and the communication interface is used to communicate with other communication devices under the control of the at least one processor. When executed by the at least one processor, the instructions cause the at least one processor to perform a method of the first aspect or any possible implementation thereof.
[0021] The sixth aspect of this application provides a chip system including a processor for supporting the implementation of the functions involved in the first aspect or any possible implementation thereof.
[0022] In one possible design, the chip system may also include a memory for storing necessary program instructions and data. The chip system can be composed of chips or may include chips and other discrete components.
[0023] The technical effects of the second to sixth aspects or any of their possible implementations can be found in the first aspect or the technical effects of different possible implementations of the first aspect, and will not be repeated here. Attached Figure Description
[0024] Figure 1-1 This is a schematic diagram of the composition structure of a computing device provided in an embodiment of this application;
[0025] Figure 1-2 This is a schematic diagram of another component structure of a computing device provided in an embodiment of this application;
[0026] Figure 2-1 A module framework diagram of the operation and maintenance tool editing system provided in the embodiments of this application;
[0027] Figure 2-2 Another module framework diagram of the operation and maintenance tool editing system provided in the embodiments of this application;
[0028] Figure 2-3 A schematic diagram illustrating the composition structure of the atomic functional module bar provided in the embodiments of this application;
[0029] Figure 2-4 A schematic diagram of the programming interface provided in the embodiments of this application;
[0030] Figure 2-5 A schematic diagram of a custom atomic function module in the atomic function module column provided in an embodiment of this application;
[0031] Figure 2-6 A schematic diagram of the process area provided in the embodiments of this application;
[0032] Figure 3-1 A schematic diagram illustrating the composition structure of the logical function module bar provided in the embodiments of this application;
[0033] Figure 3-2 Another schematic diagram of the process area provided in the embodiments of this application;
[0034] Figure 3-3 Another schematic diagram of the process area provided in the embodiments of this application;
[0035] Figure 3-4 Another schematic diagram of the process area provided in the embodiments of this application;
[0036] Figure 3-5 Another schematic diagram of the process area provided in the embodiments of this application;
[0037] Figure 3-6 Another schematic diagram of the process area provided in the embodiments of this application;
[0038] Figure 3-7 Another schematic diagram of the process area provided in the embodiments of this application;
[0039] Figure 3-8 Another schematic diagram of the programming interface provided in the embodiments of this application;
[0040] Figure 3-9 Another structural diagram of the logical function module bar provided in the embodiments of this application;
[0041] Figure 3-10 Another schematic diagram of the programming interface provided in the embodiments of this application;
[0042] Figure 4-1 A schematic diagram illustrating the composition structure of the combined functional module bar provided in the embodiments of this application;
[0043] Figure 4-2 A schematic diagram of the composition structure of the pre-upgrade check provided in an embodiment of this application;
[0044] Figure 4-3 This is another structural diagram of the combined functional module bar provided in the embodiments of this application;
[0045] Figure 4-4 Another schematic diagram of the process area provided in the embodiments of this application;
[0046] Figure 5 Another module framework diagram of the operation and maintenance tool editing system provided in the embodiments of this application;
[0047] Figure 6-1 Another schematic diagram of the process area provided in the embodiments of this application;
[0048] Figure 6-2 Another structural diagram of the pre-upgrade check provided in this application embodiment;
[0049] Figure 6-3 Another structural diagram of the pre-upgrade check provided in this application embodiment;
[0050] Figure 7 A flowchart illustrating an editing method for an operation and maintenance tool provided in an embodiment of this application;
[0051] Figure 8 This is a schematic diagram of the structure of a computing device provided in an embodiment of this application;
[0052] Figure 9 This is a schematic diagram of the structure of a communication device provided in an embodiment of this application. Detailed Implementation
[0053] This application provides a method for editing operation and maintenance tools and a computing device for editing operation and maintenance tools, reducing the need for customized tool releases for specific scenarios by equipment suppliers, saving development workload, and reducing development investment.
[0054] The embodiments of this application are described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. As those skilled in the art will recognize, with the development of technology and the emergence of new scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.
[0055] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments described herein can be implemented in a sequence other than that illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or device that includes a series of steps or modules is not necessarily limited to those explicitly listed, but may include other steps or modules not explicitly listed or inherent to such processes, methods, products, or devices. The naming or numbering of steps appearing in this application does not imply that the steps in the method flow must be performed in the chronological / logical order indicated by the naming or numbering. The execution order of named or numbered process steps can be changed according to the desired technical purpose, as long as the same or similar technical effect is achieved.
[0056] The embodiments of this application can be applied to, for example... Figure 1-1The computing device 100 shown includes a processing module 110, a display module 120, a storage module 130, a transceiver module 140, and an input module 150 (e.g., a keyboard, mouse, touchscreen, etc., not limited here). It is understood that the structures shown in the embodiments of this application do not constitute a specific limitation on the computing device 100. In other embodiments of this application, the computing device 100 may include more or fewer devices than shown; for example, the computing device 100 may also include sensors and positioning devices, or the computing device 100 may not include the transceiver module 140, which is not limited here.
[0057] The processing module 110 is the control center of the computing device 100. It connects to various parts of the computing device 100 via various interfaces and lines. By running or executing software programs and / or modules stored in the storage module 130, and by calling data stored in the storage module 130, it performs various functions of the computing device 100 and processes data, thereby providing overall monitoring of the computing device 100. Optionally, the processing module 110 may include one or more processing units; preferably, the processing module 110 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processing module 110.
[0058] The display module 120 can be used to display information input by the user or information provided to the user, as well as various interfaces of the computing device 100. The display module 120 may include a display panel, optionally configured as a Liquid Crystal Display (LCD), Organic Light-Emitting Diode (OLED), or similar display panel. Furthermore, a touch panel may cover the display panel. When the touch panel detects a touch operation on or near it, it transmits the information to the processing module 110 to determine the type of touch event. Subsequently, the processing module 110 provides corresponding visual output on the display panel based on the type of touch event.
[0059] Storage module 130 may include read-only memory and random access memory, and provides instructions and data to processing module 110. A portion of storage module 130 may also include non-volatile random access memory (NVRAM). Storage module 130 stores processor and operation instructions, executable modules or data structures, or subsets thereof, or extended sets thereof, wherein the operation instructions may include various operation instructions for implementing various operations.
[0060] The transceiver 140 includes a transmitter and a receiver. In one optional implementation, the transmitter is used to send messages via an antenna or a network cable. The receiver is used to receive messages via at least one of the antennas or a network cable. The processing module 110 can be used to execute instructions stored in the storage module 130 to control the transceiver module 140 to receive and / or send messages, thus fulfilling the functions of the computing device 100 in the method embodiments of this application.
[0061] The input module 150 can be used to receive input numerical or character information, and to generate key signal inputs related to user settings and function control of the computing device 100. Specifically, the input module 150 may include a touch panel and other input devices. The touch panel, also known as a touch screen, can collect touch operations performed by the user on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near the touch panel), and drive corresponding connected devices according to a pre-set program. Optionally, the touch panel may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch position and the signal generated by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends it to the processing module 110, and can also receive and execute commands from the processing module 110. Furthermore, the touch panel can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel, the input module 150 may also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of the following: physical keyboard, function keys (such as volume control buttons, power buttons, etc.), trackball, mouse, joystick, etc.
[0062] In some possible implementations, the computing device 100 can be either a terminal device or a server; no limitation is made here.
[0063] In this embodiment, the server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal can be a smartphone, tablet, laptop, desktop computer, smart speaker, smartwatch, etc., but is not limited to these. The terminal and server can be directly or indirectly connected via wired or wireless communication, and the terminal and server can be connected to form a blockchain network; this application does not impose any restrictions.
[0064] The terminal equipment can be user equipment (UE), mobile station (MS), mobile terminal (MT), etc. Terminal equipment can be mobile phone, tablet computer, computer with wireless transceiver capabilities, virtual reality (VR) terminal equipment, augmented reality (AR) terminal equipment, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, etc. The embodiments of this application do not limit the specific technology or device form used in the terminal equipment.
[0065] For example, computing device 100 is a home computer (terminal device), such as Figure 1-2 As shown, the display module 120 of the computing device 100 can be a monitor, the input module 150 can be a keyboard and / or mouse, and the processing module 110, storage module 130, and transceiver module 140 can be integrated into the host of a home computer.
[0066] With the digital transformation of enterprises and other organizations, the number of computing devices and the operational scenarios in their data centers are growing rapidly. Therefore, in the face of a large number of computing devices, operation and maintenance tools are needed to perform corresponding operations.
[0067] Typically, computing equipment vendors provide operation and maintenance tools to enable batch and automated operation and maintenance of computing equipment. However, the operation steps (or procedures) of these operation and maintenance tools are usually fixed. If these fixed operation steps (or procedures) do not meet certain special scenarios and some operation steps need to be modified, the usual approach is to submit a request to the vendor and wait for the vendor to re-release a new operation and maintenance tool to support the special scenario.
[0068] In this situation, data center users face long waiting times, disrupting their work. For vendors, it's impossible to predict or exhaustively list all possible special scenarios. Whenever a user has a request, the operation and maintenance tools need to be adapted, modified, and released specifically for that scenario, resulting in a large number of customized operation and maintenance tools being developed, incurring significant investment.
[0069] In this embodiment, after obtaining the first operation and maintenance tool, a first graphical operation and maintenance process is first generated based on the first operation and maintenance tool. The first graphical operation and maintenance process includes N functional modules and the logical relationships between the N functional modules, where N is a positive integer. By adding a first functional module and the logical relationship between the first functional module and at least one of the N functional modules to the first graphical operation and maintenance process, and / or deleting a second functional module from the first graphical operation and maintenance process and updating the logical relationships between the various functional modules related to the second function in the first graphical operation and maintenance process, a second graphical operation and maintenance process is obtained. Then, based on the second graphical operation and maintenance process, a second operation and maintenance tool is generated. This allows users to modify the first graphical operation and maintenance process as needed, transforming the first operation and maintenance tool into the second operation and maintenance tool, without waiting for a new version of the first operation and maintenance tool to be released, or waiting for the equipment supplier to provide the tool, significantly improving flexibility and efficiency. For equipment suppliers, this reduces the need for customized tool releases for special scenarios, saving development workload and reducing development investment.
[0070] The method described in this application can be applied to an operation and maintenance tool editing system, such as... Figure 2-1 The above is a module framework diagram of the operation and maintenance tool editing system. For example... Figure 2-2 As shown, the operation and maintenance tool editing system runs on the computing device 100. The operation and maintenance tool editing system 200 includes an editing menu 210, a process area 220, and an execution engine 230.
[0071] After the computing device 100 acquires the first maintenance tool, the execution engine 230 can generate a first graphical maintenance process based on the first maintenance tool and output the first graphical maintenance process in the process area 220. The first graphical maintenance process includes N functional modules and the logical relationships between the N functional modules, where N is a positive integer. The edit menu 210 provides various functional modules and various logical relationships between functional modules. The user can select the first functional module in the edit menu 210 and drag it into the process area 220. The user can then add the first functional module and the logical relationship between the first functional module and at least one of the N functional modules in the first graphical maintenance process, and / or delete a second functional module (which belongs to the first graphical maintenance process) in the first graphical maintenance process and update the logical relationships between the various functional modules related to the second function in the first graphical maintenance process to obtain a second graphical maintenance process, which is then output in the process area 220. Finally, the operation and maintenance editing system 200 can generate a second operation and maintenance tool by executing the second graphical operation and maintenance process formed in the process area 220 through the execution engine 230.
[0072] For example, the execution engine 230 can convert the various functional modules and their logical relationships in the second graphical operation and maintenance process into code, and execute the code to obtain the second operation and maintenance tool. In some feasible implementations, based on the operation and maintenance editing system 200, users can also start from scratch, select at least one functional module and its logical relationship from the editing menu 210, combine them in the process area 220 to generate the required graphical operation and maintenance process, and generate the corresponding operation and maintenance tool through the execution engine 230. This is not limited here.
[0073] The following sections describe the editing menu 210, the process area 220, and the execution engine 230.
[0074] 1. Edit menu 210.
[0075] In some feasible implementations, the edit menu 210 may include an atomic function module bar 211, a logical function module bar 212, and a combined function module bar 213. The atomic function module bar 211 includes multiple selectable atomic function modules or custom atomic function modules; the logical function module bar 212 includes multiple selectable logical function modules or custom logical function modules; and the combined function module bar 213 includes multiple selectable combined function modules or custom combined function modules. Users can edit the system 200 using the operation and maintenance tools in the computing device 100, selecting function modules from the atomic function module bar 211, logical function module bar 212, and combined function module bar 213 and dragging them into the process area 220 to construct a graphical operation and maintenance process, or modify an existing graphical operation and maintenance process.
[0076] The atomic functional modules, logical functional modules, and combined functional modules will be described in detail below.
[0077] 1. Atomic functional modules.
[0078] In this embodiment, the atomic functional module can be an execution step or a judgment condition in a graphical operation and maintenance process. For example, the execution step can be establishing a secure shell (SSH) connection, querying the device's network address (Internet Protocol, IP address), restarting the device, etc., which are not limited here; the judgment condition can be whether the device model meets the requirements, whether the device version number meets the requirements, whether the device's remaining storage space meets the requirements, whether the file upload port is open, whether the central processing unit (CPU) load is greater than a preset ratio, etc., which are not limited here.
[0079] The atomic function modules in the atomic function module column 211 can be those that come with the operation and maintenance tool editing system 200, or they can be user-defined (called custom atomic function modules) using scripting languages (such as Python, JavaScript, etc., which are not limited here).
[0080] For example, such as Figure 2-3 As shown, the atomic function modules included in the atomic function module bar 211 can include establishing SSH connections and restarting devices. The atomic function module bar 211 also provides a user-defined option "+". When the user clicks "+", as shown... Figure 2-4 As shown, upon entering the programming interface, users can program and obtain custom atomic function modules. In some feasible implementations, users can program using scripting languages such as Python and Javascript; this is not a limitation here. In other feasible implementations, users can program using other languages such as Java and C++; this is not a limitation here either.
[0081] For example, the user clicks "+" to enter the programming interface of the function module. The user programs and names the function module in the programming interface, resulting in a custom atomic function module named "CPU load > 80%". "CPU load > 80%" is the judgment condition used to determine whether the CPU load in the current device is greater than 80%.
[0082] For example, "CPU load > 80%" can be achieved with the following code:
[0083] import subprocess
[0084] arg=". / rest.bat-IH 8.8.8.8-U Admin-P 123getsysperf"
[0085] ret=subprocess.run(arg, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
[0086] cpu_usage=ret.stdout.decode().split("\r\n")[0].split(":")[1]
[0087] return 0if int(cpu_usage)>80else 1
[0088] For example, after a user programs a custom atomic function module that displays "CPU load > 80%" through the programming interface, this custom atomic function module can be saved and added to the atomic function module bar 211, such as... Figure 2-5 As shown.
[0089] In this embodiment, the user can select one or more atomic functional modules or a custom atomic functional module from the atomic functional module bar 211, drag them into the process area 220, and use arrows to determine the execution order of these atomic functional modules to obtain a graphical operation and maintenance process. For example, as shown... Figure 2-6 As shown, the user drags "Establish SSH Connection" and "Restart Device" into process area 220, and adds an arrow from "Establish SSH Connection" to "Restart Device", indicating that "Establish SSH Connection" is executed first, followed by "Restart Device", thus completing a simple graphical operation and maintenance process.
[0090] In some feasible implementations, users can delete atomic function modules in the operation and maintenance editing system 200 within the atomic function module column 211 or customize atomic function modules. For example, such as... Figure 2-5 As shown, users can delete "Establish SSH connection" or "CPU load > 80%", but this is not a limitation. In some feasible implementations, the atomic function modules in atomic function module column 211 can also be set to be non-removable, for example, "Reboot device" is a non-removable atomic function module.
[0091] In some feasible implementations, users can modify the code of atomic function modules in atomic function module bar 211 or customize the code of atomic function modules. For example, such as... Figure 2-5 As shown, users can double-click "Establish SSH Connection," and then a pop-up window will appear. Figure 2-4 The programming interface shown allows users to modify the "Establish SSH Connection" code. For example, double-clicking "CPU Load > 80%" will output something like... Figure 2-4 The programming interface shown allows the user to modify the code for "CPU load > 80%". In some feasible implementations, the atomic function modules in atomic function module bar 211 can also be set to be unmodifiable, for example, "Reboot device" can be set to an unmodifiable atomic function module.
[0092] In some feasible implementations, the atomic function module bar 211 may include multiple slots, each slot accommodating one atomic function module. In some feasible implementations, the atomic function module bar 211 may include an unlimited number of slots, or it may include a finite number of slots. If the number of slots exceeds the pre-set limit, the user needs to delete at least one atomic function module before adding a custom atomic function module.
[0093] 2. Logical function module.
[0094] In this embodiment of the application, the logical function module can provide execution logic for each execution step in the graphical operation and maintenance process, for example, such as Figure 3-1 As shown, the built-in logical function modules in the logical function module column 212 can include waiting for X milliseconds, repeating step B N times, and executing step B if adding A is satisfied, etc., without any limitations here. These logical function modules cannot be executed independently; they need to be dragged into the corresponding atomic function modules and / or custom atomic function modules, or the user needs to fill in parameters and drag in atomic function modules and / or custom atomic function modules to form a graphical operation and maintenance process before execution.
[0095] For example, such as Figure 3-2 As shown, the user first drags the logical function module "Repeat step B N times" from the logical function module bar 212 into the process area 220. This requires one parameter (N) and one atomic function module (B). The user can enter the value of N (e.g., 10) as needed, and then select an atomic function module from the atomic function module bar 211 or a custom atomic function module (e.g., "Restart device") and drag it into the position of "B", resulting in the following... Figure 3-3 The graphical operation and maintenance process is shown.
[0096] Next, users can drag atomic function modules into the process area and connect them to graphical operation and maintenance processes within that area using arrows to obtain new graphical operation and maintenance processes. For example, such as... Figure 3-4 As shown, the user can drag "Restart Device" into the process area, and the arrow of "Repeat Step B N times" points to "Restart Device". The resulting graphical operation and maintenance process indicates that after executing "Repeat Step B N times", "Restart Device" will be executed.
[0097] For example, such as Figure 3-5As shown, the user first drags the logical function module "If condition A is met, then execute step B; otherwise, execute step C" into process area 220. "If condition A is met, then execute step B; otherwise, execute step C" requires three atomic function modules (or custom atomic function modules). One atomic function module (or custom atomic function module) must be the atomic function module (or custom atomic function module) that determines the condition (A), and two atomic function modules (or custom atomic function modules) are the execution steps ("B" and "C" respectively). The user can then drag the atomic function module (or custom atomic function module) into position A (e.g., "CPU load > 80%)), select one atomic function module (or custom atomic function module) (e.g., "Establish SSH connection") and drag it into position B, and then select one atomic function module (or custom atomic function module) (e.g., "Reboot device") and drag it into position C, resulting in the following... Figure 3-6 The graphical operation and maintenance process is shown.
[0098] Next, users can select an atomic function module (or a custom atomic function module) and drag it into the process area, then connect it to the graphical operation and maintenance process within that area using arrows to obtain a new graphical operation and maintenance process. For example, ... Figure 3-7 As shown, users can drag "Establish SSH Connection" and "Reboot Device" into the workflow area. The arrow for "Establish SSH Connection" points to "If condition A is met, then execute step B; otherwise, execute step C," and the arrow for "If condition A is met, then execute step B; otherwise, execute step C" points to "Reboot Device." This results in a new graphical operation and maintenance workflow, which indicates that "Establish SSH Connection" is executed first, followed by "If condition A is met, then execute step B; otherwise, execute step C," and finally "Reboot Device." In some feasible implementations, logical function modules can be connected before or after "If condition A is met, then execute step B; otherwise, execute step C," which is not limited here.
[0099] In some feasible implementation methods, such as Figure 3-1 As shown, the logical function module 212 provides a user-defined option "+". When the user clicks "+", as shown... Figure 3-8 As shown, this will take you to the programming interface, where users can program to create custom logic modules. In some feasible implementations, users can program using scripting languages such as Python and Javascript; this is not a limitation here. In other feasible implementations, users can program using other languages such as Java and C++; this is also not a limitation here.
[0100] For example, a user clicks "+" to enter the programming interface of a functional module. The user programs and names the module in this interface, resulting in a user-defined functional module named "Execute step B until condition A is met." The code for "Execute step B until condition A is met" could be:
[0101] do B; until A
[0102] For example, when a user programs through a programming interface and obtains a logical function module that "executes step B until condition A is met," such as... Figure 3-9 As shown, this logic function module can be saved and added to the logic function module column 212.
[0103] It should be noted that when "Execute step B until condition A is met" is dragged into the process area, a corresponding graph will be automatically generated, such as... Figure 3-10 As shown.
[0104] In some feasible implementations, users can delete the built-in logical function modules of the operation and maintenance editing system 200 in the logical function module column 212, or they can delete the custom logical function modules in the logical function module column 212; no limitation is made here. For example, Figure 3-8 As shown, users can delete "Wait X milliseconds" or "Execute step B until condition A is met"; there are no restrictions here. In some feasible implementations, certain logical function modules (or custom logical function modules) included in the operation and maintenance editing system 200 in the logical function module column 212 can also be set as non-deletable. For example, "Repeat step B N times" is a non-deletable logical function module (or custom logical function module).
[0105] In some feasible implementations, users can modify the code of the built-in logical function modules (or custom logical function modules) in the operation and maintenance editing system 200 within the logical function module column 212. For example, ... Figure 3-8 As shown, users can double-click "Execute step B until condition A is met," and then a pop-up window will appear as follows: Figure 3-7 The programming interface shown allows the user to modify the code for "Execute step B until condition A is met". In some feasible implementations, the built-in logical function modules (or custom logical function modules) in the operation and maintenance editing system 200 in the logical function module column 212 can also be set as unmodifiable logical function modules (or custom logical function modules). For example, "Repeat step B N times" can be an unmodifiable logical function module (or custom logical function module).
[0106] In some feasible implementations, the logical function module bar 212 may include multiple slots, each slot of which can accommodate one logical function module (or a custom logical function module). In some feasible implementations, the logical function module bar 212 may provide an unlimited number of slots; in other feasible implementations, the logical function module bar 212 may also provide a limited number of slots. If the number of slots exceeds the preset limit, the user needs to delete at least one logical function module (or custom logical function module) before adding a custom logical function module.
[0107] 3. Combined functional modules.
[0108] In this embodiment, the combined functional module is a combination of various execution steps and their execution logic in a graphical operation and maintenance process. For example, ... Figure 4-1 As shown, the combined functional modules may include pre-upgrade checks, uploading upgrade software packages, etc.
[0109] For example, such as Figure 4-2 As shown, the pre-upgrade check may include the following steps: determining whether the device model meets the requirements, determining whether the device version number meets the requirements, determining whether the device's remaining storage space meets the requirements, determining whether the file upload port is open, and determining whether the device's CPU load is greater than 80%, etc., which are not limited here.
[0110] For example, after a user constructs a graphical operation and maintenance process using atomic function modules (or custom atomic function modules) and logical function modules (or custom atomic function modules), the user can add the obtained graphical operation and maintenance process to the combined function module column 213 as a custom combined function module.
[0111] For example, when a user forms a sequence based on the atomic function modules (or custom atomic function modules) in the atomic function module bar 211 and the logical function modules (or custom atomic function modules) in the logical function module bar 212, as shown in the example... Figure 3-6 After viewing the graphical operation and maintenance process shown, you can add this graphical operation and maintenance process to the combined function module bar 213, for example, by naming it "AABB", to obtain the following result: Figure 4-3 The custom combination function module shown.
[0112] Users can drag any one or more functional modules from the atomic functional module bar 211, logical functional module bar 212, and combined functional module bar 213 into the process area to form a graphical operation and maintenance process.
[0113] For example, the user first drags the combined function module "Pre-upgrade Check" from combined function module bar 213 into process area 220, then appends the logical function module "If condition A is met, then execute step B; otherwise, execute step C" from logical function module bar 212 after "Pre-upgrade Check," and then appends the atomic function module "Reboot Device" from atomic function module bar 211 after "Pre-upgrade Check." Next, the user drags the atomic function module "Establish SSH Connection" from atomic function module bar 211 to position C in the logical function module "If condition A is met, then execute step B; otherwise, execute step C," drags the combined function module "Upload Upgrade Package" from combined function module bar 213 to position A in the logical function module "If condition A is met, then execute step B; otherwise, execute step C," and drags the atomic function module "CPU Load > 80%" from atomic function module bar 211 to position B in the logical function module "If condition A is met, then execute step B; otherwise, execute step C," resulting in the following... Figure 4-4 The graphical operation and maintenance process is shown.
[0114] In some feasible implementations, users can delete the built-in combined function modules of the operation and maintenance editing system 200 in the combined function module bar 213, or they can delete the custom combined function modules in the combined function module bar 213; no limitation is made here. For example, Figure 4-3 As shown, users can delete the "Pre-upgrade Check" combined function module or the custom combined function module "AABB". In some feasible implementations, certain combined function modules that come with the operation and maintenance editing system 200 in the combined function module column 213 can also be set as non-deletable, for example, "Upload Upgrade Package" is a non-deletable combined function module.
[0115] In some feasible implementations, users can modify the built-in combined function modules in the operation and maintenance editing system 200 within the combined function module bar 213, or they can modify the custom combined function modules within the combined function module bar 213; no limitations are imposed here. For example, Figure 4-3 As shown, users can double-click the "Pre-upgrade Check" combined function module, and then a pop-up window will appear. Figure 4-2The editing interface shown allows users to modify the "Pre-Upgrade Check" function module. For example, users can delete the logical function module "CPU load greater than 80%" in the "Pre-Upgrade Check" function module, add new atomic or logical function modules, or double-click the atomic function module "CPU load greater than 80%" to access the programming interface and modify its code. The specific modification methods for the combined function modules are the same as those for modifying the graphical operation and maintenance process, and will not be repeated here.
[0116] In some feasible implementations, certain integrated function modules (or custom integrated function modules) that come with the operation and maintenance editing system 200 in the integrated function module column 213 can also be set to be unmodifiable. For example, the integrated function module "Upload Upgrade Package" is an unmodifiable integrated function module.
[0117] In some feasible implementations, the combined function module bar 213 may include multiple slots, each slot of which can accommodate one combined function module (or a custom combined function module). In some feasible implementations, the combined function module bar 213 may provide an unlimited number of slots or a limited number of slots. If the number of slots exceeds the preset number, the user needs to delete at least one combined function module (or custom combined function module) before adding a custom combined function module to the combined function module bar 213.
[0118] II. Process area 220.
[0119] In this embodiment, the process area 220 is a graphical editing interface for the graphical operation and maintenance process. Users can edit the functional modules in the menu 210 and drag them into the process area 220 to form a graphical operation and maintenance process, which is then output in the process area 220. For example, ... Figure 4-4 A graphical operation and maintenance process.
[0120] In some feasible implementations, a graphical operation and maintenance process can be obtained from scratch in the process area 220, and each functional module in the graphical operation and maintenance process is dragged in from the edit menu 210.
[0121] In some feasible implementations, when an operations and maintenance (O&M) tool is released, a general operating procedure applicable to most scenarios is also released simultaneously. This includes graphical editing capabilities, allowing for the graphical modification of certain steps to meet the O&M requirements of specific scenarios. Therefore, in the process area 220, existing O&M tools can be retrieved, and graphical O&M processes can be generated based on these tools. These graphical O&M processes can then be edited, such as deleting or modifying functional modules, or dragging functional modules from the edit menu 210 into the process area 220. Newly added functional modules are connected to existing graphical O&M processes via arrows to form new graphical O&M processes.
[0122] For example, the user interface consisting of the edit menu 210 and the process area 220 can be as follows: Figure 5 As shown.
[0123] III. Execution Engine 230.
[0124] In this embodiment, since the execution steps and logic in the graphical operation and maintenance process all have corresponding code, the execution engine 230 is used to convert the graphical operation and maintenance process into code and execute the code. For example, the execution engine 230 can convert each execution step in the graphical operation and maintenance process, along with its corresponding logical relationships and data dependencies, into code, and then execute it based on the execution rules of that code to perform the graphical operation and maintenance process. It should be noted that the execution engine 230 can be implemented by the user using a scripting language or other languages.
[0125] The foregoing embodiments described the operation and maintenance tool editing system provided in this application. The following describes the method for editing operation and maintenance tools based on this system. Please refer to [link to relevant documentation]. Figure 7 As shown in the embodiments of this application, the editing method of the operation and maintenance tool mainly includes the following steps:
[0126] 701. Obtain the first operation and maintenance tool.
[0127] In some possible implementations, the computing device can obtain the data file of the first operation and maintenance tool, read the data file, obtain N functional modules and the logical relationship between the N functional modules (N is a positive integer), and generate the first operation and maintenance tool based on the N functional modules and the logical relationship between the N functional modules.
[0128] 702. Generate a first graphical operation and maintenance process based on the first operation and maintenance tool. The first graphical operation and maintenance process includes N functional modules and the logical relationships between the N functional modules, where N is a positive integer.
[0129] For example, such as Figure 6-1As shown, the operation and maintenance tool editing system can generate a first graphical operation and maintenance process from the first operation and maintenance tool, and output the first graphical operation and maintenance process in the process area based on N functional modules and the logical relationship between the N functional modules.
[0130] In some possible implementations, the N functional modules include one or more of the following: atomic functional modules, composite functional modules, custom atomic functional modules, and custom composite functional modules. The composite functional module includes multiple atomic functional modules and the logical relationships between them. The custom atomic functional module is generated based on the first code received from the user input. The custom composite functional module includes multiple functional modules and the logical relationships between them. The multiple functional modules include at least one custom functional module.
[0131] In some possible implementations, the logical relationships between N functional modules include one or more of logical functional modules and custom logical functional modules. The logical functional modules include the logical relationships between multiple atomic functional modules, and the custom logical functional modules are generated based on second code received from user input.
[0132] For example, the first graphical operation and maintenance process includes: establishing a connection with the device, pre-upgrade checks, uploading the upgrade package, verifying and activating the upgrade package, modifying the device startup, and restarting the device. Among these, establishing a connection with the device, pre-upgrade checks, uploading the upgrade package, and verifying and activating the upgrade package are all combined function modules, while modifying the device startup and restarting the device are atomic function modules.
[0133] 703. Modify the first graphical operation and maintenance process to obtain the second graphical operation and maintenance process.
[0134] For example, a user can add a first functional module and the logical relationship between the first functional module and at least one of the N functional modules in the first graphical operation and maintenance process, and / or delete a second functional module in the first graphical operation and maintenance process and update the logical relationship between each functional module related to the second function in the first graphical operation and maintenance process to obtain a second graphical operation and maintenance process, and output the second graphical operation and maintenance process.
[0135] For example, the first maintenance tool is used to upgrade the target application. During the upgrade process, if the device's CPU load is high, there is a high probability that insufficient available CPU will cause the upgrade to fail. Therefore, in this embodiment, the first maintenance tool can be modified to reduce CPU load. Figure 3-1As shown, the "Pre-upgrade Check" step of the combined functional module of the first graphical operation and maintenance process corresponding to the first operation and maintenance tool can be enhanced with a judgment on whether the device's CPU load is greater than a preset percentage, serving as a prerequisite for whether to proceed with the upgrade. In some feasible implementations, users can set the preset percentage to 80% based on experience, that is, add a custom atomic functional module "CPU load > 80%" as a judgment condition in the combined functional module "Pre-upgrade Check".
[0136] For example, after double-clicking the pre-upgrade check, you enter the editing interface of the combined function module, such as... Figure 6-2 As shown, the editing interface outputs the various steps of the pre-upgrade check: whether the device model meets the requirements, whether the device version number meets the requirements, whether the device's remaining storage space meets the requirements, and whether the file upload port is open. Next, the user can customize the atomic function module "CPU load > 80%" in the atomic function module bar 211 of the editing menu 210. The specific customization method is as described above and will not be repeated here. Then, the user can drag the custom atomic function module "CPU load > 80%" after the atomic function module "File upload port open" in the combined function module "Pre-upgrade Check," resulting in the following... Figure 6-3 The updated combined function module "Pre-upgrade check" shown is that the atomic function module "Is the file upload port open?" points to the custom atomic function module "CPU load > 80%". After executing the atomic function module "Is the file upload port open?", the custom atomic function module "CPU load > 80%" is executed, thus obtaining the second graphical operation and maintenance process.
[0137] In this application embodiment, the updated combined functional module "Pre-upgrade check" second graphical operation and maintenance process, compared with the original second graphical operation and maintenance process, adds a step of "device CPU load > 80%" of the custom atomic functional module before the upgrade, which reduces the probability of upgrade failure due to insufficient available CPU.
[0138] In some feasible implementations, users can also modify the code of the first graphical operation and maintenance process. For example, in the second graphical operation and maintenance process, a user can enter the combined function module "Pre-upgrade Check" (e.g., by double-clicking to enter) and obtain results such as... Figure 6-3 The editing interface shown can be accessed by entering the custom atomic function module "Device CPU Load > 80%" (for example, by double-clicking to enter). The code for the custom atomic function module "Device CPU Load > 80%" can be obtained. Users can modify this code, for example, by changing 80% to 78%, and renaming it to "Custom Atomic Function Module "Device CPU Load > 78%" and saving it.
[0139] In some feasible implementations, users can also delete execution steps in the first graphical operation and maintenance process. For example, entering... Figure 6-3 After entering the editing interface shown, users can delete the atomic function module "Is the file upload port open?" and make the atomic function module "Does the device's remaining storage space meet the requirements?" connected to the custom atomic function module "Device CPU load > 80%" via an arrow. For example, entering... Figure 6-1 After accessing the editing interface shown, users can delete the atomic function module "Restart Device" and remove the arrow pointing from the atomic function module "Modify Startup Device" to the atomic function module "Restart Device".
[0140] 704. Based on the second graphical operation and maintenance process, generate the second operation and maintenance tool.
[0141] In some feasible implementations, after the user completes the above editing and obtains the updated second graphical operation and maintenance process, the graphical operation and maintenance process can be named and output to obtain the updated operation and maintenance tool.
[0142] In this application, after obtaining the first operation and maintenance tool, a first graphical operation and maintenance process is first generated based on the first operation and maintenance tool. The first graphical operation and maintenance process includes N functional modules and the logical relationships between the N functional modules, where N is a positive integer. By adding a first functional module and the logical relationship between the first functional module and at least one of the N functional modules to the first graphical operation and maintenance process, and / or deleting a second functional module from the first graphical operation and maintenance process and updating the logical relationships between the functional modules related to the second function in the first graphical operation and maintenance process, a second graphical operation and maintenance process is obtained. Then, based on the second graphical operation and maintenance process, a second operation and maintenance tool is generated. This allows users to modify the first graphical operation and maintenance process as needed, transforming the first operation and maintenance tool into the second operation and maintenance tool, without waiting for a new version of the first operation and maintenance tool to be released, or waiting for the equipment supplier to provide the tool, significantly improving flexibility and efficiency. For equipment suppliers, this reduces the need for customized tool releases for special scenarios, saving development workload and reducing development investment.
[0143] 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.
[0144] To facilitate better implementation of the above-described solutions in the embodiments of this application, related apparatus for implementing the above-described solutions is also provided below.
[0145] Please see Figure 8 As shown in the embodiment of this application, a computing device 800 may include:
[0146] Module 810 is used to acquire the first operation and maintenance tool;
[0147] The processing module 820 is used to generate a first graphical operation and maintenance process based on the first operation and maintenance tool. The first graphical operation and maintenance process includes N functional modules and the logical relationship between the N functional modules, where N is a positive integer.
[0148] The processing module 820 is also used to add a first functional module and the logical relationship between the first functional module and at least one of the N functional modules in the first graphical operation and maintenance process, and / or to delete a second functional module in the first graphical operation and maintenance process and update the logical relationship between each functional module related to the second function in the first graphical operation and maintenance process to obtain a second graphical operation and maintenance process.
[0149] The processing module 820 is also used to generate a second operation and maintenance tool based on the second graphical operation and maintenance process.
[0150] In some possible implementations, the processing module 820 is also used to output a second graphical operation and maintenance process.
[0151] In some possible implementations, module 810 is specifically used to: determine N functional modules and the logical relationships between them, where N is a positive integer; and generate a first operation and maintenance tool based on the N functional modules and the logical relationships between them.
[0152] In some possible implementations, the processing module 820 is also used to: output the first graphical operation and maintenance process based on N functional modules and the logical relationship between the N functional modules.
[0153] In some possible implementations, the N functional modules include one or more of the following: atomic functional modules, composite functional modules, custom atomic functional modules, and custom composite functional modules; wherein, the composite functional module includes multiple atomic functional modules and the logical relationships between them; the custom atomic functional module is generated based on the first code received from the user input; the custom composite functional module includes multiple functional modules and the logical relationships between them, and the multiple functional modules include at least one custom functional module.
[0154] In some possible implementations, the logical relationships between N functional modules include one or more of logical functional modules and custom logical functional modules; wherein, logical functional modules include logical relationships between multiple atomic functional modules; and custom logical functional modules are generated based on second code received from user input.
[0155] It should be noted that the information interaction and execution process between the modules / units of the above-mentioned device are based on the same concept as the method embodiments of this application, and the resulting technical effects are the same as those of the method embodiments of this application. For details, please refer to the description in the method embodiments shown above in this application, and will not be repeated here.
[0156] This application also provides a computer storage medium storing a program that performs some or all of the steps described in the above method embodiments.
[0157] The following describes another communication device provided in the embodiments of this application. Please refer to [link to relevant documentation]. Figure 9 As shown, the communication device 900 includes:
[0158] The system comprises a receiver 901, a transmitter 902, a processor 903, and a memory 904. In some embodiments of this application, the receiver 901, transmitter 902, processor 903, and memory 904 may be connected via a bus or other means. Figure 9 Taking the example of a connection between China and Israel via a bus.
[0159] Memory 904 may include read-only memory and random access memory, and provides instructions and data to processor 903. A portion of memory 904 may also include non-volatile random access memory (NVRAM). Memory 904 stores operating system and operation instructions, executable modules or data structures, or subsets thereof, or extended sets thereof. The operation instructions may include various operation instructions for implementing various operations. The operating system may include various system programs for implementing various basic business functions and handling hardware-based tasks.
[0160] The processor 903 controls the operation of the communication device 900. The processor 903 can also be referred to as a central processing unit (CPU). In specific applications, the various components of the communication device 900 are coupled together through a bus system. This bus system includes not only a data bus but also a power bus, control bus, and status signal bus. However, for clarity, all buses are referred to as the bus system in the diagram.
[0161] The methods disclosed in the embodiments of this application can be applied to or implemented by the processor 903. The processor 903 can be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware or by instructions in the form of software in the processor 903. The processor 903 can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly embodied in the execution of a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. The software modules can be located in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. The storage medium is located in memory 904. Processor 903 reads the information in memory 904 and, in conjunction with its hardware, completes the steps of the above method.
[0162] Receiver 901 can be used to receive input digital or character information and generate signal inputs related to relevant settings and function controls, while transmitter 902 is used for signal output.
[0163] In this embodiment of the application, the processor 903 is used to execute the aforementioned editing method of the operation and maintenance tool.
[0164] In another possible design, when the computing device 800 or communication device 900 is a chip, it includes a processing unit and a communication unit. The processing unit may be, for example, a processor, and the communication unit may be, for example, an input / output interface, pins, or circuits. The processing unit can execute computer execution instructions stored in the storage unit to cause the chip within the terminal to execute the wireless reporting information transmission method described in any of the first aspects above. Optionally, the storage unit can be a storage unit within the chip, such as a register or cache. Alternatively, the storage unit can be a storage unit located outside the chip within the terminal, such as read-only memory (ROM) or other types of static storage devices capable of storing static information and instructions, such as random access memory (RAM).
[0165] The processor mentioned above can be a general-purpose central processing unit, a microprocessor, an ASIC, or one or more integrated circuits used to control the execution of the program described above.
[0166] It should also be noted that the device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. In addition, in the device embodiment drawings provided in this application, the connection relationship between modules indicates that they have a communication connection, which can be implemented as one or more communication buses or signal lines.
[0167] Through the above description of the embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software plus necessary general-purpose hardware, or it can be implemented by special-purpose hardware including application-specific integrated circuits, special-purpose CPUs, special-purpose memory, special-purpose components, etc. Generally, any function performed by a computer program can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be diverse, such as analog circuits, digital circuits, or special-purpose circuits. However, for this application, software program implementation is more often the preferred 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 readable storage medium, such as a computer floppy disk, USB flash drive, mobile hard disk, ROM, RAM, magnetic disk, or optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0168] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product.
[0169] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state disk (SSD)).
Claims
1. A method for editing an operation and maintenance tool, the method being applied to an operation and maintenance tool editing system, the operation and maintenance tool editing system including an editing menu, a process area, and an execution engine, wherein, The edit menu provides a variety of functional modules and various logical relationships between these functional modules; The process area is a graphical editing interface for a graphical operation and maintenance process; the execution engine is used to convert the graphical operation and maintenance process into code and execute the code; the method includes: Get the first operation and maintenance tools; The execution engine generates a first graphical operation and maintenance process based on the first operation and maintenance tool, and outputs the first graphical operation and maintenance process in the process area. The first graphical operation and maintenance process includes N functional modules and the logical relationship between the N functional modules, where N is a positive integer. The edit menu includes an atomic function module bar, a logical function module bar, and a combined function module bar; wherein, the atomic function module bar includes multiple atomic function modules or custom atomic function modules, the logical function module bar includes multiple logical function modules or custom logical function modules, and the combined function module bar includes multiple combined function modules or custom combined function modules; wherein, the custom atomic function modules are generated based on a first code received from user input; and the custom logical function modules are generated based on a second code received from user input. Select the first functional module in the edit menu, drag the first functional module into the process area, and add the first functional module and the logical relationship between the first functional module and at least one of the N functional modules in the first graphical operation and maintenance process, and / or delete the second functional module in the first graphical operation and maintenance process and update the logical relationship between each functional module related to the second function in the first graphical operation and maintenance process to obtain the second graphical operation and maintenance process. The execution engine generates a second operation and maintenance tool based on the second graphical operation and maintenance process.
2. The method according to claim 1, characterized in that, The method further includes: Output the second graphical operation and maintenance process.
3. The method according to claim 1, characterized in that, The acquisition of the first operation and maintenance tool includes: Determine the N functional modules and the logical relationships between them, where N is a positive integer; The first operation and maintenance tool is generated based on the N functional modules and the logical relationships between them.
4. The method according to any one of claims 1-3, characterized in that, The N functional modules include one or more of the following: atomic functional modules, combined functional modules, custom atomic functional modules, and custom combined functional modules; wherein... The combined functional module includes multiple atomic functional modules and the logical relationships between the multiple atomic functional modules; The custom combined function module includes multiple function modules and the logical relationships between the multiple function modules, and the multiple function modules include at least one of the custom function modules.
5. The method according to any one of claims 1-3, characterized in that, The logical relationships between the N functional modules include one or more of the logical functional modules and user-defined logical functional modules; wherein... The logical functional module includes the logical relationships between multiple atomic functional modules.
6. A computing device, characterized in that, The computing device is used to perform the method of any one of claims 1-5.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a program that causes a computer device to perform the method as described in any one of claims 1-5.
8. A communication device, characterized in that, The communication device includes at least one processor, memory, and communication interface; The at least one processor is coupled to the memory and the communication interface; The memory is used to store instructions, the processor is used to execute the instructions, and the communication interface is used to communicate with other communication devices under the control of the at least one processor; When the instruction is executed by the at least one processor, it causes the at least one processor to perform the method as described in any one of claims 1-5.
9. A chip system, characterized in that, The chip system includes a processor and a memory, the memory and the processor being interconnected via a circuit, the memory storing instructions, and the processor being used to execute the method as described in any one of claims 1-5.