A computing tool editing method, device and computer storage medium

By selecting and combining nodes to form a node set and generating computing tools, the problems of low editing efficiency and poor transparency of computing tools in the existing technology are solved, and efficient and flexible computing tool editing and operation experience are achieved.

CN114138248BActive Publication Date: 2024-11-26SHENZHEN DRAG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111396746.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-23
Publication Date
2024-11-26
Estimated Expiration
2041-11-23

AI Technical Summary

Technical Problem

The existing computing tool editing methods are inefficient and flexible, which leads to users requiring a large number of editing programs when processing complex data and formulas, and the calculation process is opaque, affecting the user experience.

Method used

Select several nodes in response to node selection instructions, including input class nodes or data class nodes, combine to form a node set, and generate computing tools based on the node set, providing computing tool editing devices and storage media to implement this method.

Benefits of technology

It improves the efficiency and flexibility of computing tool editing, enables users to edit computing tools easily and easily, transparent operations, and real-time viewing and modifying the combined relationships between nodes, enhancing the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114138248B_ABST
    Figure CN114138248B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of computing tools, and discloses a computing tool editing method, device, and computer storage medium. The computing tool editing method includes: selecting a number of nodes in response to a node selection instruction, wherein the nodes include at least input type nodes or data type nodes; combining a number of nodes in response to a node editing instruction to form a node set; and generating a computing tool based on the node set. Through the method of the present application, a user can select a number of nodes and combine and edit the nodes to obtain a node set, and generate a computing tool based on the node set. The operation is simple and easy to implement, and can effectively improve the efficiency and flexibility of the computing tool editing method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of computing tools, and in particular to a computing tool editing method, device and computer storage medium. Background Art

[0002] The functions provided by existing calculation tools vary, and most of them can only meet basic calculations. The calculation formulas cannot be customized and edited, and the functions such as calling functions are relatively complicated. When users need to process complex data and formulas, the existing calculation tool editing methods require a large number of editing programs, and there is a problem of opaque calculation process, resulting in low editing efficiency and low flexibility, which affects the user experience. Summary of the invention

[0003] The present invention provides a computing tool editing method to solve the technical problems of low efficiency and low flexibility of computing tool editing methods in the prior art.

[0004] In order to solve the above problems, the present application provides a computing tool editing method, the computing tool editing method comprising:

[0005] In response to the node selection instruction, a plurality of nodes are selected, wherein the nodes at least include input type nodes or data type nodes;

[0006] In response to the node editing instruction, the plurality of nodes are combined to form a node set;

[0007] A computational tool is generated based on the node set.

[0008] The present application also provides a computing tool editing device, the computing tool editing device comprising:

[0009] A memory and a processor coupled to the memory;

[0010] The memory is used to store program data, and the processor is used to execute the program data to implement the computing tool editing method as described above.

[0011] The present application also provides a computer storage medium, which is used to store program data. When the program data is executed by a processor, it is used to implement the computing tool editing method as described above.

[0012] The present application provides a computing tool editing method, device and computer storage medium, which selects several nodes in response to a node selection instruction, wherein the nodes include at least input type nodes or data type nodes; combines several nodes in response to a node editing instruction to form a node set; and generates a computing tool based on the node set. Through the computing tool editing method provided by the present application, the user can obtain a node set of the computing tool by combining nodes of various types, which is simple to operate and easy to implement, and can edit the computing tool according to different usage requirements, thereby improving the efficiency and flexibility of the computing tool editing method. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:

[0014] Figure 1 It is a flowchart of the first embodiment of the computing tool editing method provided by the present application;

[0015] Figure 2 It is a structural schematic diagram of the display interface of the computing tool editing device provided by the present application;

[0016] Figure 3 It is a flowchart of the second embodiment of the computing tool editing method provided by the present application;

[0017] Figure 4 It is a flowchart of the third embodiment of the computing tool editing method provided by the present application;

[0018] Figure 5 is a flowchart of a fourth embodiment of the computing tool editing method provided by the present application;

[0019] Figure 6 is a flowchart of a fifth embodiment of the computing tool editing method provided by the present application;

[0020] Figure 7 is a flowchart of a sixth embodiment of the computing tool editing method provided by the present application;

[0021] Figure 8 is a flowchart of a seventh embodiment of the computing tool editing method provided by the present application;

[0022] Fig. 9 is a flowchart of an eighth embodiment of the computing tool editing method provided by the present application;

[0023] Fig.10It is a structural diagram of an embodiment of a computing tool editing device provided by the present application;

[0024] Fig.11 It is a structural diagram of an embodiment of a computer storage medium provided by the present application. DETAILED DESCRIPTION

[0025] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are described in detail below in conjunction with the accompanying drawings. It is to be understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for ease of description, only some structures related to the present application are shown in the accompanying drawings, rather than all structures. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0026] The terms "first", "second", etc. in this application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "provided with" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0027] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0028] In order to solve the problems of opaque calculation process, low editing efficiency and low flexibility of the computing tool editing method in the prior art, the present application proposes a computing tool editing method, which can be run in a browser or application, and can be specifically applied to a computing tool editing device, wherein the computing tool editing device can be a server, a terminal device, or a system composed of a server and a terminal device. Accordingly, the computing tool editing device includes multiple modules, and each module and submodule can be all set in the server, or all set in the terminal device, or can be set in the server and the terminal device respectively.

[0029] Furthermore, the above-mentioned server can be hardware or software. When the server is hardware, it can be implemented as a distributed server cluster consisting of multiple servers, or it can be implemented as a single server. When the server is software, it can be implemented as multiple software or software modules, such as software or software modules used to provide distributed servers, or it can be implemented as a single software or software module, which is not specifically limited here.

[0030] It should be noted that in the description of the computing tool editing method of the present application, the computing tool editing device is uniformly used as the execution subject.

[0031] See also Figure 1 , Figure 1 1 is a flow chart of a first embodiment of a computing tool editing method provided by the present application, the method comprising the following steps:

[0032] S101: Selecting a number of nodes in response to a node selection instruction, where the nodes at least include input type nodes or data type nodes.

[0033] The user uses a browser or application to open the computing tool editing device, and the computing tool editing device is initialized, such as Figure 2 As shown, the initialization display interface of the computing tool editing device includes a node list window, a node editing window and a result output window.

[0034] During the initialization process of the computing tool editing device, the computing tool editing device can automatically generate a plurality of pre-set nodes, and the plurality of nodes are classified and stored in the node list window, including at least input nodes or data nodes. Among them, the input nodes can input node variables one by one, and the data nodes can import batches of node variables into the computing tool editing device by external import. For example, the input nodes can be conventional computing variables, and the data nodes can be nodes that import data by reading external files, database import, etc. The preset nodes can also be other functional nodes for auxiliary calculations, which are not specifically limited here.

[0035] Specifically, a program code block corresponding to each node is pre-set, and each program code block is encapsulated in the node. Through the program code block pre-stored in the node, each node corresponds to a different specific function. When the user selects the node, the computing tool editing device can call the corresponding program code block according to the one-to-one correspondence between the node and the program code block. The user drags the selected nodes to the node editing window, and the computing tool editing device can perform the next editing operation according to the set program code block.

[0036] S102: In response to a node editing instruction, a plurality of nodes are combined to form a node set.

[0037] Based on the several nodes selected by the user, the computing tool editing device loads the nodes into the node editing window. Based on the combination relationship between the retrieved program code blocks and the user settings, the computing tool editing device combines several nodes, generates connection codes between the program code blocks corresponding to each node, forms a code framework composed of multiple nodes, and forms a node set. Specifically, the user drags the node to the node editing window, or places the node into the node editing window by clicking or double-clicking the node, and connects multiple nodes in the node editing window, so that multiple nodes are combined to edit the calculation formula.

[0038] S103: Generate a calculation tool based on the node set.

[0039] When several nodes selected by the user are combined and a corresponding node set is generated, the computing tool editing device generates a corresponding computing tool according to the combination relationship of the several nodes.

[0040] In an optional embodiment, when the user clicks the preview or run button, a calculation tool operation instruction can be generated, and the calculation tool editing device receives the calculation tool operation instruction and transmits the result to the result output window for display. Of course, in other embodiments, the user does not need to click the preview or run button, and does not need to generate a calculation tool operation instruction. The calculation tool editing device automatically generates a corresponding calculation tool according to the combination relationship of the input class node and the operation class node, and displays the calculation formula expressed by the calculation tool in real time in the result output window. The user can modify the combination relationship between nodes in the node editing window at any time, and see the effect of the modification operation in real time in the result output window, which provides a better user experience.

