CN106506654A - A kind of policy template implementation method of high flexibility - Google Patents

A kind of policy template implementation method of high flexibility Download PDF

Info

Publication number
CN106506654A
CN106506654A CN201611015391.XA CN201611015391A CN106506654A CN 106506654 A CN106506654 A CN 106506654A CN 201611015391 A CN201611015391 A CN 201611015391A CN 106506654 A CN106506654 A CN 106506654A
Authority
CN
China
Prior art keywords
policy
type
strategy
parameter
condition
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
CN201611015391.XA
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.)
G Cloud Technology Co Ltd
Original Assignee
G Cloud Technology 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 G Cloud Technology Co Ltd filed Critical G Cloud Technology Co Ltd
Priority to CN201611015391.XA priority Critical patent/CN106506654A/en
Publication of CN106506654A publication Critical patent/CN106506654A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/567Integrating service provisioning from a plurality of service providers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention relates to field of cloud computer technology, the policy template implementation method of particularly a kind of high flexibility.The method of the present invention is first definition strategy type and its processes class, re-define policy condition and policy execution method, then configure each policing type and can use policy condition and execution method, then according to policing type construction strategy template, product strategy is formulated finally by policy template.The inventive method has the characteristics of flexibly expansible, customizable is high, can be very good to be integrated into each effective management of the publicly-owned cloud platform realization to product.

Description

