Summary of the invention
In view of above-mentioned, present disclose provides a kind of business rule processing method and processing devices.Utilize the business rule processing side
Method and device, can by the other of rule type of already existing the first business rule for being suitable for the first application scenarios of determination
Be applicable in the second application scenarios, and using from the first application scenarios to the field transformation rule of other applicable second application scenarios come
Field conversion is carried out to obtain suitable for other applicable second application scenarios to each field in the first business rule
Second business rule, it is possible thereby to obtain can be adapted for other applicable second applied fields based on existing first business rule
Second business rule of scape, without rewriting, to improve the versatility of business rule and the formulation of business rule
Efficiency.
According to one aspect of the disclosure, a kind of method for business rule processing is provided, comprising: based on for the
The rule type of first business rule of one application scenarios, determine first business rule it is applicatory at least one second answer
With scene, first business rule includes at least one field, at least one described field includes at least rule type field
With application scenarios field;Each field in first business rule is obtained from first application scenarios to described at least one
The field transformation rule of each second application scenarios in a second application scenarios;And rule are converted based on acquired field
Then, each field of first business rule is executed from first application scenarios at least one described second applied field
The fields of each second application scenarios in scape is converted, to obtain at least one second business rule, it is described at least one second
The second business rule of each of business rule corresponds to a kind of second application scenarios.
Optionally, in an example of above-mentioned aspect, the method can also include: by it is obtained at least one
Two business rules recommend user.
Optionally, it in an example of above-mentioned aspect, is recommended by least one obtained second business rule
Before user, the method can also include: for each second business at least one obtained second business rule
Rule obtains at least one matching business rule, wherein by least one obtained second industry from business rule database
It includes: by each second business rule and correspondence of at least one obtained the second business rule that business rule, which recommends user,
At least one matching business rule recommend user.
Optionally, in an example of above-mentioned aspect, by each of at least one obtained the second business rule
Before second business rule and at least one corresponding matching business rule recommend user, the method can also include:
By at least one obtained second business rule each second business rule and it is corresponding at least one matching business
Rule is supplied to user, for selection by the user, wherein by each second business of at least one obtained the second business rule
It includes: to recommend the selected business rule of user that at least one regular and corresponding matching business rule, which recommends user,
User.
Optionally, in an example of above-mentioned aspect, each field in first business rule is being obtained from institute
State the field conversion rule for each second application scenarios that the first application scenarios are transformed at least one described second application scenarios
Before then, the method can also include: to judge in business rule database with the presence or absence of corresponding with first business rule
The second business rule for the second application scenarios some or all of at least one described second application scenarios;And
Exist in the business rule database corresponding with first business rule at least one described second application scenarios
In all the second business rules of the second application scenarios when, obtained from the business rule database it is described at least one the
Second business rule corresponding to two application scenarios.
Optionally, in an example of above-mentioned aspect, each field in first business rule is being obtained from institute
State the field conversion rule for each second application scenarios that the first application scenarios are transformed at least one described second application scenarios
Before then, the method can also include: in the business rule database in the presence of corresponding with first business rule
For the second application scenarios of part at least one described second application scenarios the second business rule when, from the business advise
The second business rule corresponding to second application scenarios of part is then obtained in database, wherein obtain first business
Each field in rule is transformed into each second at least one described second application scenarios from first application scenarios
The field transformation rule of application scenarios includes: to obtain each field in first business rule from first application scenarios
It is transformed into the field of each second application scenarios in the second application scenarios of residue at least one described second application scenarios
Transformation rule;And based on identified field transformation rule, each field of first business rule is executed from described
First application scenarios to each second application scenarios at least one described second application scenarios field convert, with obtain to
Few second business rule includes: based on acquired field transformation rule, to each field of first business rule
It executes and is converted from first application scenarios to the field of each second application scenarios in remaining second application scenarios, with
Obtain corresponding second business rule.
Optionally, in an example of above-mentioned aspect, the application scenarios are the application scenarios based on country, described the
One business rule includes at least Region field, and the field transformation rule for Region field is carried out based on regional similarity
Field conversion, the area similarity is ground regional indicated by the field value of the Region field based on first business rule
Area attribute determines.
Optionally, in an example of above-mentioned aspect, the region attribute includes at least one in following region attributes
Kind: regional geographical location;Regional national composition;Regional population's scale;Regional country's disturbance degree;With regional per capita income.
According to another aspect of the present disclosure, a kind of device for business rule processing is provided, comprising: application scenarios determine
Unit is configured as the rule type based on the first business rule for the first application scenarios, determines the first business rule
Then at least one second application scenarios applicatory, first business rule include at least one field, it is described at least one
Field includes at least rule type field and application scenarios field;Field transformation rule acquiring unit, is configured as described in acquisition
Each field in first business rule is each at least one described second application scenarios from first application scenarios
The field transformation rule of second application scenarios;And regular converting unit, it is configured as based on acquired field transformation rule,
Each field of first business rule is executed from first application scenarios at least one described second application scenarios
In each second application scenarios field conversion, to obtain at least one second business rule, at least one described second industry
The second business rule of each of business rule corresponds to a kind of second application scenarios.
Optionally, in an example of above-mentioned aspect, described device can also include: regular recommendation unit, be configured
For at least one obtained second business rule is recommended user.
Optionally, in an example of above-mentioned aspect, described device can also include: rule match unit, be configured
To be advised at least one obtained second business before at least one obtained second business rule is recommended user
Each second business rule in then obtains at least one matching business rule and the rule from business rule database
Then recommendation unit is configured as: by each second business rule of at least one obtained the second business rule and corresponding
At least one matching business rule recommends user.
Optionally, in an example of above-mentioned aspect, described device can also include: that rule provides unit, be configured
For by each second business rule of at least one obtained the second business rule and it is corresponding at least one matching industry
Before business rule recommends user, by each second business rule at least one obtained second business rule and right
At least one the matching business rule answered is supplied to user, and for selection by the user and the regular recommendation unit is configured as:
The selected business rule of user is recommended into user.
Optionally, in an example of above-mentioned aspect, described device can also include: judging unit, be configured as
Each field in first business rule is obtained from first application scenarios at least one described second application scenarios
In each second application scenarios field transformation rule before, judge in business rule database whether there is and described first
Corresponding the second industry for the second application scenarios some or all of at least one described second application scenarios of business rule
Business rule;And Rule unit, it is configured as existing and first business rule in the business rule database
When corresponding all the second business rules of the second application scenarios at least one described second application scenarios, from described
The second business rule corresponding at least one described second application scenarios is obtained in business rule database.
Optionally, in an example of above-mentioned aspect, the Rule unit is also configured to advise in the business
Then there is the part at least one described second application scenarios corresponding with first business rule the in database
When the second business rule of two application scenarios, it is right that the second application scenarios of part institute is obtained from the business rule database
The second business rule answered, wherein the field transformation rule acquiring unit is configured as: it obtains in first business rule
Each field the second applied field of residue at least one described second application scenarios is transformed into from first application scenarios
The field transformation rule of each second application scenarios in scape;And the regular converting unit is configured as: based on acquired
Field transformation rule, each field of first business rule is executed from first application scenarios to described remaining the
The field of each second application scenarios in two application scenarios is converted, to obtain corresponding second business rule.
According to another aspect of the present disclosure, a kind of calculating equipment is provided, comprising: at least one processor, and with it is described
The memory of at least one processor coupling, the memory store instruction, when described instruction is by least one described processor
When execution, so that at least one described processor executes the method for business rule processing as described above.
According to another aspect of the present disclosure, a kind of non-transitory machinable medium is provided, is stored with executable
Instruction, described instruction make the machine execute the method for business rule processing as described above upon being performed.
Specific embodiment
Theme described herein is discussed referring now to example embodiment.It should be understood that discussing these embodiments only
It is in order to enable those skilled in the art can better understand that being not to claim to realize theme described herein
Protection scope, applicability or the exemplary limitation illustrated in book.It can be in the protection scope for not departing from present disclosure
In the case of, the function and arrangement of the element discussed are changed.Each example can according to need, omit, substitute or
Add various processes or component.For example, described method can be executed according to described order in a different order, with
And each step can be added, omits or combine.In addition, feature described in relatively some examples is in other examples
It can be combined.
As used in this article, term " includes " and its modification indicate open term, are meant that " including but not limited to ".
Term "based" indicates " being based at least partially on ".Term " one embodiment " and " embodiment " expression " at least one implementation
Example ".Term " another embodiment " expression " at least one other embodiment ".Term " first ", " second " etc. may refer to not
Same or identical object.Here may include other definition, either specific or implicit.Unless bright in context
It really indicates, otherwise the definition of a term is consistent throughout the specification.
When existing business rule is formulated, prepared business rule is all to be suitable for some specific application scene.?
In this case, even if the business processing logic of business rule is all identical, the specific shape of the business rule under every kind of application scenarios
Formula also can be different.It is directed to different application scenarios as a result, in all identical situation of business processing logic of business rule,
It needs to rewrite new business rule for every kind of application scenarios, to require a great deal of time and energy, thus lead
The efficiency for causing business rule to formulate is bad.
In view of many business rules have versatility, it can be adapted for many different application scenarios, different applications
The business processing logic of used business rule is all identical under scene, the different specific manifestations for being only in that business rule
Form.In light of this situation, present disclose provides a kind of business rule processing schemes.In the business rule processing scheme, it is based on
Existing business rule determines that the business is advised using the applicable application scenarios corresponding relationship of the business rule-being pre-created
Then other application scene applicatory, and determine the current application scene and other application scene applicatory of the business rule
Between the field transformation rule for business rule field, then utilize determined field transformation rule by the business
Rule is converted to the correspondence business rule under each other application scene applicatory, so as to improve the logical of business rule
With property and the formulation efficiency of business rule.
Business rule processing method and processing device according to an embodiment of the present disclosure is described in detail below in conjunction with attached drawing.
Fig. 1 shows the flow chart of business rule processing method according to an embodiment of the present disclosure.
As shown in Figure 1, in block 110, based on the rule type of the first business rule for the first application scenarios, the is determined
One business rule at least one second application scenarios applicatory.In the disclosure, the first business rule may include at least one
A field, at least one described field include at least rule type field and application scenarios field.The rule type field is used
In the rule type information and application scenarios field for recording the business rule for recording application applied by the business rule
Scene.In the disclosure, business rule can be business transaction rule, business air control rule, service operation rule or other
Business process rule.Here, the first business rule can be by such as service operation personnel or business rule formulate personnel via
The business rule of input unit input or the business rule write via device is write.
Fig. 2 shows the example schematic diagrams of business rule according to an embodiment of the present disclosure.As shown in Fig. 2, business rule
200 be business transaction rule comprising 5 fields: rule type field 210, amount field 220, time field 230, area
Field 240 and application scenarios field 250.Rule type field 210 is used for the rule type information of record traffic rule 200.
Amount field 220 is used for the transaction amount Rule Information of record traffic trading rules 200.Time field 230 is used for record traffic
The exchange hour Rule Information of trading rules 200.It advises in transaction area of the Region field 240 for record traffic trading rules 200
Then information.Application scenarios field 250 is for application scenarios information applied by record traffic trading rules 200.Business rule 200
Each field have field value, for example, the field value of rule type field 210 be " being paid under line ", show business rule
200 business rule type is paid under line.The field value of amount field 220 is " amount of money >=100k ", shows business rule
The transaction amount of business transaction in 200 is more than or equal to 100k.The field value of time field 230 is " exchange hour >=16:00 ",
It shows that the exchange hour of the business transaction in business rule 200 is more than or equal to 16:00.The field value of Region field 240 is
" { Tibet, China, Xinjiang, China } " shows that the transaction area of the business transaction in business rule 200 is Tibet, China and China
Xinjiang.The field value of application scenarios field 250 is " China ", shows that business rule 200 is applied to China.
In an example of the disclosure, based on the rule type of the first business rule for the first application scenarios, really
Fixed first business rule at least one second application scenarios applicatory may include: the Regularia based on the first business rule
Type, from the applicable applicable application scenarios corresponding relation database of application scenarios mapping table/rule type-of rule type-
The middle applicable application scenarios for obtaining the rule type thereby determine that at least one second application applicatory of the first business rule
Scene.The applicable applicable application scenarios corresponding relationship number of application scenarios mapping table/rule type-of rule type-
It can be according to library and to be pre-created, such as formulate what personnel were pre-created by business personnel or business rule.It is closed in the correspondence
It is in table/corresponding relation database, rule type can be one-to-many corresponding pass with the corresponding relationship of applicable application scenarios
System, is also possible to the corresponding relationship of multi-to-multi.
In addition, in another example of the disclosure, the Regularia based on the first business rule for the first application scenarios
Type determines that the first business rule at least one second application scenarios applicatory may include: by the rule of the first business rule
Type is supplied to application scenarios and determines model to determine the applicable application scenarios of the rule type.Here, the applied field
Scape determines that model can be using the rule type information of the history service rule after application scenarios mark and trains.
After as above determining the first business rule at least one second application scenarios applicatory, in block 120, the is obtained
Each second applied field of each field from the first application scenarios at least one second application scenarios in one business rule
The field transformation rule of scape.It is answered for example, being searched from the field transformation rule table being pre-created from a kind of application scenarios to another
With the field transformation rule of scene.
Then, in block 130, based on acquired field transformation rule, to each field of the first business rule execute from
The field of each second application scenarios of first application scenarios at least one second application scenarios is converted, to obtain at least
One the second business rule.The second business rule of each of at least one second business rule corresponds to one kind second and answers
Use scene.
Illustrate at business rule according to an embodiment of the present disclosure by taking business rule 200 shown in Figure 2 as an example below
Reason method.
For business rule 200 shown in Figure 2, the rule type of business rule 200 is " paying under line ", and business
The application scenarios of rule 200 are " China ", that is, the first application scenarios are " China ".In other words, the applied field of business rule 200
Scape is the application scenarios based on country.It can be applied to such as U.S., Europe, Southeast Asia state at present further, since paying under line
Family etc., so paying applicable application scenarios under line includes China, the U.S., Europe and country in Southeast Asia.Following for explanation
It is convenient, only represents and be described as the application scenarios paid under line using China, US and European.Correspondingly, business personnel
Or business rule formulate personnel rule type " being paid under line " and applicable application scenarios " China ", " U.S. " and " Europe " it
Between be pre-created corresponding relationship, and the corresponding relationship created is stored in the applicable application scenarios of rule type-are corresponding to close
It is in the applicable application scenarios corresponding relation database of table/rule type-.
After getting business rule 200, for example, formulating the business that personnel input (or writing) receiving business rule
After rule 200, the rule type " paying under line " based on business rule 200 is closed from the applicable application scenarios of rule type-are corresponding
It is that corresponding application scenarios " China ", " U.S. " and " Europe " are found out in table, then from the correspondence application scenarios found out
Application scenarios " China " (that is, first application scenarios) belonging to business rule 200 are taken out in " China ", " U.S. " and " Europe ",
Thus at least one second application scenarios " U.S. " applicatory and " Europe " are obtained.
After getting at least one second application scenarios " U.S. " applicatory and " Europe ", the first business rule is obtained
In each field from the first application scenarios " China " to the field transformation rule of the second application scenarios " U.S. " and " Europe ".
For example, be directed to rule type field 210, from the first application scenarios " China " to the second application scenarios " U.S. " and
The field transformation rule in " Europe " can be " language conversion ", that is, " being transformed into English from Chinese ".For amount field 220, from
The field transformation rule of first application scenarios " China " to the second application scenarios " U.S. " and " Europe " can be " monetary unit turn
Change ", that is, the field transformation rule from the first application scenarios " China " to the second application scenarios " U.S. " be " by amount of currency from
RMB is converted to equivalent dollar ", and turn from the first application scenarios " China " to the field of the second application scenarios " Europe "
Changing rule is " amount of currency is converted to equivalent Euro from RMB ".For time field 230, from the first application scenarios
The field transformation rule of " China " to the second application scenarios " U.S. " and " Europe " can be " time zone conversion ", that is, answer from first
Field transformation rule with scene " China " to the second application scenarios " U.S. " is " by the time from when Beijing time being converted to the U.S.
Between ", and be " by the time from Beijing from the first application scenarios " China " to the field transformation rule of the second application scenarios " Europe "
Time is converted to the European time ".For example, be converted at 4 points in American time afternoon from 4 points in afternoon Beijing time, and when from Beijing
Between at 4 points in afternoon be converted at 4 points in European afternoon time.
For Region field 240, from the first application scenarios " China " to the word in the second application scenarios " U.S. " and " Europe "
Section transformation rule may include: to carry out Region field conversion based on regional similarity.The area similarity is based on described
Regional region attribute indicated by the field value of the Region field of first business rule determines.Specifically, for area
When field 240 carries out field conversion, firstly, area regional indicated by the field value of the Region field based on the first business rule
Attribute, for example, the region attribute of Tibet, China and Xinjiang, China, determine in each area of US and European with Tibet, China and
Xinjiang, China has the area (that is, matched area) of high similarity.Then, each second application scenarios determined are utilized
Under matching area come replace the first business rule Region field field value, to obtain pair under each second application scenarios
Answer the field value of the Region field of the second business rule.In the disclosure, the region attribute may include following region attributes
At least one of: regional geographical location;Regional national composition;Regional population's scale;Regional country's disturbance degree;Per capita with area
Income.
For application scenarios field 250, from the first application scenarios " China " to the second application scenarios " U.S. " and " Europe "
Field transformation rule can be " application scenarios conversion ", that is, the field value of application scenarios field is converted to from " China " " beauty
State " or " Europe ".
Each field in the first business rule is being got from the first application scenarios " China " to the second application scenarios " beauty
After state " and the field transformation rule in " Europe ", using acquired field transformation rule, to each field of the first business rule
Field conversion is executed, the second business rule suitable for the U.S. and the second business rule suitable for Europe are thus obtained.Institute
Obtained the second business rule suitable for the U.S. is: " Offline Payments " ∧ " Amount >=$ 14400 " ∧
" Transaction Hour >=16:00 " ∧ " District ∈ { Seattle } " ∧ " USA " and it is obtained be suitable for the U.S.
The second business rule be: " Offline Payments " ∧ " Amount >=euro 12714 " ∧ " Transaction Hour >=
16:00 " ∧ " District ∈ { Paris B } " ∧ " EP ".
Here, it is to be noted that, it all can include language conversion in the field conversion of above-mentioned each business rule, that is,
The language expression of the field value of each field is revised as stating using the national language of corresponding countries use scene.
Fig. 3 shows the flow chart of business rule processing method according to another embodiment of the present disclosure.
As shown in figure 3, in block 310, based on the rule type of the first business rule for the first application scenarios, the is determined
One business rule at least one second application scenarios applicatory.The operation of block 310 can be with reference to the block described above with reference to Fig. 1
110 operation.
After determining the first business rule at least one second application scenarios applicatory, in block 320, judge that business is advised
Then with the presence or absence of corresponding with the first business rule at least one second application scenarios determined in database
Second business rule of part or all of second application scenarios.Here, business rule database is for accordingly storing the first industry
Business rule and the second business rule after conversion.
It is judged as in business rule database when in block 320 in the presence of the second business rule for all the second application scenarios
When, in block 330, each second business corresponding at least one described second application scenarios is obtained from business rule database
Rule.
It is not present when being judged as in business rule database in block 320 for any at least one second application scenarios
When the second business rule of the second application scenarios, in block 340, each field in the first business rule is obtained from the first applied field
The field transformation rule of each second application scenarios of the scape at least one second application scenarios.Then, it in block 350, is based on
Acquired field transformation rule, to each field of the first business rule execute from the first application scenarios at least one second
The field of each second application scenarios in application scenarios is converted, to obtain at least one second business rule.
It is judged as in business rule database in the presence of corresponding with the first business rule when in block 320 for described at least one
When the second business rule of the second application scenarios of part in a second application scenarios, in block 360, from business rule database
Obtain the second business rule corresponding to second application scenarios of part.Then, in block 370, the first business rule are obtained
Each field in then is answered from the residue second that first application scenarios are transformed at least one described second application scenarios
With the field transformation rule of each second application scenarios in scene.
Then, in block 380, based on identified field transformation rule, to each field of the first business rule execute from
The field of first application scenarios to each second application scenarios in remaining second application scenarios is converted, corresponding to obtain
Second business rule.
It is described above with reference to Fig. 1 and Fig. 3 to according to the business rule processing method of the disclosure.To describe herein
It is Fig. 1 and shown in Fig. 3 be only one embodiment according to the business rule processing method of the disclosure, in its of the disclosure
In its embodiment, it can also modify to settlement of insurance claim text handling method shown in Fig. 1 and Fig. 3.
For example, after obtaining at least one second business rule, the method may be used also in another embodiment of the present disclosure
To include: that at least one obtained second business rule is recommended user.In addition, in another embodiment of the present disclosure,
The method can also include: for each second business rule at least one obtained second business rule, working
At least one matching business rule is obtained in business rule database;And by each of at least one obtained the second business rule
A second business rule and at least one corresponding matching business rule recommend user.Here, for it is obtained at least
Each second business rule in one the second business rule obtains at least one matching business rule from business rule database
It then may include: that it is similar to be based on text for each second business rule at least one obtained second business rule
Degree matches business rule to obtain at least one from business rule database.
In addition, in another embodiment of the present disclosure, by each the of at least one obtained the second business rule
Two business rules and it is corresponding at least one matching business rule recommend user before, the method can also include: by
Each second business rule and at least one corresponding matching business rule at least one obtained second business rule
It is then supplied to user, for selection by the user.Then, the selected business rule of user is recommended into user.
Fig. 4 shows the block diagram of business rule processing unit 400 according to an embodiment of the present disclosure.As shown in figure 4, industry
Business rule process device 400 includes that application scenarios determination unit 410, field transformation rule acquiring unit 420 and rule conversion are single
Member 430.
Application scenarios determination unit 410 is configured as the Regularia based on the first business rule for the first application scenarios
Type determines the first business rule at least one second application scenarios applicatory, and first business rule includes at least one
Field, at least one described field include at least rule type field and application scenarios field.Application scenarios determination unit 410
Operation can be with reference to the operation above with reference to Fig. 1 block 110 described.
Field transformation rule acquiring unit 420 is configured as obtaining each field in the first business rule from the first application
The field transformation rule of each second application scenarios of the scene at least one second application scenarios.Field transformation rule obtains
The operation of unit 420 can be with reference to the operation above with reference to Fig. 1 block 120 described.
Regular converting unit 430 is configured as based on identified field transformation rule, to each of the first business rule
Field executes the field conversion of each second application scenarios from the first application scenarios at least one second application scenarios, with
At least one second business rule is obtained, the second business rule of each of at least one described second business rule corresponds to one
The second application scenarios of kind.The operation of regular converting unit 430 can be with reference to the operation above with reference to Fig. 1 block 130 described.
Fig. 5 shows the block diagram of business rule processing unit 500 according to another embodiment of the present disclosure.Such as Fig. 5 institute
Show, business rule processing unit 500 includes application scenarios determination unit 510, judging unit 520, Rule unit 530, word
Section transformation rule acquiring unit 540, regular converting unit 550, rule match unit 560, rule provides unit 570 and rule pushes away
Recommend unit 580.
Application scenarios determination unit 510 is configured as the Regularia based on the first business rule for the first application scenarios
Type determines the first business rule at least one second application scenarios applicatory, and first business rule includes at least one
Field, at least one described field include at least rule type field and application scenarios field.Application scenarios determination unit 510
Operation can be with reference to the operation above with reference to Fig. 3 block 310 described.
Judging unit 520 is configured as obtaining each field in the first business rule from the first application scenarios at least
Before the field transformation rule of each second application scenarios in one the second application scenarios, judge be in business rule database
It is no to be applied in the presence of corresponding with the first business rule for some or all of at least one described second application scenarios second
Second business rule of scene.The operation of judging unit 520 can be with reference to the operation above with reference to Fig. 3 block 320 described.
Rule unit 530 is configured as existing in business rule database at least one second application scenarios
In all the second business rules of the second application scenarios when, obtained from business rule database it is described at least one second answer
The second business rule corresponding to scene.In addition, Rule unit 530 is also configured in business rule database
When in the presence of with the second business rule for the second application scenarios of part at least one second application scenarios, from business rule
The second business rule corresponding to second application scenarios of part is obtained in database.The operation of Rule unit 530 can
With reference to the operation above with reference to Fig. 3 block 330 and 360 described.
Field transformation rule acquiring unit 540 be configured as in business rule database there is no at least one the
When the second business rule of any second application scenarios in two application scenarios, obtain the first business rule in each field from
The field transformation rule of each second application scenarios of first application scenarios at least one second application scenarios.In addition, word
Section transformation rule acquiring unit 540 is additionally configured to exist in business rule database at least one second application scenarios
In the second application scenarios of part the second business rule when, obtain each field in the first business rule from the first applied field
Field transformation rule of the scape to the second application scenarios of residue at least one second application scenarios.Field transformation rule obtains single
The operation of member 540 can be with reference to the operation above with reference to Fig. 3 block 340 and 370 described.
Regular converting unit 550 is configured as being not present in business rule database at least one second applied field
When the second business rule of any second application scenarios in scape, based on acquired field transformation rule, the first business is advised
Each field then executes the word of each second application scenarios from the first application scenarios at least one second application scenarios
Section conversion, to obtain at least one second business rule, the second business of each of at least one described second business rule rule
Then correspond to a kind of second application scenarios.In addition, regular converting unit 550 is additionally configured to exist in business rule database
For the second application scenarios of part at least one second application scenarios the second business rule when, based on acquired field
Transformation rule executes from the first application scenarios at least one second application scenarios each field of the first business rule
The field conversion of remaining second application scenarios, to obtain corresponding second business rule.The operation of regular converting unit 550 can be with
With reference to the operation of the block 350 and 380 described above with reference to Fig. 3.
Rule match unit 560 is configured as each second industry at least one obtained second business rule
Business rule obtains at least one matching business rule from business rule database.
Rule provides unit 570 and is configured as each second business at least one obtained second business rule
At least one regular and corresponding matching business rule is supplied to user, for selection by the user.Regular recommendation unit 580 is matched
It is set to and the selected business rule of user is recommended into user.
It will be clear that shown in Fig. 4 and Fig. 5 being only one according to the business rule processing unit of the disclosure
Embodiment can also repair Fig. 5 and business rule processing unit shown in Fig. 6 in the other embodiments of the disclosure
Change.
For example, business processing processing unit 500 can not include rule match unit in another embodiment of the present disclosure
560 provide unit 570 with rule.Correspondingly, regular recommendation unit 580 is configured as at least one obtained second business
Rule recommends user.
In addition, business processing processing unit 500 can not include that rule provides unit in another embodiment of the present disclosure
570.Correspondingly, regular recommendation unit 580 be configured as by least one obtained second business rule and it is corresponding extremely
A few matching rule recommends user.Alternatively, in another embodiment of the present disclosure, business processing processing unit 500 can be with
It does not include rule match unit 560.Correspondingly, rule provides unit 570 and is configured as at least one obtained second industry
Each second business rule in business rule is supplied to user, for selection by the user.
Above with reference to Fig. 1 to Fig. 5, to according to the business rule processing method of the disclosure and the reality of business rule processing unit
Example is applied to be described.Business rule processing unit above can use hardware realization, can also use software or hardware
Combination with software is realized.
Fig. 6 shows the hardware configuration of the calculating equipment 600 according to an embodiment of the present disclosure for business rule processing
Figure.As shown in fig. 6, calculating equipment 600 may include at least one processor 610, memory 620, memory 630 and communication interface
640, and at least one processor 610, memory 620, memory 630 and communication interface 640 are connected to one via bus 660
It rises.At least one processor 610 executes at least one computer-readable instruction for storing or encoding in memory 620 (on that is,
State the element realized in a software form).
In one embodiment, computer executable instructions are stored in memory 620, make at least one when implemented
A processor 610: the rule type based on the first business rule for the first application scenarios determines first business rule
At least one second application scenarios applicatory, first business rule include at least one field, at least one described word
Section includes at least rule type field and application scenarios field;Each field in first business rule is obtained from described
Field transformation rule of one application scenarios to each second application scenarios at least one described second application scenarios;And base
In acquired field transformation rule, each field of first business rule is executed from first application scenarios to institute
The field conversion of each second application scenarios at least one second application scenarios is stated, to obtain at least one second business rule
Then, the second business rule of each of at least one described second business rule corresponds to a kind of second application scenarios.
It should be understood that the computer executable instructions stored in memory 620 make at least one processing when implemented
Device 610 carries out the above various operations and functions described in conjunction with Fig. 1-5 in each embodiment of the disclosure.
In the disclosure, calculating equipment 600 can include but is not limited to: personal computer, server computer, work
It stands, desktop computer, laptop computer, notebook computer, mobile computing device, smart phone, tablet computer, bee
Cellular telephone, personal digital assistant (PDA), hand-held device, messaging devices, wearable calculating equipment, consumer-elcetronics devices etc.
Deng.
According to one embodiment, a kind of program product of such as non-transitory machine readable media is provided.Non-transitory
Machine readable media can have instruction (that is, above-mentioned element realized in a software form), which when executed by a machine, makes
It obtains machine and executes the above various operations and functions described in conjunction with Fig. 1-5 in each embodiment of the disclosure.Specifically, Ke Yiti
For being furnished with the system or device of readable storage medium storing program for executing, store on the readable storage medium storing program for executing any in realization above-described embodiment
The software program code of the function of embodiment, and read and execute the computer of the system or device or processor and be stored in
Instruction in the readable storage medium storing program for executing.
According to one embodiment, a kind of program product of such as non-transitory machine readable media is provided.Non-transitory
Machine readable media can have instruction (that is, above-mentioned element realized in a software form), which when executed by a machine, makes
It obtains machine and executes the above various operations and functions described in conjunction with Fig. 1-5 in each embodiment of the disclosure.Specifically, Ke Yiti
For being furnished with the system or device of readable storage medium storing program for executing, store on the readable storage medium storing program for executing any in realization above-described embodiment
The software program code of the function of embodiment, and read and execute the computer of the system or device or processor and be stored in
Instruction in the readable storage medium storing program for executing.
In this case, it is real that any one of above-described embodiment can be achieved in the program code itself read from readable medium
The function of example is applied, therefore the readable storage medium storing program for executing of machine readable code and storage machine readable code constitutes of the invention one
Point.
The embodiment of readable storage medium storing program for executing include floppy disk, hard disk, magneto-optic disk, CD (such as CD-ROM, CD-R, CD-RW,
DVD-ROM, DVD-RAM, DVD-RW, DVD-RW), tape, non-volatile memory card and ROM.It selectively, can be by communication network
Network download program code from server computer or on cloud.
It will be appreciated by those skilled in the art that each embodiment disclosed above can be in the situation without departing from invention essence
Under make various changes and modifications.Therefore, protection scope of the present invention should be defined by the appended claims.
It should be noted that step and unit not all in above-mentioned each process and each system construction drawing is all necessary
, certain step or units can be ignored according to the actual needs.Each step execution sequence be not it is fixed, can be according to need
It is determined.Apparatus structure described in the various embodiments described above can be physical structure, be also possible to logical construction, that is, have
A little units may be realized by same physical entity, be realized alternatively, some units may divide by multiple physical entities, alternatively, can be with
It is realized jointly by certain components in multiple autonomous devices.
In the above various embodiments, hardware cell or module mechanically or can be realized electrically.For example, one
Hardware cell, module or processor may include permanent dedicated circuit or logic (such as special processor, FPGA or
ASIC) corresponding operating is completed.Hardware cell or processor can also include programmable logic or circuit (such as general processor or
Other programmable processors), interim setting can be carried out by software to complete corresponding operating.Concrete implementation mode is (mechanical
Mode or dedicated permanent circuit or the circuit being temporarily arranged) it can be determined based on cost and temporal consideration.
The specific embodiment illustrated above in conjunction with attached drawing describes exemplary embodiment, it is not intended that may be implemented
Or fall into all embodiments of the protection scope of claims." exemplary " meaning of the term used in entire this specification
Taste " be used as example, example or illustration ", be not meant to than other embodiments " preferably " or " there is advantage ".For offer pair
The purpose of the understanding of described technology, specific embodiment include detail.However, it is possible in these no details
In the case of implement these technologies.In some instances, public in order to avoid the concept to described embodiment causes indigestion
The construction and device known is shown in block diagram form.
The foregoing description of present disclosure is provided so that any those of ordinary skill in this field can be realized or make
Use present disclosure.To those skilled in the art, the various modifications carried out to present disclosure are apparent
, also, can also answer generic principles defined herein in the case where not departing from the protection scope of present disclosure
For other modifications.Therefore, present disclosure is not limited to examples described herein and design, but disclosed herein with meeting
Principle and novel features widest scope it is consistent.