CN109656453A - Rule editing method, apparatus and equipment - Google Patents

Rule editing method, apparatus and equipment Download PDF

Info

Publication number
CN109656453A
CN109656453A CN201811567661.7A CN201811567661A CN109656453A CN 109656453 A CN109656453 A CN 109656453A CN 201811567661 A CN201811567661 A CN 201811567661A CN 109656453 A CN109656453 A CN 109656453A
Authority
CN
China
Prior art keywords
rule
information
node
user
parameter
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
CN201811567661.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.)
Beijing Tree Root Interconnection Technology Co Ltd
Changsha Tree Root Interconnection Technology Co Ltd
Guangzhou Tree Root Interconnection Technology Co Ltd
Jiangsu Tree Root Interconnection Technology Co Ltd
Shanghai Tree Root Interconnection Technology Co Ltd
Root Interconnect Technology Ltd
Original Assignee
Beijing Tree Root Interconnection Technology Co Ltd
Changsha Tree Root Interconnection Technology Co Ltd
Guangzhou Tree Root Interconnection Technology Co Ltd
Jiangsu Tree Root Interconnection Technology Co Ltd
Shanghai Tree Root Interconnection Technology Co Ltd
Root Interconnect Technology 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 Beijing Tree Root Interconnection Technology Co Ltd, Changsha Tree Root Interconnection Technology Co Ltd, Guangzhou Tree Root Interconnection Technology Co Ltd, Jiangsu Tree Root Interconnection Technology Co Ltd, Shanghai Tree Root Interconnection Technology Co Ltd, Root Interconnect Technology Ltd filed Critical Beijing Tree Root Interconnection Technology Co Ltd
Priority to CN201811567661.7A priority Critical patent/CN109656453A/en
Publication of CN109656453A publication Critical patent/CN109656453A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention provides a kind of rule editing method, apparatus and equipment, it is related to the technical field of software, including shows rule editing interface to user first;Then it receives user and passes through the command information that the rule editing interface is sent;Then the parameter of regularity information that user is inputted by the rule editing interface is received;Then according to described instruction information and the parameter of regularity information, create-rule tree;The rule tree is finally parsed, regular expression is obtained, so as to system program calling, low efficiency when to equipment progress complex rule editor is solved, edits more troublesome technical problem, reached the technical effect for completing the editor of complex rule easily and fast.

Description

