CN102857571B - Combined service simulation method and device thereof - Google Patents

Combined service simulation method and device thereof Download PDF

Info

Publication number
CN102857571B
CN102857571B CN201210340202.1A CN201210340202A CN102857571B CN 102857571 B CN102857571 B CN 102857571B CN 201210340202 A CN201210340202 A CN 201210340202A CN 102857571 B CN102857571 B CN 102857571B
Authority
CN
China
Prior art keywords
function
emulation
atomic service
composite services
service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210340202.1A
Other languages
Chinese (zh)
Other versions
CN102857571A (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.)
Tianhang Changying (Jiangsu) Technology Co.,Ltd.
Original Assignee
Beihang 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 Beihang University filed Critical Beihang University
Priority to CN201210340202.1A priority Critical patent/CN102857571B/en
Publication of CN102857571A publication Critical patent/CN102857571A/en
Application granted granted Critical
Publication of CN102857571B publication Critical patent/CN102857571B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a combined service simulation method and device thereof The combined service simulation method comprises the following steps: a combined service flow model is acquired and comprises at least two function executing nodes and an interactive manner of at least two function executing nodes; simulation atom service sets corresponding to each function executing node are generated according to function indexes of all function executing nodes in the combined service flow model; a simulation atom service corresponding to each function executing node in the simulation of the time is determined in the simulation atom service set corresponding to each function executing node according to a preset algorithm; a simulation atom service corresponding to each function executing node is executed according to the interactive manner of at least two function executing nodes in the combined service flow model; and a simulation executing result is outputted. Through executing the combined service in simulation, the combined service simulation method and device thereof can reduce the error rate in the formal execution of the combined service, so as to decrease the expenditure of the combined service.

Description

