CN103354506A - IOT service structure and service combining method - Google Patents

IOT service structure and service combining method Download PDF

Info

Publication number
CN103354506A
CN103354506A CN2013102785721A CN201310278572A CN103354506A CN 103354506 A CN103354506 A CN 103354506A CN 2013102785721 A CN2013102785721 A CN 2013102785721A CN 201310278572 A CN201310278572 A CN 201310278572A CN 103354506 A CN103354506 A CN 103354506A
Authority
CN
China
Prior art keywords
service
value
business
ant
qos
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
CN2013102785721A
Other languages
Chinese (zh)
Other versions
CN103354506B (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.)
Southeast University
Nanjing Post and Telecommunication University
Nanjing University of Posts and Telecommunications
Original Assignee
Southeast University
Nanjing Post and Telecommunication 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 Southeast University, Nanjing Post and Telecommunication University filed Critical Southeast University
Priority to CN201310278572.1A priority Critical patent/CN103354506B/en
Publication of CN103354506A publication Critical patent/CN103354506A/en
Application granted granted Critical
Publication of CN103354506B publication Critical patent/CN103354506B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses an IOT (Internet of Things) service structure and a service combining method. Based on services, the service combining method divides an IOT into five layers that are a device connection layer, a data communication layer, a device management layer, a service management layer and a service application layer. In the IOT service structure, a dynamic service combination method based on ant colony algorithm is provided on a Qos basis. In this way, reasonable mapping between Qos properties of services in the IOT service structure and parameters in the ant colony algorithm and the services can be chosen for combination aiming for satisfying user requirements and the highest Qos property. By adopting the service combining method, the user requirements can be satisfied well and service quality of the combined services can be guaranteed. Devices and prior atomic services in a network can be utilized fully. Therefore, the IOT service structure and the service combining method provided by the invention have a practical application value and an economic value.

Description