Rule editing method, apparatus and equipment
Technical field
The present invention relates to software technology fields, more particularly, to a kind of rule editing method, apparatus and equipment.
Background technique
Currently, user needs to define monitoring device industrial data respectively not according to different equipment in industry internet It is whether normal with the entire industrial flow-line operating status where real-time confirmation equipment or equipment with rule.
Equipment more complicated for some operating conditions, the rule for needing to define is nested against one another, often also more complicated, because This, carries out often there is low efficiency when complex rule defines to equipment, defines more troublesome problem.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of rule editing method, apparatus and equipment, to alleviate to setting It is standby to carry out the technical issues of defining more troublesome problem there are low efficiency when complex rule defines.
In a first aspect, the embodiment of the invention provides a kind of rule editing methods, comprising:
Rule editing interface is shown to user;
It receives user and passes through the command information that the rule editing interface is sent;
Receive the parameter of regularity information that user is inputted by the rule editing interface;
According to described instruction information and the parameter of regularity information, create-rule tree;
The rule tree is parsed, regular expression is obtained, so as to system program calling.
With reference to first aspect, the embodiment of the invention provides the first possible embodiments of first aspect, wherein institute Stating command information includes the first command information;
First command information is for constructing first kind node;The first kind node does not allow to add child node;
First command information is also used to show the first sub-interface;First sub-interface is used to input single for user Parameter of regularity information.
With reference to first aspect, the embodiment of the invention provides second of possible embodiments of first aspect, wherein institute Stating command information further includes the second command information;
Second command information allows to add child node for constructing the second class node, the second class node;
Second command information is also used to show the second sub-interface;Second sub-interface is used to input for user mutual Nested a plurality of parameter of regularity information.
With reference to first aspect, the embodiment of the invention provides the third possible embodiments of first aspect, wherein institute It states according to described instruction information and the parameter of regularity information, the step of create-rule tree, comprising:
The parameter of regularity information is added in the node of described instruction information architecture;
Identify the node link information of the node;
According to the node link information, each node, create-rule tree are connected.
With reference to first aspect, the embodiment of the invention provides the 4th kind of possible embodiments of first aspect, wherein institute The parsing rule tree is stated, the method for obtaining regular expression includes:
JOSN parsing is carried out to the rule tree, obtains the regular expression.
With reference to first aspect, the embodiment of the invention provides the 5th kind of possible embodiments of first aspect, wherein institute State the method that JOSN parsing is carried out to the rule tree, comprising:
JOSN parsing is carried out to the rule tree to described using depth-first strategy.
Second aspect, the embodiment of the present invention also provide a kind of rule editing device, comprising:
Display module, for showing rule editing interface to user;
First receiving module passes through the command information that the rule editing interface is sent for receiving user;
Second receiving module, the parameter of regularity information inputted for receiving user by the rule editing interface;
Generation module, for according to described instruction information and the parameter of regularity information, create-rule tree;
Parsing module obtains regular expression, for parsing the rule tree so as to system program calling.
In conjunction with second aspect, the embodiment of the invention provides the first possible embodiments of second aspect, wherein institute Stating generation module includes:.
Submodule is added, for the parameter of regularity information to be added in the node of described instruction information architecture;
Identify submodule, for identification the node link information of the node;
Submodule is generated, for connecting each node, create-rule tree according to the node link information.
The third aspect, the embodiment of the present invention also provide a kind of rule editing equipment, including memory, processor and are stored in On the memory and the computer program that can run on the processor, wherein the processor executes the computer The step of above-mentioned first aspect any described method is realized when program.
Fourth aspect, the embodiment of the present invention also provide a kind of meter of non-volatile program code that can be performed with processor Calculation machine readable medium, wherein said program code makes the processor execute any method of the first aspect.
The embodiment of the present invention brings following the utility model has the advantages that showing rule editing interface to user first;Then it receives and uses Family passes through the command information that the rule editing interface is sent;Then it receives user and passes through the rule that the rule editing interface inputs Then parameter information;Then according to described instruction information and the parameter of regularity information, create-rule tree;Finally parse the rule Tree, obtains regular expression, so as to system program calling, has reached the technology effect for completing the editor of complex rule easily and fast Fruit.
Other features and advantages of the present invention will illustrate in the following description, also, partly become from specification It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention are in specification, claims And specifically noted structure is achieved and obtained in attached drawing.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is described below Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor It puts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow chart of rule editing method provided in an embodiment of the present invention;
Fig. 2 is a kind of rule editing interface schematic diagram provided in an embodiment of the present invention;
Fig. 3 is a kind of method according to command information and parameter of regularity creating info rules tree provided in an embodiment of the present invention Flow chart;
Fig. 4 is a kind of schematic diagram of rule tree provided in an embodiment of the present invention;
Fig. 5 is a kind of composition schematic diagram of rule editing device provided in an embodiment of the present invention.
Icon:
10- root node;20- first order child node;The second level 30- child node.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention Technical solution be clearly and completely described, it is clear that described embodiments are some of the embodiments of the present invention, rather than Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise Under every other embodiment obtained, shall fall within the protection scope of the present invention.
Currently, user needs to define monitoring device industrial data respectively not according to different equipment in industry internet It is whether normal with the entire industrial flow-line operating status where real-time confirmation equipment or equipment with rule.
Equipment more complicated for some operating conditions, the rule for needing to define is nested against one another, often also more complicated, because This, carries out often there is low efficiency when complex rule defines to equipment, defines more troublesome problem, be based on this, the present invention is real A kind of rule editing method, apparatus and equipment for applying example offer, can be convenient the definition for quickly finishing complex rule.
For convenient for understanding the present embodiment, first to a kind of rule editing method disclosed in the embodiment of the present invention into Row is discussed in detail, as shown in Figure 1, rule editing method may comprise steps of:
Step S1 shows rule editing interface to user;
In embodiments of the present invention, in the rule editing operation for receiving user's triggering, rule can be shown to user Editing interface, illustratively, rule editing interface can be dialogue box form as shown in Figure 2.
Step S2 receives the command information that user is sent by rule editing interface;
Specifically, command information includes the first command information;
First command information is for constructing first kind node;First kind node does not allow to add child node;
First command information is also used to show the first sub-interface;First sub-interface is used to input single parameter of regularity for user Information.
Second command information allows to add child node for constructing the second class node, the second class node;
Second command information is also used to show the second sub-interface;Second sub-interface is used to input for user nested against one another more Rule parameter information.
In embodiments of the present invention, user can be in such a way that rule editing interface sends command information passes through click The corresponding button or label at rule editing interface, are also possible to directly input command information, specific transmission command information Mode is with no restrictions;As an example, as shown in connection with fig. 2, it may include " addition rule " in rule editing interface and " add Add group " two kinds of UI components, user can send the first command information by click " addition rule ", so that backstage is constructed one and not permit Perhaps the node of child node is added;After click " addition rule ", the dialogue for editing a rule information for user is popped up Frame;Likewise, user can send the second command information by click " addition group ", so that backstage is constructed one allows to add sub- section The node of point;After click " addition group ", pair for editing a plurality of Rule Information nested against one another one by one for user is popped up Talk about frame;Here, " addition group " UI component can be is generated by " addition rule " UI component recursive nestings rendering.
As an example, as shown in connection with fig. 2, rule editing interface can also include: for realizing in deletion rule group " deletion rule group " UI component of strictly all rules editor's information;Parameter of regularity information is edited for the ease of user, can also include Multiple UI components, such as " determination " and " closing " etc., are not particularly limited here;" addition rule " or " addition are clicked in user It can also include " AND " and " OR " button as shown in Figure 2 in the corresponding dialog box of pop-up, user passes through after group " " AND " and " OR " is for selecting the "AND" of Rule Information or the logical relation of "or".
Step S3 receives the parameter of regularity information that user is inputted by rule editing interface;
As described in above-mentioned example, after click " addition rule " UI component, user can be in the dialog box of pop-up One rule information of middle editor;Likewise, user can edit one by one in the dialog box of pop-up after click " addition group " A plurality of Rule Information nested against one another.
Step S4, according to command information and parameter of regularity information, create-rule tree;
Here, as shown in figure 3, the specific step of create-rule tree may comprise steps of:
The parameter of regularity information is added in the node of described instruction information architecture by step S41;
As described above, command information may include the first command information and the second command information;First instruction letter Breath is for constructing not the node for allowing to add child node;User's input rule in the first sub-interface that the first command information generates Parameter information, here, so that it may which the parameter of regularity information that user inputs is added in corresponding node;Likewise, the second instruction Information is used to construct the node for allowing to add child node;User's input rule in the second sub-interface that the second command information generates Parameter information, here, so that it may which the parameter of regularity information that user inputs is added in corresponding node;Illustratively, in conjunction with Fig. 4 Shown, user clicks " addition group " for the first time, has popped up sub-interface 100, while constructing first the second class node, Ke Yibiao It is denoted as node 10, user is allowed then to continue addition rule on this basis, therefore, as an example, in sub-interface 100 also Display " addition rule " and " addition group ";User then clicks " addition group " in sub-interface 100, has popped up sub-interface 200;Together When construct second the second class node, can mark is 20, allow user then continue on this basis addition rule; User then clicks " addition group " in sub-interface 200, has popped up sub-interface 300, while constructing the second class node of third, It can mark as child node 30, allow user then to continue addition rule on this basis, as an example, " add Add group " component can be by " addition rule " component recursive nestings render.
In sub-interface 100, user inputs a rule parameter information " Fuel_Level > 80 ",
In sub-interface 200, user inputs a rule parameter information " Mileage >=100and DeviceVersion contain'082'";
In sub-interface 300, user inputs a rule parameter information " Ambient_Temperature >=75and Machine_No='0210860000029' ";
" Fuel_Level > 80 " can be so added in above-mentioned node 10, by " Mileage >=100and DeviceVersion contain'082' " is added in above-mentioned node 20, by " Ambient_Temperature >=75and Machine_No='0210860000029' " is added in above-mentioned node 30.
Step S42, the node link information of recognition node;
User is needed clear by sending one or more nodes of command information building when constructing multiple nodes Connection relationship between each node, therefore, it is necessary to the node link information of recognition node, node link information is used to indicate currently The connection relationship of node and other nodes, for example, the father node and child node information of present node can be indicated.Such as above-mentioned example Described, node 10 is root node, and node 20 is the child node of node 10, can be marked here as child node, section Point 30 is the child node of node 20, can be marked here as child node.
Step S43 connects each node, create-rule tree according to node link information.
As described in above-mentioned example, according to the connection relationship of the node 10, node 20 and node 30 that recognize, node 10 It for root node, is connect with node 20, is the father node of node 20;Node 20 is connect with node 30, is the father node of node 30, will The rule tree that node 10, node 20 and node 30 are sequentially connected generation can be as shown in Figure 4.
Step S5, resolution rules tree, obtains regular expression, so as to system program calling.
In embodiments of the present invention, since rule tree can have one or more nodes, resolution rules tree can be with Refer to and presses certain traversal mode, successively each node of resolution rules tree, finally obtains regular expression, illustratively, rule Traversal of tree mode may include: preorder traversal, inorder traversal and postorder traversal, and here, traversal mode does not do specific limit here System.
Specifically, may include: to carry out JOSN parsing to rule tree, regular expression is obtained.
As described in above-mentioned example, JSON parsing successively is carried out to each node of rule tree, obtains regular expression, here Regular expression is the string expression of JSON parsing.
Specifically, the method for carrying out JOSN parsing to rule tree, comprising:
Be described below it is a kind of using depth-first strategy to rule tree carry out JOSN parsing.
In the bright embodiment of this law, as described in above-mentioned example, using depth-first strategy, first to the last of rule tree One node carries out JSON parsing, successively recurrence, prevents the root node of parsing to rule tree, as described in above-mentioned example, rule The resolving then set are as follows:
Finally by the rule tree of JOSN parsing above-mentioned example description, obtained string expression is regular expression:
(Fuel_Level > 80and (Mileage >=100and DeviceVersion contain'082'and (Ambient_Temperature >=75andMachine_No='0210860000029'))).
In another embodiment of the present invention, a kind of rule editing device is also provided, as shown in figure 5, may include:
Display module 1, for showing rule editing interface to user;
First receiving module 2, the command information sent for receiving user by rule editing interface;
Second receiving module 3, the parameter of regularity information inputted for receiving user by rule editing interface;
Generation module 4, for according to command information and parameter of regularity information, create-rule tree;
Parsing module 5 is used for resolution rules tree, obtains regular expression, so as to system program calling.
Further, generation module may include:.
Submodule is added, for parameter of regularity information to be added in the node of command information building;
Identify submodule, for identification the node link information of node;
Submodule is generated, for connecting each node, create-rule tree according to node link information.
In another embodiment of the present invention, a kind of rule editing equipment, including memory, processor and storage are also provided On a memory and the computer program that can run on a processor, wherein processor is realized above-mentioned when executing computer program The step of method of any one of embodiment description.
In another embodiment of the present invention, a kind of non-volatile program code that can be performed with processor is also provided Computer-readable medium, wherein the method that program code makes processor execute any one that above-described embodiment describes.
Unless specifically stated otherwise, the opposite step of the component and step that otherwise illustrate in these embodiments, digital table It is not limit the scope of the invention up to formula and numerical value.
The technical effect and preceding method embodiment phase of device provided by the embodiment of the present invention, realization principle and generation Together, to briefly describe, Installation practice part does not refer to place, can refer to corresponding contents in preceding method embodiment.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description It with the specific work process of device, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In all examples being illustrated and described herein, any occurrence should be construed as merely illustratively, without It is as limitation, therefore, other examples of exemplary embodiment can have different values.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.
The flow chart and block diagram in the drawings show the system of multiple embodiments according to the present invention, method and computer journeys The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, section or code of table, a part of the module, section or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two continuous boxes can actually base Originally it is performed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.It is also noted that It is the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart, can uses and execute rule The dedicated hardware based system of fixed function or movement is realized, or can use the group of specialized hardware and computer instruction It closes to realize.
Rule editing equipment provided in an embodiment of the present invention has identical with rule editing method provided by the above embodiment Technical characteristic reach identical technical effect so also can solve identical technical problem.
In addition, in the description of the embodiment of the present invention unless specifically defined or limited otherwise, term " installation ", " phase Even ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can To be mechanical connection, it is also possible to be electrically connected;It can be directly connected, can also can be indirectly connected through an intermediary Connection inside two elements.For the ordinary skill in the art, above-mentioned term can be understood at this with concrete condition Concrete meaning in invention.
In the description of the present invention, it should be noted that term " center ", "upper", "lower", "left", "right", "vertical", The orientation or positional relationship of the instructions such as "horizontal", "inner", "outside" be based on the orientation or positional relationship shown in the drawings, merely to Convenient for description the present invention and simplify description, rather than the device or element of indication or suggestion meaning must have a particular orientation, It is constructed and operated in a specific orientation, therefore is not considered as limiting the invention.In addition, term " first ", " second ", " third " is used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance.
The computer program product of rule editing method, apparatus and equipment is carried out provided by the embodiment of the present invention, including Store the computer readable storage medium of the executable non-volatile program code of processor, the finger that said program code includes Order can be used for executing previous methods method as described in the examples, and specific implementation can be found in embodiment of the method, and details are not described herein.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with It realizes by another way.The apparatus embodiments described above are merely exemplary, for example, the division of the unit, Only a kind of logical function partition, there may be another division manner in actual implementation, in another example, multiple units or components can To combine or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or beg for The mutual coupling, direct-coupling or communication connection of opinion can be through some communication interfaces, device or unit it is indirect Coupling or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in the executable non-volatile computer-readable storage medium of a processor.Based on this understanding, of the invention Technical solution substantially the part of the part that contributes to existing technology or the technical solution can be with software in other words The form of product embodies, which is stored in a storage medium, including some instructions use so that One computer equipment (can be personal computer, server or the network equipment etc.) executes each embodiment institute of the present invention State all or part of the steps of method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read- Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can be with Store the medium of program code.
Finally, it should be noted that embodiment described above, only a specific embodiment of the invention, to illustrate the present invention Technical solution, rather than its limitations, scope of protection of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair It is bright to be described in detail, those skilled in the art should understand that: anyone skilled in the art In the technical scope disclosed by the present invention, it can still modify to technical solution documented by previous embodiment or can be light It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make The essence of corresponding technical solution is detached from the spirit and scope of technical solution of the embodiment of the present invention, should all cover in protection of the invention Within the scope of.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. a kind of rule editing method characterized by comprising
Rule editing interface is shown to user;
It receives user and passes through the command information that the rule editing interface is sent;
Receive the parameter of regularity information that user is inputted by the rule editing interface;
According to described instruction information and the parameter of regularity information, create-rule tree;
The rule tree is parsed, regular expression is obtained, so as to system program calling.
2. rule editing method according to claim 1, it is characterised in that: described instruction information includes the first instruction letter Breath;
First command information is for constructing first kind node;The first kind node does not allow to add child node;
First command information is also used to show the first sub-interface;First sub-interface is used to input single rule for user Parameter information.
3. rule editing method according to claim 2, it is characterised in that: described instruction information further includes the second instruction letter Breath;
Second command information allows to add child node for constructing the second class node, the second class node;
Second command information is also used to show the second sub-interface;Second sub-interface is used to input for user nested against one another A plurality of parameter of regularity information.
4. rule editing method according to claim 3, which is characterized in that described according to described instruction information and the rule The step of then parameter information, create-rule tree, comprising:
The parameter of regularity information is added in the node of described instruction information architecture;
Identify the node link information of the node;
According to the node link information, each node, create-rule tree are connected.
5. rule editing method according to claim 4, which is characterized in that the parsing rule tree obtains rule The method of expression formula includes:
JOSN parsing is carried out to the rule tree, obtains the regular expression.
6. rule editing method according to claim 5, which is characterized in that described to carry out JOSN parsing to the rule tree Method, comprising:
JOSN parsing is carried out to the rule tree to described using depth-first strategy.
7. a kind of rule editing device characterized by comprising
Display module, for showing rule editing interface to user;
First receiving module passes through the command information that the rule editing interface is sent for receiving user;
Second receiving module, the parameter of regularity information inputted for receiving user by the rule editing interface;
Generation module, for according to described instruction information and the parameter of regularity information, create-rule tree;
Parsing module obtains regular expression, for parsing the rule tree so as to system program calling.
8. rule editing device according to claim 7, which is characterized in that the generation module includes:
Submodule is added, for the parameter of regularity information to be added in the node of described instruction information architecture;
Identify submodule, for identification the node link information of the node;
Submodule is generated, for connecting each node, create-rule tree according to the node link information.
9. a kind of rule editing equipment, including memory, processor and it is stored on the memory and can be in the processor The computer program of upper operation, which is characterized in that the processor realizes the claims 1 when executing the computer program The step of to 6 described in any item methods.
10. a kind of computer-readable medium for the non-volatile program code that can be performed with processor, which is characterized in that described Program code makes the processor execute described any the method for claim 1-6.
CN201811567661.7A 2018-12-20 2018-12-20 Rule editing method, apparatus and equipment Pending CN109656453A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811567661.7A CN109656453A (en) 2018-12-20 2018-12-20 Rule editing method, apparatus and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811567661.7A CN109656453A (en) 2018-12-20 2018-12-20 Rule editing method, apparatus and equipment