Composite services emulation mode and device
Technical field
The present invention relates to WEB application technology, particularly relate to a kind of composite services emulation mode and device.
Background technology
In recent years, along with the develop rapidly of information technology and the Internet, the social all departments level of informatization is more and more higher, and therefore, Web service proposes a kind of service-oriented distributed computing platform, i.e. composite services.Composite services are a process of newly serving by multiple Services Composition, to increase function and the performance of service.If the target of known combination, related service and interactive mode thereof, then only need to find corresponding service, set up corresponding combination script and perform.
But, the bottleneck finding that these composite services are existing in practical implementation is difficult to after multiple Services Composition gets up, after performing many times, just may find that the effect of composite services is not as people's will, and then modify, the waste of time and cost will be caused like this.
Summary of the invention
The object of the present invention is to provide a kind of composite services emulation mode and device, to realize the emulation to composite services.
First aspect of the present invention is to provide a kind of composite services emulation mode, comprising:
Obtain composite services procedural model, described composite services procedural model comprises the interactive mode of at least two function XM and described at least two function XM;
Emulation atomic service collection corresponding to each function XM is generated according to the functional parameter of function XM each in described composite services procedural model;
To concentrate from the emulation atomic service that each function XM is corresponding according to the algorithm preset and determine the emulation atomic service corresponding with each function XM this emulation;
Emulation atomic service corresponding to each function XM is performed according to the interactive mode of at least two function XM in described composite services procedural model;
Output simulation execution result.
Another aspect of the present invention is to provide a kind of composite services simulator, comprising:
Receiver module, for obtaining composite services procedural model, described composite services procedural model comprises the interactive mode of at least two function XM and described at least two function XM;
Emulation atomic service generation module, for generating emulation atomic service collection corresponding to each function XM according to the functional parameter of function XM each in described composite services procedural model;
Emulation atomic service selects module, determines the emulation atomic service corresponding with each function XM this emulation for concentrating from the emulation atomic service that each function XM is corresponding according to the algorithm preset;
Emulated execution module, for performing emulation atomic service corresponding to each function XM according to the interactive mode of at least two function XM in described composite services procedural model;
Output module, for Output simulation execution result.
The beneficial effect of employing the invention described above technical scheme is: perform emulation atomic service corresponding to each function XM according to the interactive mode of at least two function XM in composite services procedural model, clearly can know the properties of the composite services corresponding with described composite services procedural model, it is modified in the less-than-ideal situation of the performance of composite services to make user, thus reduce the error rate of composite services commencement of commercial operation, and then reduce the cost of composite services.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of composite services emulation mode embodiment of the present invention;
Fig. 2 is the schematic diagram of the embodiment one selecting sensor selection problem downstream function XM in composite services emulation mode of the present invention;
Fig. 3 is the schematic diagram of the embodiment two selecting sensor selection problem downstream function XM in composite services emulation mode of the present invention;
Fig. 4 is the structural representation of composite services simulator embodiment of the present invention.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 1 is the flow chart of composite services emulation mode embodiment of the present invention, and as shown in Figure 1, described composite services emulation mode can comprise the steps:
Step 101, obtain composite services procedural model, described composite services procedural model comprises the interactive mode of at least two function XM and described at least two function XM;
It should be noted that, the executive agent of the present embodiment can be composite services simulator.Described composite services procedural model refers to the operation flow of user constructed by the service function of expection, comprises the interactive mode of at least two function XM and described at least two function XM.The existing operation flow that system can provide by user directly imports in simulator, also can the operation flow of self-defined composite services, such as, can use based on HTML (Hypertext Markup Language 5 during the flow process of User Defined composite services, be called for short HTML5) or the visualization interface of easily extensible development platform Eclipse plug-in unit flow process is defined, the process of definition can be carried out with pulling mode, also can be other mode, as the mode of mapping software of Microsoft Visio, and provide the node serial number of each function XM in flow process simultaneously, the functional parameter of each function XM, the information such as the weight of the interactive mode of at least two function XM.
Step 102, generates emulation atomic service collection corresponding to each function XM according to the functional parameter of function XM each in described composite services procedural model;
In the present embodiment, the one or more emulation atomic service corresponding with the functional parameter of each function XM can be generated respectively according to the functional parameter of function XM each in composite services procedural model, to form emulation atomic service collection corresponding to each function XM, the execution reliability information etc. that the functional parameter of described function XM can comprise the time of implementation of this function XM, the execution of this function XM expends information and this function XM.
Step 103, to concentrate from the emulation atomic service that each function XM is corresponding according to the algorithm preset and determines the emulation atomic service corresponding with each function XM this emulation;
Due to each function XM functional parameter corresponding to emulation atomic service concentrate may there is multiple emulation atomic service, therefore, before each emulation, the emulation atomic service that an emulation atomic service emulates as this to be selected from each function XM.This election process can be that the algorithm by writing in advance is selected, and further, also can be select according to the instruction of user.
Step 104, performs emulation atomic service corresponding to each function XM according to the interactive mode of at least two function XM in described composite services procedural model;
In the present embodiment, the interactive mode of described at least two function XM comprises the sequencing, logical relation etc. of the execution of each function XM, therefore, the emulation atomic service that in composite services procedural model, each function XM is corresponding can be performed, to emulate the composite services corresponding with described composite services procedural model according to this interactive mode.
Step 105, Output simulation execution result.
After emulating composite services according to above-mentioned steps, all right Output simulation execution result, user can utilize the Simulation result data of output or pass through the properties of the means evaluations such as statistics and data mining and these composite services of analysis further.
In the above-described embodiments, emulation atomic service corresponding to each function XM is performed according to the interactive mode of at least two function XM in composite services procedural model, clearly can know the properties of the composite services corresponding with described composite services procedural model, it is modified in the less-than-ideal situation of the performance of composite services to make user, thus reduce the error rate that composite services formally perform, and then reduce the cost of composite services.
Particularly, in the above-described embodiments, the described functional parameter according to function XM each in described composite services procedural model generates emulation atomic service collection corresponding to each function XM, Ke Yishi:
The span of each parameter in the property distribution of the attributes object of the emulation atomic service that described function XM is corresponding, each attributes object and each attributes object is determined according to the functional parameter of described function XM.In the present embodiment, the attributes object emulating atomic service can comprise the time attribute of emulation atomic service, expend attribute and reliability attributes, wherein, time attribute refers to the time performing the required cost of this emulation atomic service, in time attribute, comprise again the time upper limit value and the distribution situation of time lower limit and time of implementation that perform the required cost of this emulation atomic service, as being constant distribution or normal distribution etc.
Expend attribute and refer to the expense performing this emulation atomic service and consume, expending in attribute, comprise again the distribution situation performing the expense higher limit of this emulation atomic service institute consumption costs and expense lower limit and execution and expend, as being constant distribution or normal distribution etc.
Reliability attributes refers to the reliability after performing this emulation atomic service, in reliability attributes, comprises again higher limit and the lower limit of the reliability performing this emulation atomic service and performs reliability distribution situation, as being constant distribution or normal distribution etc.
According to the span of each parameter in the emulation attributes object of atomic service, the property distribution of each attributes object and each attributes object, stochastic generation comprises described attributes object and each parameter at least one emulation atomic service in the span of correspondence in each attributes object, and during to make described in execution at least one emulation atomic service, each attributes object meets corresponding property distribution.
Such as, when a large amount of emulation atomic service will be generated in certain function XM, the waiter corresponding with this function XM can be used to grow up to be a useful person generate, waiter grows up to be a useful person and also comprises time attribute, expend attribute and reliability attributes, wherein each attribute (i.e. time attribute, expend attribute and reliability attributes) in also comprise parameter 1 respectively, parameter 2 and distribution situation, now be described for time attribute, in the present embodiment, described distribution situation refers to the Annual distribution of this emulation atomic service of multiple exercise, as for normal distribution, parameter 1 then in time attribute represents the average of the time of implementation of this emulation atomic service of multiple exercise, parameter 2 represents the variance of the time of implementation of this emulation atomic service of multiple exercise, and the parameter 1 in time attribute is bound with parameter generators PGa, for generating the parameter 1 of emulation atomic service time attribute, parameter in time attribute 2 and parameter generators PGb bind, for generating the parameter 2 of emulation atomic service time attribute.Now hypothesis will generate three emulation atomic service in certain function XM, then first determine the distribution situation of emulation atomic service to be generated according to the functional parameter of this function XM, be described in the present embodiment for normal distribution; Then respectively higher limit and lower limit are specified to parameter generators PGa and parameter generators PGb according to the functional parameter of this function XM, as specify to the lower limit of parameter generators PGa be 3, higher limit is 5, then represent that the parameter 1 in the time attribute of emulation atomic service to be generated is in the scope of 3 to 5; Specify to the lower limit of parameter generators PGb be 1, higher limit be 2 time, then represent that the parameter 2 in the time attribute of emulation atomic service to be generated is in the scope of 1 to 2.If the higher limit of specifying according to above-mentioned parameter maker PGa and parameter generators PGb and lower limit generate three emulation atomic service and S1 respectively, S2, S3, and parameter generators PGa generates S1, S2, the parameter 1 of S3 is respectively 3.2, 4.1, 4.7, parameter generators PGb generates S1, S2, the parameter 2 of S3 is respectively 1.1, 1.3, 1.7, therefore, when multiple exercise emulation atomic service S1, the performance of its time of implementation is for average with 3.2, 1.1 is the normal distribution of variance, when multiple exercise emulation atomic service S2, the performance of its time of implementation is for average with 4.1, 1.3 is the normal distribution of variance, when multiple exercise emulation atomic service S3, the performance of its time of implementation is for average with 4.7, 1.7 is the normal distribution of variance.
In the present embodiment, with constant be distributed as example illustrate generate emulation atomic service according to the functional parameter of function XM expend property parameters, owing to only needing to use a parameter in constant distribution, represent the expense performing this emulation atomic service to be generated and consume, therefore, in the present embodiment, generation parameter is only needed, similar with above-described embodiment, the parameter expending attribute is also generated by the parameter generators with its binding.If the parameter generators that the parameter expending attribute is bound is parameter generators PGc, then according to higher limit and the lower limit of the functional parameter designated parameter maker PGc of function XM, lower limit as designated parameter maker PGc is 10, higher limit is 15, three emulation atomic service S1 are generated respectively according to the scope that parameter generators PGc specifies, S2, the parameter expending attribute of S3 is 11.2, 13.3, 14.7, then represent that each execution performing emulation atomic service S1 expends and be 11.2, each execution performing emulation atomic service S2 expends and is 13.3, the execution of each emulation atomic service S3 expends and is 14.7.
Similar, the reliability attributes parameter of emulation atomic service also according to above-mentioned time attribute parameter or the generation method generation expending property parameters, can repeat no more herein.
When generating an emulation atomic service according to existing atomic service, can by the time attribute parameter of existing atomic service, expend property parameters and reliability attributes parameter, directly as emulation atomic service time attribute parameter, expend property parameters and reliability attributes parameter, and using the properties of distributions of the properties of distributions of existing atomic service as emulation atomic service, these parameter values specifically can be provided by service provider, or are obtained by the execution journal of existing atomic service.
Further, in the above-described embodiments, the described algorithm according to presetting is concentrated from the emulation atomic service that each function XM is corresponding and is determined emulation atomic service corresponding with each function XM this emulation, Ke Yishi:
Concentrate to combine from the emulation atomic service that each function XM is corresponding according to a default algorithm and determine emulation atomic service corresponding with each function XM this emulation; Particularly, the algorithm such as set is perform expending of this emulation to be less than 400 yuan, therefore, when the emulation atomic service that selection function XM is corresponding, need to consider expending of this emulation atomic service, and corresponding total the expending of emulation atomic service of each function XM also needs to consider, instead of singly consider expending of the emulation atomic service performing some function XM.Again such as, when having two function XM A and B executed in parallel, if known that the time of implementation of function XM B can very long (longer than A), the time of implementation of optimizational function XM A so just should not be considered when the emulation atomic service of selection function XM A, and more should consider some other quality of service attribute, such as perform and expend; This method is considered based on the overall quality of service of composite services, therefore, service quality is occupied certain advantage;
Can also be: determine the emulation atomic service corresponding with this function XM respectively according to each default algorithm corresponding with each function XM.Particularly, namely in each function XM, be equipped with different algorithms respectively, thus independently select corresponding emulation atomic service from each function XM according to the algorithm that each function XM is equipped with.Because this mode regards each function XM as independently XM; and the algorithm be equipped with individual feature XM is usually fairly simple; therefore, adopt the emulation atomic service that this method choice each function XM is corresponding, usual spended time is shorter.
When practical application, the emulation atomic service that any one method choice above-mentioned is corresponding with function XM can be selected according to demand.
Further, in the above-described embodiments, can also comprise selection node in described composite services procedural model, it is one or more that described selection node is used for selecting in the downstream function XM of a described function XM after a function XM; Describedly perform emulation atomic service corresponding to each function XM according to the interactive mode of at least two function XM in described composite services procedural model, specifically comprise:
After the described function XM of execution, by the random number selected in node generation preset range, and according to the weight upper limit preset of described random number and each downstream function XM and weight lower limit, that selects in the function XM of described downstream is one or more, if described random number is in the scope that weight lower limit and the weight upper limit of a downstream function XM limit, then select this downstream function XM, if described random number is in the scope that weight lower limit and the weight upper limit of multiple downstreams function XM limit, then select described multiple downstreams function XM, after performing described selection node, what perform in the downstream function XM of described selection sensor selection problem is one or more.
Such as, Fig. 2 is the schematic diagram of the embodiment one selecting sensor selection problem downstream function XM in composite services emulation mode of the present invention, as shown in Figure 2, the weight lower limit selecting the first downstream function XM 203 of node 202 is 0, the weight upper limit is 50, and the weight lower limit selecting the second downstream function XM 204 of node 202 is 50, the weight upper limit is 100, in emulated execution process, after executing the upstream function XM 201 selecting node 202, perform and select node 202, the random number between 0 to 100 is generated by selection node 202, therefore, the first downstream function XM 203 of node 202 and the selected probability of the second downstream function XM 204 is selected to be respectively 50%, if the random number selecting node 202 to generate is 60, because random number 60 is in the scope that the weight lower limit 50 and the weight upper limit 100 of selecting the second downstream function XM 204 of node 202 limit, therefore, after executing described selection node 202, the second downstream function XM 204 is selected to perform by selection node 202.
Fig. 3 is the schematic diagram of the embodiment two selecting sensor selection problem downstream function XM in composite services emulation mode of the present invention, as shown in Figure 3, the weight lower limit selecting the first downstream function XM 203 of node 202 is 0, the weight upper limit is 100, and the weight lower limit selecting the second downstream function XM 204 of node 202 is 0, the weight upper limit is 100, in emulated execution process, after executing the upstream function XM 201 selecting node 202, perform and select node 202, the random number between 0 to 100 is generated by selection node 202, therefore, the first downstream function XM 203 of node 202 and the selected probability of the second downstream function XM 204 is selected to be 100%, due to select node 202 may generate 0 to 100 between arbitrary random number, again because the random number within the scope of this is all in the scope selecting the first downstream function XM 203 of node 202 and the weight lower limit 0 of the second downstream function XM 204 and the weight upper limit 100 to limit, therefore, after executing described selection node 202, executed in parallel first downstream function XM 203 and the second downstream function XM 204.
Preferably, when performing emulation atomic service corresponding to each function XM according to the interactive mode of at least two function XM in composite services procedural model, can also comprise:
Monitoring implementation, generating monitoring information, described monitor message can comprise the quality of service information of each function XM in the overall quality of service information of described composite services and described composite services procedural model.In the present embodiment, the overall quality of service information of described composite services can be composite services overall time of implementation information, expend information and reliability information etc.; In described composite services procedural model the quality of service information of each function XM can be each function XM in composite services procedural model time of implementation information, expend information and reliability information etc.Further, above-mentioned monitor message also can export as emulated execution result, so that user can utilize the emulated execution result data of output or pass through the properties of the means evaluations such as statistics and data mining and analysis composite services further.
Fig. 4 is the structural representation of composite services simulator embodiment of the present invention, and as shown in Figure 4, described composite services simulator can comprise:
Receiver module 401, for obtaining composite services procedural model, described composite services procedural model comprises the interactive mode of at least two function XM and described at least two function XM;
Emulation atomic service generation module 402, for generating emulation atomic service collection corresponding to each function XM according to the functional parameter of function XM each in described composite services procedural model;
Emulation atomic service selects module 403, determines the emulation atomic service corresponding with each function XM this emulation for concentrating from the emulation atomic service that each function XM is corresponding according to the algorithm preset;
Emulated execution module 404, for performing emulation atomic service corresponding to each function XM according to the interactive mode of at least two function XM in described composite services procedural model;
Output module 405, for Output simulation execution result.
Further, described emulation atomic service generation module 402 can comprise:
Emulation atomic service parameter determination unit 406, for determining the span of each parameter in the property distribution of the attributes object of the emulation atomic service that described function XM is corresponding, each attributes object and each attributes object according to the functional parameter of described function XM;
Emulation atomic service generation unit 407, for the span according to each parameter in the emulation attributes object of atomic service, the property distribution of each attributes object and each attributes object, stochastic generation comprises described attributes object and each parameter at least one emulation atomic service in the span of correspondence in each attributes object, and during to make described in execution at least one emulation atomic service, each attributes object meets corresponding property distribution.
Further, described emulation atomic service selects module 403 specifically to may be used for:
Concentrate to combine from the emulation atomic service that each function XM is corresponding according to a default algorithm and determine emulation atomic service corresponding with each function XM this emulation; Or, determine the emulation atomic service corresponding with this function XM respectively according to each default algorithm corresponding with each function XM.
Preferably, also comprise selection node in described composite services procedural model, it is one or more that described selection node is used for selecting in the downstream function XM of a described function XM after a function XM;
Described emulated execution module 404 can comprise:
Function XM performance element 408, for performing a described function XM;
Select node performance element 409, for after described function XM performance element 408 performs a described function XM, perform described selection node;
Function XM performance element 408 is concrete also for after described selection node performance element 409 performs described selection node, and what perform in the downstream function XM of described selection sensor selection problem is one or more.
Further, described selection node performance element 409 can also comprise:
Generating random number subelement 410, for generating the random number in preset range;
Downstream function XM chooser unit 411, for the default weighted value according to described random number and each downstream function XM, that selects in the function XM of described downstream is one or more.
Concrete, described default weighted value comprises weight lower limit and the weight upper limit, and described downstream function XM chooser unit 411 specifically can also be used for:
If described random number in the scope that weight lower limit and the weight upper limit of a downstream function XM limit, then selects a described downstream function XM.
Further, described composite services simulator can also comprise:
Monitoring module 412, for monitoring implementation, generating monitoring information, described monitor message comprises the quality of service information of each function XM in the overall quality of service information of described composite services and described composite services procedural model;
Described output module 405 specifically can also be used for: export described monitor message.
The atomic service simulator of the present embodiment may be used for the technical scheme performing embodiment of the method shown in Fig. 1, and it realizes principle and technique effect is similar, repeats no more herein.
One of ordinary skill in the art will appreciate that: all or part of step realizing above-mentioned each embodiment of the method can have been come by the hardware that program command is relevant.Aforesaid program can be stored in a computer read/write memory medium.This program, when performing, performs the step comprising above-mentioned each embodiment of the method; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (9)