A kind of policy template implementation method of high flexibility
Technical field
The present invention relates to field of cloud computer technology, the policy template implementation method of particularly a kind of high flexibility.
Background technology
Public cloud terminaloriented user, externally provides various products service.Public cloud provider build the cloud of oneself put down Need when platform forethought towards terminal use various demands, and the customization required for oneself cloud platform melts Send out.But demand is changeable, and As time goes on can become more and more and complicated, how to ensure that the cloud of oneself is put down Platform can long-time in adapt to user demand become more and more important.
Content of the invention
Present invention solves the technical problem that it is the policy template implementation method for proposing a kind of high flexibility, by strategy The flexible configuration of template, realizes the flexible management of public cloud service of goods.
The present invention solves the technical scheme of above-mentioned technical problem:
Definition strategy type and process class, execute condition and execute method;
The each policing type of all types of configurations of configuration can use policy condition and execute method;
According to policing type construction strategy template;
Set template trigger condition and execute method, priority and mutual exclusion rule, desired parameters and parameter type;
Product strategy setup parameter value are formulated by policy template;
According to regular implementation strategy.
Described policing type flexibly can be changed, it may include Limit Type, price fixing type, type of offer and product class Type;The useful threshold system of Limit Type, business are limited, and price fixing type has a price-pegging class, type of offer have competitively priced class, Class is given, product type has Cloud Server class;
Described type can be customized according to service needed and realize different policing types;
Described strategy has control strategy use range, strategy execution order, tactful term of validity etc. various for strategy The attribute of setting;Policy attribute can dynamic flexible configuration, determine the need for configuring also dependent on situation;
Its spendable policy condition parameter of described policing type flexibly configurable and policy execution method, to reach Its selectable policy condition parameter and policy execution method is limited during policy definition;
Refer to during described policy definition when set its policy template attribute when construction strategy template;
Its selectable policy condition parameter of described restriction and policy execution method refer to the root in construction strategy template Policy condition parameter and the policy execution method that current strategies template can be selected is limited according to policing type.
Described execution condition refers to that strategy needs to meet various conditions ability implementation strategy methods, and execution condition is pre- The conditional parameter composition that can be used to compare for first setting;
The described conditional parameter that can be used to compare refers to the predefined parameter type based on conditional parameter abstract class, supports Manner of comparison the conventional manner of comparison such as include being equal to, be more than, be less than, being not equal to, being more than or equal to, being less than or equal to;Need to compare The type of value can customize, be not limited to the traditional variables type such as numeral, character.
The execution method of described strategy refers to the logic generation that the Policy Result for meeting condition set in advance is processed Code;
Described policy execution method is inherited in policy execution method abstract class;
Described policy execution method is only just performed when the tactful trigger condition is set up;
Required all kinds parameter when can execute in flexible configuration method of described policy execution method, and limiting policy The parameter value of corresponding types must be set during definition;
Described policy execution method is only applicable to partial strategy type,
Described policy execution method include allow operation, quiescing, price rebate, return now preferential, give;
Described policy execution method is also the execution action of strategy.
The parameter of described policy condition can carry out flexible configuration its logical operation mode, including and AND or OR;
Can flexibly customizing, can arbitrarily limit the manner of comparison that can be arranged, flexibly realize CL Compare Logic;Can freely spirit The scope of business that setup parameter living is suitable for, can be with the type of qualifications parameter desirable value;
The described scope of business includes buying, upgrading, continues to pay dues;
The described manner of comparison for arranging refers to the manner of comparison that conditions present parameter can be suitable for, so as to limiting policy Optional parameters scope during configuration condition parameter, manner of comparison include being equal to, are more than, are less than, being not equal to, being more than or equal to, being less than It is equal to conventional manner of comparison;
The CL Compare Logic of described conditional parameter refers to the desired value for obtaining source data and setting with strategy inside each parameter And the code logic contrasted by the manner of comparison set using strategy.
Described policy template is made up of the setting of multiple policy attributes, including policy name, policing type, business model Enclose, policy priority level, policy condition, policing parameter, policy execution method, tactful mutual exclusion rule, the tactful effective date, strategy knot The beam date;
Described policing type is predefined different policing type;
The described scope of business refers to the type of service that its publicly-owned cloud platform often has, and such as buys, upgrades, continues to pay dues;
Described policy priority level refers to the preferential executive level of strategy under same type, suitable when limiting policy is executed Sequence, is generally used cooperatively with tactful mutual exclusion rule;Policy priority level is only raw between a plurality of substrategy in same policy type Effect, is represented with numeral 0 to 255, and the bigger expression priority of numeral is higher, and priority is more high, is more first performed;
Described policy condition refers to one group of condition being made up of multiple policy condition parameters, can by simultaneously or in the way of Calculation condition result;
Described policing parameter is referred to and sets its desired parameters title and parameter type in policy template, and being limited to makes Must be configured when product strategy is created with this policy template the value of its setup parameter;
Described policy execution method refers to the execution action of the strategy for meeting condition, and the result treatment side of strategy Method;
Described tactful mutual exclusion rule refers to the rule of current strategies and other tactful mutual exclusions, meets the strategy of mutual exclusion rule When its mutual exclusion strategy or executed by the strategy of other tactful mutual exclusions, then ignore automatically and not implementation strategy;
The described tactful effective date is referred to the Close Date and the time range of strategy is defined, beyond the setting date The strategy of scope is not executed, and is not set, and is not restricted.
Described policy condition and execution action refer to the tactful concrete form;
Described execution action is only just performed when the trigger condition is set up;
Described policy condition and execution action include wall scroll and a plurality of;
Described tactful trigger condition includes meeting all conditions, meets any one condition and unconditional restriction;
Described policy condition includes parameter policy condition and printenv policy condition, wherein has the parameter policy condition must Must be in the policy template by the value using front first defined parameters;
Described execution action includes allowing, forbids and information.
Described mutual exclusion rule includes similar mutual exclusion, according to type mutual exclusion and according to tactful mutual exclusion;
Described similar mutual exclusion refers to mutual exclusion between multiple policy conditions of same policy type, only carries out priority most High;
Described refers to mutual exclusion between which policing type specified according to type mutual exclusion, only carries out the plan of those high priorities Substrategy slightly in type;
Described refers to mutual exclusion between specified specific substrategy according to tactful mutual exclusion, only carries out the son of those high priorities Strategy.
The present invention program has the beneficial effect that:
1st, the demand in the management of product is carried out policy class by the implementation method of high flexibility policy template of the invention, Each policy condition and strategy process, the customization category of definition strategy template are further refined into for each policing type Property, simple structure is well arranged, while have the characteristic of dynamic flexible again.
2nd, the method for the present invention quickly can be integrated on various cloud calculation service platforms, realize being based on plan to cloud product Flexible management slightly.
Description of the drawings
The present invention is further described below in conjunction with the accompanying drawings:
Fig. 1 is the flow chart of the present invention;
Fig. 2 is the policing type of the present invention;
Fig. 3 is the tactful graph of a relation of the present invention.
Specific embodiment
Fig. 1 is referred to, a kind of policy template implementation method flow chart of the high flexibility provided by present invention enforcement.Under Face implements to its each flow process respectively and is described.
Execution condition is defined with the method for execution:
Execution method
Define product strategy type and its realize class, here by taking competitively priced class as an example, add in PolicyType PriceDiscount types;
Definition strategy type realizes class PriceDiscountPolicyTypeImpl:
The available policies conditional parameter of definition strategy type and policy execution method:
The execution condition pattern of definition strategy:
The policy template of establishment this type, and the execution condition and execution method of policy template is set, and set template Priority and mutual exclusion rule.
Product strategy is formulated by this policy template, then implementation strategy in business procedure:
Single tactful concrete implementation procedure:
So the policy template for meeting various demands can flexibly be configured with height based on the method, various to reach The needs of business.
The policing type of the present invention is as shown in Figure 2, it may include Limit Type, price fixing type, type of offer and product Type;The useful threshold system of Limit Type, business are limited, and price fixing type has price-pegging class, type of offer to have competitively priced Class, class is given, product type has Cloud Server class etc..
Fig. 3 is the tactful graph of a relation of the present invention;Policy template is made up of the setting of multiple policy attributes, including strategy names Title, policing type, the scope of business, policy priority level, policy condition, policing parameter, policy execution method, tactful mutual exclusion rule, Tactful effective date, tactful Close Date;Policing parameter is referred to and sets its desired parameters title and parameter class in policy template Type, and be limited to the value that must configure its setup parameter when product strategy is created using this policy template.
Embodiments described above is only a part of embodiment of the invention, rather than whole embodiment.It is based on this Embodiment in bright, those of ordinary skill in the art are not making the obtained scheme of substantive creation, belong to the present invention The scope of protection.