A kind of internet of things service framework and combinations of services method
Technical field
The present invention relates to applied software development and integrated technology field, relate in particular to internet of things service framework method and combinations of services method.
Background technology
In recent years, people are increasing for the research input of Internet of Things, are desirably in this Disciplinary Frontiers and get important breakthrough.Technology of Internet of things is that the Ashton professor at Massachusetts Institute of Technology Auto-ID center in 1999 proposes when research RFID technology, he take the Internet as the basis at imagination, in conjunction with REID, wireless data communication technology etc., construct an imagination that realizes the Internet in kind of global Item Information Real-Time Sharing, the concept of Internet of Things formally is born thus.In Internet of Things, article will become the participating actively person in society, information, the business activity.They each other independent communication with linked up since technology of Internet of things proposes; people place high hopes to this always; generally believe that this is the another technological revolution of areas of information technology, up to the present it has related to social every field, comprises science and techniques of defence, intelligent transportation; logistics management; Smart Home, security monitoring, environmental protection; global location, resource management etc., so Internet of Things has wide research and application prospect.
Along with the Internet of Things scope constantly develops expansion, the number of services that equipment in the network has been developed based on these equipment is also in continuous increase, yet Internet of Things does not also have a kind of unified architecture standard at present, this is so that the equipment in the Internet of Things and service management have brought certain difficulty, how equipment in the Internet of Things accesses, how to allow whole network know equipment and the function of new access after the access, how new business is issued out for the user after occurring, how to make up former subservice (the former subservice at this place refers to can not be split the business that only has simple function) with the waste of avoiding resource and the combination between each former subservice and guarantee the correctness of composite service and these problems of reliability etc. never are well solved, therefore be necessary to provide the business device management framework of a suitable environment of internet of things, and the method that makes up correctness and reliability between the suitable business guaranteed.And the present invention can solve top problem well.
Summary of the invention
The object of the invention is to provide the business structure under a kind of environment of internet of things, and the combinations of services method based on ant group algorithm under this framework, under this framework the Qos property value of business and each parameter in the ant group algorithm are made mapping, so that the business that is combined into can be met customer need to greatest extent and be had higher service quality.
The technical solution adopted for the present invention to solve the technical problems is: the present invention at first has been divided into five layers with whole Internet of Things, is respectively equipment access layer, data communication layer, equipment control layer, SML and service application layer.
The equipment access layer: the equipment access layer is the bottom in the whole Internet of Things framework, mainly is towards various equipment.
The data communication layer: whole data communication layer comprises and take the Internet as the communication network of representative, and so that physical equipment can with middleware or the gateway of these transmitted data on network.
The equipment control layer: the major function of this layer is to manage the equipment that accesses in the Internet of Things by the data communication layer, comprising the facility registration module, and device management module and monitoring of tools module.
SML: the major function of this layer is the business that management is developed based on equipment in the access Internet of Things, comprises the service log-on module, service management module, combinations of services module, business monitoring module.
Service application layer: this layer is mainly in the face of all types of users, this layer can be the processing platform of certain enterprise, perhaps use the individual pc of Internet of Things, can use the miscellaneous service that exists in the Internet of Things or be used in combination each former subservice by various platforms.
Comprehensive above five layers division, when having equipment or business to be added in the Internet of Things, at first, equipment is connected into the equipment access layer in the Internet of Things, this moment, the equipment to new adding in the equipment control layer carried out information registering, the monitoring of tools module is sent detection information by the data communication layer to this equipment, and the information of returning according to equipment generates the state of this equipment and confirms that registration effectively in device management module.The facility information that provide this moment in SML can be according to the equipment control layer carries out business development, after business development is finished, can register business newly developed at SML, whether while business monitoring module can detect this business available, if detect successfully, confirm that then service log-on is effective, this business will offer the user and use.When the user uses professional in the Internet of Things, monitoring of tools module and business monitoring module can detect the required business of calling of user successively, if detect unsuccessfully, then recommend other alternative business of user, guarantee reliability and the success rate of the business used with this.
Along with the continuous growth of internet of things service, cause waste to resource for fear of the overlapping development of business, combinations of services becomes research emphasis gradually.
According to the above framework of carrying, when the user when carrying out combinations of services, at first according to demand combination is divided into fixing step, the corresponding set of service of each step, the user selects an optimal service to participate in combination from this set when selecting in each step, utilize in the present invention based on the dynamic composition method of ant group algorithm and select specific service in each set of service, refer to dynamically that in the method each step combination all is the Qos information that obtains to participate in real time composite service, and according to Qos information the parameter in the ant group algorithm is made mapping, because the variation of network environment, the Qos property value also is that dynamic change, so select also along with environmental change is changing according to the combination that ant group algorithm is made, the good like this variation that adapts to professional environment for use, except considering Qos, in this algorithm, also considered user's expectation, the user can provide one to the desired value of each attribute of composite services Qos before composite services, in the present invention, the difference of the actual property value of utilizing Qos and expectation property value is as the important parameter in the ant group algorithm, like this can amplitude peak satisfy user's expectation, and.
Beneficial effect:
The invention provides a kind of internet of things service framework and based on the service dynamic combined method of ant group algorithm, at first by the user to determining according to demand combination step, the corresponding collection of services of each combination step, the business in these collection of services can obtain corresponding Qos information in the business structure that proposes.When dynamic combined, the relevant information of the Qos attribute of business and each parameter in the ant group algorithm are made reasonable mapping.The composite service that generates by the method can be good at meeting consumers' demand, so that composite service has higher service quality and higher reliability, therefore, has certain use value and economic worth.
Description of drawings
Fig. 1 is hierarchical chart of the present invention.
Fig. 2 is based on the service selection block diagram of ant group algorithm.
Fig. 3 is that combinations of services is selected schematic diagram.
Embodiment
Below in conjunction with Figure of description the invention is described in further detail.
The present invention proposes a kind of internet of things service framework and combinations of services method, at first the internet of things service architecture environment is divided into five layers, is respectively: equipment access layer, data communication layer, equipment control layer, SML, service application layer.
The equipment access layer: first step is exactly oneself to be deployed in the Access Layer of Internet of Things so that so that oneself can be by the perception of whole internet of things institute, after the Access Layer of equipment access Internet of Things by the data communication layer to more high-rise responsible;
Data communication layer: because most of physical equipment does not possess directly and the condition of internet communication, the data that they obtain often will just can be transferred to network by certain conversion, therefore the gateway and the middleware that have also comprised responsible data transaction in the data communication layer, the main task of this layer are to connect physical equipment and the Internet;
The equipment control layer: the major function of this layer is to manage the equipment that accesses in the Internet of Things by the data communication layer, comprising the facility registration module, device management module and monitoring of tools module, in the equipment control layer, record the information that is linked into each equipment in the Internet of Things, positional information (location) comprising equipment, equipment obtains time delay (time_delay) access times (count) equipment dependabilities (reliability) of data, when combinations of services, these log-on messages are reference values of Qos value, the equipment control layer also has the monitoring function to Internet of things access equipment in addition, when certain service needed is called certain equipment, the equipment control layer can check at first whether this equipment is in the networking state, whether functions of the equipments are normal, generate thus equipment state: the professional invoked procedure of normal (yes) undesired (no) unknown (unknown) only can use the equipment that is in normal condition.The equipment control layer can upgrade and the call flow relevant parameter after whole invoked procedure is finished, and such as equipment access times, successful call number etc., this layer provides the Qos property value of individual equipment to SML.
SML: the major function of this layer is the business that management is developed based on equipment in the access Internet of Things.Comprise the service log-on module, service management module, combinations of services module, business monitoring module.Wherein service log-on module major function is that the business that joins Internet of Things is registered, to make things convenient for the user to existing professional searching and make up; The information of service management module essential record business.Under the environment of Internet of Things, finish same specific function, have different business for user selection, finish same function with different business and must have different effects, the service management module can record after each operation flow executes, and the professional overall delay (time_delay) of carrying out of the professional cost (price) of carrying out, professionally carries out the shared information such as bandwidth (Bandwidth) in order to carrying out institute's reference next time.The combinations of services module is the important module of SML, this module mainly is responsible for the combination between the former subservice, this module is at first obtained each former subservice that may be used for combination according to user's request from professional Registering modules, then obtains best combinations of services for the user according to the business information in the service management module.The business monitoring module, mainly be before using each former subservice, this former subservice to be checked, this inspection comprises the related news such as the facility information that obtains in the equipment control layer and determines whether this business is in upstate, this layer provides professional Qos property value to service application layer when the Dynamic Selection of business, professional when carrying out, SML is according to the each parameter of carrying out of the implementation status record traffic of business, comprise professional Executing Cost, the professional time delay of carrying out, needed bandwidth and for this professional reliability evaluation during professional the execution, the execution result of nearest n time of this business of record record in SML, when the user carried out for the n+1 time, its Qos property value was just drawn by front n execution result.
Service application layer: this layer is mainly in the face of all types of users, this layer can be the processing platform of certain enterprise, perhaps use the PC of Internet of Things, can use the miscellaneous service that exists in the Internet of Things or be used in combination each former subservice by various platforms.
According to the characteristics of this framework, respectively recording equipment and professional Qos in equipment control layer and SML, wherein in the equipment control layer mainly for the Qos of individual equipment, in the SML mainly for the Qos of single business and composite service.
The combined method of utilizing ant group algorithm to provide a kind of Qos of service based in the above under the framework that proposes is come the combination of service guidance.In above-mentioned framework, can obtain professional relevant Qos information, according to the particularity of environment of internet of things the attribute of service quality is set as Q(q1, q2, q3, q4) q1 is the cost that the use business is paid, q2 is professional response delay (ms), and q3 is the shared bandwidth of service execution (Hz), and q4 is professional reliability.
Can directly obtain for response delay involved in the business and occupied bandwidth, the cost of paying carrying out this service, such as cost of use, bandwidth consumed etc., under this framework, this function is defined by service developer.
Therefore in the property value of service quality, professional reliability need to be by certain calculating, the below provides the computational methods of reliability, professional reliability is an important attribute, in this framework for the calculating of reliability mainly based on 2: 1. users estimate 2. with the evaluation to this business of other business of this service interaction.If reliability function is f(a, s), wherein a is user's evaluating (assessment_personal), s is the evaluating (assessment_service) of other services to this service; Because the Qos attribute of a service business of the every execution of service will be changed, and the user estimates and the evaluation of other services belongs to objective evaluation, evaluation between the front and back should have consistency, so the result when reliability is carried out by front n time when carrying out this business the n+1 time draws.If the reliability of front n execution is respectively:
Figure BDA00003456286400043
So reliability attributes for final the n time execution time institute's reference:
Figure BDA00003456286400041
For the consistency of retention value has:
Σ i φ i = 1 ; - - - ( 3 )
So considering the weight that the value of the reliability after time of implementation in the actual conditions more leans on obtains should have greatlyr:
φ i<φ i+1; (4)
Provide the weighting function that meets above condition at this, have when total degree n is even number when carrying out:
φ i = { 1 n - 1 ( i + 1 ) n i ≤ n 2 1 n + 1 ( n + 2 - i ) n i > n 2 - - - ( 5 )
Have when total degree n is odd number when carrying out:
&phi; i = 1 n - 1 ( i + 1 n ) i < n + 1 2 1 n i = n + 1 2 1 n + 1 ( n + 2 - i ) n i > n + 1 2 - - - ( 6 )
When drawing the computational methods of reliability, the q4 reliability value of Qos attribute can be tried to achieve, and therefore, can call this for the j time when professional, the service quality that this that obtains is professional this moment
Q j = &Sigma; i = 0 4 &alpha; ( i ) q i - - - ( 7 )
Q wherein iFour different property values of corresponding Qos, α (i) is the weight of each attribute among the Qos, and has for α (i):
Figure BDA00003456286400054
Execute after the business at every turn, professional property value is upgraded according to Self-variation, because there is the randomness in the certain limit in professional execution under certain environment, reliability in order to ensure the service quality of the business that draws, when calculating Qos, the Qos when once carrying out before this business also includes limit of consideration in:
If the Qos property value when this time carried out is Q jQos when carrying out this business last time is Q J-1, then this is carried out and assert that this business Qos is:
Figure BDA00003456286400055
In Services Composition, final purpose is to make the service quality of user's satisfaction and composite services the highest, namely finds can meet consumers' demand and meet most one group that Qos requires and make up the completing user operation in numerous services set.In this framework, use the Qos optimal combination method based on ant group algorithm.Its basic thought is: at first according to user's demand, by user oneself whole combination is divided into the n step, each has a set of service S corresponding with it in the step, selects a service s ∈ S and come the completing user operation from S set, therefore from S set mTo S set nMulitpath is just arranged, so just can select best of breed based on ant group algorithm.
In the present invention, the user is serving as the role of ant, when the starting stage in combinations of services, selecting to participate in the business that makes up in each set is at random, after a combinations of services is carried out, the user can this combination of Dynamic Acquisition from the above layer architecture of carrying Qos information, and the Qos according to selected business stays certain pheromones on this combinatorial path, user afterwards can come according to the probability that pheromones determines the Selection and Constitute path, after the composite service operation, user-selected combination just can trend towards optimum combination, thereby reach the result who wants, can also adapt to real-time environmental change according to the Dynamic Selection mechanism of ant colony algorithm for optimization design, environment for use changes, so that Qos changes, the combinatorial path of selection also can change according to these information.
When beginning to select service, so that the pheromones (τ on all service paths IjThe pheromones of expression on from i to the j path) be all mutually a fixed value τ 0, namely the incipient stage of combination supposes that each Qos property value of participating in composite service equates, selecting a probability of participating in composite service this moment is at random.
When after many users have carried out the composite services of some, the pheromones on every selecting paths will change according to the Qos property value, and this moment is at services set S nAnd S mIn by the service s i∈ S nTo s j∈ S mFinish from m and go on foot the n combination in step, select from s according to ant group algorithm iTo s jTransition probability be:
Figure BDA00003456286400061
Wherein S represents the set of all services that can select in this step combination, α is that the pheromones of the heuristic factor representation accumulation of information is for the importance of ant selecting paths, it is larger namely to work as α, then the pheromones left over of path is larger on the impact of ant selecting paths, its value gets 1 or 2 generally speaking, β is the expectation heuristic factor, the importance of expression visibility, reacted ant heuristic information influence degree to selecting when selecting paths, its value is larger, then more close to the greed rule, its value also gets 1 or 2, τ generally speaking Ij(t) be illustrated in t constantly, the pheromones of path i to the j.Heuristic information represents to select own path according to heuristic information when ant at selecting paths the time, in Path selection of the present invention, when making selecting paths, selects the highest combination of Qos value, and heuristic information is by inspiration letter η Ij(t) expression, at this so that heuristic function with the business the Qos value identical namely:
Figure BDA00003456286400062
From following formula as can be known, heuristic function is defined as next Qos value of serving, obviously the value of Qos is higher, and then heuristic function is larger, the larger then p of the value of heuristic function Ij(t) larger, namely can select the higher service of Qos value with greater probability, when Dynamic Selection, carrying out each time professional Qos property value all might be different, the result that n time is carried out recorded the Qos value in the above SML of carrying framework before is (q1, q2, q3, q4) property value, when when carrying out this business the n+1 time, four professional property values are obtained by front n execution result, namely carry out the then Qos property value q1 of this time business for the n+1 time, q2, q3 execute the rear result who obtains the n time, q4 gets according to the comprehensive front n time result of above reliability formula, obtained thus the Qos value when this time carried out, after the n+1 time executes, (the q1 when business is carried out in this time, q2, q3, q4) be recorded to SML, calculate the Qos property value when calling this business during for the n+2 time, delete simultaneously a record the earliest, the quantity of holding the record is constant.
Adopt following update rule for the pheromones on every paths:
Figure BDA00003456286400076
Figure BDA00003456286400071
Wherein γ ∈ (0,1) represents the pheromones volatility coefficient.The reason that adds this volatility coefficient is to satisfy the dynamic change of whole environment, and the pheromones that before carries under the environment can only be left (1-γ) doubly, and adds the unlimited accumulation that volatility coefficient can prevent pheromones.
Figure BDA00003456286400072
Represent that k ant stay pheromones increment on the path in this circulation.Adopt the Ant-Cycle model namely for the pheromones increment:
Figure BDA00003456286400073
Wherein Q is pheromones intensity, L kIt is the path that k ant walks in this circulation.The Qos property value of the path of in the present invention ant being walked from i to j when serve from i services selection j connects, and makes Q=1 at this, according to the Qos attribute that defines before, with L kBe defined as:
L k = &Sigma; i = 1 4 | f i - p i | - - - ( 14 )
Then:
Figure BDA00003456286400075
F wherein iFunction for i property value in the Qos attribute of the professional j of the selected next one passes through f iCan draw i the property value of Qos of the professional j of current selection, p iBe the desired value of user for i property value of this business, the user can provide the desired value of part or all of attribute, when the user does not provide the property value of expectation, and p iThen be under above framework, each attribute to be set one acquiescence desired value.By the definition of above pheromones increment function as can be known, when the less amount of information that then stays of absolute value of the difference of actual value and desired value is larger, select so the possibility of the little service of difference just larger.
So far, the main function of ant group algorithm and parameter are all given, are divided into following steps according to ant group algorithm user selection best service combined method in sum:
Step 1: parameter initialization.So that original execution time t and cycle-index N are 0, a maximum cycle N is set Max, m ant is put in the initial service, making the pheromones initial value on each bar execution route is τ Ij(t)=and constant, Δ τ Ij(0)=0.In this step, the ant number is for being number of users, and the user serves as the role of ant in ant group algorithm, for the correctness of the best of breed business that guarantees to select, has carried out N m user for this composite service MaxJust draw the selecting paths of final the best after the inferior selection.
Step 2:N ← N+1.Namely whenever do once circulation, so that circulation time N adds 1, once circulation herein refers to that all m user has finished the selection from set of service C1 to set of service Cn, and N then is that the such circulation of record has how many times, N MaxIt then is the upper limit of N;
Step 3:k ← k+1.The k here refers to have how many users to carry out the composite service that is in m user in the single cycle in step 2, carry out the entire flow of this composite service that is over whenever a user, namely choose final set of service Cn then so that k increases by 1 from initial set of service C1, finish this moment until once circulate during k=m and make the N in the step 2 increase by 1, otherwise the user who makes k=k+1 not finish composite services continues to carry out composite services.
Step 4: unique user is according to the state transition probability formula in the above formula (9) Result of calculation select should participate in combination by which service in the next services set.
Step 5: upgrade taboo list, the taboo list that herein arranges is for user m, in single cycle at set of service C iIn no longer select to participate in combination business: the service that 1. will select adds taboo list, 2. will carry out failed service adding taboo list in the set of service.
Step 6: if k<m, the number of users of namely finishing composite services then jumps to step 3 less than initial value m and continues to carry out, if traversal is finished k=m then execution in step 7.
Step 7: according to τ in above formula (11) and (12) Ij(t+n) computational methods are upgraded the amount of information on every traverse path.
Step 8: maximum is set then execution in step 9 if cycle-index has reached, namely as cycle-index N=N MaxThe time execution in step 9, jump to step 2 and continue down to carry out otherwise empty taboo list.
Step 9: according to the pheromones of finally staying on the selecting paths, the probability formula (9) when selecting next business in per step provides
Figure BDA00003456286400091
(t) maximum all can be arranged, select next business of participating in combination all according to the probability of maximum in per step Select, then drawn the optimal selection path, EP (end of program).

Claims (3)

1. an internet of things service framework and combinations of services method, it is characterized in that: described internet of things service architecture environment is divided into five layers, is respectively: equipment access layer, data communication layer, equipment control layer, SML, service application layer;
The equipment access layer: the equipment access layer is the bottom in the whole Internet of Things framework, mainly is towards various equipment;
The data communication layer: whole data communication layer comprises and take the Internet as the communication network of representative, and so that physical equipment can with middleware or the gateway of these transmitted data on network;
The equipment control layer: the major function of this layer is to manage the equipment that accesses in the Internet of Things by the data communication layer, comprising the facility registration module, and device management module and monitoring of tools module;
SML: the major function of this layer is the business that management is developed based on equipment in the access Internet of Things, comprises the service log-on module, service management module, combinations of services module, business monitoring module;
Service application layer: this layer is mainly in the face of all types of users, this layer can be the processing platform of certain enterprise, perhaps use the individual pc of Internet of Things, can use the miscellaneous service that exists in the Internet of Things or be used in combination each former subservice by various platforms.
2. a kind of internet of things service framework according to claim 1 and combinations of services method is characterized in that, described internet of things service combined method is divided into following steps:
Step 1: parameter initialization; So that original execution time t and cycle-index N are 0, a maximum cycle N is set Max, m ant is put in the initial service, making the pheromones initial value on each bar execution route is τ Ij(t)=and constant, Δ τ Ij(0)=0; In this step, the ant number is for being number of users, and the user serves as the role of ant in ant group algorithm, for the correctness of the best of breed business that guarantees to select, has carried out N m user for this composite service MaxJust draw the selecting paths of final the best after the inferior selection;
Step 2:N ← N+1; Namely whenever do once circulation, so that circulation time N adds 1, once circulation herein refers to that all m user has finished the selection from set of service C1 to set of service Cn, and N then is that the such circulation of record has how many times, N MaxIt then is the upper limit of N;
Step 3:k ← k+1; The k here refers to have how many users to carry out the composite service that is in m user in the single cycle in step 2, carry out the entire flow of this composite service that is over whenever a user, namely choose final set of service Cn then so that k increases by 1 from initial set of service C1, finish this moment until once circulate during k=m and make the N in the step 2 increase by 1, otherwise the user who makes k=k+1 not finish composite services continues to carry out composite services;
Step 4: unique user is according to state transition probability formula given below Result of calculation select should participate in combination by which service in the next services set;
Wherein S represents the set of all services that can select in this step combination, α is that the pheromones of the heuristic factor representation accumulation of information is for the importance of ant selecting paths, it is larger namely to work as α, then the pheromones left over of path is larger on the impact of ant selecting paths, its value gets 1 or 2 generally speaking, β is the expectation heuristic factor, the importance of expression visibility, reacted ant heuristic information influence degree to selecting when selecting paths, its value is larger, then more close to the greed rule, its value also gets 1 or 2, τ generally speaking Ij(t) be illustrated in t constantly, the pheromones of path i to the j is at t=0 τ constantly Ij(t) be constant;
Heuristic information represents to select own path according to heuristic information when ant at selecting paths the time, in Path selection of the present invention, when making selecting paths, selects the highest combination of Qos value, and heuristic information is by inspiration letter η Ij(t) expression, at this so that heuristic function with the business the Qos value identical namely:
η ij(t)=λQ j+(-1λQ) j-
Wherein need to draw four property values (q1, q2, q3, q4) of Qos for the Qos value, wherein q1 is the cost that the use business is paid, and q2 is professional response delay (ms), and q3 is the shared bandwidth of service execution (Hz), and q4 is professional reliability; For q1, q2, the q3 business is when carrying out, the SML that proposes at this patent is according to the each parameter of carrying out of the implementation status record traffic of business, comprise professional Executing Cost, the professional time delay of carrying out, needed bandwidth and for this professional reliability evaluation during professional the execution, the execution result of nearest n time of this business of record record in SML, when the n+1 time execution of user, its Qos property value is just drawn by front n execution result, the property value q1 that namely carries out for the n+1 time, q2, q3 get recorded data when carrying out for the n time, and q4 is then comprehensively drawn by front n execution result;
If the reliability function (the reliability function here is the value of computed reliability) of front n execution is respectively:
So for the reliability of carrying out time institute's reference for final the n time should for:
Figure FDA00003456286300022
For the consistency of retention value has:
&Sigma; i &phi; i = 1 ;
So considering the weight that the value of the reliability after time of implementation in the actual conditions more leans on obtains should have greatlyr:
φ i<φ i+1
The weighting function that then meets above condition has when total degree n is even number when carrying out:
&phi; i = { 1 n - 1 ( i + 1 ) n i &le; n 2 1 n + 1 ( n + 2 - i ) n i > n 2
Have when total degree n is odd number when carrying out:
&phi; i = 1 n - 1 ( i + 1 n ) i < n + 1 2 1 n i = n + 1 2 1 n + 1 ( n + 2 - i ) n i > n + 1 2
Can call this for the j time when professional, the service quality that this that obtains is professional thus:
Q i = &Sigma; i &alpha; ( i ) q i ,
Wherein α (i) is the weight of each attribute, and has for α (i)
Figure FDA00003456286300034
Execute after the business, professional property value is upgraded according to Self-variation at every turn, after this executes the property value of the n+1 time execution is recorded, as the n+2 time property value;
Step 5: upgrade taboo list, the taboo list that herein arranges is for user m, in single cycle at set of service C iIn no longer select to participate in combination business: the service that 1. will select adds taboo list, 2. will carry out failed service adding taboo list in the set of service;
Step 6: if k<m, the number of users of namely finishing composite services then jumps to step 3 less than initial value m and continues to carry out, if k=m then execution in step 7;
Step 7: upgrade the amount of information on every traverse path;
In this step, adopt following update rule for the amount of information on every paths:
Figure FDA00003456286300035
Wherein γ ∈ (0,1) represents the pheromones volatility coefficient; The reason that adds this volatility coefficient is to satisfy the dynamic change of whole environment, and the pheromones that before carries under the environment can only be left (1-γ) doubly, and adds the unlimited accumulation that volatility coefficient can prevent pheromones;
Figure FDA00003456286300041
Represent that k ant stay pheromones increment on the path in this circulation; Adopt the Ant-Cycle model namely for the pheromones increment:
Figure FDA00003456286300042
Wherein Q is pheromones intensity, L kIt is the path that k ant walks in this circulation; The Qos property value of the path of in the present invention ant being walked from i to j when serve from i services selection j connects, and makes Q=1 at this, according to the Qos attribute that defines before, with L kBe defined as:
L k = &Sigma; i = 1 4 | f i - p i |
Then:
Figure FDA00003456286300044
F wherein iFor this function of serving i the property value of Qos, pass through f iCan draw i the property value of current service Qos, p iFor the user serves the desired value of i property value for this, by the definition of this function as can be known, when the less amount of information that then stays of absolute value of the difference of actual value and desired value is larger, select so the possibility of the little service of difference just larger;
Step 8: maximum is set then execution in step 9 if cycle-index has reached, namely as cycle-index N=N MaxThe time execution in step 9, jump to step 2 and continue down to carry out otherwise empty taboo list;
Step 9: according to the pheromones of finally staying on the selecting paths, the probability formula (9) when selecting next business in per step provides
Figure FDA00003456286300045
There is a maximum in the capital, selects next business of participating in combination all according to the probability of maximum in per step
Figure FDA00003456286300046
Select, then drawn the optimal selection path, EP (end of program).
3. an internet of things service framework and combinations of services method is characterized in that described internet of things service combined method is divided into following steps:
Step 1: parameter initialization; So that original execution time t and cycle-index N are 0, a maximum cycle N is set Max, m ant is put in the initial service, making the pheromones initial value on each bar execution route is τ Ij(t)=and constant, Δ τ Ij(0)=0; In this step, the ant number is for being number of users, and the user serves as the role of ant in ant group algorithm, for the correctness of the best of breed business that guarantees to select, has carried out N m user for this composite service MaxJust draw the selecting paths of final the best after the inferior selection;
Step 2:N ← N+1; Namely whenever do once circulation, so that circulation time N adds 1, once circulation herein refers to that all m user has finished the selection from set of service C1 to set of service Cn, and N then is that the such circulation of record has how many times, N MaxIt then is the upper limit of N;
Step 3:k ← k+1; The k here refers to have how many users to carry out the composite service that is in m user in the single cycle in step 2, carry out the entire flow of this composite service that is over whenever a user, namely choose final set of service Cn then so that k increases by 1 from initial set of service C1, finish this moment until once circulate during k=m and make the N in the step 2 increase by 1, otherwise the user who makes k=k+1 not finish composite services continues to carry out composite services;
Step 4: unique user is according to state transition probability formula given below Result of calculation select should participate in combination by which service in the next services set;
Figure FDA00003456286300051
Wherein S represents the set of all services that can select in this step combination, α is that the pheromones of the heuristic factor representation accumulation of information is for the importance of ant selecting paths, it is larger namely to work as α, then the pheromones left over of path is larger on the impact of ant selecting paths, its value gets 1 or 2 generally speaking, β is the expectation heuristic factor, the importance of expression visibility, reacted ant heuristic information influence degree to selecting when selecting paths, its value is larger, then more close to the greed rule, its value also gets 1 or 2, τ generally speaking Ij(t) be illustrated in t constantly, the pheromones of path i to the j is at t=0 τ constantly Ij(t) be constant;
Heuristic information represents to select own path according to heuristic information when ant at selecting paths the time, in Path selection of the present invention, when making selecting paths, selects the highest combination of Qos value, and heuristic information is by inspiration letter η Ij(t) expression, at this so that heuristic function with the business the Qos value identical namely:
Figure FDA00003456286300053
Wherein need to draw four property values (q1, q2, q3, q4) of Qos for the Qos value, wherein q1 is the cost that the use business is paid, and q2 is professional response delay (ms), and q3 is the shared bandwidth of service execution (Hz), and q4 is professional reliability; For q1, q2, the q3 business is when carrying out, the SML that proposes at this patent is according to the each parameter of carrying out of the implementation status record traffic of business, comprise professional Executing Cost, the professional time delay of carrying out, needed bandwidth and for this professional reliability evaluation during professional the execution, the execution result of nearest n time of this business of record record in SML, when the n+1 time execution of user, its Qos property value is just drawn by front n execution result, the property value q1 that namely carries out for the n+1 time, q2, q3 get recorded data when carrying out for the n time, and q4 is then comprehensively drawn by front n execution result;
If the reliability function (the reliability function here is the value of computed reliability) of front n execution is respectively:
So for the reliability of carrying out time institute's reference for final the n time should for:
Figure FDA00003456286300061
For the consistency of retention value has:
&Sigma; i &phi; i = 1 ;
So considering the weight that the value of the reliability after time of implementation in the actual conditions more leans on obtains should have greatlyr:
φ i<φ i+1
The weighting function that then meets above condition has when total degree n is even number when carrying out:
&phi; i = { 1 n - 1 ( i + 1 ) n i &le; n 2 1 n + 1 ( n + 2 - i ) n i > n 2
Have when total degree n is odd number when carrying out:
&phi; i = 1 n - 1 ( i + 1 n ) i < n + 1 2 1 n i = n + 1 2 1 n + 1 ( n + 2 - i ) n i > n + 1 2
Can call this for the j time when professional, the service quality that this that obtains is professional thus:
Q i = &Sigma; i &alpha; ( i ) q i ,
Wherein α (i) is the weight of each attribute, and has for α (i)
Figure FDA00003456286300066
Execute after the business, professional property value is upgraded according to Self-variation at every turn, after this executes the property value of the n+1 time execution is recorded, as the n+2 time property value;
Step 5: upgrade taboo list, the taboo list that herein arranges is for user m, in single cycle at set of service C iIn no longer select to participate in combination business: the service that 1. will select adds taboo list, 2. will carry out failed service adding taboo list in the set of service;
Step 6: if k<m, the number of users of namely finishing composite services then jumps to step 3 less than initial value m and continues to carry out, if k=m then execution in step 7;
Step 7: upgrade the amount of information on every traverse path;
In this step, adopt following update rule for the amount of information on every paths:
Figure FDA00003456286300076
Figure FDA00003456286300071
Wherein γ ∈ (0,1) represents the pheromones volatility coefficient; The reason that adds this volatility coefficient is to satisfy the dynamic change of whole environment, and the pheromones that before carries under the environment can only be left (1-γ) doubly, and adds the unlimited accumulation that volatility coefficient can prevent pheromones;
Figure FDA00003456286300072
Represent that k ant stay pheromones increment on the path in this circulation; Adopt the Ant-Cycle model namely for the pheromones increment:
Figure FDA00003456286300073
Wherein Q is pheromones intensity, L kIt is the path that k ant walks in this circulation; The Qos property value of the path of in the present invention ant being walked from i to j when serve from i services selection j connects, and makes Q=1 at this, according to the Qos attribute that defines before, with L kBe defined as:
L k = &Sigma; i = 1 4 | f i - p i |
Then:
F wherein iFor this function of serving i the property value of Qos, pass through f iCan draw i the property value of current service Qos, p iFor the user serves the desired value of i property value for this, by the definition of this function as can be known, when the less amount of information that then stays of absolute value of the difference of actual value and desired value is larger, select so the possibility of the little service of difference just larger;
Step 8: maximum is set then execution in step 9 if cycle-index has reached, namely as cycle-index N=N MaxThe time execution in step 9, jump to step 2 and continue down to carry out otherwise empty taboo list;
Step 9: according to the pheromones of finally staying on the selecting paths, the probability formula (9) when selecting next business in per step provides
Figure FDA00003456286300081
There is a maximum in the capital, selects next business of participating in combination all according to the probability of maximum in per step
Figure FDA00003456286300082
Select, then drawn the optimal selection path, EP (end of program).
CN201310278572.1A 2013-07-03 2013-07-03 A kind of internet of things service framework and combinations of services method Expired - Fee Related CN103354506B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310278572.1A CN103354506B (en) 2013-07-03 2013-07-03 A kind of internet of things service framework and combinations of services method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310278572.1A CN103354506B (en) 2013-07-03 2013-07-03 A kind of internet of things service framework and combinations of services method

Publications (2)

Publication Number Publication Date
CN103354506A true CN103354506A (en) 2013-10-16
CN103354506B CN103354506B (en) 2016-09-28

Family

ID=49310822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310278572.1A Expired - Fee Related CN103354506B (en) 2013-07-03 2013-07-03 A kind of internet of things service framework and combinations of services method

Country Status (1)

Country Link
CN (1) CN103354506B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105323256A (en) * 2015-11-25 2016-02-10 北京荣之联科技股份有限公司 Method and system for generating positive feedback service catalog
CN108108444A (en) * 2017-12-22 2018-06-01 国云科技股份有限公司 A kind of business event unit self-adapting system and its implementation
CN109474973A (en) * 2018-12-03 2019-03-15 上海金卓网络科技有限公司 Method, apparatus, equipment and medium are determined based on the ad hoc network path of ant group algorithm
WO2020118573A1 (en) * 2018-12-12 2020-06-18 Siemens Aktiengesellschaft Application configuration method, apparatus, system of industrial internet of things solution, computer software product, and readable medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860978A (en) * 2010-05-14 2010-10-13 南京邮电大学 Internet of things system structure
CN101951693A (en) * 2010-08-03 2011-01-19 天津中启创科技有限公司 Thing Internet gateway of heterogeneous wireless network and control method thereof
CN102801722A (en) * 2012-08-09 2012-11-28 福建物联天下信息科技有限公司 Internet of things authentication method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860978A (en) * 2010-05-14 2010-10-13 南京邮电大学 Internet of things system structure
CN101951693A (en) * 2010-08-03 2011-01-19 天津中启创科技有限公司 Thing Internet gateway of heterogeneous wireless network and control method thereof
CN102801722A (en) * 2012-08-09 2012-11-28 福建物联天下信息科技有限公司 Internet of things authentication method and system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105323256A (en) * 2015-11-25 2016-02-10 北京荣之联科技股份有限公司 Method and system for generating positive feedback service catalog
CN105323256B (en) * 2015-11-25 2019-01-22 北京荣之联科技股份有限公司 A kind of positive feedback service catalogue generation method and system
CN108108444A (en) * 2017-12-22 2018-06-01 国云科技股份有限公司 A kind of business event unit self-adapting system and its implementation
CN109474973A (en) * 2018-12-03 2019-03-15 上海金卓网络科技有限公司 Method, apparatus, equipment and medium are determined based on the ad hoc network path of ant group algorithm
WO2020118573A1 (en) * 2018-12-12 2020-06-18 Siemens Aktiengesellschaft Application configuration method, apparatus, system of industrial internet of things solution, computer software product, and readable medium
CN113039566A (en) * 2018-12-12 2021-06-25 西门子股份公司 Application program configuration method, device, system, computer software product and readable medium for industrial Internet of things solution

Also Published As

Publication number Publication date
CN103354506B (en) 2016-09-28

Similar Documents

Publication Publication Date Title
Singh et al. QRSF: QoS-aware resource scheduling framework in cloud computing
CN104102544B (en) Mix the Parallel Task Scheduling Cost Optimization Approach of multi-QoS constraint under cloud environment
CN103699446B (en) Quantum-behaved particle swarm optimization (QPSO) algorithm based multi-objective dynamic workflow scheduling method
CN103544623B (en) A kind of Web service recommendation method based on user preference feature modeling
CN101820428B (en) Composite service optimizing method and device based on protocol composition mechanism
US8725522B2 (en) Automatic identification of user-aligned fragments in business process models
CN114721833B (en) Intelligent cloud coordination method and device based on platform service type
CN105528248B (en) Intelligent perception incentive mechanism under multitask collaboration application
CN103064744B (en) The method for optimizing resources that a kind of oriented multilayer Web based on SLA applies
Yucel et al. QoS-based budget constrained stable task assignment in mobile crowdsensing
Da Silva et al. Resource allocation mechanism for a fog-cloud infrastructure
CN106789118A (en) Cloud computing charging method based on service-level agreement
CN103354506A (en) IOT service structure and service combining method
CN110209467A (en) A kind of flexible resource extended method and system based on machine learning
Karsten et al. Analysis of resource pooling games via a new extension of the Erlang loss function
Gunes et al. Vehicle routing for food rescue programs: A comparison of different approaches
Kato et al. A study on benefit estimation that considers the values of travel time and travel time reliability in road networks
Liu et al. RFID: Towards low latency and reliable DAG task scheduling over dynamic vehicular clouds
CN101626305A (en) Trusted dynamic level scheduling method for improving security of network environment
CN101127700A (en) Grid resource scheduling method based on network bandwidth and user charge
Jiang et al. A reinforcement learning-based incentive mechanism for task allocation under spatiotemporal crowdsensing
Aruna et al. FRAMEWORK FOR RANKING SERVICE PROVIDERS OF FEDERATED CLOUD ARCHITECTURE USING FUZZY SETS.
CN109067840A (en) Method, system and the storage medium of artificial intelligence online service
CN105426177B (en) A kind of method and system for establishing SaaS Application models
Wang et al. A cost-effective service composition method for mass customized QoS requirements

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
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20131016

Assignee: Jiangsu Nanyou IOT Technology Park Ltd.

Assignor: Nanjing Post & Telecommunication Univ.

Contract record no.: 2016320000215

Denomination of invention: IOT service structure and service combining method

Granted publication date: 20160928

License type: Common License

Record date: 20161118

LICC Enforcement, change and cancellation of record of contracts on the licence for exploitation of a patent or utility model
EC01 Cancellation of recordation of patent licensing contract

Assignee: Jiangsu Nanyou IOT Technology Park Ltd.

Assignor: Nanjing Post & Telecommunication Univ.

Contract record no.: 2016320000215

Date of cancellation: 20180116

EC01 Cancellation of recordation of patent licensing contract
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160928

Termination date: 20190703

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