1. a composite services emulation mode, is characterized in that, comprising:
Obtain composite services procedural model, described composite services procedural model comprises the interactive mode of at least two function XM and described at least two function XM;
Emulation atomic service collection corresponding to each function XM is generated according to the functional parameter of function XM each in described composite services procedural model;
To concentrate from the emulation atomic service that each function XM is corresponding according to the algorithm preset and determine the emulation atomic service corresponding with each function XM this emulation;
Emulation atomic service corresponding to each function XM is performed according to the interactive mode of at least two function XM in described composite services procedural model;
Output simulation execution result;
The described functional parameter according to function XM each in described composite services procedural model generates emulation atomic service collection corresponding to each function XM, is specially:
The span of each parameter in the property distribution of the attributes object of the emulation atomic service that described function XM is corresponding, each attributes object and each attributes object is determined according to the functional parameter of described function XM; And
According to the span of each parameter in the emulation attributes object of atomic service, the property distribution of each attributes object and each attributes object, stochastic generation comprises described attributes object and each parameter at least one emulation atomic service in the span of correspondence in each attributes object, and during to make described in execution at least one emulation atomic service, each attributes object meets corresponding property distribution.
2. method according to claim 1, is characterized in that, the described algorithm according to presetting is concentrated from the emulation atomic service that each function XM is corresponding and determined emulation atomic service corresponding with each function XM this emulation, is specially:
Concentrate to combine from the emulation atomic service that each function XM is corresponding according to a default algorithm and determine emulation atomic service corresponding with each function XM this emulation; Or, determine the emulation atomic service corresponding with this function XM respectively according to each default algorithm corresponding with each function XM.
3. method according to claim 1, it is characterized in that, also comprise selection node in described composite services procedural model, it is one or more that described selection node is used for selecting in the downstream function XM of a described function XM after a function XM;
Describedly perform emulation atomic service corresponding to each function XM according to the interactive mode of at least two function XM in described composite services procedural model, specifically comprise:
After performing a described function XM, perform described selection node;
After performing described selection node, what perform in the downstream function XM of described selection sensor selection problem is one or more.
4. method according to claim 3, is characterized in that, the described selection node of described execution, is specially:
Generate the random number in preset range;
According to the default weighted value of described random number and each downstream function XM, that selects in the function XM of described downstream is one or more.
5. method according to claim 4, is characterized in that, described default weighted value comprises weight lower limit and the weight upper limit; The described default weighted value according to described random number and each downstream function XM, that selects in the function XM of described downstream is one or more, is specially:
If described random number in the scope that weight lower limit and the weight upper limit of a downstream function XM limit, then selects a described downstream function XM.
6. the method according to any one of Claims 1 to 5, is characterized in that, described when performing emulation atomic service corresponding to each function XM according to the interactive mode of at least two function XM in described composite services procedural model, also comprises:
Monitoring implementation, generating monitoring information, described monitor message comprises the quality of service information of each function XM in the overall quality of service information of described composite services and described composite services procedural model;
Described Output simulation execution result, is specially:
Export described monitor message.
7. a composite services simulator, is characterized in that, comprising:
Receiver module, for obtaining composite services procedural model, described composite services procedural model comprises the interactive mode of at least two function XM and described at least two function XM;
Emulation atomic service generation module, for generating emulation atomic service collection corresponding to each function XM according to the functional parameter of function XM each in described composite services procedural model;
Emulation atomic service selects module, determines the emulation atomic service corresponding with each function XM this emulation for concentrating from the emulation atomic service that each function XM is corresponding according to the algorithm preset;
Emulated execution module, for performing emulation atomic service corresponding to each function XM according to the interactive mode of at least two function XM in described composite services procedural model;
Output module, for Output simulation execution result;
Described emulation atomic service generation module comprises:
Emulation atomic service parameter determination unit, for determining the span of each parameter in the property distribution of the attributes object of the emulation atomic service that described function XM is corresponding, each attributes object and each attributes object according to the functional parameter of described function XM; Emulation atomic service generation unit, for the span according to each parameter in the emulation attributes object of atomic service, the property distribution of each attributes object and each attributes object, stochastic generation comprises described attributes object and each parameter at least one emulation atomic service in the span of correspondence in each attributes object, and during to make described in execution at least one emulation atomic service, each attributes object meets corresponding property distribution.
8. device according to claim 7, is characterized in that, also comprises in described composite services procedural model:
Select node, it is one or more that described selection node is used for selecting in the downstream function XM of a described function XM after a function XM;
Described emulated execution module comprises:
Function XM performance element, for performing a described function XM;
Select node performance element, described selection node performance element comprises: generating random number subelement, for generating the random number in preset range; Downstream function XM chooser unit, for the default weighted value according to described random number and each downstream function XM, that selects in the function XM of described downstream is one or more;
Function XM performance element is also for after described selection node performance element performs described selection node, and what perform in the downstream function XM of described selection sensor selection problem is one or more.
9. the device according to claim 7 or 8, is characterized in that, described device also comprises:
Monitoring module, for monitoring implementation, generating monitoring information, described monitor message comprises the quality of service information of each function XM in the overall quality of service information of described composite services and described composite services procedural model;
Described output module specifically for: export described monitor message.
CN201210340202.1A 2012-09-13 2012-09-13 Combined service simulation method and device thereof Active CN102857571B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210340202.1A CN102857571B (en) 2012-09-13 2012-09-13 Combined service simulation method and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210340202.1A CN102857571B (en) 2012-09-13 2012-09-13 Combined service simulation method and device thereof