Claims (9)

1. the policy template implementation method of a kind of high flexibility, it is characterised in that described method includes:
Definition strategy type and process class, execute condition and execute method;
The each policing type of all types of configurations of configuration can use policy condition and execute method;
According to policing type construction strategy template;
Set template trigger condition and execute method, priority and mutual exclusion rule, desired parameters and parameter type;
Product strategy setup parameter value are formulated by policy template;
According to regular implementation strategy.
2. method according to claim 1, it is characterised in that
Described policing type flexibly can be changed, it may include Limit Type, price fixing type, type of offer and product type; The useful threshold system of Limit Type, business are limited, and price fixing type has price-pegging class, type of offer to have competitively priced class, give Class, product type is sent to have Cloud Server class;
Described type can be customized according to service needed and realize different policing types;
Described strategy has control strategy use range, strategy execution order, tactful term of validity etc. various for strategy setting Attribute;Policy attribute can dynamic flexible configuration, determine the need for configuring also dependent on situation;
Its spendable policy condition parameter of described policing type flexibly configurable and policy execution method, to reach in strategy Its selectable policy condition parameter and policy execution method is limited during definition;
Refer to during described policy definition when set its policy template attribute when construction strategy template;
Its selectable policy condition parameter of described restriction and policy execution method are referred in construction strategy template according to plan Slightly type limits policy condition parameter and the policy execution method that current strategies template can be selected.
3. method according to claim 1, it is characterised in that described execution condition refers to that strategy needs to meet various bars Part ability implementation strategy method, and execution condition is the conditional parameter composition that can be used to and compare set in advance;
The described conditional parameter that can be used to compare refers to the predefined parameter type based on conditional parameter abstract class, the ratio of support The conventional manner of comparison such as include being equal to, be more than, be less than, being not equal to, being more than or equal to, being less than or equal to compared with mode;Need the value for comparing Type can customize, be not limited to the traditional variables type such as numeral, character.
4. method according to claim 1, it is characterised in that the execution method of described strategy refers to use set in advance In the logical code that the Policy Result for meeting condition is processed;
Described policy execution method is inherited in policy execution method abstract class;
Described policy execution method is only just performed when the tactful trigger condition is set up;
Required all kinds parameter when can execute in flexible configuration method of described policy execution method, and limiting policy definition Shi Bixu sets the parameter value of corresponding types;
Described policy execution method is only applicable to partial strategy type,
Described policy execution method include allow operation, quiescing, price rebate, return now preferential, give;
Described policy execution method is also the execution action of strategy.
5. method according to claim 1, it is characterised in that the parameter of described policy condition can carry out flexible configuration Its logical operation mode, including simultaneously AND or OR;
Can flexibly customizing, can arbitrarily limit the manner of comparison that can be arranged, flexibly realize CL Compare Logic;Can be set with freedom and flexibility Determine the scope of business that parameter is suitable for, can be with the type of qualifications parameter desirable value;
The described scope of business includes buying, upgrading, continues to pay dues;
The described manner of comparison for arranging refers to the manner of comparison that conditions present parameter can be suitable for, so as to limiting policy is configured Optional parameters scope during conditional parameter, manner of comparison include being equal to, are more than, are less than, being not equal to, being more than or equal to, being less than or equal to Deng conventional manner of comparison;
The CL Compare Logic of described conditional parameter refer to inside each parameter obtain source data and with strategy set desired value and The code logic contrasted by the manner of comparison set using strategy.
6. method according to claim 1, it is characterised in that described policy template is by the setting of multiple policy attributes Composition, including policy name, policing type, the scope of business, policy priority level, policy condition, policing parameter, strategy execution side Method, tactful mutual exclusion rule, tactful effective date, tactful Close Date;
Described policing type is predefined different policing type;
The described scope of business refers to the type of service that its publicly-owned cloud platform often has, and such as buys, upgrades, continues to pay dues;
Described policy priority level refers under same type the preferential executive level of strategy, order when limiting policy is executed, Generally use cooperatively with tactful mutual exclusion rule;Policy priority level only comes into force between a plurality of substrategy in same policy type, Represented with numeral 0 to 255, the bigger expression priority of numeral is higher, and priority is more high, is more first performed;
Described policy condition refers to one group of condition being made up of multiple policy condition parameters, can by simultaneously or in the way of computing Conditional outcome;
Described policing parameter is referred to and sets its desired parameters title and parameter type in policy template, and is limited to and is used this Policy template must configure the value of its setup parameter when creating product strategy;
Described policy execution method refers to the execution action of the strategy for meeting condition, and the result processing method of strategy;
Described tactful mutual exclusion rule refers to the rule of current strategies and other tactful mutual exclusions, and the strategy for meeting mutual exclusion rule works as which The strategy of mutual exclusion has been executed by the strategy of other tactful mutual exclusions, then ignored automatically and not implementation strategy;
The described tactful effective date is referred to the Close Date and the time range of strategy is defined, beyond setting date range Strategy do not execute, do not set, be not restricted.
7. method according to claim 6, it is characterised in that
Described policy condition and execution action refer to the tactful concrete form;
Described execution action is only just performed when the trigger condition is set up;
Described policy condition and execution action include wall scroll and a plurality of;
Described tactful trigger condition includes meeting all conditions, meets any one condition and unconditional restriction;
Described policy condition includes parameter policy condition and printenv policy condition, wherein has the parameter policy condition must be The policy template is by the value using front first defined parameters;
Described execution action includes allowing, forbids and information.
8. method according to claim 6, it is characterised in that described mutual exclusion rule includes similar mutual exclusion, according to type Mutual exclusion and according to tactful mutual exclusion;
Described similar mutual exclusion refers to mutual exclusion between multiple policy conditions of same policy type, only carries out highest priority 's;
Described refers to mutual exclusion between which policing type specified according to type mutual exclusion, only carries out the policy class of those high priorities Substrategy in type;
The described sub- plan that mutual exclusion between specified specific substrategy is referred to according to tactful mutual exclusion, those high priorities are only carried out Slightly.
9. method according to claim 7, it is characterised in that described mutual exclusion rule includes similar mutual exclusion, according to type Mutual exclusion and according to tactful mutual exclusion;
Described similar mutual exclusion refers to mutual exclusion between multiple policy conditions of same policy type, only carries out highest priority 's;
Described refers to mutual exclusion between which policing type specified according to type mutual exclusion, only carries out the policy class of those high priorities Substrategy in type;
The described sub- plan that mutual exclusion between specified specific substrategy is referred to according to tactful mutual exclusion, those high priorities are only carried out Slightly.
CN201611015391.XA 2016-11-18 2016-11-18 A kind of policy template implementation method of high flexibility Pending CN106506654A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611015391.XA CN106506654A (en) 2016-11-18 2016-11-18 A kind of policy template implementation method of high flexibility

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611015391.XA CN106506654A (en) 2016-11-18 2016-11-18 A kind of policy template implementation method of high flexibility

