CN116301758B - Rule editing method, device, equipment and medium based on event time points - Google Patents
Rule editing method, device, equipment and medium based on event time points Download PDFInfo
- Publication number
- CN116301758B CN116301758B CN202310525163.0A CN202310525163A CN116301758B CN 116301758 B CN116301758 B CN 116301758B CN 202310525163 A CN202310525163 A CN 202310525163A CN 116301758 B CN116301758 B CN 116301758B
- Authority
- CN
- China
- Prior art keywords
- rule
- event
- point
- code
- editing
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 230000006870 function Effects 0.000 claims description 45
- 238000004590 computer program Methods 0.000 claims description 15
- 230000001960 triggered effect Effects 0.000 claims description 11
- 238000010586 diagram Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The application provides a rule editing method, device, equipment and medium based on event time points, and relates to the technical field of computers. When editing a business rule, if an event opportunity point rule needs to be added, sending an opportunity point new instruction and calling a preset opportunity point list; each functional object in the target rule corresponds to one item code, and event opportunity points applicable to each functional object can be rapidly positioned in the opportunity point list according to the item codes, so that the event opportunity points are faster, simpler and more convenient to search and easy to operate; according to the time point selection instruction, the event time point is selected, and the event time point is associated with the corresponding functional object to be used as the associated time point of the functional object, so that a developer can conveniently determine the service requirement, and further, according to the functional object and the associated time point corresponding to each function, the target rule is edited and generated, and the editing efficiency of the service rule is improved.
Description
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a rule editing method, device, equipment, and medium based on event time points.
Background
In the using process of the package software such as ERP used by the clients, some control or adjustment is usually implanted on the basis of the original software business logic according to the respective industry situation of the clients or the company management requirement, and the like, the related operation flow is long and long, if the needs are needed to be communicated and known, then the corresponding program adjustment and edition is developed and carried out, and finally the modification is carried out after the modification is released to the clients, which is time-consuming and labor-consuming.
Under the traditional operation mode, the related operation flow is long, the consultant of the manufacturer needs to communicate with the customer to know the requirement, then write the specification document, adjust and edit the corresponding program for research and development, and finally release the correction to the customer, which is time-consuming, labor-consuming and expensive.
Therefore, how to solve the problem that the editing efficiency of the current business rule is low becomes a technical problem to be solved urgently.
Disclosure of Invention
The application provides a rule editing method, device, equipment and storage medium based on event time points, aiming at improving the efficiency of editing business rules.
In a first aspect, the present application provides a rule editing method based on an event opportunity point, where the method includes:
calling a time point list based on a time point newly-added instruction;
inquiring at least one event opportunity point corresponding to each item code in the opportunity point list based on the item code of each functional object in the target rule;
selecting at least one event opportunity point as an associated opportunity point of the functional object based on an opportunity point selection instruction;
and editing rule codes based on the functional objects and the associated time points corresponding to the functional objects to generate the target rule.
Further, the searching the at least one event time point corresponding to each item code in the time point list based on the item code of each functional object in the target rule includes:
and inputting the item codes into the time point list, matching the time point sub-list corresponding to the item codes, and acquiring at least one event time point in the time point sub-list.
Further, the timing point sub-list includes a front end timing point sub-list and an intermediate layer timing point sub-list.
Further, the generating the target rule based on each of the functional objects and the associated time point corresponding to each of the functional objects by editing a rule code includes:
based on a rule editing platform and a preset operation specification, editing function rule codes of the function objects;
calling a timing point rule code corresponding to the associated timing point based on the associated timing point corresponding to each functional object;
and merging the time point rule codes corresponding to the functional objects and the functional rule codes based on a code merging instruction to generate the target rule.
Further, the method further includes, based on the code merging instruction, merging the timing point rule code and the function rule code corresponding to each of the functional objects, and before generating the target rule, further including:
and editing the execution rule of each functional object and the corresponding associated time point based on a rule editing platform to generate an execution rule code.
Further, the generating the target rule by merging the timing point rule code and the function rule code corresponding to each function object based on the code merging instruction includes:
and merging the time point rule codes, the function rule codes and the execution rule codes corresponding to the functional objects based on the code merging instruction to generate the target rule.
Further, the execution rules include button-triggered execution and event-triggered execution.
In a second aspect, the present application further provides a rule editing method device based on an event opportunity point, where the rule editing method device based on the event opportunity point includes:
the time point list calling module is used for calling a time point list based on a time point newly-added instruction;
the timing point query module is used for querying at least one event timing point corresponding to each item code in the timing point list based on the item code of each functional object in the target rule;
the time point selection module is used for selecting at least one event time point as an associated time point of the functional object based on a time point selection instruction;
and the rule generation module is used for editing rule codes based on each functional object and the associated time point corresponding to each functional object to generate the target rule.
In a third aspect, the present application further provides a computer device comprising a processor, a memory, and a computer program stored on the memory and executable by the processor, wherein the computer program when executed by the processor implements the steps of the rule editing method based on event time points as described above.
In a fourth aspect, the present application further provides a computer readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the rule editing method based on event time points as described above.
The application provides a rule editing method, device, equipment and storage medium based on event time points, wherein the method comprises the steps of calling a time point list based on a time point newly-added instruction; inquiring at least one event opportunity point corresponding to each item code in the opportunity point list based on the item code of each functional object in the target rule; selecting at least one event opportunity point as an associated opportunity point of the functional object based on an opportunity point selection instruction; and editing rule codes based on the functional objects and the associated time points corresponding to the functional objects to generate the target rule. By the method, when the business rule is edited, if the event occasion rule needs to be added, a new occasion instruction is sent, and a preset occasion list is called; each functional object in the target rule corresponds to one item code, and event opportunity points applicable to each functional object can be rapidly positioned in the opportunity point list according to the item codes, so that the event opportunity points are faster, simpler and more convenient to search and easy to operate; according to the time point selection instruction, the event time point is selected, and the event time point is associated with the corresponding functional object to be used as the associated time point of the functional object, so that a developer can conveniently determine the service requirement, and further, according to the functional object and the associated time point corresponding to each function, the target rule is edited and generated, and the editing efficiency of the service rule is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a rule editing system based on event time points according to an embodiment of the present application;
fig. 2 is a flowchart of a first embodiment of a rule editing method based on event time points provided in the present application;
fig. 3 is a flowchart of a second embodiment of a rule editing method based on event time points provided in the present application;
fig. 4 is a schematic structural diagram of a first embodiment of a rule editing apparatus based on event time points provided in the present application;
fig. 5 is a schematic block diagram of a computer device according to an embodiment of the present application.
The realization, functional characteristics and advantages of the present application will be further described with reference to the embodiments, referring to the attached drawings.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The flow diagrams depicted in the figures are merely illustrative and not necessarily all of the elements and operations/steps are included or performed in the order described. For example, some operations/steps may be further divided, combined, or partially combined, so that the order of actual execution may be changed according to actual situations.
Some embodiments of the present application are described in detail below with reference to the accompanying drawings. The following embodiments and features of the embodiments may be combined with each other without conflict.
As shown in fig. 1, fig. 1 is a rule editing system based on event time points provided in an embodiment of the present application, where the system includes a terminal and a server, the terminal is in communication connection with the server, and the server is in communication connection with an event time point database.
The terminal comprises electronic equipment such as a mobile phone, a tablet personal computer, a notebook computer, a desktop computer, a personal digital assistant, wearable equipment and the like.
Wherein the server comprises a single server or a cluster of servers.
Hereinafter, a rule editing method based on the event opportunity point provided in the embodiment of the present application will be described in detail based on the rule editing system based on the event opportunity point.
In an embodiment, in order to facilitate a person skilled in the art to understand the technical solution of the present application, the embodiment of the present application describes an application of the rule editing method based on event opportunity points provided in the present application in the field of stock prediction.
Referring to fig. 2, fig. 2 is a flowchart of a first embodiment of a rule editing method based on event time points provided in the present application. The rule editing method based on the event opportunity point can be used in a server of a rule editing system based on the event opportunity point.
As shown in fig. 2, the rule editing method based on event time points includes steps S101 to S103.
Step S101, calling a timing point list based on a timing point newly-added instruction;
in an embodiment, the time point list may be preset before rule code editing, and summary and summarization of event time points may be performed according to relevant expertise and experience of a developer, so as to generate a corresponding time point database.
In an embodiment, the event time points may be classified according to the item type, item attribute, and the like applied to the event time points, for example, the event time points may be classified into event time points applicable to front-end development projects or event time points corresponding to intermediate projects.
In an embodiment, after the set-up of the machine point database, the corresponding machine point executing code can be edited according to the executing rule of each machine point, then a corresponding classification list is generated according to the classification condition of the machine point, and then each event machine point in the classification list is associated with the corresponding machine point executing code to generate a machine point list; when the target rule is edited, the corresponding time point code can be directly called and added to the business rule code, repeated editing and error editing are avoided, and the editing efficiency of the rule code is improved.
Step S102, inquiring at least one event time point corresponding to each item code in the time point list based on the item codes of each functional object in the target rule;
in one embodiment, each function object is classified according to item attributes of each function object, and the function objects with the same attribute are classified into one item code representation, and then are subdivided according to distinguishing attributes.
By way of example, item codes may be divided into sales order A, sales order details B, combination sub-component information C, gift information D, package E, and the like.
In an embodiment, the item code is input in the time point list, a time point sub-list corresponding to the item code is matched, and at least one event time point in the time point sub-list is obtained.
In an embodiment, according to different item codes, that is, different functional attributes of the functional objects, applicable event time points are different, so for different functional objects, the event time points applicable to each functional object may be correspondingly categorized according to the item codes of each functional object, for example, the sub-list of event time points corresponding to the sales order a may be an a sales order, and all the event time points applicable to the sales order are categorized in the sub-list a sales order.
In an embodiment, the timing point sub-list includes a front-end timing point sub-list and an intermediate layer timing point sub-list.
In an embodiment, the time point sub-list may be divided into a front-end time point sub-list and a middle-layer time point sub-list according to different project time points, where the front-end time point sub-list may be an external time, such as a sales order, a package, a collection information, a collection plan, etc., and the middle-layer time point sub-list may be an internal time, such as a document operation, including a case settling, a case canceling, a checking, an auditing, etc.
Step S103, selecting at least one event opportunity point as the related opportunity point of the functional object based on the opportunity point selection instruction;
in an embodiment, when a project opportunity point needs to be added, a rule editing project of a functional object is established first, then a corresponding opportunity point list is queried and called according to a project code or a function name, each event opportunity point in the opportunity point list can provide a selection item, and a user can click the selection opportunity point through a button to add the selection opportunity point into the rule editing project of the functional object to realize association.
Step S104, editing rule codes based on the functional objects and the associated time points corresponding to the functional objects to generate the target rule.
In an embodiment, after the allocation of the relevant time points of all the functional objects is completed, the user can generate a corresponding business requirement document, then share or send the business requirement document to a developer, and the developer edits rule codes according to the user requirements to generate a target rule.
In an embodiment, a developer may directly call the event time point and the corresponding time point code in the process of editing the rule code, and add all the time point codes corresponding to each function object to the rule code of the corresponding function object to generate the corresponding rule code, but default to the off state for the function enabling of the event time point, and then the user may configure the on-off of the event time point according to the requirement.
The embodiment provides a rule editing method based on event time points, when the method edits business rules, if event time point rules need to be added, a time point new instruction is sent, and a preset time point list is called; each functional object in the target rule corresponds to one item code, and event opportunity points applicable to each functional object can be rapidly positioned in the opportunity point list according to the item codes, so that the event opportunity points are faster, simpler and more convenient to search and easy to operate; according to the time point selection instruction, the event time point is selected, and the event time point is associated with the corresponding functional object to be used as the associated time point of the functional object, so that a developer can conveniently determine the service requirement, and further, according to the functional object and the associated time point corresponding to each function, the target rule is edited and generated, and the editing efficiency of the service rule is improved.
Referring to fig. 3, fig. 3 is a flowchart illustrating a second embodiment of a rule editing method based on event time points provided in the present application.
In this embodiment, as shown in fig. 3, based on the embodiment shown in fig. 2, the step S104 includes:
step S201, based on a rule editing platform and a preset operation specification, editing function rule codes of the function objects;
in an embodiment, the rule editing platform may be code editing software, or may be code editing by calling corresponding codes through an existing code library. The developer can explain the document according to the business requirement provided by the customer and edit the function rule codes of the function objects.
Step S202, calling a timing point rule code corresponding to the related timing point based on the related timing point corresponding to each functional object;
in an embodiment, according to the associated time points corresponding to the functional objects, a pre-edited time point rule code corresponding to each associated time point is called.
In an embodiment, based on a rule editing platform, an execution rule of each functional object and the corresponding association time point is edited, and an execution rule code is generated.
In an embodiment, when adding the timing point rule code of the related timing point in the function rule code of the function object, the timing point execution rule is determined according to the timing point execution description, for example, the timing point execution rule is triggered to execute before/after the occurrence of the event, or the instruction triggers to execute, or the timing point triggers to execute, etc., that is, the condition of the timing point triggers to execute.
In one embodiment, the execution rules include button-triggered execution and event-triggered execution.
In an embodiment, the button trigger execution may include a single click button trigger, a button stay trigger, a button click release trigger, etc., and the event trigger execution may be a trigger after occurrence of some associated event, or a trigger upon execution of some event, etc.
Step 203, merging the timing point rule codes and the function rule codes corresponding to the functional objects based on the code merging instruction, so as to generate the target rule.
In an embodiment, the target rule is generated by merging the timing point rule code, the function rule code, and the execution rule code corresponding to each of the functional objects based on the code merging instruction.
In an embodiment, after editing or calling the timing point rule code and the execution rule code, the timing point rule code and the execution rule code need to be added into the function rule code to be effective, so that the timing point rule code, the function rule code and the execution rule code corresponding to the same function object can be combined according to the code combining instruction to realize the timing point execution function of the service requirement.
By way of example, the manner of code merging may be: functional branches or bug branches are merged into a main branch, some commit of other branches into a current branch, multiple commits of other branches are merged together into a current branch, and two git stores do merging of code and log records, etc.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a first embodiment of a rule editing apparatus based on event time points provided in the present application, where the rule editing apparatus based on event time points is used for executing the rule editing method based on event time points. The rule editing device based on the event time point can be configured in a server.
As shown in fig. 4, the rule editing apparatus 300 based on event time points includes: the timing point list calling module 301, the timing point inquiring module 302, the timing point selecting module 303 and the rule generating module 304.
The timing point list calling module 301 is configured to call a timing point list based on a timing point new instruction;
the timing point query module 302 is configured to query, based on item codes of each functional object in the target rule, at least one event timing point corresponding to each item code in the timing point list;
a timing point selection module 303, configured to select at least one event timing point as an associated timing point of the functional object based on a timing point selection instruction;
the rule generating module 304 is configured to edit a rule code based on each of the functional objects and the associated time point corresponding to each of the functional objects, and generate the target rule.
In an embodiment, the timing point query module 302 is further configured to input the item code in the timing point list, match a timing point sub-list corresponding to the item code, and obtain at least one event timing point in the timing point sub-list.
In an embodiment, the timing point sub-list includes a front-end timing point sub-list and an intermediate layer timing point sub-list.
In an embodiment, the rule generating module 304 is further configured to implement editing a function rule code of each of the function objects based on a rule editing platform and a preset operation specification; calling a timing point rule code corresponding to the associated timing point based on the associated timing point corresponding to each functional object; and merging the time point rule codes corresponding to the functional objects and the functional rule codes based on a code merging instruction to generate the target rule.
In an embodiment, the rule generating module 304 is further configured to edit an execution rule of the functional objects and the corresponding associated time points based on a rule editing platform, so as to generate an execution rule code.
In an embodiment, the rule generating module 304 is further configured to combine the timing point rule code, the function rule code, and the execution rule code corresponding to each of the function objects based on the code combining instruction, to generate the target rule.
In one embodiment, the execution rules include button-triggered execution and event-triggered execution.
It should be noted that, for convenience and brevity of description, specific working processes of the above-described apparatus and each module may refer to corresponding processes in the foregoing embodiment of the rule editing method based on the event time point, which is not described herein again.
The apparatus provided by the above embodiments may be implemented in the form of a computer program which may be run on a computer device as shown in fig. 5.
Referring to fig. 5, fig. 5 is a schematic block diagram of a computer device according to an embodiment of the present application. The computer device may be a server.
With reference to FIG. 5, the computer device includes a processor, memory, and a network interface connected by a system bus, where the memory may include a non-volatile storage medium and an internal memory.
The non-volatile storage medium may store an operating system and a computer program. The computer program comprises program instructions that, when executed, cause the processor to perform any one of a number of rule editing methods based on the points of the event.
The processor is used to provide computing and control capabilities to support the operation of the entire computer device.
The internal memory provides an environment for the execution of a computer program in a non-volatile storage medium that, when executed by a processor, causes the processor to perform any one of a number of rule editing methods based on points of occurrence.
The network interface is used for network communication such as transmitting assigned tasks and the like. It will be appreciated by those skilled in the art that the structure shown in fig. 5 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
It should be appreciated that the processor may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field-programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. Wherein the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Wherein in one embodiment the processor is configured to run a computer program stored in the memory to implement the steps of:
calling a time point list based on a time point newly-added instruction;
inquiring at least one event opportunity point corresponding to each item code in the opportunity point list based on the item code of each functional object in the target rule;
selecting at least one event opportunity point as an associated opportunity point of the functional object based on an opportunity point selection instruction;
and editing rule codes based on the functional objects and the associated time points corresponding to the functional objects to generate the target rule.
In an embodiment, when implementing the project code of each functional object in the target rule, the processor is configured to implement:
and inputting the item codes into the time point list, matching the time point sub-list corresponding to the item codes, and acquiring at least one event time point in the time point sub-list.
In an embodiment, the timing point sub-list includes a front-end timing point sub-list and an intermediate layer timing point sub-list.
In an embodiment, when the processor edits a rule code based on each of the functional objects and the associated time point corresponding to each of the functional objects, and generates the target rule, the processor is configured to implement:
based on a rule editing platform and a preset operation specification, editing function rule codes of the function objects;
calling a timing point rule code corresponding to the associated timing point based on the associated timing point corresponding to each functional object;
and merging the time point rule codes corresponding to the functional objects and the functional rule codes based on a code merging instruction to generate the target rule.
In an embodiment, before implementing the code merging instruction, the processor is further configured to, before implementing the code merging instruction, merge the timing point rule code and the function rule code corresponding to each functional object to generate the target rule, implement:
and editing the execution rule of each functional object and the corresponding associated time point based on a rule editing platform to generate an execution rule code.
In an embodiment, when implementing the code merging instruction, the processor merges the timing point rule code and the functional rule code corresponding to each functional object, and generates the target rule, the processor is configured to implement:
and merging the time point rule codes, the function rule codes and the execution rule codes corresponding to the functional objects based on the code merging instruction to generate the target rule.
In one embodiment, the execution rules include button-triggered execution and event-triggered execution.
The embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, the computer program comprises program instructions, and the processor executes the program instructions to realize any rule editing method based on event time points.
The computer readable storage medium may be an internal storage unit of the computer device according to the foregoing embodiment, for example, a hard disk or a memory of the computer device. The computer readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like, which are provided on the computer device.
While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (7)
1. A rule editing method based on event opportunity points, the method comprising:
calling an event occasion list based on the event occasion newly-added instruction; the event opportunity point list is preset before rule code editing is carried out, and a corresponding event opportunity point database is generated; classifying each event opportunity point according to the item type and item attribute applicable to the event opportunity point; after an event opportunity point database is established, according to the execution rule of each event opportunity point, editing a corresponding event opportunity point execution code, generating a corresponding classification list according to the classification condition of the event opportunity point, and then associating each event opportunity point in the classification list with the corresponding event opportunity point execution code to generate an event opportunity point list;
inquiring at least one event opportunity point corresponding to each item code in the event opportunity point list based on the item code of each functional object in the target rule;
selecting at least one event opportunity point as an associated event opportunity point of the functional object based on an event opportunity point selection instruction;
editing rule codes based on each functional object and the related event time point corresponding to each functional object, and generating the target rule, wherein the target rule comprises the following steps:
based on a rule editing platform and a preset operation specification, editing function rule codes of the function objects;
calling event occasion point rule codes corresponding to the associated event occasion points based on the associated event occasion points corresponding to the functional objects;
based on a code merging instruction, merging the event time point rule codes corresponding to the functional objects and the functional rule codes to generate the target rule;
the method further includes, based on a code merging instruction, merging the event time point rule code corresponding to each functional object with the functional rule code, and before generating the target rule, further including: editing the execution rule of each functional object and the corresponding time point of the associated event based on a rule editing platform to generate an execution rule code;
the code merging instruction is based on merging the event time point rule code and the function rule code corresponding to each function object, and generating the target rule includes: and merging the event time point rule codes, the function rule codes and the execution rule codes corresponding to the functional objects based on the code merging instruction to generate the target rule.
2. The rule editing method based on event time points according to claim 1, wherein the querying, in the event time point list, at least one event time point corresponding to each item code based on the item code of each functional object in the target rule comprises:
inputting the item codes into the event occasion point list, matching event occasion point sub-lists corresponding to the item codes, and obtaining at least one event occasion point in the event occasion point sub-list.
3. The rule edit method based on event occasion point according to claim 2, wherein the event occasion point sub-list includes a front end event occasion point sub-list and a middle layer event occasion point sub-list.
4. The event point-based rule edit method according to claim 1, wherein the execution rule includes a button-triggered execution and an event-triggered execution.
5. A rule editing apparatus based on event timing points, wherein the rule editing apparatus based on event timing points includes:
the event occasion list calling module is used for calling an event occasion list based on the event occasion newly-added instruction; the event opportunity point list is preset before rule code editing is carried out, and a corresponding event opportunity point database is generated; classifying each event opportunity point according to the item type and item attribute applicable to the event opportunity point; after an event opportunity point database is established, according to the execution rule of each event opportunity point, editing a corresponding event opportunity point execution code, generating a corresponding classification list according to the classification condition of the event opportunity point, and then associating each event opportunity point in the classification list with the corresponding event opportunity point execution code to generate an event opportunity point list;
the event opportunity point query module is used for querying at least one event opportunity point corresponding to each item code in the event opportunity point list based on the item code of each functional object in the target rule;
the event opportunity point selection module is used for selecting at least one event opportunity point as an associated event opportunity point of the functional object based on an event opportunity point selection instruction;
the rule generating module is configured to edit a rule code based on each of the functional objects and the associated event time point corresponding to each of the functional objects, and generate the target rule, and includes: based on a rule editing platform and a preset operation specification, editing function rule codes of the function objects; calling event occasion point rule codes corresponding to the associated event occasion points based on the associated event occasion points corresponding to the functional objects; based on a code merging instruction, merging the event time point rule codes corresponding to the functional objects and the functional rule codes to generate the target rule;
the method further includes, based on a code merging instruction, merging the event time point rule code corresponding to each functional object with the functional rule code, and before generating the target rule, further including: editing the execution rule of each functional object and the corresponding time point of the associated event based on a rule editing platform to generate an execution rule code;
the code merging instruction is based on merging the event time point rule code and the function rule code corresponding to each function object, and generating the target rule includes: and merging the event time point rule codes, the function rule codes and the execution rule codes corresponding to the functional objects based on the code merging instruction to generate the target rule.
6. A computer device comprising a processor, a memory, and a computer program stored on the memory and executable by the processor, wherein the computer program when executed by the processor implements the steps of the event opportunity point based rule editing method of any of claims 1 to 4.
7. A computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, wherein the computer program, when executed by a processor, implements the steps of the rule editing method based on event time points as claimed in any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310525163.0A CN116301758B (en) | 2023-05-11 | 2023-05-11 | Rule editing method, device, equipment and medium based on event time points |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310525163.0A CN116301758B (en) | 2023-05-11 | 2023-05-11 | Rule editing method, device, equipment and medium based on event time points |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116301758A CN116301758A (en) | 2023-06-23 |
CN116301758B true CN116301758B (en) | 2023-12-19 |
Family
ID=86824299
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310525163.0A Active CN116301758B (en) | 2023-05-11 | 2023-05-11 | Rule editing method, device, equipment and medium based on event time points |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116301758B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103914295A (en) * | 2013-01-09 | 2014-07-09 | 宏达国际电子股份有限公司 | Method for performing wake-up event management, apparatus for performing wake-up event management and associated computer program product |
CN105068808A (en) * | 2015-08-11 | 2015-11-18 | 国网技术学院 | Dynamic configuration method and system of rules on the basis of SAP (System Applications and Products) platform |
CN114519050A (en) * | 2020-11-20 | 2022-05-20 | 上海汽车集团股份有限公司 | Vehicle part configuration logic constraint relation generation method, device, equipment and medium |
CN115686305A (en) * | 2022-10-24 | 2023-02-03 | 重庆长安汽车股份有限公司 | Vehicle function customization method and device, vehicle and storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7194451B2 (en) * | 2004-02-26 | 2007-03-20 | Microsoft Corporation | Database monitoring system |
-
2023
- 2023-05-11 CN CN202310525163.0A patent/CN116301758B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103914295A (en) * | 2013-01-09 | 2014-07-09 | 宏达国际电子股份有限公司 | Method for performing wake-up event management, apparatus for performing wake-up event management and associated computer program product |
CN105068808A (en) * | 2015-08-11 | 2015-11-18 | 国网技术学院 | Dynamic configuration method and system of rules on the basis of SAP (System Applications and Products) platform |
CN114519050A (en) * | 2020-11-20 | 2022-05-20 | 上海汽车集团股份有限公司 | Vehicle part configuration logic constraint relation generation method, device, equipment and medium |
CN115686305A (en) * | 2022-10-24 | 2023-02-03 | 重庆长安汽车股份有限公司 | Vehicle function customization method and device, vehicle and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN116301758A (en) | 2023-06-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109324791B (en) | Financial self-service terminal business process development method and device and terminal equipment | |
US11620117B2 (en) | Systems and methods for code clustering analysis and transformation | |
CN110162512B (en) | Log retrieval method, device and storage medium | |
US20140289243A1 (en) | Method and system for centralized issue tracking | |
CN113052696B (en) | Financial business task processing method, device, computer equipment and storage medium | |
CN112035230B (en) | Task scheduling file generation method, device and storage medium | |
CN111445319A (en) | Voucher generation method and device, computer equipment and storage medium | |
CN111796851B (en) | Client base library updating method and device, electronic equipment and storage medium | |
CN113434063B (en) | Information display method, device and equipment | |
CN116301758B (en) | Rule editing method, device, equipment and medium based on event time points | |
CN112506590A (en) | Interface calling method and device and electronic equipment | |
CN116185425B (en) | Event flow arrangement method, device, equipment and medium based on node combination | |
CN114296789B (en) | Business processing method, device, equipment and storage medium based on full-process configuration | |
CN111464429A (en) | WeChat applet multi-item compatible sharing method, system, storage medium and equipment | |
CN113885886A (en) | Method, device, system and storage medium for processing activity service | |
CN115269040B (en) | Tenant business application expanding method, device and system | |
CN111045983A (en) | Nuclear power station electronic file management method and device, terminal equipment and medium | |
CN117369774A (en) | Flow arranging method and device and electronic equipment | |
CN116991547A (en) | Transaction execution method, device, terminal equipment and storage medium based on sub-transaction | |
CN115576624A (en) | Programming framework optimization method, system, terminal equipment and storage medium | |
CN113806327A (en) | Database design method and device and related equipment | |
US20230281529A1 (en) | Business behavior management system and business behavior management method | |
CN112199428B (en) | Application management system, method and terminal equipment of functional data block | |
CN114217802A (en) | Page automatic generation method and device, server and electronic equipment | |
CN111414162B (en) | Data processing method, device and equipment thereof |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |