CN103149840A - Semanteme service combination method based on dynamic planning - Google Patents

Semanteme service combination method based on dynamic planning Download PDF

Info

Publication number
CN103149840A
CN103149840A CN2013100418183A CN201310041818A CN103149840A CN 103149840 A CN103149840 A CN 103149840A CN 2013100418183 A CN2013100418183 A CN 2013100418183A CN 201310041818 A CN201310041818 A CN 201310041818A CN 103149840 A CN103149840 A CN 103149840A
Authority
CN
China
Prior art keywords
service
node
manufacturing activities
depth
parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013100418183A
Other languages
Chinese (zh)
Other versions
CN103149840B (en
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.)
Northwestern Polytechnical University
Original Assignee
Northwestern Polytechnical University
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 Northwestern Polytechnical University filed Critical Northwestern Polytechnical University
Priority to CN201310041818.3A priority Critical patent/CN103149840B/en
Publication of CN103149840A publication Critical patent/CN103149840A/en
Application granted granted Critical
Publication of CN103149840B publication Critical patent/CN103149840B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a semanteme service combination method based on dynamic planning. The semanteme service combination method based on the dynamic planning comprises firstly, decomposing a manufacturing service process model through a workflow engine, extracting requirements of each active node, and then obtaining all services which satisfy the active node through a service find matching process, and at last, selecting an appropriate candidate service from the services to generate a service combined scheme according to a certain strategy, achieving mapping a specific semanteme onto a task, and using a manufacturing service process which is described in a workflow model to translate a generating process of the semanteme service combined scheme into a dynamic evolution multistage decision process by combining characteristics of a networked manufacturing mode, using a data semanteme relationship between services as restraint, using comprehensive quality of the combined scheme as an optimization target, and using a dynamic planning method to generate a combined scheme which is globally optimum. The semanteme service combination method based on the dynamic planning has the advantages of enabling confirmation of a globally optimum solution to be easy, saving computing amount, being beneficial for providing abundant combined scheme results for a user, and improving performability of the combined scheme and automation degree of a combining process.

Description

A kind of semantic service combined method based on dynamic programming
Technical field
The present invention relates to the combination technique field of networking manufacturing service, be specially a kind of semantic service combined method based on dynamic programming.
Background technology
Services Composition is the operation flow that builds in Networked Manufacturing, realizes making resource demand assigned effective way.Existing Services Composition technology can be summarized as two large classes.A kind of method that is based on workflow, with flowing the similar model of modeling method with classical works, composite services are described, realize simple, but require to know in advance function and purpose that in the concrete structure of flow process and flow process, each Operations Requirements is realized, mapping from the workflow business model to service environment can only be carried out static conversion, and the robotization of process flow operation and dynamic adjustment degree are not high.The another kind of artificial intelligence approach that is based on, utilize body to carry out semantic tagger and business procedure modeling to input/output argument, prerequisite and the result etc. of Web service, come to such an extent that realize the Auto-matching of Web service by formal reasoning, the composite sequence that obtains serving, but the complexity of the method is higher, and purely relying on computing machine, automatically to carry out being combined at present of Web service also not yet ripe.
Summary of the invention
The technical matters that solves
In order to overcome the shortcoming of above-mentioned the whole bag of tricks, the automaticity of Services Composition and preferred process under the raising Networked Manufacturing, the present invention combines workflow with the Semantic Web Services technical advantage, a kind of semantic service combined method based on dynamic programming is proposed, accurately, dynamically generate from the manufacturing resource that is encapsulated as semantic service and meet consumers' demand and the assembled scheme of optimal quality, be conducive to the reasonable disposition resource, improve its utilization ratio, have meaning for the application implementation of networking manufacturing mode.
Technical scheme
Not enough for actual effect, the dirigibility of avoiding the assembled scheme generating mode that prior art causes, realize the distribution according to need between manufacturing operation demand and semantic service, the present invention adopts the dynamic binding pattern.Do not bind concrete service in the manufacturing operations process modeling, when carrying out a manufacturing operation, at first by workflow engine, the manufacturing operations procedural model is decomposed, extract the demand of each active node, then cross the service discovery matching process and obtain all services of satisfying this activity, the certain strategy of last basis is selected suitable candidate service from each and is generated the Services Composition scheme, realizes concrete semantic service is mapped on task.
Match because each manufacturing activities has a plurality of candidate service, this chooses optimum semantic service assembled scheme problem with regard to having produced global optimization.Although enumerate calculating can be exhaustive institute might scheme, along with increasing of the expansion of problem scale, movable number or candidate service number, will produce shot array.Therefore, the present invention is converted into a dynamic evolution, multistage decision process with the generation of Services Composition scheme, be about to whole Services Composition process and be divided into the stage that several interknit, need to make the services selection decision-making in each stage, and after the service in a upper stage is determined, can exert an influence to next stage services selection decision-making.Target of the present invention is exactly in the decision region of each stage permission, selects an optimizing decision sequence, is issued to best of breed service quality in predetermined constraint.Therefore, the present invention utilizes dynamic programming method under the prerequisite that keeps data semantic dependence between service, solves the optimum Services Composition scheme of global service quality (Quality of Service, QoS).
Technical scheme of the present invention is:
Described a kind of semantic service combined method based on dynamic programming is characterized in that: adopt following steps to form:
Step 1: the assembled scheme that will include n-1 manufacturing activities is divided into n manufacturing activities node v according to manufacture process i, i={0 wherein ..., n}, v 0Represent start node, v nRepresent end node; According to the service discovery matching process, obtain the candidate service that satisfies its functional requirement corresponding to each manufacturing activities node, wherein candidate service
Figure BDA00002808189400021
Expression manufacturing activities node v iJ corresponding candidate service; The candidate service that satisfies its functional requirement that each manufacturing activities node is corresponding forms the original state set of this manufacturing activities node, wherein for original state set U i, and
Figure BDA00002808189400022
Expression manufacturing activities node v iM candidate service that satisfies its functional requirement arranged;
Step 2: the data dependence relation between the candidate service of the candidate service of computational manufacturing active node and follow-up adjacent manufacturing activities node, and effective follow-up set of service corresponding to the candidate service of definite manufacturing activities node: wherein for manufacturing activities node v iJ candidate service
Figure BDA00002808189400023
The employing following steps obtain
Figure BDA00002808189400024
Effective follow-up set of service:
Step 2.1: get manufacturing activities node v i+1Corresponding original state set U i+1In element
Figure BDA00002808189400025
Calculate and describe The concept c of output parameter 1With description
Figure BDA00002808189400027
The concept c of input parameter 2Between semantic similarity Sem (c 1, c 2):
Sem ( c 1 , c 2 ) = | P ( c 1 ) ∩ P ( c 2 ) | | P ( c 1 ) ∩ P ( c 2 ) | + α ( c 1 , c 2 ) | P ( c 1 ) / P ( c 2 ) | + ( 1 - α ( c 1 , c 2 ) ) | P ( c 2 ) / P ( c 1 ) |
Wherein in function P (c) expression body to the attribute definition of concept c, ∩ ,/, ‖ is respectively intersection of sets, difference and gesture computing, α ( c 1 , c 2 ) = depth ( c 1 ) depth ( c 1 ) + depth ( c 2 ) depth ( C 1 ) > depth ( C 2 ) 1 - depth ( c 1 ) depth ( c 1 ) + depth ( c 2 ) depth ( C 1 ) ≤ depth ( C 2 ) , Function depth (c) calculates concept c residing degree of depth in body;
Step 2.2: the method traversal manufacturing activities node v that adopts step 2.1 i+1Corresponding original state set U i+1In all elements, described
Figure BDA00002808189400032
The concept of output parameter and description U i+1In semantic relevancy between the concept of each element input parameter, get U i+1In the semantic relevancy element that is not less than setting threshold form
Figure BDA00002808189400033
Effective follow-up set of service X i ( s i ( j ) ) ;
Step 3: the original quality parameter matrix of setting up each manufacturing activities node: for m candidate service arranged
Figure BDA00002808189400035
Manufacturing activities node v i, v iOriginal quality parameter matrix Q (v i) be:
Q ( v i ) = [ q s i ( 1 ) , . . . . . . , q ( s i ( m ) ) ] T = q i 1 ( 1 ) , q i 2 ( 1 ) , . . . . . . , q iw ( 1 ) q i 1 ( 2 ) , q i 2 ( 2 ) , . . . . . . , q iw ( 2 ) . . . . . . . . . . . . . . . . . . . . . . . . q i 1 ( m ) , q i 2 ( m ) , . . . . . . , q iw ( m ) m × w
Wherein
Figure BDA00002808189400037
The expression candidate service
Figure BDA00002808189400038
The original quality parameter
Figure BDA00002808189400039
W represents the mass parameter number;
Step 4: to the original quality parameter matrix normalization of each manufacturing activities node: for manufacturing activities node v iOriginal quality parameter matrix Q (v i), get
Figure BDA000028081894000310
Figure BDA000028081894000311
Be respectively matrix Q (v i) in maximal value and the minimum value of k row, k=1 ..., w; When k row original quality parameter is the parameter value direct ratio type mass parameter that more high quality-of-service is better, with k row original quality parameter according to
ib ik ( j ) = q ik ( j ) - q k min q k max - q k min q k max ≠ q k min 1 q k max = q k min
Carry out normalization; When k row original quality parameter is parameter value more during the poorer inverse ratio type mass parameter of high quality-of-service, with k row original quality parameter according to
db ik ( j ) = q k max - q ik ( j ) q k max - q k min q k max ≠ q k min 1 q k max = q k min
Carry out normalization;
Step 5: the overall quality value of calculating each candidate service of each manufacturing activities node: for manufacturing activities node v i, according to the mass parameter matrix after normalization, according to
QoS ( s i ( j ) ) = Σ k = 1 t ω k i b ik ( j ) Σ k = 1 w - t ω k d b ik ( j )
Computational manufacturing active node v iThe overall quality value of each candidate service, ω wherein k∈ [0,1] and T represents the quantity of direct ratio type mass parameter;
Step 6: with f i(u i) be optimization aim, set up Dynamic Programming Equation
f i ( u i ) = max s i + 1 ( a ) ∈ X i ( u i ) { QoS ( s i + 1 ( a ) ) + f i + 1 ( u i + 1 ) u i + 1 = s i + 1 ( a ) f n ( u n ) = 0 i = n - 1 , . . . , 1
U wherein iExpression state set U iElement; Adopt recursive algorithm that Dynamic Programming Equation is found the solution, obtain the Services Composition scheme of global optimum.
Beneficial effect
The present invention is in conjunction with networking manufacturing mode characteristics, the manufacturing operations process that adopts Work flow model to describe, the generative process of semantic service assembled scheme is converted into a dynamic evolution, multistage decision process, closing with data semantic between service is constraint, take the assembled scheme overall quality as optimization aim, utilize dynamic programming method to generate the assembled scheme of global optimum.The method is easy to determine globally optimal solution, has saved calculated amount, helps simultaneously to have improved the enforceability of assembled scheme and the automaticity of anabolic process for the user provides abundanter assembled scheme result.
Description of drawings
Fig. 1: the generative process of Services Composition scheme.
Fig. 2: the generative process of Services Composition scheme in the present embodiment.
Embodiment
Below in conjunction with specific embodiment, the present invention is described:
The present embodiment is take the machining blade part as example, and this blade processing is divided into processing damping platform (v 1), blade (v 2), blade root (v 3) three process, v 0And v 4Be beginning and end node, as shown in Figure 2.The user is identical for the degree of concern of each mass parameter, requires various deviation control in 10%, finds the solution the optimal service assembled scheme that satisfies this manufacturing operation requirement.
The semantic service combined method based on dynamic programming in the present embodiment adopts following steps:
Step 1: in the present embodiment, the processing assembled scheme of machining blade part includes 3 manufacturing activities, is divided into processing damping platform (v 1), blade (v 2), blade root (v 3) three process, be divided into 4 manufacturing activities node v according to manufacture process i, i={0 wherein ..., 4}, v 0Represent start node, v 4Represent end node; According to the service discovery matching process, every procedure exists a plurality of candidate service examples to meet the demands, wherein candidate service
Figure BDA00002808189400051
Expression manufacturing activities node v iJ corresponding candidate service; The candidate service that satisfies its functional requirement that each manufacturing activities node is corresponding forms the original state set of this manufacturing activities node, and the original state set of five manufacturing activities nodes in the present embodiment is respectively
U 1 = { s 1 ( 1 ) , s 1 ( 2 ) , s 1 ( 3 ) } , U 2 = { s 2 ( 1 ) , s 2 ( 2 ) , s 2 ( 3 ) , s 2 ( 4 ) } , U 3 = { s 3 ( 1 ) , s 3 ( 2 ) } , U 4 = { s 4 ( 1 ) } .
Step 2: for guaranteeing the correctness of composite services behavior, must satisfy data dependence relation between the service that is combined, namely in the composite services sequence, each forerunner's service that is positioned at the sequence front should produce the desired input of follow-up service.The present invention will make resource and encapsulate by the semantic service form, and the concept in the output in service interface, input parameter and domain body is mapped.
Data dependence relation between the candidate service of this step computational manufacturing active node and the candidate service of follow-up adjacent manufacturing activities node, and effective follow-up set of service corresponding to the candidate service of definite manufacturing activities node:
Wherein for manufacturing activities node v 1The 1st candidate service
Figure BDA00002808189400055
The employing following steps obtain
Figure BDA00002808189400056
Effective follow-up set of service:
Get manufacturing activities node v 2Corresponding original state set U 2In element The concept c of each element input parameter is described 2Be respectively:
Figure BDA00002808189400058
Figure BDA00002808189400059
Figure BDA000028081894000510
Figure BDA000028081894000511
Figure BDA000028081894000512
Describe
Figure BDA000028081894000513
The concept c of output parameter 1Be CNC milling machine.Calculate respectively and describe
Figure BDA000028081894000514
The concept c of output parameter 1With description U 2In the concept c of each element input parameter 2Between semantic similarity Sem (c 1, c 2):
Sem ( c 1 , c 2 ) = | P ( c 1 ) ∩ P ( c 2 ) | | P ( c 1 ) ∩ P ( c 2 ) | + α ( c 1 , c 2 ) | P ( c 1 ) / P ( c 2 ) | + ( 1 - α ( c 1 , c 2 ) ) | P ( c 2 ) / P ( c 1 ) |
wherein in function P (c) expression body to the attribute definition of concept c, attribute definition to CNC milling machine and these two concepts of machining center in making resource ontology is as follows: P (CNC milling machine)={ specifications and models, the worktable width, the speed of mainshaft, rapid traverse speed, tool-changing speed, interlock speed, main motor current, the main shaft peak torque, repetitive positioning accuracy, main shaft master high radial circle is beated }, P (machining center)={ specifications and models, the worktable width, the speed of mainshaft, number of motion axes, main motor current, the main shaft peak torque, repetitive positioning accuracy, milling plane degree }.∩ ,/, ‖ is respectively intersection of sets, difference and gesture computing, for example | P (C 1) ∩ P (c 2) | expression P (c 1) and P (c 2) number of total element, α ( c 1 , c 2 ) = depth ( c 1 ) depth ( c 1 ) + depth ( c 2 ) depth ( C 1 ) > depth ( C 2 ) 1 - depth ( c 1 ) depth ( c 1 ) + depth ( c 2 ) depth ( C 1 ) ≤ depth ( C 2 ) , α (c 1, c 2) reflected the Asymmetric ef-fect that two concepts positions in the body level produces semantically similar evaluation.Function depth (c) calculates concept c residing degree of depth in body.0≤Sem (c 1, c 2)≤1,1 expression concept c 1, c 2In full accord, 0 expression is fully uncorrelated.Calculate successively
Figure BDA00002808189400062
With U 2In the data dependence relation degree of each element be Sem ( s 1 ( 1 ) · c 1 , s 2 ( 1 ) · c 2 ) = 1 , Sem ( s 1 ( 1 ) · c 1 , s 2 ( 2 ) · c 2 ) = 0.78 , Sem ( s 1 ( 1 ) · c 1 , s 2 ( 3 ) · c 2 ) = 1 , Sem ( s 1 ( 1 ) · c 1 , s 2 ( 4 ) · c 2 ) = 0.78 . In 10%, the threshold value that namely requires the data dependence relation degree is 0.9 due to the various deviation control of customer requirements, so
Figure BDA00002808189400067
Be not
Figure BDA00002808189400068
Effective follow-up service, do not satisfy data dependence relation,
Figure BDA00002808189400069
Effective follow-up set of service is
Figure BDA000028081894000610
As shown in Figure 2, if there is the limit to be connected between service node, satisfy data dependence relation between expression both, can carry out combination operation, otherwise there is no line.In the assembled scheme solution procedure, only keep real effectively segmentation scheme on each stage like this, the segmentation scheme that does not meet the demands will be abandoned as inferior solution, thereby in time cut off the path that can not expand to optimal case, accelerate to find the solution speed.
Step 3: the overall quality of calculation services, as the index of stage decision-making.In order to guarantee that each stage can make optimizing decision, need to set up the stage target function that is used for weighing selected decision policy quality.At functional similarity and satisfying under the prerequisite of data dependence relation, service quality becomes the important indicator of weighing the decision-making quality of doing, and the stage target function is designated as
Figure BDA000028081894000611
Because the target direction of QoS parameter, dimension, span etc. are all inconsistent, simply original quality numerical value are made weighted sum and can not correctly reflect relative superior or inferior between the Services Composition scheme, so need to carry out standardization processing to QoS parameter.Here adopt the min-max normalization method, select [0,1] interval that original semantic service qualitative data is carried out standardization processing, realize objectivity and the comparability of qualitative data.
Candidate service is described
Figure BDA00002808189400071
All original quality parameters
Figure BDA00002808189400072
Can be expressed as
Figure BDA00002808189400073
W represents the QoS parameter number, manufacturing activities node v iCandidate service set U iIn the mass parameter of all services consisted of the original quality parameter matrix.By this structure service quality matrix-style, the mass parameter in a plurality of spaces is unified in a computation model, when increasing a new mass parameter, namely increase new row from matrix, make interpolation and the deletion of mass parameter not affect follow-up solution procedure, satisfied the extensibility requirement of QoS parameter.
This example adopts 5 parameters such as response time, cost, reliability, availability and satisfaction to come service quality measurement, sets up the original quality parameter matrix of each manufacturing activities node, here with manufacturing activities node v 2Be example, have 4 candidate service to satisfy its functional requirement, their qos parameter is as shown in table 1, constructs accordingly manufacturing activities node v 2Original quality parameter matrix Q (v 2):
Table 1 v 2The candidate service mass parameter of manufacturing activities node
Figure BDA00002808189400074
Q ( v 2 ) = 10 500 0.9 1 7 12 100 0.6 0.8 4 5 200 0.8 0.6 8 20 300 1 0.9 9
Step 4: to the original quality parameter matrix normalization of each manufacturing activities node: still with manufacturing activities node v 2Be example, get
Figure BDA00002808189400076
Figure BDA00002808189400077
Be respectively matrix Q (v 2) in maximal value and the minimum value of k row, k=1 ..., w.
When k row original quality parameter is the parameter value direct ratio type mass parameter that more high quality-of-service is better, with k row original quality parameter according to
ib ik ( j ) = q ik ( j ) - q k min q k max - q k min q k max ≠ q k min 1 q k max = q k min
Carry out normalization; When k row original quality parameter is parameter value more during the poorer inverse ratio type mass parameter of high quality-of-service, with k row original quality parameter according to
db ik ( j ) = q k max - q ik ( j ) q k max - q k min q k max ≠ q k min 1 q k max = q k min
Carry out normalization;
Because reliability, availability and satisfaction are direct ratio type mass parameter, response time, cost are inverse ratio type mass parameter, so the manufacturing activities node v after normalization 2Mass parameter matrix B (v 2):
B ( v 2 ) = 2 / 3 0 0.75 1 0.6 1 / 3 1 0 0.5 0 1 0.75 0.5 0 0.8 0 0.5 1 0.75 1
Step 5: the overall quality value of calculating each candidate service of each manufacturing activities node: for manufacturing activities node v i, according to the mass parameter matrix after normalization, according to
QoS ( s i ( j ) ) = Σ k = 1 t ω k i b ik ( j ) Σ k = 1 w - t ω k d b ik ( j )
Computational manufacturing active node v iThe overall quality value of each candidate service, ω wherein k∈ [0,1] and
Figure BDA00002808189400085
Represent k mass parameter shared proportion on effectiveness of quality, reflected user preference, t represents the quantity of direct ratio type mass parameter.
In the present embodiment, the user is identical to the attention rate of each mass parameter, i.e. ω 12345=0.2.Manufacturing activities node v 2Be example, according to B (v 2) in data, obtain each the service overall quality value be respectively:
Figure BDA00002808189400086
QoS ( s 2 ( 2 ) ) = 0.38 , QoS ( s 2 ( 3 ) ) = 0.74 , Qos ( s 2 ( 4 ) ) = 5.5 , As shown in Figure 2, service node numerical value that s identifies is this service colligate mass value.
Step 6: with f i(u i) be optimization aim, set up Dynamic Programming Equation
f i ( u i ) = max s i + 1 ( a ) ∈ X i ( u i ) { QoS ( s i + 1 ( a ) ) + f i + 1 ( u i + 1 ) u i + 1 = s i + 1 ( a ) f n ( u n ) = 0 i = n - 1 , . . . , 1
U wherein iExpression state set U iElement; Adopt recursive algorithm that Dynamic Programming Equation is found the solution, obtain the Services Composition scheme of global optimum.
In the present embodiment:
1. when i=3, state set
Figure BDA00002808189400092
Work as state
Figure BDA00002808189400093
Perhaps
Figure BDA00002808189400094
The time, its follow-up set of service
Figure BDA00002808189400095
So set up recursion equation be:
f 3 ( u 3 ) = max s 4 ( 1 ) ∈ X 3 ( u 3 ) { QoS ( s 4 ( 1 ) ) + f 4 ( u 4 ) } f 4 ( u 4 ) = 0
Have
Figure BDA00002808189400097
Obtain f by recursion equation 3(u 3)=0, optimum follow-up service
Figure BDA00002808189400098
2. when i=2, state set U 2 = { s 2 ( 1 ) , s 2 ( 2 ) , s 2 ( 3 ) , s 2 ( 4 ) } :
Work as state
Figure BDA000028081894000910
The time, effective follow-up set of service is
Figure BDA000028081894000911
Obtain according to recursion equation:
f 2 ( s 2 ( 1 ) ) = max QoS ( s 3 ( 1 ) ) + f 3 ( u 3 ) QoS ( s 3 ( 2 ) ) + f 3 ( u 3 ) = max 0.92 + 0 0.89 + 0 = 0.92 , Optimum follow-up service x 2 * ( s 2 ( 1 ) ) = s 3 ( 1 ) ;
In like manner, f 2 ( s 2 ( 2 ) ) = 0.92 , Optimum follow-up service x 2 * ( s 2 ( 2 ) ) = s 3 ( 1 ) ;
f 2 ( s 2 ( 3 ) ) = 0.92 , Optimum follow-up service x 2 * ( s 2 ( 3 ) ) = s 3 ( 1 ) ;
f 2 ( s 2 ( 4 ) ) = 0.89 , Optimum follow-up service x 2 * ( s 2 ( 4 ) ) = s 3 ( 2 ) .
3. work as i=1, state set U 1 = { s 1 ( 1 ) , s 1 ( 2 ) , s 1 ( 3 ) } :
Work as state
Figure BDA000028081894000921
The time, effective follow-up set of service is
Figure BDA000028081894000922
Obtain according to recursion equation:
f 1 ( s 1 ( 1 ) ) = max QoS ( s 2 ( 1 ) ) + f 2 ( s 2 ( 1 ) ) QoS ( s 2 ( 3 ) ) + f 2 ( s 2 ( 3 ) ) = max 3.53 + 0.92 0.74 + 0.92 = 4.45 , Optimum follow-up service x 1 * ( s 1 ( 1 ) ) = s 2 ( 1 ) ;
In like manner, f 1 ( s 1 ( 2 ) ) = 1.66 , Optimum follow-up service x 1 * ( s 1 ( 2 ) ) = s 2 ( 3 ) ;
f 1 ( s 1 ( 3 ) ) = 0.39 , Optimum follow-up service x 1 * ( s 1 ( 3 ) ) = s 2 ( 4 ) ;
According to state transition equation and above computation process, employing is back tracking method sequentially, can try to achieve the optimizing decision sequence of this example:
u 1 = s 1 ( 2 ) → u 2 = s 1 ( 2 ) → u 3 = s 2 ( 3 ) → u 4 = s 3 ( 1 ) ↓ ↓ ↓ ↓ x 1 * = s 1 ( 2 ) x 2 * = s 2 ( 3 ) x 3 * = s 3 ( 1 ) x 4 * = s 4 ( 1 )
Hence one can see that, and the optimal service assembled scheme that satisfies this mission requirements is
Figure BDA00002808189400104
Therefore after determining the optimal service assembled scheme, namely determine the assignment to each movable QoS in operation flow, can also calculate other crucial mass parameter values such as deadline overall tasks time, cost of this scheme.

Claims (1)

1. semantic service combined method based on dynamic programming is characterized in that: adopt following steps:
Step 1: the assembled scheme that will include n-1 manufacturing activities is divided into n manufacturing activities node v according to manufacture process i, i={0 wherein ..., n}, v 0Represent start node, v nRepresent end node; According to the service discovery matching process, obtain the candidate service that satisfies its functional requirement corresponding to each manufacturing activities node, wherein candidate service
Figure FDA00002808189300011
Expression manufacturing activities node v iJ corresponding candidate service; The candidate service that satisfies its functional requirement that each manufacturing activities node is corresponding forms the original state set of this manufacturing activities node, wherein for original state set U i, and Expression manufacturing activities node v iM candidate service that satisfies its functional requirement arranged;
Step 2: the data dependence relation between the candidate service of the candidate service of computational manufacturing active node and follow-up adjacent manufacturing activities node, and effective follow-up set of service corresponding to the candidate service of definite manufacturing activities node: wherein for manufacturing activities node v iJ candidate service The employing following steps obtain
Figure FDA00002808189300014
Effective follow-up set of service:
Step 2.1: get manufacturing activities node v i+1Corresponding original state set U i+1In element
Figure FDA00002808189300015
Calculate and describe
Figure FDA00002808189300016
The concept c of output parameter 1With description
Figure FDA00002808189300017
The concept c of input parameter 2Between semantic similarity Sem (c 1, c 2):
Sem ( c 1 , c 2 ) = | P ( c 1 ) ∩ P ( c 2 ) | | P ( c 1 ) ∩ P ( c 2 ) | + α ( c 1 , c 2 ) | P ( c 1 ) / P ( c 2 ) | + ( 1 - α ( c 1 , c 2 ) ) | P ( c 2 ) / P ( c 1 ) |
Wherein in function P (c) expression body to the attribute definition of concept c, ∩ ,/, ‖ is respectively intersection of sets, difference and gesture computing, α ( c 1 , c 2 ) = depth ( c 1 ) depth ( c 1 ) + depth ( c 2 ) depth ( C 1 ) > depth ( C 2 ) 1 - depth ( c 1 ) depth ( c 1 ) + depth ( c 2 ) depth ( C 1 ) ≤ depth ( C 2 ) , Function depth (c) calculates concept c residing degree of depth in body;
Step 2.2: the method traversal manufacturing activities node v that adopts step 2.1 i+1Corresponding original state set U i+1In all elements, described
Figure FDA000028081893000110
The concept of output parameter and description U i+1In semantic relevancy between the concept of each element input parameter, get U i+1In the semantic relevancy element that is not less than setting threshold form
Figure FDA000028081893000111
Effective follow-up set of service
Figure FDA000028081893000112
Step 3: the original quality parameter matrix of setting up each manufacturing activities node: for m candidate service arranged
Figure FDA000028081893000113
Manufacturing activities node v i, v iOriginal quality parameter matrix Q (v i) be:
Q ( v i ) = [ q s i ( 1 ) , . . . . . . , q ( s i ( m ) ) ] T = q i 1 ( 1 ) , q i 2 ( 1 ) , . . . . . . , q iw ( 1 ) q i 1 ( 2 ) , q i 2 ( 2 ) , . . . . . . , q iw ( 2 ) . . . . . . . . . . . . . . . . . . . . . . . . q i 1 ( m ) , q i 2 ( m ) , . . . . . . , q iw ( m ) m × w
Wherein
Figure FDA00002808189300022
The expression candidate service
Figure FDA00002808189300023
The original quality parameter
Figure FDA00002808189300024
W represents the mass parameter number;
Step 4: to the original quality parameter matrix normalization of each manufacturing activities node: for manufacturing activities node v iOriginal quality parameter matrix Q (v i), get
Figure FDA00002808189300025
Figure FDA00002808189300026
Be respectively matrix Q (v i) in maximal value and the minimum value of k row, k=1 ..., w; When k row original quality parameter is the parameter value direct ratio type mass parameter that more high quality-of-service is better, with k row original quality parameter according to
ib ik ( j ) = q ik ( j ) - q k min q k max - q k min q k max ≠ q k min 1 q k max = q k min
Carry out normalization; When k row original quality parameter is parameter value more during the poorer inverse ratio type mass parameter of high quality-of-service, with k row original quality parameter according to
db ik ( j ) = q k max - q ik ( j ) q k max - q k min q k max ≠ q k min 1 q k max = q k min
Carry out normalization;
Step 5: the overall quality value of calculating each candidate service of each manufacturing activities node: for manufacturing activities node v i, according to the mass parameter matrix after normalization, according to
QoS ( s i ( j ) ) = Σ k = 1 t ω k i b ik ( j ) Σ k = 1 w - t ω k d b ik ( j )
Computational manufacturing active node v iThe overall quality value of each candidate service, ω wherein k∈ [0,1] and
Figure FDA00002808189300031
T represents the quantity of direct ratio type mass parameter;
Step 6: with f i(u i) be optimization aim, set up Dynamic Programming Equation
f i ( u i ) = max s i + 1 ( a ) ∈ X i ( u i ) { QoS ( s i + 1 ( a ) ) + f i + 1 ( u i + 1 ) u i + 1 = s i + 1 ( a ) f n ( u n ) = 0 i = n - 1 , . . . , 1
U wherein iExpression state set U iElement; Adopt recursive algorithm that Dynamic Programming Equation is found the solution, obtain the Services Composition scheme of global optimum.
CN201310041818.3A 2013-02-01 2013-02-01 Semanteme service combination method based on dynamic planning Expired - Fee Related CN103149840B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310041818.3A CN103149840B (en) 2013-02-01 2013-02-01 Semanteme service combination method based on dynamic planning

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310041818.3A CN103149840B (en) 2013-02-01 2013-02-01 Semanteme service combination method based on dynamic planning

Publications (2)

Publication Number Publication Date
CN103149840A true CN103149840A (en) 2013-06-12
CN103149840B CN103149840B (en) 2015-03-04

Family

ID=48547989

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310041818.3A Expired - Fee Related CN103149840B (en) 2013-02-01 2013-02-01 Semanteme service combination method based on dynamic planning

Country Status (1)

Country Link
CN (1) CN103149840B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888543A (en) * 2014-04-04 2014-06-25 河南理工大学 Medical resource recommendation method and system based on Web services
CN107346468A (en) * 2017-06-08 2017-11-14 北京理工大学 The product design method of case-based reasioning
CN108009771A (en) * 2017-11-29 2018-05-08 深圳市易达云科技有限公司 A kind of automatic transition method and system of order status
CN109063934A (en) * 2018-09-27 2018-12-21 北京百度网讯科技有限公司 Combinatorial Optimization result acquisition methods, equipment and readable medium based on artificial intelligence
CN110059880A (en) * 2019-04-17 2019-07-26 中国人民解放军国防科技大学 Service discovery method and device
CN112765407A (en) * 2020-12-30 2021-05-07 重庆邮电大学 QoS service combination method based on user preference in Internet of things environment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040010491A1 (en) * 2002-06-28 2004-01-15 Markus Riedinger User interface framework
CN1536483A (en) * 2003-04-04 2004-10-13 陈文中 Method for extracting and processing network information and its system
US20080270384A1 (en) * 2007-04-28 2008-10-30 Raymond Lee Shu Tak System and method for intelligent ontology based knowledge search engine
CN101398852A (en) * 2008-10-16 2009-04-01 北京邮电大学 Semantic Web service matching method and system
CN101620596A (en) * 2008-06-30 2010-01-06 东北大学 Multi-document auto-abstracting method facing to inquiry
CN101674328A (en) * 2009-11-18 2010-03-17 南京理工大学 Subject service describing and matching method based on semantic and QoS constraint
CN101715002A (en) * 2009-10-20 2010-05-26 清华大学 Semantic consistency verification method of semantic Web service combination
CN101719933A (en) * 2009-11-25 2010-06-02 北京航空航天大学 Combination method of manufacturing grid resource services orienting whole life cycle and supporting semantemes
CN102004767A (en) * 2010-11-10 2011-04-06 北京航空航天大学 Abstract service logic-based interactive semantic Web service dynamic combination method
US20110238683A1 (en) * 2008-12-15 2011-09-29 Jae Han Kim System and method for sparql-query processing using the parametrized-sparql-query in based dbms

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040010491A1 (en) * 2002-06-28 2004-01-15 Markus Riedinger User interface framework
CN1536483A (en) * 2003-04-04 2004-10-13 陈文中 Method for extracting and processing network information and its system
US20080270384A1 (en) * 2007-04-28 2008-10-30 Raymond Lee Shu Tak System and method for intelligent ontology based knowledge search engine
CN101620596A (en) * 2008-06-30 2010-01-06 东北大学 Multi-document auto-abstracting method facing to inquiry
CN101398852A (en) * 2008-10-16 2009-04-01 北京邮电大学 Semantic Web service matching method and system
US20110238683A1 (en) * 2008-12-15 2011-09-29 Jae Han Kim System and method for sparql-query processing using the parametrized-sparql-query in based dbms
CN101715002A (en) * 2009-10-20 2010-05-26 清华大学 Semantic consistency verification method of semantic Web service combination
CN101674328A (en) * 2009-11-18 2010-03-17 南京理工大学 Subject service describing and matching method based on semantic and QoS constraint
CN101719933A (en) * 2009-11-25 2010-06-02 北京航空航天大学 Combination method of manufacturing grid resource services orienting whole life cycle and supporting semantemes
CN102004767A (en) * 2010-11-10 2011-04-06 北京航空航天大学 Abstract service logic-based interactive semantic Web service dynamic combination method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
周竞涛等: "面向对等网络知识集成网络的检索方法", 《计算机集成制造系统》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888543A (en) * 2014-04-04 2014-06-25 河南理工大学 Medical resource recommendation method and system based on Web services
CN107346468A (en) * 2017-06-08 2017-11-14 北京理工大学 The product design method of case-based reasioning
CN108009771A (en) * 2017-11-29 2018-05-08 深圳市易达云科技有限公司 A kind of automatic transition method and system of order status
CN108009771B (en) * 2017-11-29 2021-07-13 深圳市易达云科技有限公司 Automatic order state transition method and system
CN109063934A (en) * 2018-09-27 2018-12-21 北京百度网讯科技有限公司 Combinatorial Optimization result acquisition methods, equipment and readable medium based on artificial intelligence
CN109063934B (en) * 2018-09-27 2022-05-03 北京百度网讯科技有限公司 Artificial intelligence-based combined optimization result obtaining method and device and readable medium
CN110059880A (en) * 2019-04-17 2019-07-26 中国人民解放军国防科技大学 Service discovery method and device
CN110059880B (en) * 2019-04-17 2021-05-11 中国人民解放军国防科技大学 Service discovery method and device
CN112765407A (en) * 2020-12-30 2021-05-07 重庆邮电大学 QoS service combination method based on user preference in Internet of things environment
CN112765407B (en) * 2020-12-30 2022-11-11 重庆邮电大学 QoS service combination method based on user preference in Internet of things environment

Also Published As

Publication number Publication date
CN103149840B (en) 2015-03-04

Similar Documents

Publication Publication Date Title
CN103149840B (en) Semanteme service combination method based on dynamic planning
Mpelogianni et al. Re-approaching fuzzy cognitive maps to increase the knowledge of a system
CN101093559B (en) Method for constructing expert system based on knowledge discovery
CN106168797B (en) A kind of method that modularization obtains the useful item failure probability of nuclear power station fault tree
CN108599268B (en) Day-ahead optimization scheduling method considering wind power plant space-time association constraint
CN107846014B (en) Power grid probability vulnerability assessment method based on random features and series calculation
CN107632590B (en) A kind of bottom event sort method priority-based
CN107544251B (en) Single machine scheduling method for minimizing total stall period based on distributed robust model
CN102945283B (en) A kind of semantic Web service combination method
CN105893669A (en) Global simulation performance predication method based on data digging
CN103226759A (en) Dynamic cloud workflow scheduling method based on genetic algorithm
CN104463355A (en) Mini-satellite testing and planning system based on testing model
CN106407586B (en) A kind of Flight Vehicle Structure function integration design platform system based on uncertain optimization
Brodsky et al. Analysis and optimization in smart manufacturing based on a reusable knowledge base for process performance models
CN104281978B (en) A kind of Calculation of Available Transfer Capability method based on Probabilistic Load Flow
CN103577899B (en) A kind of service combining method combined with QoS based on creditability forceast
Gu et al. Load forecasting based distribution system network reconfiguration—A distributed data-driven approach
Lüder et al. Support for engineering chain migration towards multi-diciplinary engineering chains
CN117149410A (en) AI intelligent model based training, scheduling, commanding and monitoring system
CN111651507A (en) Big data processing method and system
CN104392317A (en) Project scheduling method based on genetic culture gene algorithm
CN110321596A (en) A kind of rolling stock structure simulation method based on finite element analysis
CN109857937A (en) One kind being based on Sine mapping and segmented continuous TABU search data processing method parallel
Groumpos et al. An overview of fuzzy cognitive maps for energy efficiency in intelligent buildings
CN108121868B (en) A kind of space face domain generation method and system based on KDtree for sheet metal component modeling

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150304

Termination date: 20190201

CF01 Termination of patent right due to non-payment of annual fee