[0041] In this embodiment, several nodes are selected according to the node selection instruction, and the nodes include at least input class nodes or data class nodes; several nodes are combined according to the node editing instruction to form a node set; and a calculation tool is generated according to the node set. Through the method of the present application, the user can obtain a node set by selecting nodes and combining them accordingly, and generate a calculation tool according to the node set. The operation is simple and easy to implement, allowing the user to edit the calculation formula based on the platform, and the calculation tool is displayed in real time in the result output window, which is convenient for the user to view and modify the combination relationship between nodes, and improves the flexibility and efficiency of the calculation tool editing.

[0042] See also Figure 3 , Figure 3 It is a flowchart of the second embodiment of the computing tool editing method provided by this application.

[0043] Optionally, the node editing instruction includes a node combination instruction and a node parameter instruction, and step S102 includes the following steps:

[0044] S201: Acquire a combination relationship of several nodes in response to a node combination instruction, and form a node set based on the combination relationship.

[0045] After the user selects a number of corresponding nodes in the node list window, the user drags the nodes to the node editing window. In the node editing window, the computing tool editing device combines the number of nodes and generates a node set based on the combination relationship of the number of nodes.

[0046] S202: In response to the node parameter instruction, node parameters of several nodes in the node set are input.

[0047] Based on the obtained node set, the user clicks the corresponding node in the node editing window and enters the node parameters of several nodes in the node set in its input bar. The node parameters can be node values, and can also include node values ​​and node units. For example, the node parameters of the node include the node value 10, or include the node value 10 and the node unit m / s.

[0048] In this embodiment, by obtaining the combination relationship of several nodes, inputting the node parameters of several nodes in the node set, and generating a calculation tool based on the node set and the node parameters. The calculation tool editing method proposed in this embodiment is simple to operate and easy to implement, which is conducive to improving the efficiency and flexibility of the calculation tool.

[0049] See also Figure 4 , Figure 4 Node parameters include node values ​​and node units. Step S102 further includes the following steps:

[0050] S201: Acquire a combination relationship of several nodes in response to a node combination instruction, and form a node set based on the combination relationship.

[0051] S202: In response to the node parameter instruction, node parameters of several nodes in the node set are input.

[0052] S203: Obtain the nodes with input node values ​​and node units according to the node order in the node set.

[0053] Based on the input node parameters, the calculation tool editing device obtains the input node values ​​and node units according to the node order in the node set.

[0054] S204: Calculate node values ​​and node units of subsequent nodes based on the nodes for which node values ​​and node units have been input.

[0055] Based on the node values ​​and node units that have been input, the calculation tool editing device calculates the node values ​​and node units of the subsequent nodes in the node set accordingly, and obtains the node values ​​and node units of each subsequent node in the node set, and the final calculation result value and the unit of the calculation result value of the entire node set. For example, the node units of the input nodes are km and h, and according to the calculation formula expressed by the node set, the node units of the subsequent nodes can be automatically calculated as km / h. In a specific embodiment, the user can also set the units of the subsequent nodes. For example, the node units of the input nodes are km and h, and the user sets the units of the subsequent nodes to m / s, then the calculation tool editing device needs to convert the calculated node values ​​and node units to obtain the node values ​​and node units required by the user.

[0056] In a specific implementation, the user may choose to input only node values ​​without inputting node units, in which case the calculation tool editing device will calculate the node values ​​of subsequent nodes and node sets according to the node sequence in the node set without executing the step of calculating node units.

[0057] In this embodiment, the calculation of the calculation tool with units is realized by obtaining nodes with input node values ​​and node units according to the node order in the node set, and calculating the node values ​​and node units of subsequent nodes based on the nodes with input node values ​​and node units. Different from the prior art, the calculation of the calculation tool with units improves the flexibility of the calculation tool editing method and effectively improves the efficiency of the calculation tool editing method.

[0058] See also Figure 5 , Figure 5 4 is a flow chart of the fourth embodiment of the computing tool editing method provided by the present application. Further, step S204 also includes the following steps:

