CN109767316A - Regular configuration method, device, computer equipment and storage medium - Google Patents
Regular configuration method, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN109767316A CN109767316A CN201811535574.3A CN201811535574A CN109767316A CN 109767316 A CN109767316 A CN 109767316A CN 201811535574 A CN201811535574 A CN 201811535574A CN 109767316 A CN109767316 A CN 109767316A
- Authority
- CN
- China
- Prior art keywords
- label
- parameter type
- rule
- rule list
- relevant 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 238000004590 computer program Methods 0.000 claims description 24
- 238000010586 diagram Methods 0.000 description 6
- 230000004048 modification Effects 0.000 description 6
- 238000012986 modification Methods 0.000 description 6
- 230000008901 benefit Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 241000208340 Araliaceae Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
This application involves data processing, a kind of regular configuration method, device, computer equipment and storage medium are provided.Method includes: the first object service label and first object parameter type for receiving input;Label rule list is obtained, using first object service label as current business label;Obtain the corresponding relevant parameter type of current business label;The step of when relevant parameter type and first object parameter type mismatch, regarding relevant parameter type as current business label, repeating the corresponding relevant parameter type of the acquisition current business label from label rule list;Until there is no the relevant parameter types with first object parameter type match in label rule list, then establish first object service label goal rule corresponding with first object parameter type, it will be in incidence relation and goal rule the write-in label rule list of first object service label and first object parameter type, by introducing the service label with rule match, it realizes iterative search, improves regular Disposing rate.
Description
Technical field
This application involves field of computer technology, more particularly to a kind of regular configuration method, device, computer equipment and
Storage medium.
Background technique
The drools regulation engine that industry has at present uses single simple rule, but due to business in practical business scene
The complexity of rule is far longer than the configuration of drools support, therefore rule can only be write extremely by code.
Traditional rule configuration causes rule to lack flexibility in configuration, causes because the degree of business rule is complicated
Regular allocative efficiency is too low.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide a kind of rule configuration that can be improved regular allocative efficiency
Method, apparatus, computer equipment and storage medium.
A kind of rule configuration method, which comprises
Receive the first object service label and first object parameter type of user's input;
Label rule list is obtained, using the first object service label as current business label;
Work as described in there are when the current business label, obtained from the label rule list in the label rule list
The corresponding relevant parameter type of preceding service label;
When the relevant parameter type and the first object parameter type mismatch, the relevant parameter type is made
For current business label, return described when, there are when the current business label, being advised from the label in the label rule list
The step of corresponding relevant parameter type of the current business label is then obtained in table;
Until the relevant parameter type with the first object parameter type match is not present in the label rule list, then
First object service label goal rule corresponding with first object parameter type is established, by the first object business mark
Label are written in the label rule list with the incidence relation of first object parameter type and the goal rule.
In one of the embodiments, after the acquisition label rule list, further includes:
Obtain the service label in label rule list;
According to the service label, label list is formed in operation pages, includes the service label in the label list.
Label rule list is obtained in one of the embodiments, using the first object service label as current business
After label, comprising:
When in the label rule list be not present the current business label when, establish the first object service label with
The corresponding goal rule of first object parameter type, by being associated with for the first object service label and first object parameter type
Relationship and the goal rule are written in the label rule list.
Method in one of the embodiments, further include:
It receives relevant parameter type and updates request, the relevant parameter type updates request and carries the second target service label
With relevant parameter type more new data;
The corresponding second relevant parameter type of the second target service label is obtained from the label rule list;
According to the relevant parameter type more new data to the second relevant parameter type, the second target service mark
At least one of rule corresponding with the second relevant parameter type is signed to modify.
Method in one of the embodiments, further include:
The request of associated services tag update is received, the associated services tag update request carries the second target component type
With associated services tag update data;
It is obtained from the label rule list and tells the corresponding associated services label of the second target component type;
According to the associated services tag update data to the associated services label, the second target component type with
At least one of corresponding rule of the associated services label is modified.
A kind of rule configuration device, described device include:
Intended recipient module, for receiving the first object service label and first object parameter type of user's input;
Label acquisition module, for obtaining label rule list, using the first object service label as current business mark
Label;
Relevant parameter module, for when in the label rule list there are when the current business label, from the label
The corresponding relevant parameter type of the current business label is obtained in rule list;
Parameter matching module is used for when the relevant parameter type and first object parameter type mismatch, will
The relevant parameter type returns described when there are the current business marks in the label rule list as current business label
When label, the step of corresponding relevant parameter type of the current business label is obtained from the label rule list;
Policy Updates module, for until being not present and the first object parameter type match in the label rule list
Relevant parameter type, then establish first object service label goal rule corresponding with first object parameter type, will
The incidence relation and the goal rule of the first object service label and first object parameter type are written the label and advise
Then in table.
In one embodiment, the label acquisition module includes:
Tag reader unit, for obtaining the service label in label rule list;
Label information unit, for forming label list in operation pages, being wrapped in the label list according to the service label
Include the service label.
In one embodiment, described device further include:
Tag update module is used for when the current business label is not present in the label rule list, described in foundation
First object service label goal rule corresponding with first object parameter type, by the first object service label and first
The incidence relation of target component type and the goal rule are written in the label rule list.
In one embodiment, described device further include:
Parameter request module updates request for receiving relevant parameter type, and the relevant parameter type updates request and takes
Band the second target service label and relevant parameter type more new data;
Corresponding parameter module, for obtaining the second target service label corresponding second from the label rule list
Relevant parameter type;
Label rule module, for according to the relevant parameter type more new data to the second relevant parameter type,
At least one of second target service label rule corresponding with the second relevant parameter type is modified.
In one embodiment, described device further include:
Tag request module, for receiving the request of associated services tag update, the associated services tag update request is taken
Band the second target component type and associated services tag update data;
Corresponding label module tells the corresponding association of the second target component type for obtaining from the label rule list
Service label;
Parameter rule module, for according to the associated services tag update data to the associated services label, described
At least one of second target component type rule corresponding with the associated services label is modified.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing
Device performs the steps of when executing the computer program
Receive the first object service label and first object parameter type of user's input;
Label rule list is obtained, using the first object service label as current business label;
Work as described in there are when the current business label, obtained from the label rule list in the label rule list
The corresponding relevant parameter type of preceding service label;
When the relevant parameter type and the first object parameter type mismatch, the relevant parameter type is made
For current business label, return described when, there are when the current business label, being advised from the label in the label rule list
The step of corresponding relevant parameter type of the current business label is then obtained in table;
Until the relevant parameter type with the first object parameter type match is not present in the label rule list, then
First object service label goal rule corresponding with first object parameter type is established, by the first object business mark
Label are written in the label rule list with the incidence relation of first object parameter type and the goal rule.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor
It is performed the steps of when row
Receive the first object service label and first object parameter type of user's input;
Label rule list is obtained, using the first object service label as current business label;
Work as described in there are when the current business label, obtained from the label rule list in the label rule list
The corresponding relevant parameter type of preceding service label;
When the relevant parameter type and the first object parameter type mismatch, the relevant parameter type is made
For current business label, return described when, there are when the current business label, being advised from the label in the label rule list
The step of corresponding relevant parameter type of the current business label is then obtained in table;
Until the relevant parameter type with the first object parameter type match is not present in the label rule list, then
First object service label goal rule corresponding with first object parameter type is established, by the first object business mark
Label are written in the label rule list with the incidence relation of first object parameter type and the goal rule.
Above-mentioned rule configuration method, device, computer equipment and storage medium, by the first object for receiving user's input
Service label and first object parameter type, and label rule list is obtained, it is connect according to the service label matching in label rule list
The first object service label of receipts, and the corresponding relevant parameter type of first object service label in label rule list is read, when
When relevant parameter type mismatches first object parameter type, using relevant parameter type as new service label, and phase is read
Parameter type is answered, and repeats this operation and is iterated lookup, until having read all parameter types.It is all when having read
Parameter type when being also not matched to first object parameter type, then establish first object service label and first object parameter
The corresponding goal rule of type writes first object service label and the incidence relation and goal rule of first object parameter type
Enter in label rule list.The service label that can be matched by introducing with rule, and by using parameter information as new industry
Business label realizes iterative search, and is directly taken full advantage of between service label and rule according to service label configuration rule
Connection, so that rule configuration is more flexible, to improve regular Disposing rate.
Detailed description of the invention
Fig. 1 is the application scenario diagram of regular configuration method in one embodiment;
Fig. 2 is the flow diagram of rule configuration in one embodiment;
Fig. 3 is the flow diagram that label rule step is obtained in one embodiment;
Fig. 4 is the flow diagram of tag update step in one embodiment;
Fig. 5 is the structural block diagram of regular configuration device in one embodiment;
Fig. 6 is the internal structure chart of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not
For limiting the application.
Rule configuration method provided by the present application, can be applied in application environment as shown in Figure 1.Fig. 1 is a reality
Apply the applied environment figure of regular configuration method operation in example.As shown in Figure 1, the application environment includes terminal 110, service server
120.It is communicated between terminal, each server by network, communication network can be wireless or wireline communication network, example
Such as IP network, cellular mobile communication networks, wherein the number of terminal and server is unlimited.
Wherein, terminal 110 can be, but not limited to be various personal computers, laptop, smart phone, tablet computer
With portable wearable device.Server can with the server cluster of independent server either multiple servers composition come
It realizes.Storage has the business information on basis in service server 120, and same user can be believed by 110 incoming traffic of terminal
Breath, then the business information that user inputs is uploaded to 120 kinds of service server by terminal 110 and is stored.It is stored in terminal 110
There is label rule list, which can also deposit in service server 120.When terminal 110 receives user's input
Target service label and when target component type, can read label rule list, after finding target service label, continue to search
Target component type, when searching out target component type, terminal 110 can be prompted in operation interface, and user can select
It selects using the business information in service server 120 or inputs new business information, terminal 110 can read user's selection
Business information, and handled according to target service label rule corresponding with target component type, it obtains meeting target component
The target service information of type.If there are target service label in label rule list, and terminal 110 is by by relevant parameter
Type is returned when, there are when current business label, obtaining from label rule list in label rule list as current business label
The step of current business label corresponding relevant parameter type, until all relevant parameter types has been looked for not find target
Parameter type, then need to receive the target service label rule corresponding with target component type of user's input, and terminal 110 can incite somebody to action
Target component type, target service label rule corresponding with target component type are all stored in corresponding position in label rule list
It sets, thus the configuration of implementation rule.Rule configuration method provided by the present application, both can be as described above, directly in terminal 110
Middle completion directly can also finish into rule configuration in service server 120, be shown eventually by terminal 110.
In one embodiment, as shown in Fig. 2, providing a kind of regular configuration method, it is applied in Fig. 1 in this way
It is illustrated for terminal, comprising the following steps:
Step 210, the first object service label and first object parameter type of user's input are received.
Wherein, first object service label can be user and input customized label, be also possible to have in business information
's.What customized label here referred to, it is just getable to need to carry out operation according to the information that has in business information, together
When, such label is in input, it is also necessary to input specific calculation step;Have in business information, for example, the product in market and
Speech, existing business information includes: name of product, product number, product price, product cost.Using product price as business
Label is then to have in business information, and if using product profit as service label, it is necessary to which product profit is equal to product
The calculation step that price subtracts product cost also inputs, and product profit this service label at this time is exactly that business personnel is customized
Label.First parameter type is obtained after business information carries out operation by rule corresponding with first object service label
The title of the information arrived.For example, creditor's title is business information, and the amount of the loan is service label, and is provided a loan in loan project
The credit worthiness of people is then parameter type, and the lending priority grade of the same creditor is also parameter type.
Specifically, business information is stored in terminal, terminal provides an operation interface, and business personnel is in operation interface
According to prompt input first object service label and first object parameter type, customized first object service label is being inputted
When, need the specific input mode provided according to terminal to be operated.
Step 220, label rule list is obtained, using first object service label as current business label.
Wherein, what is stored in label list is already existing service label.Stored in label rule list have parameter type,
The rule of correspondence of service label and parameter type.
Specifically, terminal receive user input first object service label and first object parameter type after,
Label rule list can be obtained from local, firstly, terminal can read service label all in label list, and the business that will be read
Label is matched with first object service label, and the purpose is to search in label list with the presence or absence of first object service label.
First object service label at this time is exactly current business label.
Step 230, when there are when current business label, current business mark is obtained from label rule list in label rule list
Sign corresponding relevant parameter type.
Specifically, when there are there are first in label rule list when current business label, that is, referred in label rule list
Target service label, terminal can read again label rule list, and by current business label in label rule list corresponding pass
Connection parameter type is all read out, then first object parameter type and relevant parameter type is compared one by one, purpose
It is to look in the corresponding relevant parameter information of current business label in label rule list with the presence or absence of first object parameter type.
Step 240, when relevant parameter type and first object parameter type mismatch, using relevant parameter type as working as
Preceding service label is returned when there are when current business label, current business mark is obtained from label rule list in label rule list
The step of signing corresponding relevant parameter type.
Specifically, when relevant parameter type all in label list all mismatches first object parameter type, i.e. label
First object parameter type is not present in rule list in the corresponding relevant parameter type of first object service label, terminal will be
Relevant parameter type as current business label, i.e., by first object service label in label rule list corresponding relevant parameter
Type reads the corresponding relevant parameter type of current business label as new current business label in label rule list,
Terminal again matches relevant parameter type with first object parameter information, and its purpose is to search first object business mark
When signing corresponding relevant parameter type as current business label, join in corresponding relevant parameter type with the presence or absence of first object
Several classes of types.Terminal can be repeated using relevant parameter type each time as the operation of new current business label always.
Step 250, until the relevant parameter type with first object parameter type match is not present in label rule list, then
First object service label goal rule corresponding with first object parameter type is established, by first object service label and first
In incidence relation and goal rule the write-in label rule list of target component type.
Specifically, terminal can be repeated using relevant parameter type each time as the behaviour of new current business label always
Make, until having read all parameter types, is not all indicated that with the relevant parameter type of first object parameter type match
Contacting between first object service label and the first parameter type is not present in the label rule list.Terminal can receive use at this time
The first object service label goal rule corresponding with first object parameter type of family input, and by first object service label
In incidence relation and goal rule the write-in label rule list of first object parameter type, label rule list is updated.
In above-mentioned rule configuration method, terminal is joined by the first object service label and first object for receiving user's input
Several classes of types, and label rule list is obtained, received first object service label is matched according to the service label in label rule list,
And the corresponding relevant parameter type of first object service label in label rule list is read, when relevant parameter type mismatches first
When target component type, using relevant parameter type as new service label, and relevant parameter type is read, and repeats this operation
It is iterated lookup, until having read all parameter types.It is also not matched to when having read all parameter types
When first object parameter type, then first object service label goal rule corresponding with first object parameter type is established, it will
In incidence relation and goal rule the write-in label rule list of first object service label and first object parameter type.It can lead to
The service label for introducing and matching with rule is crossed, and by realizing iterative search for parameter information as new service label, and
Directly according to service label configuration rule, contacting between service label and rule is taken full advantage of, so that rule configuration is more
Flexibly, to improve regular Disposing rate.
In one embodiment, after acquisition label rule list, further includes:
Step 232, the service label in label rule list is obtained.
Specifically, terminal can read service label whole in outgoing label rule list.
Step 234, according to service label, label list is formed in operation pages, includes service label in label list.
Specifically, terminal arranges whole service labels of reading to form a service label table, in operation interface
It is shown.
In the present embodiment, by directly showing the service label in label rule list, service label is improved
Search speed.
In one embodiment, obtain label rule list, using first object service label as current business label after,
Include:
Step 222, when current business label is not present in label rule list, first object service label and first are established
The corresponding goal rule of target component type, by the incidence relation and mesh of first object service label and first object parameter type
Mark rule is write in label rule list.
Specifically, when terminal does not find first object service label in the service label in label rule list, then
First object service label is not present in care label rule list, user is needed to input first object service label and the first mesh
The rule of correspondence of parameter type is marked, terminal receives the first object service label and first object parameter type of user's input
After the rule of correspondence, the rule, first object service label and first object parameter type are stored in label rule list
Corresponding place.
In the present embodiment, by service label form corresponding with rule, directly pass through the business in label rule list
Label is confirmed whether the efficiency for determining whether to improve rule configuration in the presence of rule there are first object service label.
In one embodiment, method further include:
It receives relevant parameter type and updates request, relevant parameter type updates request and carries the second target service label and pass
Join parameter type more new data;The corresponding second relevant parameter type of the second target service label is obtained from label rule list;
According to relevant parameter type more new data to the second relevant parameter type, the second target service label and the second relevant parameter type
At least one of corresponding rule is modified.
Wherein, relevant parameter type more new data can be and carry out to the corresponding parameter type of the second target service label
Modification, is also possible to modify to the corresponding rule of the second target service label, can also be while to the second target service
The corresponding parameter type of label and the corresponding rule of the second target service label are all modified.Here modification include increase,
At least one of delete or revise.
Specifically, the relevant parameter type that terminal receives user updates request, and receives the second target of user's input
Service label and relevant parameter type more new data.Service label in terminal reads tag rule list, and according to the industry of reading
Business the second target service of tag match label;When service label matches the second target service label, terminal reads tag rule
The second relevant parameter type corresponding with the second target service label, the second target service label and the second relevant parameter in table
The corresponding rule of type, and the second relevant parameter type and rule are shown;Terminal is according to the relevant parameter type of user
Corresponding second relevant parameter type, the second target service label in label rule list are deleted, increase or revised to more new data
Rule corresponding with the second relevant parameter type, forms new label rule list.
In the present embodiment, by the second target service label directly to the second relevant parameter type, the second target service mark
It signs rule corresponding with the second relevant parameter type to modify, improves regular allocative efficiency.
In one embodiment, method further include:
The request of associated services tag update is received, the request of associated services tag update carries the second target component type and pass
Join service label more new data;It is obtained from label rule list and tells the corresponding associated services label of the second target component type;
According to associated services tag update data to associated services label, the second target component type rule corresponding with associated services label
At least one of then modify.
Wherein, associated services tag update data can be and carry out to the corresponding service label of the second target component type
Modification, is also possible to modify to the corresponding rule of the second target component type, can also be while to the second target component
The corresponding service label of type and the corresponding rule of the second target component type are all modified.Here modification include increase,
At least one of delete or revise.
Specifically, terminal receives the associated services tag update request of user, and receives the second target of user's input
Parameter type and associated services tag update data.Parameter type in terminal reads tag rule list, and according to the ginseng of reading
Number the second target component of type matching type;When parameter type match the second target component type, terminal reads tag rule
Associated services label corresponding with the second target component type, the second target component type are corresponding with associated services label in table
Rule, and associated services label and rule are shown;Terminal is deleted according to the associated services tag update data of user
Remove, increase or revise corresponding associated services label in label rule list, the second target component type and associated services label
Corresponding rule forms new label rule list.
In the present embodiment, by the second target component type directly to associated services label, the second target component type with
The corresponding rule of associated services label is modified, and regular allocative efficiency is improved.
It should be understood that although each step in the flow chart of Fig. 2-4 is successively shown according to the instruction of arrow,
These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps
Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-4
Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps
Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively
It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately
It executes.
In one embodiment, as shown in figure 5, providing a kind of regular configuration device, including intended recipient module 310,
Label acquisition module 320, relevant parameter module 330, parameter matching module 340 and Policy Updates module 350, in which:
Intended recipient module 310, for receiving the first object service label and first object parameter type of user's input.
Label acquisition module 320, for obtaining label rule list, using first object service label as current business mark
Label.
Relevant parameter module 330, for when, there are when current business label, being obtained from label rule list in label rule list
Take the corresponding relevant parameter type of current business label.
Parameter matching module 340, for when relevant parameter type and first object parameter type mismatch, association to be joined
Several classes of types are returned when, there are when current business label, obtaining from label rule list in label rule list as current business label
The step of taking current business label corresponding relevant parameter type.
Policy Updates module 350, for until there is no the passes with first object parameter type match in label rule list
Join parameter type, then first object service label goal rule corresponding with first object parameter type is established, by first object
In incidence relation and goal rule the write-in label rule list of service label and first object parameter type.
In one embodiment, label acquisition module 320 includes:
Tag reader unit, for obtaining the service label in label rule list.
Label information unit, for forming label list in operation pages, including business mark in label list according to service label
Label.
In one embodiment, device further include:
Tag update module, for establishing first object business when current business label is not present in label rule list
Label goal rule corresponding with first object parameter type, by the pass of first object service label and first object parameter type
In connection relationship and goal rule write-in label rule list.
In one embodiment, device further include:
Parameter request module updates request for receiving relevant parameter type, and relevant parameter type updates request and carries the
Two target service labels and relevant parameter type more new data.
Corresponding parameter module, for obtaining corresponding second relevant parameter of the second target service label from label rule list
Type.
Label rule module is used for according to relevant parameter type more new data to the second relevant parameter type, the second target
At least one of service label rule corresponding with the second relevant parameter type is modified.
In one embodiment, device further include:
Tag request module, for receiving the request of associated services tag update, the request of associated services tag update carries the
Two target component types and associated services tag update data.
Corresponding label module tells the corresponding associated services of the second target component type for obtaining from label rule list
Label.
Parameter rule module is used for according to associated services tag update data to associated services label, the second target component
At least one of type rule corresponding with associated services label is modified.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction
Composition can be as shown in Figure 6.The computer equipment include by system bus connect processor, memory, network interface and
Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment
Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data
Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating
The database of machine equipment is used for storage rule configuration-related data.The network interface of the computer equipment is used for and external terminal
It is communicated by network connection.To realize a kind of regular configuration method when the computer program is executed by processor.
It will be understood by those skilled in the art that structure shown in Fig. 6, only part relevant to application scheme is tied
The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment
It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor are provided, which is stored with
Computer program, the processor perform the steps of the first object business mark for receiving user's input when executing computer program
Label and first object parameter type;Label rule list is obtained, using first object service label as current business label;Work as label
There are when current business label in rule list, the corresponding relevant parameter type of current business label is obtained from label rule list;
When relevant parameter type and first object parameter type mismatch, using relevant parameter type as current business label, return
When there are when current business label, the corresponding relevant parameter of current business label is obtained from label rule list in label rule list
The step of type;Until there is no the relevant parameter type with first object parameter type match, then being established in label rule list
First object service label goal rule corresponding with first object parameter type, by first object service label and first object
In incidence relation and goal rule the write-in label rule list of parameter type.
In one embodiment, computer equipment obtains label rule list, and processor is also realized when executing computer program
Following steps: the service label in label rule list is obtained;According to service label, label list, label list are formed in operation pages
In include service label.
In one embodiment, computer equipment using first object service label as current business label, hold by processor
It is also performed the steps of when row computer program when current business label is not present in label rule list, establishes first object
Service label goal rule corresponding with first object parameter type, by first object service label and first object parameter type
Incidence relation and goal rule write-in label rule list in.
In one embodiment, it is also performed the steps of when processor executes computer program and receives relevant parameter type
Request is updated, relevant parameter type updates request and carries the second target service label and relevant parameter type more new data;From mark
The corresponding second relevant parameter type of the second target service label is obtained in label rule list;According to relevant parameter type more new data
To at least one of the second relevant parameter type, the second target service label rule corresponding with the second relevant parameter type into
Row modification.
In one embodiment, it is also performed the steps of when processor executes computer program and receives associated services label
Request is updated, the request of associated services tag update carries the second target component type and associated services tag update data;From mark
It is obtained in label rule list and tells the corresponding associated services label of the second target component type;According to associated services tag update data
It modifies at least one of associated services label, the second target component type rule corresponding with associated services label.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
Machine program performs the steps of the first object service label and first object parameter for receiving user's input when being executed by processor
Type;Label rule list is obtained, using first object service label as current business label;It is current when existing in label rule list
When service label, the corresponding relevant parameter type of current business label is obtained from label rule list;When relevant parameter type with
When first object parameter type mismatches, using relevant parameter type as current business label, returns and deposited when in label rule list
In current business label, the step of corresponding relevant parameter type of current business label is obtained from label rule list;Until
There is no the relevant parameter type with first object parameter type match in label rule list, then first object service label is established
Goal rule corresponding with first object parameter type, by being associated with for first object service label and first object parameter type
In system and goal rule write-in label rule list.
In one embodiment, computer equipment obtains label rule list, and reality is gone back when computer program is executed by processor
Existing following steps: the service label in label rule list is obtained;According to service label, label list, label are formed in operation pages
It include service label in table.
In one embodiment, computer equipment is using first object service label as current business label, computer journey
It is also performed the steps of when sequence is executed by processor when current business label is not present in label rule list, establishes the first mesh
Service label goal rule corresponding with first object parameter type is marked, by first object service label and first object parameter class
In incidence relation and goal rule the write-in label rule list of type.
In one embodiment, it is also performed the steps of when computer program is executed by processor and receives relevant parameter class
Type updates request, and relevant parameter type updates request and carries the second target service label and relevant parameter type more new data;From
The corresponding second relevant parameter type of the second target service label is obtained in label rule list;Number is updated according to relevant parameter type
According to at least one of the second relevant parameter type, the second target service label rule corresponding with the second relevant parameter type
It modifies.
In one embodiment, it is also performed the steps of when computer program is executed by processor and receives associated services mark
Label update request, and the request of associated services tag update carries the second target component type and associated services tag update data;From
It is obtained in label rule list and tells the corresponding associated services label of the second target component type;According to associated services tag update number
It is repaired according to at least one of associated services label, the second target component type rule corresponding with associated services label
Change.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,
To any reference of memory, storage, database or other media used in each embodiment provided herein,
Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application
Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.
Claims (10)
1. a kind of rule configuration method, which comprises
Receive the first object service label and first object parameter type of user's input;
Label rule list is obtained, using the first object service label as current business label;
When, there are when the current business label, the current industry being obtained from the label rule list in the label rule list
The corresponding relevant parameter type of business label;
When the relevant parameter type and the first object parameter type mismatch, using the relevant parameter type as working as
Preceding service label, return it is described when in the label rule list there are when the current business label, from the label rule list
Middle the step of obtaining the current business label corresponding relevant parameter type;
Until there is no the relevant parameter type with the first object parameter type match, then being established in the label rule list
First object service label goal rule corresponding with first object parameter type, by the first object service label with
The incidence relation of first object parameter type and the goal rule are written in the label rule list.
2. the method according to claim 1, wherein after the acquisition label rule list, further includes:
Obtain the service label in label rule list;
According to the service label, label list is formed in operation pages, includes the service label in the label list.
3. the method according to claim 1, wherein label rule list is obtained, by the first object business mark
Label are as after current business label, comprising:
When the current business label is not present in the label rule list, the first object service label and first are established
The corresponding goal rule of target component type, by the incidence relation of the first object service label and first object parameter type
It is written in the label rule list with the goal rule.
4. the method according to claim 1, wherein the method also includes:
It receives relevant parameter type and updates request, the relevant parameter type updates request and carries the second target service label and pass
Join parameter type more new data;
The corresponding second relevant parameter type of the second target service label is obtained from the label rule list;
According to the relevant parameter type more new data to the second relevant parameter type, the second target service label with
At least one of corresponding rule of the second relevant parameter type is modified.
5. the method according to claim 1, wherein the method also includes:
The request of associated services tag update is received, the associated services tag update request carries the second target component type and pass
Join service label more new data;
It is obtained from the label rule list and tells the corresponding associated services label of the second target component type;
According to the associated services tag update data to the associated services label, the second target component type with it is described
At least one of corresponding rule of associated services label is modified.
6. a kind of rule configuration device, which is characterized in that described device includes:
Intended recipient module, for receiving the first object service label and first object parameter type of user's input;
Label acquisition module, for obtaining label rule list, using the first object service label as current business label;
Relevant parameter module, for when in the label rule list there are when the current business label, from the label rule
The corresponding relevant parameter type of the current business label is obtained in table;
Parameter matching module is used for when the relevant parameter type and first object parameter type mismatch, will be described
Relevant parameter type returns described when there are the current business labels in the label rule list as current business label
When, the step of corresponding relevant parameter type of the current business label is obtained from the label rule list;
Policy Updates module, for until there is no the passes with the first object parameter type match in the label rule list
Join parameter type, then establishes first object service label goal rule corresponding with first object parameter type, it will be described
The label rule list is written in the incidence relation and the goal rule of first object service label and first object parameter type
In.
7. device according to claim 6, which is characterized in that the label acquisition module includes:
Tag reader unit, for obtaining the service label in label rule list;
Label information unit, for forming label list in operation pages, including institute in the label list according to the service label
State service label.
8. device according to claim 6, which is characterized in that described device further include:
Tag update module, for establishing described first when the current business label is not present in the label rule list
Target service label goal rule corresponding with first object parameter type, by the first object service label and first object
The incidence relation of parameter type and the goal rule are written in the label rule list.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists
In the step of processor realizes any one of claims 1 to 5 the method when executing the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The step of any one of claims 1 to 5 the method is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811535574.3A CN109767316A (en) | 2018-12-14 | 2018-12-14 | Regular configuration method, device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811535574.3A CN109767316A (en) | 2018-12-14 | 2018-12-14 | Regular configuration method, device, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109767316A true CN109767316A (en) | 2019-05-17 |
Family
ID=66451900
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811535574.3A Pending CN109767316A (en) | 2018-12-14 | 2018-12-14 | Regular configuration method, device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109767316A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110347404A (en) * | 2019-06-28 | 2019-10-18 | 北京你财富计算机科技有限公司 | A kind of program switch control method, device, electronic equipment |
CN111049855A (en) * | 2019-12-25 | 2020-04-21 | 北京天融信网络安全技术有限公司 | Label-based policy configuration method and device |
CN112230887A (en) * | 2020-09-11 | 2021-01-15 | 重庆誉存大数据科技有限公司 | Script configuration system applied to indexes in decision engine |
CN112417020A (en) * | 2020-11-25 | 2021-02-26 | 武汉联影医疗科技有限公司 | Method and device for realizing service expansion, computer equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090089322A1 (en) * | 2007-09-28 | 2009-04-02 | Mor Naaman | Loading predicted tags onto electronic devices |
CN107277006A (en) * | 2017-06-15 | 2017-10-20 | 中国银行股份有限公司 | A kind of message parsing method and device |
CN107992585A (en) * | 2017-12-08 | 2018-05-04 | 北京百度网讯科技有限公司 | Universal tag method for digging, device, server and medium |
CN108228116A (en) * | 2017-12-31 | 2018-06-29 | 上海智引信息科技有限公司 | Label generating method, computer readable storage medium and system |
CN108229614A (en) * | 2017-12-31 | 2018-06-29 | 上海智引信息科技有限公司 | Label generating method, computer readable storage medium and system |
CN108345677A (en) * | 2018-02-13 | 2018-07-31 | 销冠网络科技有限公司 | Data processing method and device for business development |
CN108628947A (en) * | 2018-04-02 | 2018-10-09 | 阿里巴巴集团控股有限公司 | A kind of business rule matched processing method, device and processing equipment |
-
2018
- 2018-12-14 CN CN201811535574.3A patent/CN109767316A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090089322A1 (en) * | 2007-09-28 | 2009-04-02 | Mor Naaman | Loading predicted tags onto electronic devices |
CN107277006A (en) * | 2017-06-15 | 2017-10-20 | 中国银行股份有限公司 | A kind of message parsing method and device |
CN107992585A (en) * | 2017-12-08 | 2018-05-04 | 北京百度网讯科技有限公司 | Universal tag method for digging, device, server and medium |
CN108228116A (en) * | 2017-12-31 | 2018-06-29 | 上海智引信息科技有限公司 | Label generating method, computer readable storage medium and system |
CN108229614A (en) * | 2017-12-31 | 2018-06-29 | 上海智引信息科技有限公司 | Label generating method, computer readable storage medium and system |
CN108345677A (en) * | 2018-02-13 | 2018-07-31 | 销冠网络科技有限公司 | Data processing method and device for business development |
CN108628947A (en) * | 2018-04-02 | 2018-10-09 | 阿里巴巴集团控股有限公司 | A kind of business rule matched processing method, device and processing equipment |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110347404A (en) * | 2019-06-28 | 2019-10-18 | 北京你财富计算机科技有限公司 | A kind of program switch control method, device, electronic equipment |
CN111049855A (en) * | 2019-12-25 | 2020-04-21 | 北京天融信网络安全技术有限公司 | Label-based policy configuration method and device |
CN111049855B (en) * | 2019-12-25 | 2022-02-01 | 北京天融信网络安全技术有限公司 | Label-based policy configuration method and device |
CN112230887A (en) * | 2020-09-11 | 2021-01-15 | 重庆誉存大数据科技有限公司 | Script configuration system applied to indexes in decision engine |
CN112230887B (en) * | 2020-09-11 | 2023-11-14 | 重庆誉存大数据科技有限公司 | Script configuration system applied to index in decision engine |
CN112417020A (en) * | 2020-11-25 | 2021-02-26 | 武汉联影医疗科技有限公司 | Method and device for realizing service expansion, computer equipment and storage medium |
CN112417020B (en) * | 2020-11-25 | 2023-08-18 | 武汉联影医疗科技有限公司 | Service expansion realization method, device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109767316A (en) | Regular configuration method, device, computer equipment and storage medium | |
CN109359939A (en) | Business datum method of calibration, device, computer equipment and storage medium | |
CN109711802A (en) | Item information processing method, device, computer equipment and storage medium | |
CN108874926A (en) | Mass data inquiry method, device, computer equipment and storage medium | |
CN108268375A (en) | Applied program testing method, device, computer equipment and storage medium | |
CN107230028A (en) | Vehicle path planning method and device | |
CN110209652A (en) | Tables of data moving method, device, computer equipment and storage medium | |
CN109788031A (en) | Business datum acquisition methods, device, computer equipment and storage medium | |
CN109558404A (en) | Date storage method, device, computer equipment and storage medium | |
CN108629567A (en) | Declaration information processing method, device, computer equipment and storage medium | |
CN108334625A (en) | Processing method, device, computer equipment and the storage medium of user information | |
CN111859470A (en) | Business data chaining method and device | |
CN109447780A (en) | Information push method, device, computer equipment and storage medium | |
CN108874661A (en) | Test mapping relations library generating method, device, computer equipment and storage medium | |
CN110290487A (en) | Note transmission method, device, computer equipment and storage medium | |
CN110109656A (en) | Interface analogy method, device, computer equipment and storage medium | |
CN108921680A (en) | Financial data accreditation method, apparatus, computer equipment and storage medium | |
CN107809332A (en) | Compound interface configures and compound interface call method, device | |
CN108510238A (en) | Compensation data processing method, device, computer equipment and storage medium | |
CN109409865B (en) | Payment quota synchronous adjustment method, device, computer equipment and storage medium | |
CN106096904A (en) | A kind of schedule adding method and mobile terminal | |
CN109361628A (en) | Message assemble method, device, computer equipment and storage medium | |
CN104301490A (en) | Method for associating communication object with record and smart mobile terminal | |
CN107818512A (en) | Produce method, apparatus, equipment and the computer-readable recording medium of declaration form certification | |
CN110135943A (en) | Products Show method, apparatus, computer equipment and storage medium |
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 |