CN101256487A - Method for representation of service rule facing to component - Google Patents

Method for representation of service rule facing to component Download PDF

Info

Publication number
CN101256487A
CN101256487A CNA2008100144568A CN200810014456A CN101256487A CN 101256487 A CN101256487 A CN 101256487A CN A2008100144568 A CNA2008100144568 A CN A2008100144568A CN 200810014456 A CN200810014456 A CN 200810014456A CN 101256487 A CN101256487 A CN 101256487A
Authority
CN
China
Prior art keywords
data
rule
assembly
business rule
computing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CNA2008100144568A
Other languages
Chinese (zh)
Inventor
杨平波
焦学瑞
赵旭东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Group Shandong General Software Co Ltd
Original Assignee
Inspur Group Shandong General Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Group Shandong General Software Co Ltd filed Critical Inspur Group Shandong General Software Co Ltd
Priority to CNA2008100144568A priority Critical patent/CN101256487A/en
Publication of CN101256487A publication Critical patent/CN101256487A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a component-oriented business rule representation method, comprising: using the data of a provided data component as the attribute of the component in the business rule expression as rule variable reference; using a system function and a global variable as rule elements to do rule operations; supporting the expansion of business rule; and supporting the operation and logical operation of various data. According to the method, the acquisition of various data in interface and system in business rule definition is simpler to understand and learn. Since the rule supports coding, and source code file can be dynamically loaded, the rule is easier to expand.

Description

A kind of method for expressing of business rule of facing assembly
Technical field
Patent of the present invention relates to a kind of computer technology, specifically is the describing method of a kind of rule definition in the management software, particularly for the method for expressing of the data variable that derives from the assembly that data can be provided.
Background technology
In the definition of the business rule of facing assembly, how effectively easily in the extraction system or the valid data in each assembly be one of core technology of all kinds of service enablers always.And the use of business rule generally is not the personnel of specialty especially, so must allow business rule definition simpler, is easy to learn and use, and this is one of the striving direction of all kinds of regulation engines just.Under this method for expressing, data become a generic attribute of assembly, can be as the data on the access component attribute access component, and more visual and understandable.
Summary of the invention:
The invention provides a kind of method for expressing of business rule of facing assembly, comprise following content:
(1) will provide in the data package data as the attribute of assembly in the business rule expression formula as regular variable reference;
(2) system function, global variable are participated in regular computing as the element of rule;
(3) expansion of supporting business rule;
(4) support Various types of data computing and logical operation.
Can provide in the assembly of data data as the attribute of assembly in the business rule expression formula as regular variable reference, be meant:
(1) for single input frame is provided, way of reference is: assembly numbering .data; The assembly numbering of the individual data of italicized item assembly numbering with reality in actual quoting is replaced;
(2) for the assembly that data set is provided, its variable reference form is: assembly numbering. data rows name [row number], and wherein row number be an option, if row number not, the current line of then getting assembly substitutes or according to the row number replacement of importing in the regulation engine.
With system function, global variable etc. participate in regular computing as the element of rule, are meant:
(1) overall situation function in the system directly participates in computing with operational element;
(2) collection of functions in the system and service object are encapsulated as overall situation function by secondary and participate in computing;
(3) global variable in the system is changed the back as operational element by overall situation function.
The expansion of supporting business rule if mainly be meant specifically finding that built-in service is used inadequately in the business rule in the use, is finished an overall situation function by the mode of hard coded, is registered in then in the rule service, promptly is cited in rule definition.
Support Various types of data computing and logical operation, be meant: (1) supports all kinds of mathematical operations and mathematical operation function; (2) logical operation of support Boolean type.
Function that has and beneficial effect
1, makes simple more easy to understand of the Various types of data in obtaining interface and system and study in the business rule definition.
2, because rule is supported coding, and sound code file can dynamic load, thereby makes rule be easier to expansion.
Embodiment
The present invention mainly is a kind of method for expressing of business rule of facing assembly, comprises following content:
(1) can provide in the assembly of data data as the attribute of assembly in the business rule expression formula as regular variable reference; Here relate generally to the method for expressing of two class data packages:
A., the assembly of individual data is provided, and its method for expressing is: assembly numbering .data, perhaps the mode of more simplifying is expressed as: the assembly numbering.
B., the assembly of data set is provided, and its method for expressing is: the assembly numbering. data rows name [capable number]
(2) can be with system function, global variables etc. participate in regular computing as the element of rule; In this manner, overall situation function that exists in the system and global variable can directly enter rule and carry out computing.Continue downwards again to handle,, then can obtain any information of storing in the system database by function indirectly if import SQL statement or storing process into to function parameter.
(3) expansion of supporting business rule.Situation for built-in rule can not satisfy the demands can solve by coding.After finishing the coding of rule, only need register, then will at regular center
The code file of rule is registered in the load document tabulation of application program and gets final product.
Embodiment
The present invention just is being applied to the exploitation of business management software.Following example:
1, obtains this expression formula of the aggregate value of a data rows in the data package: sum (dataset1.xsdd_zsl) and represent to obtain the total of data rows xsdd_zsl in the data package that is numbered dataset1.
2, obtain the value that individual data provides assembly, as: mask1.data, the currency of the single file data package that is numbered mask1 is obtained in this expression.
3, two data in the data package are added up, as dataset1.xsdd_zsl[1]+dataset2.xsdd_zsl[2], this expression return the first row value of data rows xsdd_zsl in the data package that is numbered dataset1 and be numbered data rows xsdd_zsl in the data package of dataset2 the second row value with.