[0059] S301: Calculate the node units of subsequent nodes based on the input node units.

[0060] Based on the input node units, the node units of subsequent nodes can be calculated according to the combination relationship of the input node and the operation node.

[0061] S302: Determine whether the node unit of the subsequent node is in the preset unit library.

[0062] Based on the node units of the subsequent nodes obtained, the computing tool editing device determines whether they are in a preset unit library, wherein the preset unit library may be basic units, auxiliary units and derived units in the International System of Units, or units added by the user, which are not specifically limited here.

[0063] If the node unit of the subsequent node is in the preset unit library, the process proceeds to step S303.

[0064] If the node unit of the subsequent node is not in the preset unit library, the process proceeds to step S304.

[0065] S303: Convert the calculation results of the nodes of the input node values ​​and node units based on the node units of the subsequent nodes.

[0066] When the units of the input node values ​​are inconsistent, the calculation results of the input node values ​​can be converted based on the node units of the subsequent nodes. For example, the expression in the node set is a+b, and the input a is 20mm and b is 20cm. Since the units of the input node values ​​are inconsistent, simply adding the values ​​will result in an incorrect result, affecting the accuracy of the calculation tool. At this time, the calculation tool editing device can convert the numerical unit of b to b equal to 200mm, and then perform subsequent calculations. Converting the calculation results of the input node values ​​based on the node units of the subsequent nodes can reduce the workload of users and improve the efficiency and flexibility of the calculation tool editing method.

[0067] S304: The node unit of the subsequent node is not displayed, and the calculation result of the node for which the node value and the node unit have been input is directly displayed as the node value of the subsequent node.

[0068] If the node unit of the subsequent node is not in the preset unit library, the calculation tool editing device cannot identify the node unit of the subsequent node, or the expression in the node set is incorrect, resulting in the node unit of the subsequent node not being in the preset unit library. At this time, the calculation result of the input node value is directly displayed as the node value of the subsequent node to prompt the user to check the node. In a specific embodiment, when it is determined that the node unit of the subsequent node is not in the preset unit library, an error instruction can also be set. In response to the error instruction, a statement such as "error" is output in the result output window to facilitate the user to better check and correct the node.

[0069] In this embodiment, the node units of the subsequent nodes are calculated based on the node units that have been input, and it is determined whether the node units of the subsequent nodes are in the preset unit library. If so, the calculation results of the input node values ​​are converted based on the node units of the subsequent nodes. If not, the node units of the subsequent nodes are not displayed, and the calculation results of the input node values ​​are directly displayed as the node values ​​of the subsequent nodes. Calculation with units is implemented and the calculated units are verified, the accuracy of the calculation is ensured, it is convenient for users to view and modify, and the efficiency and flexibility of the calculation tool editing method are improved.

[0070] Optionally, the node further includes an output node and a computing node, and the output node is used to output a computing result of the computing node based on a preset output effect.

[0071] Step S102 also includes: combining a number of nodes in response to a node editing instruction, and placing an output node after an operation node to form a node set.

[0072] The nodes preset in the node list window also include output nodes, which can be set after the operation nodes to output the operation results of the operation nodes to the result output window with the preset output effect. For example, for the operation results of the operation nodes, the operation results can be converted into a chart through the preset output nodes, and the preset output effect can also be other commonly used output methods, which are not specifically limited here.

[0073] Optionally, the node also includes a logic node, and the logic node is used to determine the judgment logic of the operation node.

[0074] Specifically, the logic node can be set after the operation node to perform logical judgment on the operation of the operation node, and the logical judgment can be realized by inputting a logical statement. For example, a logical statement of a≥0 can be input to perform logical judgment on the operation of the operation node, and the operation result greater than or equal to 0 can be output. The logical statement can also be a commonly used logical statement such as AND, OR, NOT, etc., which is not specifically limited here.

[0075] Optionally, the node also includes a query node, and the query node is used to query data of an input node or a data node.

[0076] Specifically, the query node can be set after the input node or the data node, and is used to filter or search for the data required by the user in the input node or the data node, and the search can be achieved by inputting a target instruction. For example, the user enters the target instruction of "tr2, td3", and the query node queries the input node or the data node, and filters out the third data in the second row of the node. The target instruction of the query node can also be presented in other forms, which are not specifically limited here.

[0077] In this embodiment, by adding output nodes, the calculation results of the calculation nodes are output with preset effects, which is convenient for users to further process the data after obtaining the calculation results. The operation is simple and easy to implement; by combining logic nodes with calculation nodes, the judgment logic of the operation node operation is determined; by adding query nodes, input nodes or data nodes are filtered and queried, which is convenient for batch calculation of data; the multifunctional node type enables users to select the corresponding node according to usage requirements, which is more flexible when editing calculation tools and improves the efficiency of the calculation tool editing method.

[0078] See also Figure 6 , Figure 61 is a flowchart of the fifth embodiment of the computing tool editing method provided by the present application. After step S103, the computing tool editing method further includes the following steps:

[0079] S401: In response to a first operation instruction, executing a calculation tool based on an operation value in the first operation instruction.

[0080] S402: Outputting the calculation results of the calculation tool.

[0081] Specifically, the computing tool editing device runs the edited computing tool and outputs the running computing result to the result output window.

[0082] In this embodiment, by responding to the first operation instruction, running the calculation tool based on the operation value in the first operation instruction, and outputting the calculation result of the calculation tool, the expression of the calculation tool is calculated. The operation is simple and easy to implement, which is convenient for users to obtain corresponding calculation results and improves the flexibility and efficiency of the calculation tool editing method.

[0083] See also Figure 7 , Figure 7 4 is a flow chart of the sixth embodiment of the computing tool editing method provided by the present application. Step S402 further includes the following steps:

[0084] S501: Output a first calculation book of the calculation tool, wherein the first calculation book includes expressions and calculation results of the calculation tool.

[0085] Specifically, after running the calculation tool, the expression and calculation result of the calculation tool are output to the result output window in the form of a first calculation book.

[0086] S502: In response to the second operation instruction, output a second calculation book for the operation of the calculation tool, wherein the second calculation book includes the expression of the calculation tool, the final calculation result, and each operation node expression and calculation result.

[0087] In an optional implementation, after running the calculation tool, the expression of the calculation tool, the final calculation result, each operation node expression and the calculation result can also be output in the form of a second calculation book. Compared with the first calculation book, the second calculation book clearly displays each node expression and calculation result, which is convenient for users to better check and correct errors when using the calculation tool; the first calculation book can help with the overall layout when editing the calculation tool, and the second calculation book can provide users of the calculation tool with more complete output results. Users can choose to output the first calculation book or the second calculation book according to their usage needs, which solves the technical problem of opaque calculation process in the prior art and improves the flexibility and efficiency of the calculation tool editing method.

[0088] In this embodiment, the calculation book of the calculation tool is output, and the calculation results of the calculation tool are displayed in the result output window accordingly. By setting the second operation instruction, the user can choose to output the second calculation book containing each operation node expression and the calculation result, so that the user can check each step in the calculation process and improve the flexibility and efficiency of the calculation tool editing method.

[0089] See also Figure 8 , Figure 8 4 is a flow chart of the seventh embodiment of the computing tool editing method provided by the present application. Step S402 further includes the following steps:

[0090] S601: Run the calculation tool to activate the display effects of several nodes in the node set according to the running order.

[0091] Specifically, the combination relationship of several nodes in the node set is visualized as connection lines between nodes in the node editing window. Based on the connection lines of the nodes in the node set, in the process of running the calculation tool, the display effects of several nodes in the node set are activated according to the running order, so that the display effects of the connection lines of the nodes in the node set are activated. For example, in the process of running the calculation tool, according to the running order, the effect of current flow is presented in the nodes and connection lines being calculated to visualize the running process of the calculation tool. The display effect can also be presented in other ways, which are not specifically limited here.

[0092] S602: Display the final calculation result of the calculation tool.

[0093] After the calculation tool is completed, the final calculation result of the calculation tool is displayed in the result editing window.

[0094] In this embodiment, the operation process of the computing tool is visualized by activating the display effects of the input nodes and / or operation nodes in the node set in the order of operation during the operation of the computing tool. If an operation error occurs at a certain node during the operation, the display effect of the node may show obvious differences, so as to prompt the user to adjust the node of the computing tool where the error occurs in time, facilitate error correction, and improve the flexibility and efficiency of the computing tool editing method.

