CN111191412A - Method, device, storage medium and terminal for editing formula - Google Patents

Method, device, storage medium and terminal for editing formula Download PDF

Info

Publication number
CN111191412A
CN111191412A CN201911347958.7A CN201911347958A CN111191412A CN 111191412 A CN111191412 A CN 111191412A CN 201911347958 A CN201911347958 A CN 201911347958A CN 111191412 A CN111191412 A CN 111191412A
Authority
CN
China
Prior art keywords
formula
editing
target
frame
object attribute
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911347958.7A
Other languages
Chinese (zh)
Inventor
戚春霞
丁德智
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yuanguang Software Co Ltd
Original Assignee
Yuanguang Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yuanguang Software Co Ltd filed Critical Yuanguang Software Co Ltd
Priority to CN201911347958.7A priority Critical patent/CN111191412A/en
Publication of CN111191412A publication Critical patent/CN111191412A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a formula editing method, a formula editing device, a storage medium and a terminal, and belongs to the field of character processing. The method comprises the following steps: displaying a formula editing interface, detecting an editing instruction input by a user in the condition formula editing area, and determining target object attributes, target relation symbols and target logical operators according to the editing instruction; and displaying the target formula in the formula preview area according to the target object attribute, the target relation symbol and the target logical operator, so that a user can edit the formula in a form, the complexity of formula editing is reduced, and the possibility of errors is reduced.

Description