Claims (5)

1, a kind of method for expressing of business rule of facing assembly is characterized in that, this method comprises following content:
(1) will provide in the data package data as the attribute of assembly in the business rule expression formula as regular variable reference;
(2) system function, global variable are participated in regular computing as the element of rule;
(3) expansion of supporting business rule;
(4) support Various types of data computing and logical operation.
2, method for expressing according to claim 1 is characterized in that, can provide in the assembly of data data as the attribute of assembly in the business rule expression formula as regular variable reference, be meant:
(1) for single input frame is provided, way of reference is: assembly numbering .data; The assembly numbering of the individual data of italicized item assembly numbering with reality in actual quoting is replaced;
(2) for the assembly that data set is provided, its variable reference form is: assembly numbering. data rows name [row number], and wherein row number be an option, if row number not, the current line of then getting assembly substitutes or according to the row number replacement of importing in the regulation engine.
3, method for expressing according to claim 1 is characterized in that: with system function, global variable etc. participate in regular computing as the element of rule, are meant:
(1) overall situation function in the system directly participates in computing with operational element;
(2) collection of functions in the system and service object are encapsulated as overall situation function by secondary and participate in computing;
(3) global variable in the system is changed the back as operational element by overall situation function.
4, method for expressing according to claim 1, it is characterized in that, the expansion of supporting business rule, if mainly be meant in concrete use and find that built-in service is used inadequately in the business rule, finish an overall situation function by the mode of hard coded, be registered in then in the rule service, promptly in rule definition, be cited.
5, method for expressing according to claim 1 is characterized in that: support Various types of data computing and logical operation, be meant:
(1) supports all kinds of mathematical operations and mathematical operation function;
(2) logical operation of support Boolean type.
CNA2008100144568A 2008-03-11 2008-03-11 Method for representation of service rule facing to component Pending CN101256487A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008100144568A CN101256487A (en) 2008-03-11 2008-03-11 Method for representation of service rule facing to component

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008100144568A CN101256487A (en) 2008-03-11 2008-03-11 Method for representation of service rule facing to component

Publications (1)

Publication Number Publication Date
CN101256487A true CN101256487A (en) 2008-09-03

Family

ID=39891334

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008100144568A Pending CN101256487A (en) 2008-03-11 2008-03-11 Method for representation of service rule facing to component

Country Status (1)

Country Link
CN (1) CN101256487A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102520965A (en) * 2011-12-28 2012-06-27 山东中创软件工程股份有限公司 Method and system for message processing
CN104715408B (en) * 2015-03-19 2017-11-07 烟台海颐软件股份有限公司 A kind of electricity transaction the Visual Implementation method based on clearing unit
CN112258311A (en) * 2020-10-13 2021-01-22 北京神州数字科技有限公司 Configuration method and configuration device for collection-hastening policy rules

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102520965A (en) * 2011-12-28 2012-06-27 山东中创软件工程股份有限公司 Method and system for message processing
CN104715408B (en) * 2015-03-19 2017-11-07 烟台海颐软件股份有限公司 A kind of electricity transaction the Visual Implementation method based on clearing unit
CN112258311A (en) * 2020-10-13 2021-01-22 北京神州数字科技有限公司 Configuration method and configuration device for collection-hastening policy rules

Similar Documents

Publication Publication Date Title
Koc et al. Two exact formulations for disassembly line balancing problems with task precedence diagram construction using an AND/OR graph
CN107908672B (en) Application report realization method, device and storage medium based on Hadoop platform
AU2006234977B2 (en) Enterprise software system having multidimensional XBRL engine
US8943059B2 (en) Systems and methods for merging source records in accordance with survivorship rules
US9135647B2 (en) Methods and systems for flexible and scalable databases
CN104933160B (en) A kind of ETL frame design method towards safety monitoring business diagnosis
CN103020750A (en) Process report generation method and device
CN104063361A (en) Report design method and system
CN107506383B (en) Audit data processing method and computer equipment
CN105183901A (en) Method and device for reading database table through data query engine
CN105589864A (en) Data inquiry method and apparatus
CN104239529A (en) Method and device for preventing Hive data from being inclined
CN104216961A (en) Method and device for data processing
CN112115145A (en) Data acquisition method and device, electronic equipment and storage medium
CN102222285A (en) Multi-dimensional data linkage computing device and multi-dimensional data linkage computing method
CN108960672A (en) The air control method, apparatus and computer readable storage medium of limit limit time
CN101256487A (en) Method for representation of service rule facing to component
CN102819537B (en) Heterogeneous system carries out the method and system of data exchange
CN104168330A (en) Optimal compensation method for solving Web service combination anomaly based on relational graph
CN106776810A (en) The data handling system and method for a kind of big data
US10268727B2 (en) Batching tuples
CN102306199A (en) Data management device and data management method
CN106649355A (en) Method and device for processing data
CN104361090A (en) Data query method and device
CN102486731A (en) Method, device and system for enhancing visualization of software call stack of software

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20080903