CN110532504B - QoS constraint decomposition method for constraint intensity perception of service combination - Google Patents
QoS constraint decomposition method for constraint intensity perception of service combination Download PDFInfo
- Publication number
- CN110532504B CN110532504B CN201910625830.6A CN201910625830A CN110532504B CN 110532504 B CN110532504 B CN 110532504B CN 201910625830 A CN201910625830 A CN 201910625830A CN 110532504 B CN110532504 B CN 110532504B
- Authority
- CN
- China
- Prior art keywords
- constraint
- qos
- value
- relaxation factor
- tasks
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/11—Complex mathematical operations for solving equations, e.g. nonlinear equations, general mathematical optimization problems
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N7/00—Computing arrangements based on specific mathematical models
- G06N7/02—Computing arrangements based on specific mathematical models using fuzzy logic
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Mathematical Physics (AREA)
- Pure & Applied Mathematics (AREA)
- Computational Mathematics (AREA)
- Business, Economics & Management (AREA)
- Software Systems (AREA)
- Mathematical Optimization (AREA)
- Mathematical Analysis (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Operations Research (AREA)
- Strategic Management (AREA)
- Human Resources & Organizations (AREA)
- Algebra (AREA)
- Economics (AREA)
- Game Theory and Decision Science (AREA)
- Evolutionary Computation (AREA)
- General Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Life Sciences & Earth Sciences (AREA)
- Molecular Biology (AREA)
- Development Economics (AREA)
- Fuzzy Systems (AREA)
- Computing Systems (AREA)
- Health & Medical Sciences (AREA)
- Automation & Control Theory (AREA)
- Entrepreneurship & Innovation (AREA)
- Marketing (AREA)
- Artificial Intelligence (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Databases & Information Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本发明提供一种面向服务组合的约束强度感知的全局QoS约束分解方法。本发明通过定义用户约束强度的度量方法,设计基于模糊推理规则的松弛因子自适应调节方法,构建了一种面向服务组合的约束强度感知的QoS约束分解模型。使用该模型,在约束分解阶段,当用户约束强度较弱时,可以有效淘汰每个任务的候选服务,以降低采用全局优选方法时解空间的大小;当用户约束强度较强时,可为每个任务保留一定的候选服务个数,以提高在服务组合时能够寻找到可行组合方案的概率。
The invention provides a global QoS constraint decomposition method oriented to service combination and constraint intensity perception. The invention defines a measurement method of user constraint intensity, designs a relaxation factor adaptive adjustment method based on fuzzy reasoning rules, and constructs a QoS constraint decomposition model oriented to service combination and constraint intensity perception. Using this model, in the constraint decomposition stage, when the user constraints are weak, the candidate services for each task can be effectively eliminated to reduce the size of the solution space when the global optimization method is used; when the user constraints are strong, each task can be A task retains a certain number of candidate services to increase the probability of finding a feasible combination scheme when combining services.
Description
技术领域technical field
本发明涉及服务组合优化领域,尤其涉及一种面向服务组合的约束强度感知的全局QoS约束分解方法,可用于求解QoS感知的服务组合优化问题。The invention relates to the field of service combination optimization, in particular to a global QoS constraint decomposition method for service combination-oriented constraint intensity perception, which can be used to solve the QoS-aware service combination optimization problem.
背景技术Background technique
QoS(服务质量)感知的服务组合问题是学术研究的热点,其目的是根据服务的QoS高效地选择满足用户全局约束及用户偏好的组合服务。The QoS (Quality of Service)-aware service composition problem is a hotspot of academic research, and its purpose is to efficiently select composite services that satisfy the user's global constraints and user preferences according to the service's QoS.
现有的QoS感知的服务组合方法可以分为三类:局部优选策略、全局优选策略及基于全局QoS约束分解策略。局部优选策略不容易满足用户的全局QoS约束;全局优选策略往往需要较高的时间复杂度;基于全局QoS约束分解策略的服务组合方法将服务组合过程分为约束分解与服务优选两个部分,更具灵活性。Existing QoS-aware service composition methods can be divided into three categories: local optimization strategy, global optimization strategy and decomposition strategy based on global QoS constraints. The local optimization strategy is not easy to satisfy the user's global QoS constraints; the global optimization strategy often requires high time complexity; the service composition method based on the global QoS constraint decomposition strategy divides the service composition process into two parts: constraint decomposition and service optimization. flexible.
现有的全局QoS约束分解模型可以分为三类:基于经验公式的约束分解模型,这类模型适应性较差;保障全局QoS约束的分解模型,这类模型在服务优选阶段不必须考虑全局QoS约束,因而可以采用局部优选方法以提升效率,但会丢失部分可行解,在用户约束强度较高时,容易找不到可行组合方案;保证不丢失可行解的分解模型,这类模型不能保障全局约束,而且在用户约束强度较低时,其淘汰候选服务和降低解搜索空间的效率较差。Existing global QoS constraint decomposition models can be divided into three categories: constraint decomposition models based on empirical formulas, which have poor adaptability; decomposition models that guarantee global QoS constraints, such models do not have to consider global QoS in the service optimization stage Constraints, so local optimization methods can be used to improve efficiency, but some feasible solutions will be lost. When the user's constraint intensity is high, it is easy to find no feasible combination scheme; the decomposition model that guarantees no loss of feasible solutions cannot guarantee the overall situation. Constraints, and when the user constraints are low, the efficiency of eliminating candidate services and reducing the solution search space is poor.
本发明旨在现有的保障全局QoS约束分解模型的基础上,通过引入松弛因子,提升模型对用户约束强度的自适应能力。即:当用户约束强度较强时,可以降低丢失可行解的概率,从而提升能够寻找到可行组合方案的概率;当用户约束强度较低时,可以更有效的淘汰候选服务,降低搜索空间。The invention aims at improving the self-adaptive ability of the model to the user constraint intensity by introducing a relaxation factor on the basis of the existing global QoS constraint decomposition model. That is: when the user constraint strength is strong, the probability of losing feasible solutions can be reduced, thereby increasing the probability of finding a feasible combination solution; when the user constraint strength is low, candidate services can be eliminated more effectively and the search space can be reduced.
发明内容Contents of the invention
本发明面向QoS感知的服务组合优选问题,提出了一种具有约束强度自适应性的全局QoS约束分解模型。主要涉及如下几个方面的内容:The present invention is oriented to the optimization problem of QoS-aware service combination, and proposes a global QoS constraint decomposition model with constraint strength self-adaption. It mainly involves the following aspects:
(1)面向服务组合的约束强度自适应的全局QoS约束分解模型。(1) A global QoS constraint decomposition model with self-adaptive constraint strength for service composition.
考虑一个包含n个任务T={t1,t2,…,tn}的工作流,任务ti有mi个候选服务。设用户对q1,q2,…,qu等u种QoS属性提出上限约束cq={cq1,cq2,…,cqu},并设定它们都是减益性属性(增益性属性可以通过乘以-1转化为减益性属性)。约束分解后对任务ti的第j种QoS的上限约束为xqij。构建全局QoS的约束分解模型如下:Consider a workflow containing n tasks T={t 1 ,t 2 ,...,t n }, task t i has m i candidate services. Assume that the user proposes upper limit constraints cq={cq 1 ,cq 2 ,…,cq u } for u QoS attributes such as q 1 , q 2 ,…,q u , and set them as detrimental attributes (gain attribute Can be converted into a debuff attribute by multiplying by -1). After constraint decomposition, the upper limit constraint on the jth QoS of task t i is xq ij . The constraint decomposition model for constructing global QoS is as follows:
目标:Target:
约束条件:Restrictions:
xqir∈[min(QoS(sij,qr)),max(QoS(sij,qr))],i∈[1,n] ③xq ir ∈ [min(QoS(s ij , q r )), max(QoS(s ij , q r ))], i∈[1, n] ③
式①描述模型的优化目标,即最大化所有任务的候选服务中满足上限约束为xqij的个数的乘积。其中,#{A}表示集合A中元素的个数;QoS(s,qr)表示服务s的qr属性的值。
式②用于自应用用户的约束强度。其中,QoS(cs*,qr)表示当任务ti的第r个QoS取值为xqir时,整个工作流的第r个QoS的聚合值。γr为引入的松弛因子,当约束强度较强时,γr应取大于0的值以多保留一些候选服务,提高寻找组合方案的成功率;当较弱时,γr可为0或小于0的值,以保障全局约束或多淘汰一些候选服务,降低解空间。Equation ② is used for the constraint strength of self-application users. Among them, QoS(cs * , q r ) represents the aggregation value of the rth QoS of the whole workflow when the rth QoS value of task t i is xq ir . γ r is the introduced relaxation factor. When the constraint strength is strong, γ r should take a value greater than 0 to retain more candidate services and improve the success rate of finding a combination solution; when it is weak, γ r can be 0 or less than The value of 0 is to ensure global constraints or to eliminate some candidate services to reduce the solution space.
式③用于约定xqir的取值范围。其中min(Qos(sij,qr))、max(Qos(sij,qr))分别表示任务ti的所有候选服务中,属性qr的最小值与最大值。Formula ③ is used to specify the value range of xq ir . Among them, min(Qos(s ij , q r )), max(Qos(s ij , q r )) represent the minimum value and maximum value of attribute q r in all candidate services of task t i respectively.
(2)约束强度定义。(2) Definition of constraint strength.
假设存在组合服务cs#={s1 #,s1 #,...,sn #},则用户对qr的约束强度ωr(r=1,2,…,u)由公式④确定。Suppose there is a composite service cs # = {s 1 # , s 1 # , ..., s n # }, Then the user's constraint strength ω r (r=1,2,...,u) on q r is determined by formula ④.
其中QoS(cs#,qr)表示cs#的第r种QoS的聚合值。Among them, QoS(cs # , q r ) represents the aggregation value of the rth QoS of cs # .
(3)基于模糊推理的松弛因子自适应调节方法。(3) An adaptive adjustment method of relaxation factor based on fuzzy reasoning.
松弛因子的取值,主要受到任务个数、约束个数、约束强度等因素的影响。由于约束个数通常较少,可以分别针对每种约束个数的情形,确定松弛因子的取值。The value of the relaxation factor is mainly affected by factors such as the number of tasks, the number of constraints, and the strength of constraints. Since the number of constraints is usually small, the value of the relaxation factor can be determined for each situation of the number of constraints.
以约束个数为1时的情况为例,设任务个数的论域为[1,200],模糊子集为{N1,N2,N3},隶属函数如图1所示;约束强度的论域为[-1,1],划分为13个等级,从小到大依次为W1,W2,…,W13,隶属函数如图2所示;松弛因子的论域为[-1,1],划分为15个等级,从小到大依次为S1,S2,…,S15,隶属函数如图3所示。根据表1确定的模糊推理规则,可得松弛因子的投影曲面如图4所示。Taking the case where the number of constraints is 1 as an example, set the domain of discourse of the number of tasks as [1,200], the fuzzy subset as {N1, N2, N3}, and the membership function as shown in Figure 1; the domain of discourse of the constraint strength is [-1,1], divided into 13 grades, from small to large in order of W1, W2,...,W13, the membership function is shown in Figure 2; the domain of the relaxation factor is [-1,1], divided into 15 There are four grades, from small to large in order of S1, S2,..., S15, and the membership functions are shown in Figure 3. According to the fuzzy inference rules determined in Table 1, the projection surface of the relaxation factor can be obtained as shown in Figure 4.
表1松弛因子的模糊推理规则Table 1 Fuzzy inference rules of relaxation factors
本发明的优点在于:The advantages of the present invention are:
(1)所构建的全局QoS约束分解模型具有约束强度自适应能力。当约束强度较强时,可提升可寻找到可行组合方案的概率;当约束强度较弱时,可有效淘汰候选服务、降低搜索空间。(1) The constructed global QoS constraint decomposition model has the capability of self-adaptive constraint strength. When the constraint strength is strong, the probability of finding a feasible combination scheme can be increased; when the constraint strength is weak, candidate services can be effectively eliminated and the search space can be reduced.
(2)设计了一种用户约束强度度量方法。(2) A method for measuring the strength of user constraints is designed.
(3)设计了一种基于模糊推理规则的松弛因子自适应方法,能够较好的适应不同任务规模与约束强度。(3) A relaxation factor adaptive method based on fuzzy inference rules is designed, which can better adapt to different task scales and constraint strengths.
附图说明Description of drawings
图1是任务个数的隶属函数。Figure 1 is the membership function of the number of tasks.
图2是约束强度的隶属函数。Figure 2 is the membership function of the constraint strength.
图3是松弛因子的隶属函数。Figure 3 is the membership function of the relaxation factor.
图4是松弛因子的投影曲面。Figure 4 is the projection surface of the relaxation factor.
具体实施方式Detailed ways
本发明是一种面向服务组合的约束强度自适应的全局QoS约束分解方法。具体步骤如下:The invention is a global QoS constraint decomposition method with self-adaptive constraint strength oriented to service combination. Specific steps are as follows:
(1)根据服务组合问题,确定任务个数、用户给定的全局约束、约束个数等信息。(1) According to the service composition problem, determine the number of tasks, the global constraints given by the user, the number of constraints and other information.
(2)根据式④,计算各个QoS的用户约束强度。(2) Calculate the user constraint strength of each QoS according to formula ④.
(3)采用模糊推理规则,根据任务个数、约束强度、约束个数等值,确定针对每个约束的松弛因子的值。如当约束个数为1时,设计任务个数的隶属函数如图1所示,用户约束强度的隶属函数如图2所示,松弛因子的隶属函数由图3所示,模糊推理规则由表1确定,可以得到如图4所示的松弛因子的投影曲面。从而对于由(1)确定的任务个数与由(2)确定的用户约束强度,可以根据图4可以确定相应的松弛因子的值。(3) Using fuzzy inference rules to determine the value of the relaxation factor for each constraint according to the number of tasks, the strength of constraints, and the number of constraints. For example, when the number of constraints is 1, the membership function of the number of design tasks is shown in Figure 1, the membership function of the user constraint strength is shown in Figure 2, the membership function of the relaxation factor is shown in Figure 3, and the fuzzy inference rules are shown in Table 1 is determined, the projection surface of the relaxation factor shown in Figure 4 can be obtained. Therefore, for the number of tasks determined by (1) and the user constraint strength determined by (2), the value of the corresponding relaxation factor can be determined according to FIG. 4 .
(4)构建由式①描述的优选目标、式②与③确定的约束条件的优化模型。(4) Construct an optimization model with the optimal objective described by
(5)采用贪心算法或智能优化算法求解(4)中的优化模型,并根据所求得的解,即对每个任务的局部约束,进行服务组合优选。这部分工作不属于本发明的内容。(5) Use greedy algorithm or intelligent optimization algorithm to solve the optimization model in (4), and optimize the service combination according to the obtained solution, that is, the local constraints on each task. This part of work does not belong to the content of the present invention.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910625830.6A CN110532504B (en) | 2019-07-11 | 2019-07-11 | QoS constraint decomposition method for constraint intensity perception of service combination |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910625830.6A CN110532504B (en) | 2019-07-11 | 2019-07-11 | QoS constraint decomposition method for constraint intensity perception of service combination |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110532504A CN110532504A (en) | 2019-12-03 |
CN110532504B true CN110532504B (en) | 2023-06-27 |
Family
ID=68659715
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910625830.6A Active CN110532504B (en) | 2019-07-11 | 2019-07-11 | QoS constraint decomposition method for constraint intensity perception of service combination |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110532504B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA2342180A1 (en) * | 1998-08-27 | 2000-03-09 | Verizon Laboratories Inc. | Method and system for burst congestion control in an internet protocol network |
US6212562B1 (en) * | 1997-03-28 | 2001-04-03 | Honeywell International Inc. | Criticality and quality of service (QoS) based resource management |
CN103577899A (en) * | 2013-11-19 | 2014-02-12 | 东南大学 | Service composition method based on reliability prediction combined with QoS |
CN104363293A (en) * | 2014-11-20 | 2015-02-18 | 北京邮电大学 | Web service selection method based on variable coefficients |
CN106407403A (en) * | 2016-09-22 | 2017-02-15 | 湖北文理学院 | A learning-based constrained service aggregation ranking prediction method and device |
CN107197006A (en) * | 2017-05-12 | 2017-09-22 | 中国人民解放军信息工程大学 | The multiple constraint service selection method and its device decomposed based on global QoS |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8250521B2 (en) * | 2007-12-14 | 2012-08-21 | International Business Machines Corporation | Method and apparatus for the design and development of service-oriented architecture (SOA) solutions |
US20140250489A1 (en) * | 2013-02-18 | 2014-09-04 | International Business Machines Corporation | Techniques for Policy Aware Service Composition |
-
2019
- 2019-07-11 CN CN201910625830.6A patent/CN110532504B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6212562B1 (en) * | 1997-03-28 | 2001-04-03 | Honeywell International Inc. | Criticality and quality of service (QoS) based resource management |
CA2342180A1 (en) * | 1998-08-27 | 2000-03-09 | Verizon Laboratories Inc. | Method and system for burst congestion control in an internet protocol network |
CN103577899A (en) * | 2013-11-19 | 2014-02-12 | 东南大学 | Service composition method based on reliability prediction combined with QoS |
CN104363293A (en) * | 2014-11-20 | 2015-02-18 | 北京邮电大学 | Web service selection method based on variable coefficients |
CN106407403A (en) * | 2016-09-22 | 2017-02-15 | 湖北文理学院 | A learning-based constrained service aggregation ranking prediction method and device |
CN107197006A (en) * | 2017-05-12 | 2017-09-22 | 中国人民解放军信息工程大学 | The multiple constraint service selection method and its device decomposed based on global QoS |
Non-Patent Citations (4)
Title |
---|
Florian Rosenberg等.Metaheuristic Optimization of Large-Scale QoS-aware Service Compositions.《 2010 IEEE International Conference on Services Computing》.2010,全文. * |
侯占伟等.基于全局QoS约束分解与关联感知的动态服务组合.《万方数据库》.2018,全文. * |
刘波 ; 张自力 ; .面向云制造系统复杂任务请求的服务组合优化框架.中国机械工程.2015,(08),全文. * |
叶恒舟 ; 李陶深 ; 关云慧 ; .基于时序约束分解的QoS感知的Web服务组合.电子学报.2017,(05),全文. * |
Also Published As
Publication number | Publication date |
---|---|
CN110532504A (en) | 2019-12-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10264081B2 (en) | Contextual people recommendations | |
Wei et al. | The multiple attribute decision-making VIKOR method and its application | |
CN118093801A (en) | Information interaction method, device and electronic device based on large language model | |
CN106302681A (en) | A kind of data display server system based on Internet of Things | |
WO2023125718A1 (en) | Data query method and system based on knowledge graph, and device and storage medium | |
CN102868757B (en) | A kind of Dynamic Web Services Composition method based on QoS index | |
CN103617265B (en) | A kind of ontology query engine based on ontology semantic information optimizes system | |
CN110532504B (en) | QoS constraint decomposition method for constraint intensity perception of service combination | |
CN103577899B (en) | A kind of service combining method combined with QoS based on creditability forceast | |
CN120258141A (en) | A sustainable learning multi-agent reasoning method and system based on mind map | |
CN108256077B (en) | A Dynamic Extended Knowledge Graph Reasoning Method for China Mobile Intelligent Customer Service | |
Wu et al. | Set pair fuzzy decision method based on cloud model | |
Xiao et al. | A system of systems framework for the water-energy-food nexus | |
CN105119961A (en) | Semantic Web service automatic combination method based on body | |
Herrera-Viedma et al. | Some remarks on the fuzzy linguistic model based on discrete fuzzy numbers | |
CN107423905A (en) | A kind of energy performance appraisal method and system | |
Bacciu et al. | Adaptive fuzzy-valued service selection | |
CN112199518B (en) | Knowledge graph recommendation driving production technology route map configuration method in production technology | |
CN107346470A (en) | A kind of Intelligent planning method towards traffic-information service | |
CN116703306A (en) | Access frequency optimization method, device, equipment and medium based on fuzzy algorithm | |
CN108696570B (en) | Cloud service functional attribute screening method based on domain ontology | |
CN103761285A (en) | Service resource retrieval method oriented to user needs | |
Xu et al. | Fuzzy fca based ontology mapping | |
Wang et al. | A thesaurus and online encyclopedia merging method for large scale domain-ontology automatic construction | |
CN115544266B (en) | Knowledge-driven digital twin-basin intelligent agent construction method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
EE01 | Entry into force of recordation of patent licensing contract |
Application publication date: 20191203 Assignee: Guangxi Xianggong Internet of Things Technology Co.,Ltd. Assignor: GUILIN University OF TECHNOLOGY Contract record no.: X2024980023555 Denomination of invention: A QoS constraint decomposition method based on constraint strength perception for service-oriented composition Granted publication date: 20230627 License type: Common License Record date: 20241114 |
|
EE01 | Entry into force of recordation of patent licensing contract | ||
EE01 | Entry into force of recordation of patent licensing contract |
Application publication date: 20191203 Assignee: GUANGXI HUANAN COMMUNICATION Co.,Ltd. Assignor: GUILIN University OF TECHNOLOGY Contract record no.: X2024980028430 Denomination of invention: A QoS constraint decomposition method based on constraint strength perception for service-oriented composition Granted publication date: 20230627 License type: Common License Record date: 20241129 |
|
EE01 | Entry into force of recordation of patent licensing contract |