Method, device, storage medium and terminal for editing formula
Technical Field
The present application relates to the field of character processing, and in particular, to a method, an apparatus, a storage medium, and a terminal for editing a formula.
Background
Current charge rules are related to a number of factors, such as: the method comprises the following steps that when the user calculates the charge, the user edits an electricity price formula according to actual requirements to calculate the current electricity charge, wherein the editing method of the related electricity price calculation formula comprises the following steps: the user starts formula editing software, the formula editing software provides various alternative symbols and characters, and the user selects required symbols and characters from the alternative symbols and characters to form a formula.
Disclosure of Invention
The method, the device, the storage medium and the terminal for editing the formula provided by the embodiment of the application can reduce the complexity of editing the formula in the related technology and improve the efficiency. The technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a method for editing a formula, where the method includes:
displaying a formula editing interface; the formula editing interface comprises a formula preview area and a plurality of condition formula editing areas, and each condition formula editing area comprises: an object attribute edit box, a relation symbol edit box, an attribute value edit box and a logic edit box; the object attribute edit box is associated with a plurality of candidate object attributes, the relation symbol edit box is associated with a plurality of candidate relation symbols, and the logic edit box is associated with a plurality of candidate logic operators;
detecting an editing instruction input by a user in the condition formula editing area, and determining target object attributes, target relation symbols and target logical operators according to the editing instruction; wherein the target object attribute is one of a plurality of candidate object attributes associated with an object attribute edit box, a target relational symbol is one of a plurality of candidate relational symbols associated with a relational symbol edit box, and the target logical operator is one of a plurality of candidate logical operators associated with the logical edit box;
and displaying a target formula in the formula preview area according to the target object attribute, the target relation symbol and the target logical operator.
In particular, when a trigger event for the object property edit box is detected, a plurality of candidate object properties are displayed in a drop-down list manner below the object property edit box; receiving a selection event for a plurality of candidate object properties, and inputting a selected target object property in the object property edit box.
In particular, the formula editing interface further comprises a clearing control; wherein the method further comprises: and when a trigger event occurring on the clearing control is detected, clearing the target formula displayed in the formula preview area.
In particular, the formula editing interface includes a confirmation control; wherein the displaying a target formula in the formula preview area according to the target object attribute, the target relationship symbol and the target logical operator comprises: detecting a trigger event occurring on the confirmation control, and generating a target formula according to the target object attribute, the target relation symbol and the target logical operation method; and displaying the target formula in the formula preview area.
In particular, the formula editing interface further comprises a bracket edit box for editing brackets for the conditional formula generated in the conditional formula edit area.
In particular, the logical operator represents either a relation of a sum, and a relation of an or.
Specifically, the object attribute includes any one of a power generation type, a commercial transportation identifier, a scheduling method, a dust removal identifier, and an ultra-low emission identifier.
In a second aspect, an embodiment of the present application provides an apparatus for formula editing, where the apparatus includes:
the display unit is used for displaying a formula editing interface; the formula editing interface comprises a formula preview area and a plurality of condition formula editing areas, and each condition formula editing area comprises: the system comprises an object attribute editing frame, a relation symbol editing frame, an attribute value editing frame and a logic editing frame, wherein the object attribute editing frame is associated with a plurality of candidate object attributes, the relation symbol editing frame is associated with a plurality of candidate relation symbols, and the logic editing frame is associated with a plurality of candidate logic operators;
the determining unit is used for detecting an editing instruction input by a user in the condition formula editing area and determining a target object attribute, a target relation symbol and a target logical operator according to the editing instruction;
the display unit is further configured to display a target formula in the formula preview area according to the target object attribute, the target relationship symbol, and the target logical operator.
In a third aspect, embodiments of the present application provide a computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the above-mentioned method steps.
In a fourth aspect, an embodiment of the present application provides a terminal, which may include: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the above-mentioned method steps.
The beneficial effects brought by the technical scheme provided by some embodiments of the application at least comprise:
the object attributes, the relational symbols, the attribute values, the functions and the logical operators applied by the formula editing are arranged according to the style of the conditional formula through the arrangement mode of the table list, and a user can select the corresponding attribute options from left to right in sequence according to the arrangement sequence of the formula without arranging the fields of the formula. When the object attribute items are selected, the system can screen the attribute values according to the object attributes selected by the user, and display the corresponding attribute item list, so that the number of the items selected by the user is reduced. When the condition formula is edited, the preview window displays the editing condition in real time, and a user can modify the corresponding error condition conveniently. All the options are field contents stored in the background in advance, and all the options of the field selected by the user editing formula are field names which can be read and written. The background system is favorable for storing and extracting information of the edited condition formula.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart diagram illustrating a method for editing a formula provided in an embodiment of the present application;
FIG. 2 is a schematic diagram of a formula editing interface provided by an embodiment of the present application;
FIG. 3 is another schematic diagram of a formula editing interface provided by an embodiment of the present application;
FIG. 4 is a schematic structural diagram of an apparatus for formula editing provided in the present application;
fig. 5 is a schematic structural diagram of a terminal provided in the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Referring to fig. 1, a flowchart of a method for editing a formula is provided in an embodiment of the present application. As shown in fig. 1, the method of the embodiment of the present application may include the steps of:
and S101, displaying a formula editing interface.
The terminal displays a formula editing interface on the display, wherein the formula editing interface is an interactive entry for a user to edit the electricity price formula. The formula editing interface comprises: the formula preview area and a plurality of condition formula edit areas, the electricity price formula (target formula) is composed of one or more condition formulas, when the electricity price formula is composed of a plurality of condition formulas, the condition formulas are connected through logic operators, and the logic operators comprise one or more of or, and not. Each condition formula editing area is used for editing a condition formula and comprises an object attribute editing frame, a relation symbol editing frame, an attribute value editing frame and a logic editing frame, the object attribute editing frame is a rectangular area in the condition formula editing area and is used for selecting and displaying object attributes, and the object attributes represent parameter types. The relation symbol edit box is a rectangular area in the condition formula edit area, and is used for selecting and displaying relation symbols, and the relation symbols are operators among various parameters in the condition formula, such as: the relationship symbol includes "+", "-", "×" or "÷ i". The attribute value edit box is a rectangular area in the condition formula edit area, and is used for inputting the attribute value of the attribute object. The logical edit box is used to select and display logical operators between the conditional formulas.
The object attribute box is associated with a plurality of candidate object attributes, that is, the terminal prestores or is preconfigured with a plurality of candidate object attributes. The relation symbol edit box is used for correlating a plurality of candidate relation symbols, namely the terminal is pre-stored or pre-configured with a plurality of candidate relation symbols. The logical edit box is associated with a plurality of candidate logical operators, namely, the terminal prestores or is preconfigured with a plurality of candidate logical operators.
Referring to fig. 2, fig. 2 is a schematic diagram of a formula editing interface provided in an embodiment of the present application, where the formula editing interface includes: a formula preview area 23 and a condition formula edit area 20, a condition formula edit area 21 and a condition formula edit area 22. The conditional formula edit section 20 includes: an object property edit box 201, a relation symbol edit box 202, and a property value edit box 203.
S102, detecting an editing instruction input by a user in a condition formula editing area, and determining target object attributes, target relation symbols and target logical operators according to the editing instruction.
The editing instruction can be triggered by a user through an input device such as a mouse, a keyboard or a touch screen, and is used for selecting a target object attribute based on an object attribute editing box, selecting a target relation symbol based on a relation symbol editing box and selecting a target logical operator based on an attribute value editing box. That is, the target object property is one of a plurality of candidate object properties associated with an object property edit box, the target relational symbol is one of a plurality of candidate relational symbols associated with a relational symbol edit box, and the target logical operator is one of a plurality of candidate logical operators associated with the logical edit box.
In a possible implementation manner, the terminal receives a trigger event of a user for an object attribute edit box, where the trigger event may be any one of a touch event, a keyboard event, or a mouse event, when the terminal detects a click event on the object attribute edit box, the terminal obtains a plurality of pre-stored or pre-configured candidate object attributes, the plurality of candidate object attributes are displayed in a drop-down list, then the user triggers a selection event for the plurality of candidate object attributes in the drop-down list, and the terminal determines a target object attribute selected by the selection event.
For example: referring to fig. 3, when the terminal detects a click event occurring on the object property edit box, a drop-down list is displayed, where the drop-down list includes a plurality of object properties: the method comprises the steps that a power generation type, a commercial transportation identifier, a scheduling mode, a dust removal identifier and an ultralow emission identifier are adopted, a user triggers a selection event aiming at a drop-down list, selected object attributes in the drop-down list are distinguished in a highlight mode, a terminal determines that a target object attribute selected by the selection event is the dust removal identifier, and the terminal displays the dust removal identifier in an object attribute editing frame.
In a possible implementation mode, the logic edit box is associated with a plurality of logic operators, each logic operator comprises any one of an or, an and a not, as shown in fig. 2, the terminal detects a trigger event occurring on the logic edit box, obtains a plurality of candidate logic operators associated with the logic edit box, then displays the plurality of candidate logic operators in a pull-down list manner, and the terminal determines that the selected target logic operators are "simultaneous", namely "and", in the pull-down list according to a selection event of a user, and then displays the "simultaneous" in the logic edit box.
The process of selecting the target relationship symbol and the target logical operator by the user may refer to the above method of selecting the target object attribute, which is not described herein again.
S103, displaying the target formula in the formula preview area according to the target object attribute, the target relation symbol and the target logical operator.
For example: referring to FIG. 2, the target formula displayed in the formula preview area is: (f (x) (object attribute) + object attribute 2) > attribute value 1 while object attribute 1 × object attribute 2 > -attribute value 1.
In one possible implementation, the formula editing interface further comprises a bracket editing box, the bracket editing box is used for editing brackets for the condition formula, and the terminal determines the position of the brackets in the condition formula according to the selection instruction of the user and then inserts the brackets into the condition formula at the position.
In one possible implementation, the formula editing interface further includes: and confirming the control. Referring to fig. 2, the formula editing interface includes a confirmation control 25, the terminal detects a trigger event on the confirmation control 25, the type of the trigger event includes any one of a touch event, a keyboard event, or a mouse event, the terminal obtains a condition formula for completing editing in the formula editing interface and a logical operator of each condition formula, and then generates a target formula in the formula preview area 23.
In one possible implementation, the formula editing interface further includes: and clearing the control. Referring to fig. 2, the formula editing interface further includes a clearing control 24, the terminal detects a trigger event occurring on the clearing control 24, the type of the trigger event is not limited in this application, and the terminal clears the target formula displayed in the formula preview area 13, so as to re-edit the new target formula.
In one possible implementation, the formula editing interface further includes: and (6) function editing boxes. For example: referring to fig. 2, the formula editing interface includes a function editing box 204, the terminal detects a trigger event occurring on the function editing box 204, displays a drop-down list including a plurality of candidate functions, and the user selects an objective function in the drop-down list and uses the objective function to define a conditional formula.
When the scheme of the embodiment of the application is executed, the object attributes, the relational symbols, the attribute values, the functions and the logical operators used for editing the formula are arranged according to the style of the conditional formula through the arrangement mode of the table list, and a user can select the corresponding attribute options from left to right in sequence according to the arrangement sequence of the formula without arranging the formula fields. When the object attribute items are selected, the system can screen the attribute values according to the object attributes selected by the user, and display the corresponding attribute item list, so that the number of the items selected by the user is reduced. When the condition formula is edited, the preview window displays the editing condition in real time, and a user can modify the corresponding error condition conveniently. All the options are field contents stored in the background in advance, and all the options of the field selected by the user editing formula are field names which can be read and written. The background system is favorable for storing and extracting information of the edited condition formula.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 4, a schematic structural diagram of an apparatus for formula editing according to an exemplary embodiment of the present application is shown, which is hereinafter referred to as an apparatus 4. The apparatus 4 may be implemented as all or part of a terminal by software, hardware or a combination of both. The device 4 comprises: a display unit 401 and a determination unit 402.
The display unit 401 is configured to display a formula editing interface; the formula editing interface comprises a formula preview area and a plurality of condition formula editing areas, and each condition formula editing area comprises: the system comprises an object attribute editing frame, a relation symbol editing frame, an attribute value editing frame and a logic editing frame, wherein the object attribute editing frame is associated with a plurality of candidate object attributes, the relation symbol editing frame is associated with a plurality of candidate relation symbols, and the logic editing frame is associated with a plurality of candidate logic operators;
a determining unit 402, configured to detect an editing instruction input by a user in the conditional formula editing area, and determine a target object attribute, a target relationship symbol, and a target logical operator according to the editing instruction;
the display unit 401 is further configured to display a target formula in the formula preview area according to the target object attribute, the target relationship symbol, and the target logical operator.
In one or more possible embodiments, the method further comprises:
the editing unit is used for displaying a plurality of candidate object attributes in a drop-down list mode below the object attribute editing frame when a trigger event aiming at the object attribute editing frame is detected;
receiving a selection event for a plurality of candidate object properties, and inputting a selected target object property in the object property edit box.
In one or more possible embodiments, the formula editing interface further comprises a clear control; wherein the apparatus further comprises:
and the clearing unit is used for clearing the target formula displayed in the formula preview area when the trigger event occurring on the clearing control is detected.
In one or more possible embodiments, the formula editing interface includes a confirmation control; wherein the displaying a target formula in the formula preview area according to the target object attribute, the target relationship symbol and the target logical operator comprises:
detecting a trigger event occurring on the confirmation control, and generating a target formula according to the target object attribute, the target relation symbol and the target logical operation method;
and displaying the target formula in the formula preview area.
In one or more possible embodiments, the formula editing interface further includes a bracket edit box for editing brackets for the conditional formula generated in the conditional formula edit area.
In one or more possible embodiments, the logical operators represent the relationships of sums, and any of the relationships of OR.
In one or more possible embodiments, the object attribute includes any one of a power generation type, a commercial transportation identifier, a scheduling method, a dust removal identifier, and an ultra-low emission identifier.
It should be noted that, when the apparatus 4 provided in the foregoing embodiment executes the method for editing a formula, the division of each functional module is merely exemplified, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the above described functions. In addition, the formula editing apparatus provided in the above embodiments and the formula editing method embodiments belong to the same concept, and details of implementation processes thereof are referred to in the method embodiments and are not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
An embodiment of the present application further provides a computer storage medium, where the computer storage medium may store a plurality of instructions, where the instructions are suitable for being loaded by a processor and executing the method steps in the embodiments shown in fig. 1 to fig. 3, and a specific execution process may refer to specific descriptions of the embodiments shown in fig. 1 to fig. 3, which is not described herein again.
The present application further provides a computer program product storing at least one instruction, which is loaded and executed by the processor to implement the method for formula editing as described in the above embodiments.
Please refer to fig. 5, which provides a schematic structural diagram of a terminal according to an embodiment of the present application. As shown in fig. 5, the terminal 5 may include: at least one processor 501, at least one network interface 504, a user interface 503, memory 505, at least one communication bus 502.
Wherein a communication bus 502 is used to enable connective communication between these components.
The user interface 503 may include a Display screen (Display) and a Camera (Camera), and the optional user interface 503 may also include a standard wired interface and a wireless interface.
The network interface 504 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others.
Processor 501 may include one or more processing cores, among other things. The processor 501 connects various parts within the overall terminal 5 using various interfaces and lines, and performs various functions of the terminal 5 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 505, as well as calling data stored in the memory 505. Optionally, the processor 501 may be implemented in at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 501 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 501, but may be implemented by a single chip.
The Memory 505 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 505 includes a non-transitory computer-readable medium. The memory 505 may be used to store instructions, programs, code sets, or instruction sets. The memory 505 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and the like; the storage data area may store data and the like referred to in the above respective method embodiments. The memory 505 may alternatively be at least one memory device located remotely from the processor 501. As shown in fig. 5, the memory 505, which is a type of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a formula editing application program.
In the terminal 5 shown in fig. 5, the user interface 503 is mainly used for providing an input interface for a user to obtain data input by the user; and the processor 501 may be configured to call a formula editing application stored in the memory 505, and specifically perform the following operations:
displaying a formula editing interface through a display screen; the formula editing interface comprises a formula preview area and a plurality of condition formula editing areas, and each condition formula editing area comprises: the system comprises an object attribute editing frame, a relation symbol editing frame, an attribute value editing frame and a logic editing frame, wherein the object attribute editing frame is associated with a plurality of candidate object attributes, the relation symbol editing frame is associated with a plurality of candidate relation symbols, and the logic editing frame is associated with a plurality of candidate logic operators;
detecting an editing instruction input by a user in the condition formula editing area, and determining target object attributes, target relation symbols and target logical operators according to the editing instruction;
and displaying the target formula in the formula preview area through a display screen according to the target object attribute, the target relation symbol and the target logical operator.
In one or more possible embodiments, the processor 501 is further configured to: when a trigger event aiming at the object attribute editing frame is detected, displaying a plurality of candidate object attributes in a drop-down list mode below the object attribute editing frame;
receiving a selection event for a plurality of candidate object properties, and inputting a selected target object property in the object property edit box.
In one or more possible embodiments, the formula editing interface further comprises a clear control; wherein, the processor 501 is further configured to:
and when a trigger event occurring on the clearing control is detected, clearing the target formula displayed in the formula preview area.
In one or more possible embodiments, the processor 501 executing the formula editing interface includes a confirmation control; wherein the displaying a target formula in the formula preview area according to the target object attribute, the target relationship symbol and the target logical operator comprises:
detecting a trigger event occurring on the confirmation control, and generating a target formula according to the target object attribute, the target relation symbol and the target logical operation method;
and displaying the target formula in the formula preview area.
In one or more possible embodiments, the formula editing interface further includes a bracket edit box for editing brackets for the conditional formula generated in the conditional formula edit area.
In one or more possible embodiments, the logical operators represent the relationships of sums, and any of the relationships of OR.
In one or more possible embodiments, the object attribute includes any one of a power generation type, a commercial transportation identifier, a scheduling method, a dust removal identifier, and an ultra-low emission identifier.
In the embodiment of the application, the object attributes, the relational symbols, the attribute values, the functions and the logical operators used for editing the formula are arranged according to the style of the conditional formula through the arrangement mode of the table list, so that a user can sequentially select the corresponding attribute options from left to right according to the arrangement sequence of the formula without arranging the formula fields. When the object attribute items are selected, the system can screen the attribute values according to the object attributes selected by the user, and display the corresponding attribute item list, so that the number of the items selected by the user is reduced. When the condition formula is edited, the preview window displays the editing condition in real time, and a user can modify the corresponding error condition conveniently. All the options are field contents stored in the background in advance, and all the options of the field selected by the user editing formula are field names which can be read and written. The background system is favorable for storing and extracting information of the edited condition formula.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory or a random access memory.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and is not to be construed as limiting the scope of the present application, so that the present application is not limited thereto, and all equivalent variations and modifications can be made to the present application.