Publications (1)

Publication Number Publication Date
CN106506654A true CN106506654A (en) 2017-03-15

Family

ID=58325041

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611015391.XA Pending CN106506654A (en) 2016-11-18 2016-11-18 A kind of policy template implementation method of high flexibility

Country Status (1)

Country Link
CN (1) CN106506654A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108512696A (en) * 2018-03-13 2018-09-07 烽火通信科技股份有限公司 A kind of method of flexible switching Flow Policy
CN108923991A (en) * 2018-08-15 2018-11-30 国云科技股份有限公司 A kind of policy template implementation method based on cloudy platform
CN109710486A (en) * 2018-11-28 2019-05-03 国云科技股份有限公司 A method of the customized example warning strategies based on cloudy platform
CN109729075A (en) * 2018-12-13 2019-05-07 国云科技股份有限公司 A kind of cloud platform component safety strategy implementation method
CN110020885A (en) * 2018-12-25 2019-07-16 阿里巴巴集团控股有限公司 A kind of participation execution method and apparatus of business activity
CN110908642A (en) * 2018-09-14 2020-03-24 亿阳信通股份有限公司 Policy generation and execution method and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108512696A (en) * 2018-03-13 2018-09-07 烽火通信科技股份有限公司 A kind of method of flexible switching Flow Policy
CN108923991A (en) * 2018-08-15 2018-11-30 国云科技股份有限公司 A kind of policy template implementation method based on cloudy platform
CN110908642A (en) * 2018-09-14 2020-03-24 亿阳信通股份有限公司 Policy generation and execution method and device
CN110908642B (en) * 2018-09-14 2024-04-05 亿阳信通股份有限公司 Policy generation execution method and device
CN109710486A (en) * 2018-11-28 2019-05-03 国云科技股份有限公司 A method of the customized example warning strategies based on cloudy platform
CN109729075A (en) * 2018-12-13 2019-05-07 国云科技股份有限公司 A kind of cloud platform component safety strategy implementation method
CN109729075B (en) * 2018-12-13 2021-07-30 国云科技股份有限公司 Cloud platform component security policy implementation method
CN110020885A (en) * 2018-12-25 2019-07-16 阿里巴巴集团控股有限公司 A kind of participation execution method and apparatus of business activity