Publications (1)

Publication Number Publication Date
CN109656453A true CN109656453A (en) 2019-04-19

Family

ID=66116092

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811567661.7A Pending CN109656453A (en) 2018-12-20 2018-12-20 Rule editing method, apparatus and equipment

Country Status (1)

Country Link
CN (1) CN109656453A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111563178A (en) * 2020-04-28 2020-08-21 深圳壹账通智能科技有限公司 Rule logic diagram comparison method, device, medium and electronic equipment
CN112782414A (en) * 2019-11-11 2021-05-11 深圳迈瑞生物医疗电子股份有限公司 Sample analysis system and setting method thereof
CN116796931A (en) * 2023-08-28 2023-09-22 成都交大光芒科技股份有限公司 Asynchronous nested rule time sequence triggering method and system

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102346458A (en) * 2010-08-06 2012-02-08 上海开通数控有限公司 Method for realizing parameterization programming on numerical control system
CN102754072A (en) * 2009-12-14 2012-10-24 起元技术有限责任公司 Specifying User Interface Elements
CN102821414A (en) * 2012-08-07 2012-12-12 廖原 System and method for managing CWSN (cloud wireless sensor network) communication data based on GUI (graphical user interface)
CN103116656A (en) * 2013-03-08 2013-05-22 南京信息工程大学 Circuit fault diagnostic system based on fault logic interpreter and achieving method thereof
CN103177074A (en) * 2011-12-22 2013-06-26 西门子公司 Method and system for customizing a graphic user interface of a manufacturing execution system screen
CN104298657A (en) * 2014-09-23 2015-01-21 广东电网公司电网规划研究中心 Evaluation index analysis system based on expression
CA2953297A1 (en) * 2014-05-21 2015-11-26 Societal Innovations Ipco Limited System and method for fully configurable real time processing
CN106294673A (en) * 2016-08-08 2017-01-04 杭州玳数科技有限公司 A kind of method and system of User Defined rule real time parsing daily record data
CN106802797A (en) * 2016-12-28 2017-06-06 微景天下(北京)科技有限公司 The generation method and device of a kind of application programming interface
CN107870765A (en) * 2016-09-26 2018-04-03 平安科技(深圳)有限公司 Message joining method and terminal
CN108664406A (en) * 2018-05-22 2018-10-16 深圳壹账通智能科技有限公司 Exploitation test method, terminal device and the medium of mobile application

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102754072A (en) * 2009-12-14 2012-10-24 起元技术有限责任公司 Specifying User Interface Elements
CN102346458A (en) * 2010-08-06 2012-02-08 上海开通数控有限公司 Method for realizing parameterization programming on numerical control system
CN103177074A (en) * 2011-12-22 2013-06-26 西门子公司 Method and system for customizing a graphic user interface of a manufacturing execution system screen
CN102821414A (en) * 2012-08-07 2012-12-12 廖原 System and method for managing CWSN (cloud wireless sensor network) communication data based on GUI (graphical user interface)
CN103116656A (en) * 2013-03-08 2013-05-22 南京信息工程大学 Circuit fault diagnostic system based on fault logic interpreter and achieving method thereof
CA2953297A1 (en) * 2014-05-21 2015-11-26 Societal Innovations Ipco Limited System and method for fully configurable real time processing
CN104298657A (en) * 2014-09-23 2015-01-21 广东电网公司电网规划研究中心 Evaluation index analysis system based on expression
CN106294673A (en) * 2016-08-08 2017-01-04 杭州玳数科技有限公司 A kind of method and system of User Defined rule real time parsing daily record data
CN107870765A (en) * 2016-09-26 2018-04-03 平安科技(深圳)有限公司 Message joining method and terminal
CN106802797A (en) * 2016-12-28 2017-06-06 微景天下(北京)科技有限公司 The generation method and device of a kind of application programming interface
CN108664406A (en) * 2018-05-22 2018-10-16 深圳壹账通智能科技有限公司 Exploitation test method, terminal device and the medium of mobile application

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112782414A (en) * 2019-11-11 2021-05-11 深圳迈瑞生物医疗电子股份有限公司 Sample analysis system and setting method thereof
CN112782414B (en) * 2019-11-11 2024-01-23 深圳迈瑞生物医疗电子股份有限公司 Sample analysis system and setting method thereof
CN111563178A (en) * 2020-04-28 2020-08-21 深圳壹账通智能科技有限公司 Rule logic diagram comparison method, device, medium and electronic equipment
CN116796931A (en) * 2023-08-28 2023-09-22 成都交大光芒科技股份有限公司 Asynchronous nested rule time sequence triggering method and system
CN116796931B (en) * 2023-08-28 2023-11-07 成都交大光芒科技股份有限公司 Asynchronous nested rule time sequence triggering method and system