Claims (10)

1. A method of editing a formula, the method comprising:
displaying a formula editing interface; the formula editing interface comprises a formula preview area and a plurality of condition formula editing areas, and each condition formula editing area comprises: the system comprises an object attribute editing frame, a relation symbol editing frame, an attribute value editing frame and a logic editing frame, wherein the object attribute editing frame is associated with a plurality of candidate object attributes, the relation symbol editing frame is associated with a plurality of candidate relation symbols, and the logic editing frame is associated with a plurality of candidate logic operators;
detecting an editing instruction input by a user in the condition formula editing area, and determining target object attributes, target relation symbols and target logical operators according to the editing instruction;
and displaying a target formula in the formula preview area according to the target object attribute, the target relation symbol and the target logical operator.
2. The method of claim 1, further comprising:
when a trigger event aiming at the object attribute editing frame is detected, displaying a plurality of candidate object attributes in a drop-down list mode below the object attribute editing frame;
receiving a selection event for a plurality of candidate object properties, and inputting a selected target object property in the object property edit box.
3. The method of claim 1, wherein the formula editing interface further comprises a cleanup control; wherein the method further comprises:
and when a trigger event occurring on the clearing control is detected, clearing the target formula displayed in the formula preview area.
4. The method of claim 1, wherein the formula editing interface comprises a confirmation control; wherein the displaying a target formula in the formula preview area according to the target object attribute, the target relationship symbol and the target logical operator comprises:
detecting a trigger event occurring on the confirmation control, and generating a target formula according to the target object attribute, the target relation symbol and the target logical operation method;
and displaying the target formula in the formula preview area.
5. The method of claim 1, wherein the formula editing interface further comprises a bracket edit box for editing brackets for the conditional formula generated in the conditional formula edit area.
6. The method of claim 1, wherein the logical operators represent either a relationship of a sum, or a relationship of an or.
7. The method of claim 1, wherein the object attribute comprises any one of a power generation type, a commercial transportation identifier, a scheduling method, a dust removal identifier, and an ultra-low emission identifier.
8. An apparatus for formula editing, the apparatus comprising:
the display unit is used for displaying a formula editing interface; the formula editing interface comprises a formula preview area and a plurality of condition formula editing areas, and each condition formula editing area comprises: the system comprises an object attribute editing frame, a relation symbol editing frame, an attribute value editing frame and a logic editing frame, wherein the object attribute editing frame is associated with a plurality of candidate object attributes, the relation symbol editing frame is associated with a plurality of candidate relation symbols, and the logic editing frame is associated with a plurality of candidate logic operators;
the determining unit is used for detecting an editing instruction input by a user in the condition formula editing area and determining a target object attribute, a target relation symbol and a target logical operator according to the editing instruction;
the display unit is further configured to display a target formula in the formula preview area according to the target object attribute, the target relationship symbol, and the target logical operator.
9. A computer storage medium, characterized in that it stores a plurality of instructions adapted to be loaded by a processor and to carry out the method steps according to any one of claims 1 to 7.
10. A terminal, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1 to 7.
CN201911347958.7A 2019-12-24 2019-12-24 Method, device, storage medium and terminal for editing formula Pending CN111191412A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911347958.7A CN111191412A (en) 2019-12-24 2019-12-24 Method, device, storage medium and terminal for editing formula

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911347958.7A CN111191412A (en) 2019-12-24 2019-12-24 Method, device, storage medium and terminal for editing formula