[0095] See also Fig. 9 , Fig. 9 1 is a flow chart of the eighth embodiment of the computing tool editing method provided by the present application. After step S103, the computing tool editing method further includes the following steps:

[0096] S701: Upload the calculation tool to the server, and the server generates calculation tool information for the calculation tool.

[0097] In a specific implementation, during the editing process of the computing tool, the computing tool editing device can regularly upload the computing tool to the server to prevent the user from losing the editing information due to unexpected situations such as power outages during the editing process. After the computing tool is edited, the user can also upload the computing tool to the server by himself, use the server to save the corresponding computing tool information and share the edited computing tool with others. After setting the corresponding sharing authority, the sharer uploads the computing tool to the server, and the server generates computing tool information for the computing tool.

[0098] S702: In response to a computing tool running instruction, obtain a computing tool corresponding to the computing tool information in the computing tool running instruction from the server, and perform calculations based on the computing tool; or upload the calculation data in the computing tool running instruction to the server, and the server calculates the calculation data based on the calculation tool, and obtains the calculation results returned by the server.

[0099] Based on the sharing permissions set by the sharer, other users can obtain the calculation tool corresponding to the calculation tool information in the calculation tool call instruction from the server and edit the calculation tool accordingly. Based on the complexity of the calculation tool, if the amount of calculation is too large, the calculation data needs to be uploaded to the server, and the server will perform calculations based on the calculation tool; in the case of simple calculations, it is only necessary to perform direct calculations based on the calculation tool to obtain the calculation results. By sharing the calculation tool to the server through the editor, other users can download and use the calculation tool on the server, realizing multi-user collaborative editing of the calculation tool.

[0100] In this embodiment, by uploading the computing tool to the server, the server generates computing tool information for the computing tool. Other users can obtain the computing tool corresponding to the computing tool information in the computing tool call instruction from the server, and perform calculations on the computing tool based on the computing tool or the server, thereby facilitating collaborative editing by multiple users and improving the efficiency and flexibility of the computing tool editing method.

[0101] See also Fig.10 , Fig.10 It is a structural diagram of an embodiment of a computing tool editing device provided in the present application.

[0102] like Fig.10 As shown, the computing tool editing device 10 of this embodiment includes a processor 110 and a memory 120 .

[0103] The processor 110 is connected to the memory 120 , in which program data is stored. The processor 110 is used to execute the program data to implement the computing tool editing method described in the above embodiment.

[0104] In this embodiment, the processor 110 may also be referred to as a CPU (Central Processing Unit). The processor 110 may be an integrated circuit chip having signal processing capabilities. The processor 110 may also 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, discrete hardware components. A general-purpose processor may be a microprocessor or the processor 110 may also be any conventional processor, etc.

[0105] See also Fig.11 , Fig.11 It is a structural diagram of an embodiment of a computer storage medium provided by the present application.

[0106] like Fig.11 As shown, the computer storage medium 1 is used to store program data 11. When the program data 11 is executed by the processor, it is used to implement the computing tool editing method described in the above embodiment.

[0107] The method involved in the embodiment of the computing tool editing method provided in the present application, when implemented in the form of a software functional unit and sold or used as an independent product, can be stored in a device, such as a computer-readable storage medium. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a disk or an optical disk.

[0108] Different from the prior art, the computing tool editing method proposed in this application selects several nodes, combines several nodes to form a node set, generates computing tools based on the node set, edits the computing tools, and obtains the expression required by the user; and by inputting node values ​​and node units, the node values ​​and node units of subsequent nodes are calculated based on the node sequence to realize unit calculation; the edited computing tool runs, and the display effect of each node is activated in the running process according to the running order, and the calculation results are output in the form of the first calculation book and the second calculation book. The calculation process is transparent, which is convenient for editors and users to adjust the nodes; the computing tool can be uploaded to the server for sharing, and multi-user collaborative editing is realized. The scheme proposed in this application is simple to operate and easy to implement, with diverse calculation functions and transparent calculation process, which effectively improves the efficiency and flexibility of the computing tool editing method.