Similar Documents

Publication Publication Date Title
CN106506654A (en) A kind of policy template implementation method of high flexibility
US11544420B2 (en) Managing custom computer-aided design inheritance-based assembly families for manufacturing
CN104571026B (en) Whole process metallurgy manufacturing execution system construction platform and construction method
CN108228169A (en) Chart production method, apparatus, equipment and medium based on eCharts tools
US8954471B2 (en) Method and system for providing process-based access control for a collaboration service in enterprise business software
CN106843904A (en) Interface Dynamic Distribution method and its system
CN107844698A (en) Financial APP authority setting method, device, equipment and storage medium
US7280879B2 (en) Interfaces from external systems to time dependent process parameters in integrated process and product engineering
CN112988123B (en) DDD-oriented software design method and system
Vogelezang 4.3 Using COSMIC FFP for Sizing, Estimating, and Planning in an ERP Environment
CN107092413A (en) A kind of visible controls corners processing method and system
KR101515450B1 (en) Goods total solution providing method for design of goods, share of design, manufacture and marketing of goods in online
US20160154828A1 (en) Business rules manager
CN109118370A (en) Product construction method, device, computer equipment and storage medium based on model
Palma et al. A robust model for protecting road-building and harvest-scheduling decisions from timber estimate errors
CN109360259A (en) A kind of cloud rendering method of the synergetic office work of buildings model
CN104317590A (en) Embedded configuration system and embedded review process configuration method
CN107220273A (en) A kind of cartoon character face searching method
US9841868B2 (en) User configurable user interface
CN106534292A (en) Implementation method for public cloud product strategies
JP2007179306A (en) Production planning method and device for joint product item
CN109285048A (en) Processing method, device, computer equipment and the storage medium of product building
CN108681837A (en) Flexible production management method, device, terminal device and readable storage medium storing program for executing
CN113838171B (en) Data processing method, data processing device, storage medium and electronic device
CN108197193A (en) A kind of display methods, system and the relevant apparatus of multiple view data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170315