Publications (2)

Publication Number Publication Date
CN102857571A CN102857571A (en) 2013-01-02
CN102857571B true CN102857571B (en) 2015-02-18

Family

ID=47403759

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210340202.1A Active CN102857571B (en) 2012-09-13 2012-09-13 Combined service simulation method and device thereof

Country Status (1)

Country Link
CN (1) CN102857571B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103678834B (en) * 2014-01-07 2017-05-24 苏州大学 Modeling method and modeling device for cyber-physical system (CPS)
CN109039760B (en) * 2018-08-24 2021-06-29 烽火通信科技股份有限公司 Method and system for designing layered simulation service single-disk application software

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101909078A (en) * 2010-07-19 2010-12-08 东南大学 New service set construction-based dynamic service selection method
CN102143084A (en) * 2011-04-15 2011-08-03 东南大学 Tiered service aggregation model under open network environment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8250521B2 (en) * 2007-12-14 2012-08-21 International Business Machines Corporation Method and apparatus for the design and development of service-oriented architecture (SOA) solutions

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101909078A (en) * 2010-07-19 2010-12-08 东南大学 New service set construction-based dynamic service selection method
CN102143084A (en) * 2011-04-15 2011-08-03 东南大学 Tiered service aggregation model under open network environment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《SOArTester:一个基于精简用例的组合服务自动化测试系统》;金若凡 等;《电子学报》;20100228;第38卷(第2A期);全文 *
Zicheng Huang et al.《BestRec:A Behavior Similarity based Approach to Services Recommendation》.《2009 Congress on Services- I》.2009,全文. *