Similar Documents

Publication Publication Date Title
CN108279890B (en) Component publishing method, component constructing method and graphical machine learning algorithm platform
CN106933889B (en) Configuration method, display method and client for screened rules
JP7170082B2 (en) Method and device for generating information, electronic device, storage medium and computer program
CN106657192B (en) Method and equipment for presenting service calling information
EP2096590A1 (en) Enhanced process query framework
CN108605010A (en) Ultra-large type data set is analyzed using Distributed Calculation figure fast prediction
CN113342345A (en) Operator fusion method and device of deep learning framework
CN109656453A (en) Rule editing method, apparatus and equipment
CN110276456A (en) A kind of machine learning model auxiliary construction method, system, equipment and medium
CN102426519A (en) Linked data-based multiplexing method of business process execution language (BPEL) templates and services and system thereof
Neghab et al. Performance evaluation of collaboration in the design process: Using interoperability measurement
CN114445047B (en) Workflow generation method and device, electronic equipment and storage medium
CN112214210A (en) Logistics business rule engine and configuration method, device, equipment and storage medium thereof
CN115204183A (en) Knowledge enhancement based dual-channel emotion analysis method, device and equipment
Hirmer et al. FlexMash–flexible data mashups based on pattern-based model transformation
CN110532056A (en) A kind of control recognition methods and device applied in user interface
CN110633959A (en) Method, device, equipment and medium for creating approval task based on graph structure
CN114329204A (en) Information pushing method, device, equipment, medium and computer product
US9665668B2 (en) Configuring a dispatching rule for execution in a simulation
CN109829033A (en) Method for exhibiting data and terminal device
CN115469849B (en) Service processing system, method, electronic equipment and storage medium
Losavio et al. Graph modelling of a refactoring process for product line architecture design
CN116909573A (en) Node fusion method and device for calculation graph, electronic equipment and storage medium
CN115809688B (en) Model debugging method and device, electronic equipment and storage medium
CN113691403B (en) Topology node configuration method, related device and computer program product

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190419