Publications (1)

Publication Number Publication Date
CN111191412A true CN111191412A (en) 2020-05-22

Family

ID=70707518

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911347958.7A Pending CN111191412A (en) 2019-12-24 2019-12-24 Method, device, storage medium and terminal for editing formula

Country Status (1)

Country Link
CN (1) CN111191412A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111767691A (en) * 2020-06-30 2020-10-13 北京百度网讯科技有限公司 Calculation method, device, equipment and storage medium
CN112036141A (en) * 2020-09-01 2020-12-04 金蝶软件(中国)有限公司 Calculation formula configuration method, data processing device and computer storage medium
CN113569337A (en) * 2021-07-26 2021-10-29 中船重工鹏力(南京)大气海洋信息系统有限公司 Software design method based on VTS coding extensible condition screening
CN113609433A (en) * 2021-08-04 2021-11-05 北京思明启创科技有限公司 Method and device for determining formula layout, electronic equipment and storage medium
CN116775197A (en) * 2023-07-06 2023-09-19 北京五木恒润科技有限公司 Algorithm editing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032568A (en) * 2018-07-13 2018-12-18 孟智平 Generation method, terminal device and the storage medium of programmed logic
US20190018577A1 (en) * 2017-07-11 2019-01-17 Alibaba Group Holding Limited Instant-messaging-based picture sending method and device
CN110045953A (en) * 2019-04-22 2019-07-23 第四范式(北京)技术有限公司 Generate the method and computing device of business rule expression formula
CN110286896A (en) * 2019-06-28 2019-09-27 百度在线网络技术(北京)有限公司 Visualizing editing method, device, equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190018577A1 (en) * 2017-07-11 2019-01-17 Alibaba Group Holding Limited Instant-messaging-based picture sending method and device
CN109032568A (en) * 2018-07-13 2018-12-18 孟智平 Generation method, terminal device and the storage medium of programmed logic
CN110045953A (en) * 2019-04-22 2019-07-23 第四范式(北京)技术有限公司 Generate the method and computing device of business rule expression formula
CN110286896A (en) * 2019-06-28 2019-09-27 百度在线网络技术(北京)有限公司 Visualizing editing method, device, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
曾水根等: "基于逆波兰算法实现的电力故障数据分析公式编辑器", 电气应用, vol. 35, no. 14, pages 3 - 4 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111767691A (en) * 2020-06-30 2020-10-13 北京百度网讯科技有限公司 Calculation method, device, equipment and storage medium
CN111767691B (en) * 2020-06-30 2024-05-07 北京百度网讯科技有限公司 Computing method, computing device, computing equipment and storage medium
CN112036141A (en) * 2020-09-01 2020-12-04 金蝶软件(中国)有限公司 Calculation formula configuration method, data processing device and computer storage medium
CN113569337A (en) * 2021-07-26 2021-10-29 中船重工鹏力(南京)大气海洋信息系统有限公司 Software design method based on VTS coding extensible condition screening
CN113609433A (en) * 2021-08-04 2021-11-05 北京思明启创科技有限公司 Method and device for determining formula layout, electronic equipment and storage medium
CN113609433B (en) * 2021-08-04 2024-04-30 北京思明启创科技有限公司 Method and device for determining arithmetic layout, electronic equipment and storage medium
CN116775197A (en) * 2023-07-06 2023-09-19 北京五木恒润科技有限公司 Algorithm editing method and device