[0109] The above description is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A computing tool editing method, characterized in that: include: In response to the node selection instruction, a plurality of nodes are selected, wherein the nodes at least include input type nodes or data type nodes; In response to the node editing instruction, the plurality of nodes are combined to form a node set; generating a computational tool based on the node set; The node editing instructions include node combination instructions and node parameter instructions; The step of combining the plurality of nodes to form a node set in response to the node editing instruction comprises: In response to the node combination instruction, acquiring a combination relationship of the plurality of nodes, and forming the node set based on the combination relationship; In response to the node parameter instruction, input node parameters of the plurality of nodes in the node set; The node parameters include node values ​​and node units; after the node parameters of the plurality of nodes in the node set are input in response to the node parameter instruction, the computing tool editing method further includes: According to the node order in the node set, obtain the node whose node value and node unit have been input; The node value and the node unit of a subsequent node are calculated based on the node to which the node value and the node unit have been input.

2. The computing tool editing method according to claim 1, characterized in that: The step of calculating the node values ​​and node units of subsequent nodes based on the nodes to which the node values ​​and node units have been input comprises: Calculating the node unit of the subsequent node based on the input node unit; Determining whether the node unit of the subsequent node is in a preset unit library; If so, converting the calculation result of the node of the input node value and node unit based on the node unit of the subsequent node; If not, the node unit of the subsequent node is not displayed, and the calculation result of the node with the input node value and node unit is directly displayed as the node value of the subsequent node.

3. The computing tool editing method according to claim 1, characterized in that: The nodes also include output nodes and operation nodes, wherein the output nodes are used to output the operation results of the operation nodes based on preset output effects; The step of combining the plurality of nodes to form a node set in response to the node editing instruction comprises: In response to the node editing instruction, the plurality of nodes are combined, and the output type node is arranged after the operation type node to form the node set.

4. The computing tool editing method according to claim 1, characterized in that: The nodes also include logic nodes and operation nodes. The logic nodes are used to determine the judgment logic of the operation nodes.

5. The computing tool editing method according to claim 1, characterized in that: The nodes also include query type nodes, and the query type nodes are used to query data of input type nodes or data type nodes.

6. The computing tool editing method according to claim 1, characterized in that: After the plurality of nodes are combined in response to the node editing instruction to form a node set, the computing tool editing method further includes: In response to the node expansion instruction, generating an extension class node based on the node content and node function of the node set; The extended class nodes are stored in a preset node library.

7. The computing tool editing method according to claim 1, characterized in that: After generating the computing tool based on the node set, the computing tool editing method further includes: In response to a first operation instruction, executing the calculation tool based on the operation value in the first operation instruction; Output the calculation results of the calculation tool.

8. The computing tool editing method according to claim 7, characterized in that: The step of outputting the calculation result of the calculation tool comprises: Outputting a first calculation book of the calculation tool, wherein the first calculation book includes expressions and calculation results of the calculation tool; In response to the second operation instruction, a second calculation book for the operation of the calculation tool is output, wherein the second calculation book includes the expression of the calculation tool, the final calculation result, each operation node expression and the calculation result.

9. The computing tool editing method according to claim 7, characterized in that: The step of outputting the calculation result of the calculation tool comprises: Running the computing tool to activate display effects of the plurality of nodes in the node set in a running order; Displays the final calculation results of the calculation tool.

10. The computing tool editing method according to claim 1, characterized in that: After generating the computing tool based on the node set, the computing tool editing method further includes: Uploading the computing tool to a server, and allowing the server to generate computing tool information for the computing tool; In response to a computing tool running instruction, a computing tool corresponding to the computing tool information in the computing tool running instruction is obtained from the server, and calculation is performed based on the computing tool; or the calculation data in the computing tool running instruction is uploaded to the server, and the server calculates the calculation data based on the computing tool, and obtains the calculation result returned by the server.

11. A computing tool editing device, characterized in that: The computing tool device includes a memory and a processor coupled to the memory; The memory is used to store program data, and the processor is used to execute the program data to implement the computing tool editing method according to any one of claims 1 to 10.

12. A computer storage medium, characterized in that: The computer storage medium is used to store program data, and when the program data is executed by the processor, it is used to implement the computing tool editing method according to any one of claims 1 to 10.