The present invention relates to a method for designing software by combining Web service and/or component, etc., as being software parts (hereinafter, being called “service”, collectively), each being manufactured to be a part or component by taking the reuse thereof into the consideration (hereinafter, being called “service-based software designing”), and it relates in particular, to a service-based software designing assistance method for assisting buildup of connection and/or combination of the input/output variables between the services, within a software part, as well as, an apparatus for that.
Conventionally, upon the designing the software, which is built up by combining services, a large number of trials are made to enables to describe the operation specification of the software in such the form that can be easily understood by a designer, describing the processing order of each of the services within the software by using a process flow language, such as, BPMN (Business Process Modeling Notation) or BPEL4WS (Business Process Execution Language for Web Services), etc., and thereby increasing the efficiency of the software designing. However, when exchanging of data, each being produced by each service, in other words, when producing the data flow thereof, in general, it is necessary for the designer to study on the input/output variables of the services, respectively, and to make correspondences. i.e., substituting or assigning data obtained from an output variable of a certain service into an input variable of other service, therefore, there is still a drawback of taking man-hour.
Then, with the software designing upon basis of such the service as mentioned above, as is already known by the Patent Document 1 (Japanese Patent Laying-Open No. Hei 10-222357 (1998) and the Patent Document 2 (Japanese Patent Laying-Open No. 2005-317007 (2005), for example, there are proposed a several number of methods for conducting the correspondence on the input and the output between the services.
Thus, in the Patent Document 1 are proposed a software constructing method and a system for building up a software with reusing data, wherein a data name, which a designer necessitates, is inputted, after storing metadata for making correspondence or relationship between the data name within services and an input/output interface, then the service for providing that is searched out from the metadata to be illustrated with an icon, and thereby graphically connecting communications of data between the services by a link.
Also, in the Patent Document 2 are proposed a work flow automatic producing system, and a workflow analyzing and controlling system, wherein search is made on services filling up with a restriction condition, upon basis of the specification requested by the designer, while storing therein restriction conditions, such as, input/output data and/or performances to be filled up with for each service, for example, in advance, as a knowledge database, so as to produce a workflow by combining them, and further thereafter, simulation is made upon the flow of data with producing the petri net thereof, corresponding to that workflow produced, and thereby selecting a most suitable candidate in throughput thereof.
As was mentioned above, also with the conventional arts, there are already proposed the methods for lightening or reducing the load on the designer when she/he makes correspondence or relationship of the input/output between the services, within the service-based software designing, and then, with applying it therein, it is possible to expect reduction of a man-hour for that designing.
However, in case when applying the method known by the Patent Document 1 mentioned above therein, although with displaying of the services with the icons and illustrating of the connection between the input/output data with the link, it is possible to provide a graphical operating environment, and thereby enabling to make the correspondence or relationship between the input/output easy for the designer, however the correspondence or relationship itself must be conducted manually, by a hand of the designer, in the similar manner to the conventional arts.
On the other hand, in case when applying the method known by the Patent Document 2 mentioned above therein, automatic production is made on the workflow, connecting the input/output data between the services, to satisfy the restriction conditions of each of the services, which are stored in the knowledge database, as well as, the specification required by the designer, so that only that having a good result is provided, thereby lightening or reducing the load on the designer. However, contents of the restriction of the input/output data on the knowledge database, which are described in that Patent Document, they are assumed to be only a formal restriction, such as, a type of service, etc. For that reason, it is impossible to exclude connection, which can be made formally, but should not be made, actually. Similarly, it is impossible to exclude even such connection of the input/output data that will not be connected within the actual software designing, and therefore it still forces a load on the designer.
Then, according to the present invention, being accomplished by taking the problems of the conventional arts mentioned above into the consideration thereof, i.e., an object thereof is to provide a service-based software designing assistance method and an apparatus for the same, enabling to build up a combination of connections of input/output variables, between the services within the software parts, for lightening or reducing the load on the designer within the designing of the service-based application, in which description is made by a language of process flow.
According to the present invention, for accomplishing the objection mentioned above, first of all, there is provided a service-based software designing assistance method, for assisting designing of software by combining a plural number of services, being parts of software for executing specific functions, comprising the following steps of: inputting a service process flow defining a processing order of one or more of said services in a combination thereof; providing respective data to one or more of input variables, which are owned by designated one of the services, targeting the service process flow inputted; and making correspondence for output variables of services, one by one, existing prior to said services designated, thereby assisting software designing, and further, producing all possible combinations of said correspondences for all of the input variables, which are owned by said service designated; calculating a production probability about said combinations produced, upon basis of a history information of software designing made in a past; and extracting a combination, said calculated production probability of which fulfills a predetermined condition, thereby to be outputted.
Also, according to the present invention, within the service-based software designing assistance method, as described in the above, preferably, as said history information of the software designing made in the past is included a direct connection history, recording a number of times therein of making correspondence between the input variables of an arbitrary one of the services and the output variables of other arbitrary one thereof, within the software designing made in the past, in combination with a title of the input variable, a title of the output variable, a title of the service having said input variable, and a title of the service having said output variable, or preferably, as said history information of the software designing made in the past is further included an indirect connection history, recording a number of times therein of making correspondences between each of plural numbers of the input variables of an arbitrary service, having said plural numbers of the input variables, and plural numbers of the output variables of the other arbitrary service, within the software designing made in the past, in combination with a title of one output of plural numbers of said input variables, a title of the service having said one output, a title of other output differing from said one output of said output variables, and a title of the service having said other output.
In addition thereto, according to the present invention, also for accomplishing the object mentioned above, there is further provided a service-based software designing assistance apparatus, for assisting designing of software by combining a plural number of services, being parts of software for executing specific functions, comprising: a memory device, which is configured to store connection history information of input/output data of a service within software designing made in a past; an input portion, which is configured to input a service process flow defining a processing order with combining one or more of said services, and to select an arbitrary service within said service process flow inputted; a processing device, which is configured to produce all possible combinations of correspondences, for all input variables owned by the arbitrary service, which is selected by said input portion, and to calculate a production probability about said combinations produced, upon basis of the connection history information of the input/output data of the service within the software designing made in the past, which is stored in said memory device; and an output portion, which is configured to output fulfilling a predetermined condition, upon basis of said production probability, which is calculated by said processing device.
Further, according to the present invention, within the service-based software designing assistance apparatus, as described in the above, preferably said memory device comprises: a direct connection history table, which is configure to record a number of times therein of making correspondence between the input variables of an arbitrary one of the services and the output variables of other arbitrary one thereof, within the software designing made in the past, in combination with a title of the input variable, a title of the output variable, a title of the service having said input variable, and a title of the service having said output variable; and further an indirect connection history table, which is configured to record a number of times therein of making correspondences between each of plural numbers of the input variables of an arbitrary service, having said plural numbers of the input variables, and plural numbers of the output variables of the other arbitrary service, within the software designing made in the past, in combination with a title of one output of plural numbers of said input variables, a title of the service having said one output, a title of other output differing from said one output of said output variables, and a title of the service having said other output.
With the service-based software designing assistance method, according to the present invention, or applying the apparatus for the same into the service-based software designing, it is possible to obtain the connection combinations between the input of each of the services and the output of other service within the service process flow, semi-automatically, and thereby to lighten or reduce the load on the software designer.
Those and other objects, features and advantages of the present invention will become more readily apparent from the following detailed description when taken in conjunction with the accompanying drawings wherein:
Hereinafter, embodiments according to the present invention will be fully explained by referring to the attached drawings.
First of all,
In this
Also in
Further, an input/output combination list 5100, which builds up an output shown below in the figure, is made up with repetitive description of an input/output combination 5000, by a number that is outputted by an input/output combination producing program 300, which will be explained hereinafter, i.e., describing the combination between each of the input variables and the activity of providing data to be substituted or assigned for that input variable by a number of the input variables, repetitively, by a number of the input variables of the activities designated by the said process target activity ID 4100, in particular, regarding the activities, which are designated by the process target activity ID 4100 mentioned above (i.e., “3: credit check” of “ID: 3” in the figure), and for example, it is displayed on a display device 2004, which will be described below. In this example, there are shown combinations of the output variable, “1: customer information search. Output (Cardnumber)”, and the input variable corresponding thereto, “3: CREDIT CHECK.INPUT(CARD NUMBER)”, and the output variable, “2: COMMODITY INFORMATION SEARCH.OUTPUT(PRICE)”, and the input variable corresponding thereto, “3: CREDIT CHECK.INPUT(PAID AMOUNT)”, as an example.
However, this example of the data format of the input/output combination 5000 is as shown in
Also, an input/output direct connection history table 6000 is that for storing, for example, a number of times that the data obtained from the output variable X of a certain service A is substituted or assigned into the input variable Y of other service B, i.e., the number of times of connecting X directly with Y, in the form of a table, together with the sets of those service and variables thereof, for example, A, X, B and Y, during software constructions made covering over a plural number thereof in the past. Further, an example of the data format of this input/output direct connection history table 6000 is as shown in
Further, an input/output indirect connection history table 7000 is that for storing, for example, a number of times that the output variable X of the certain service A and the output variable Y of the other service B are substituted or assigned into different inputs P and Q of other service C than those A and B, i.e., the number of times of connecting the variables X and Y, indirectly, via other service(s), in the form of a table, together with the sets of those services and variables thereof, for example, A, X, B and Y, during software constructions made covering over a plural number thereof in the past. Further, an example of the data format of this input/output indirect connection history table 7000 is as shown in
Next, the input/output combination produce program 3000 is a program for producing an input/output combination list 5100, as an output from an input, including the above-mentioned service process flow 4000 and the process target activity ID 4100, by referring to the input/output direct connection history table 6000 and the input/output indirect connection history table 7000 mentioned above. This input/output combination produce program 3000 is constructed with an initial setup portion 3100 for conducting an initialization of a temporary use data, etc., an input/output combination candidate produce portion 3200 for producing combinations of input/output variables without conflict, comprehensively and sequentially, a connection probability rough-estimate portion 3301 for calculating an input/output combination probability for the combination of the input/output variables, which are produced by the input/output combination candidate produce portion 3200, upon assumption that connection of each of input/output variable is independent, by referring to the input/output direct connection history table 6000, an input/output combination probability adjust process 3401 for conducting adjustment upon the connection probability, which is calculated within the connection probability rough-estimate portion 3301, by referring to the input/output indirect connection history table 7000 and the input/output direct connection history table 6000 mentioned above, and an input/output combination list output process 3501 for outputting a combination of the input/output variables being high in the input/output combination probability.
Next, explanation will be made on an example of a software designing assistance apparatus, hereinafter, as being hardware structures for implementing the service-based software designing assistance method according to the present invention, the software construction of which was explained in the above, by referring to
In this
In the structures mentioned above, the processing device 2001 is made of a CPU, MPU, etc., for example, and it reads a group of instructions or commands therein, successively, from the memory device 2002 mentioned above, and thereby conducing calculations or operations corresponding to the instructions or commands read therein. However, in this embodiment, the processing device 2001 reads the above-mentioned input/output combination produce program 3000 therein, from the memory device 2002, thereby to execute it.
On the other hand, the memory device 2002 is made up with a device holding data within an inside thereof, such as, a hard disk device and/or a flash memory, RAM (Random Access Memory), etc., for example. And, this memory device 2002 stores therein, the input/output combination produce program 3000, the service process flow 4000, the process target activity ID 4100, the input/output direct connection history table 6000, and the input/output indirect connection history table 7000, within the present embodiment. Further, this memory device 2002 stored therein, the input/output combination candidates list 2101 mentioned above, an input variable table 2102, and an output variable table 2103, during the processing of the input/output combination produce program 3000, and it also stores the input/output combination list 5100 mentioned above, within the inside thereof, as a result of processing of that input/output combination produce program 3000.
Also, the input device 2004, being made up with, for example, a keyboard, a mouse, a touch panel, a tablet, etc., is that for transmitting an input made by a user to the processing device 2001 mentioned above. However, in the present embodiment, the service process flow 4000 and the process target activity ID 4100, to be the input of the input/output combination produce program 3000, may be a target of the input thereof.
Further, the display device 2005 is made up with, for example, a liquid crystal or a plasma display, a display of cathode ray tube, or a projector, etc., and it conducts presentation upon basis of the instruction or command from the processing apparatus 2001. However, in the present embodiment, the input/output combination list 5100 mentioned above, to be an output of the input/output combination produce program 3000, may be a target of the presentation.
However, within the hardware constructions mentioned above, the explanation was made that, together with the input/output combination produce program 3000 mentioned above, the followings are stored within the same memory device 2002, i.e., the service process flow 4000 and the process target activity ID 4100 building up the input, the input/output direct connection history table 6000 and the input/output indirect connection history table 7000 building up reference information, the input/output combination candidates list 2101, the input variable table 2102 and the output variable table 2103 building up the temporary data, and further the input/output combination list 5100 building up the output. However, the present invention should not be restricted only to this, but for example, the data mentioned above may be stored within the memory devices, respectively, or they may be stored within a memory device of other apparatus, being connected with through a communication circuit.
Explanation will be made on the processes, being distinctive in the service-based software designing assistance method according to the present invention, the hardware structures of which ware explained in the above, i.e., the details of processing steps of the processes of the input/output combination produce program 3000 mentioned above, by referring to
In brief of the processing of this input/output combination produce program 3000, first of all, after conducting the initial setting in steps 3101-3103 corresponding to the initial setup portion 3100 in
Hereinafter, the detailed steps of processing thereof will be mentioned.
First of all, in a step 3101, the input/output combination candidates list 2101 within the temporary data (see
Next, in a step 3102, within the activity record 4010 of the activity (see
Next, in a step 3103, an activity that can provide an output data to the activity that the process target activity ID 4100 designates, i.e., the output variable list 4004 of the activities laying between a starting activity and the activity that the process target activity ID 4100 designates, is obtained from the said service process flow 4000, and this is stored within the memory device 2002 to be the output variable table 2103 building up the temporary data in
Next, in a step 3201 for building up the input/output combination candidate produce portion 3200 mentioned above, check is made on if there is a input/output combination or not, which is not included within the input/output combination candidates list 2101 mentioned above (see the temporary data shown in
Also, in case when the output variable record number 8003 (see
Further, in the step 3202, the input/output combination 5000, being produced in the above-mentioned step 3201, and further confirmed that no same input/output combination is included within the input/output combination candidates list 2101 (see
Next, in the step 3301, upon the input/output combination, which is added in the above-mentioned step 3202, the combination probability is calculated with using the input/output direct connection history table 6000 (see
Where, in the equation mentioned above, “P” is the probability of combination to be obtained, and “SOk”, “Ok”, “SIk” and “Ik” express the output service name 5001, the output variable name 5002, the input service name 5003 and the input variable name 5004 (see
Next, in the step 3401, adjustment or compensation is made on the input/output combination probability 5020 (see
Where, in the equation mentioned above, “Pmodified” is the probability of combination to be obtained, and “SOi.Oi” expresses the output service name 5001 and the output variable name 5002 of the input/output connection record 5010 at ith (see
However, “N (SOi.Oi)” is a number of times that the output “Oi” of the service “SOi” was used as the input of the other service within the software constructions made in the past, and it can be calculated as is shown by the following equation, with using the input/output direct connection history table 6000 as the reference information.
Where, in the equation mentioned above, SOxk, Oxk, SIxk, and Ixk express the output service name 6001 (see
Further, in the step 3501, among the input/output combination 5000, being the elements of the input/output combination candidates list 2101 (see
However, with the software designing assistance method, according to the present embodiment, the details of which was mentioned in the above, there is made no definition of a type, such as, a value of character string or a value of an integer, etc., for example, and also, with this embodiment, no consideration is paid on the time when producing the input/output combination. However, in the place thereof, it is also possible to allow only the combination of the input variable and the output variable, both having the same type, when producing the input/output combination. Also, with the present embodiment, no particular mentioning is made about origins of the service process flow 4000 and the process target activity ID 4100, nor destination of output of the input/output combination list 5100. However, with the service process flow 4000 and the process target activity ID 4100 mentioned above, they may be inputted with using the input device 2003 mentioned above (see
As was mentioned above, with the software designing assistance method, according to the present invention, the connection relationship between two (2) services in the service process flows, which are produced in the past, are reserved or stored to be the history. However, in that instance, they are stored or reserved for each kind of the connection relationships, i.e., targeting two (2) kinds of relationships, including the direct connection relationship, in which one of the output data becomes the input of the other, and the indirect connection relationship of mode of inputting the output data of two (2) services into the same service. And, when a designer inputs the service process flow describing only the processing order into the software designing assistance system, estimation is made on the input data of the service that the designer designates (or selects) among that service process flow inputted, upon basis of one (1) history about the relationship of connection with the output data of other service(s). However, this estimation is conducted upon the basis of connection probability, in the case where each connection of the input/output data obtained from the direct connection relationship is made independently, and further, it is executed by adding also a cooperative relationship between the output data of the services providing the input data, which can be obtained from the indirect connection relationship mentioned above (i.e., “+” if there is reliance or dependency, or “−” if reversed). Thereafter, the connection obtained from input/output, which is obtained through the processes mentioned above, is presented to the designer. However, this is conducted by presenting the a certain number of connection in the in the order of height of the connection probability, or presenting only the connection(s), the connection probability of which is higher than a threshold value. Further, not only the relationship that the input/output data are connected directly, but also by adding the relationship that it is connected indirectly through a certain service, etc., it is possible to further increase an accuracy of the estimation.
With applying the software designing assistance method, according to the present invention, it is enough for the designer to prepare the service process flow for describing only the execution order of the services, and with this, for the designer, it is possible to obtain the connection combination of the input/output for an arbitrary service within the service process flow, semi-automatically, with an aid of the input/output combination produce program building up the system. Thus, this enables to lighten or reduce the load on the software designer, and also reduce the number of steps in the software designing.
Thus, according to the present invention, first of all, storing the connection histories of the input/output data of the service within the software designing made in the past, when selection is made for the service process flow describing the processing order, in particular, upon an arbitrary service included therein, then the processes are conducted on all of the connection combinations, for selecting the output(s) of other service(s), arbitrarily, which can be connected with all inputs of the service(s) selected, without conflict, and for deriving production probability of combinations of connection between the input and the output mentioned above from the connection histories, and among of those, the connection combination(s) being high in the producing probability thereof is presented to the designer, to be that which seems to be a certain one, thereby lightening or reducing the load on the designer in relation with the connection of the input/output data. And, according to the present invention, with giving high production probability to the input/output data connection, which appears frequently in the connection histories mentioned above, almost of the input/output data connections are those, which are actually used in the software designing made in the past, and therefore it is expected to obtain an appropriate connection combination from a viewpoint of the meaning thereof.
However, in this instance, in particular, in case where there are inputs of the services to be selected in a plural number thereof, since it is possible to consider a case where the input/output data to the respective inputs thereof are not always independent, and also since there can be considered the positive or the negative reliance or dependency between the plural number of connections, therefore it is necessary to store or reserve all the inputs for each service and also the correspondence or relationship between the output of the other service to be connected, for the purpose of calculating out the production probability with accuracy. However, since the number of conducting the software designing is not so large, and it can be considered that it is less than an appropriate number of the combinations of the input/output connections, therefore, there is a possibility that correct estimation cannot be made on the combination of the input/output connection, which is appropriate but is different from the connection histories of the past a little bit.
Then, basically, the connection histories deal the relationship between the service and the output for providing data and the service and the input to use the data, i.e., the relationship of connecting the input/output data directly, and thereby dealing with the problem mentioned above. However, since it is impossible to express the reliance or dependency between the plural number of the connections for the same service, with only that direct connection relationship, therefore not only the direct connection relationship mentioned above, but also the relationship between the outputs of two (2) services is also real with as the connection histories, falling into the relationship of providing the output together with as an input of the same service, i.e., the indirect connection relationship through an input service between the two (2) outputs, and thereby correcting or adjusting the production probability upon basis of the reliance or dependency, which can be obtained from the indirect connection relationship mentioned above.
Thus, with applying the present invention mentioned above into the service-based software designing, if there are software designing histories made in the past and a service process flow describing the execution order of services, it is possible to obtain the connection combinations between the input of each of the services and the output of other service within the service process flow, semi-automatically, and thereby to lighten or reduce the load on the software designer.
While we have shown and described several embodiments in accordance with our invention, it should be understood that disclosed embodiments are susceptible of changes and modifications without departing from the scope of the invention. Therefore, we don not intend to be bound by the details shown and described herein but intend to cover all such changes and modifications that fall within the ambit of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
2006-165568 | Jun 2006 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
5649200 | Leblang et al. | Jul 1997 | A |
5675802 | Allen et al. | Oct 1997 | A |
5794042 | Terada et al. | Aug 1998 | A |
6438743 | Boehm et al. | Aug 2002 | B1 |
6457170 | Boehm et al. | Sep 2002 | B1 |
7266826 | Katiyar et al. | Sep 2007 | B2 |
7428726 | Cowan et al. | Sep 2008 | B1 |
7437717 | Cowan et al. | Oct 2008 | B1 |
7448034 | Anderson et al. | Nov 2008 | B2 |
7506337 | Iyer | Mar 2009 | B2 |
20050268283 | Clemm et al. | Dec 2005 | A1 |
20060212857 | Neumann et al. | Sep 2006 | A1 |
20070006176 | Spil et al. | Jan 2007 | A1 |
Number | Date | Country |
---|---|---|
10-222357 | Aug 1998 | JP |
2005-317007 | Nov 2005 | JP |
2006-350729 | Dec 2006 | JP |
Number | Date | Country | |
---|---|---|---|
20070294670 A1 | Dec 2007 | US |