Also Published As

Publication number Publication date
CN102857571A (en) 2013-01-02

Similar Documents

Publication Publication Date Title
Ouedraogo Energy consumption and economic growth: Evidence from the economic community of West African States (ECOWAS)
CN103646016B (en) The customized implementation method of financial statement and server
CN103309946B (en) Multimedia file processing method, Apparatus and system
JP5768796B2 (en) Operation management apparatus, operation management method, and program
CN104580524A (en) Resource scaling method and cloud platform with same
JP4405520B2 (en) Computer program, computer apparatus and method for adjusting project progress schedule
CN106547683B (en) A kind of redundant code detection method and device
CN103533043B (en) A kind of charging method of the cloud stores service based on REST
CN103246985A (en) Advertisement click rate predicting method and device
CN111767217B (en) JS unit test case generation method and device
CN103226759A (en) Dynamic cloud workflow scheduling method based on genetic algorithm
CN104883585A (en) Method for displaying media data, equipment and system thereof
CN104731636A (en) Dispatcher Training Simulating Device And Operation Method Thereof
US8768680B2 (en) Simulator of multi-core system employing reconfigurable processor cores and method of simulating multi-core system employing reconfigurable processor cores
CN106788896A (en) The method for uploading and device of daily record data
CN103713935A (en) Method and device for managing Hadoop cluster resources in online manner
CN102857571B (en) Combined service simulation method and device thereof
CN112506691A (en) Method and system for recovering digital twin application fault of multi-energy system
Bielefeld Online performance anomaly detection for large-scale software systems
CN102253887A (en) Method for constructing test use case of software-as-a-service (SaaS) software based on durable X-machine (DXM) model
CN112306622A (en) VNF template construction method and device
CN102930346B (en) A kind of SOA service MTBF Forecasting Methodology
CN111159038A (en) Method for simulating CPU load and electronic equipment
CN110489842A (en) A kind of aided design system and analysis method of analog cell circuit
CN102902521A (en) Composite service credibility evolution influence analyzing method based on XCFG

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
TR01 Transfer of patent right

Effective date of registration: 20220126

Address after: 215488 No. 301, building 11, phase II, Taicang University Science Park, No. 27, Zigang Road, science and education new town, Taicang City, Suzhou City, Jiangsu Province

Patentee after: Tianhang Changying (Jiangsu) Technology Co.,Ltd.

Address before: 100191 Beihang University, Haidian District, Xueyuan Road, 37, Beijing

Patentee before: BEIHANG University

TR01 Transfer of patent right