Similar Documents

Publication Publication Date Title
CN111191412A (en) Method, device, storage medium and terminal for editing formula
TW202113586A (en) Method and device for generating applet
CN111045655A (en) Page rendering method and device, rendering server and storage medium
CN110413276B (en) Parameter editing method and device, electronic equipment and storage medium
CN113268233B (en) Page generation method and device, computer equipment and storage medium
CN106027785A (en) Voice processing method and terminal
EP1810137A2 (en) Methods, systems, and data models for describing an electrical device
US20230334723A1 (en) Post-processing special effect production system and method, and ar special effect rendering method and apparatus
CN114138246A (en) Topology automatic generation method and device, computing equipment and storage medium
CN112560422A (en) Chart processing method, device, equipment and medium
CN110413161B (en) Component configuration method and device and electronic equipment
CN111823229A (en) Mechanical arm control flow generation method, device, equipment and storage medium
CN112799656B (en) Script file configuration method, device, equipment and storage medium for automation operation
CN111178017A (en) Method and device for generating flow chart, storage medium and electronic equipment
CN112527172B (en) Interface display method and device, computer readable storage medium and electronic equipment
CN115617441A (en) Method and device for binding model and primitive, storage medium and computer equipment
CN113407598A (en) Method and device for generating demand document, storage medium and electronic equipment
CN116775174A (en) Processing method, device, equipment and medium based on user interface frame
JP2008059010A (en) Business processing flow chart preparation/editing support system and support program
CN113781608A (en) Animation editing method and device
CN113655942A (en) Chart data display method and device
CN113138760A (en) Page generation method and device, electronic equipment and medium
CN116992095A (en) Query method and device for data model, storage medium and terminal equipment
CN114118045A (en) Report form access method, device, storage medium and computer equipment
CN114356304A (en) Data model configuration method and device, storage medium and computer equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination