The present invention relates to a service change component generation system, method and recording medium, and more particularly to a service change component generation system for generating as components changes applied to a service (program) that includes a plurality of components, and a method and recording medium.
Technology has been known from before for synthesizing components to create programs by extracting in advance the functional relationships among various components in the program or by the developer's defining such. Such a program creation system is disclosed in Patent Literature 1.
The program creation system disclosed in Patent Literature 1 reads the source code file of a program if the source code file exists, analyzes this and extracts component definitions from this. Conversely, when no source code file of the program exists, definitions indicating dependence relationships between a component and other components are recorded in a dictionary by the developer inputting interface information and the like. When the developer later creates a new program, the recorded components can be reused. At the time of this reuse, the developer creates a new program by combining a component and related components in accordance with the dependence relationships defined in the dictionary by reading out from the dictionary definitions indicating the dependence relationships between a component and other components.
Patent Literature 1: Unexamined Japanese Patent Application KOKAI Publication No. H09-134282.
In related art such as Patent Literature 1, the types of dependence relationships between the component and other components were limited to whether an interface is used or not used. Consequently, it was impossible to decide whether or not changes inside the interface were changes that had an effect on reuse of the components. To state this in detail, when changes have been added to multiple components out of the recorded components, the developer (user) cannot determine what changes relating to a component need to be applied to other services. Consequently, when reusing changes applied to components, the user only had two choices; apply all changes relating to related components having a dependence relationship, or not apply any. Thus, in the related art, even when there is a service that includes changes considered necessary for other services, it was impossible to extract only the necessary parts of the changes from that service and to reuse that changed component in other services. Consequently, the related art had the problem that it was impossible to effectively utilize service change resources.
In addition, a service (program) is not necessarily composed only from program components, for non-program components such as “data,” “user input screen definitions” and “result output screen definitions” and the like may be included as constituent elements. These non-program components cannot necessarily define the same interface as program components. Consequently, the above-described related art had the problem that it was impossible to extract dependence relationships between program components and non-program components, making it impossible to apply service change resources to reuse of non-program components constituting a service.
The present invention was created in consideration of the foregoing, and it is an objective of the present invention to provide a service change component generation system, method and recording medium that can effectively utilize service change resources by enabling reuse in other services changes relating to all components having dependence relationships.
A first aspect of the present invention provides a service change component generation system provided with a dependence relationship information creation unit that, when service change information including information specifying a component to be changed out of a plurality of components in inputted, creates dependence relationship information between components to be changed in a service by referring to a database storing dependence relationship definitions indicating dependence relationships between change of a component and change of related components; and a changing component set creation unit that refers to the dependence relationship information, extracts changing components mutually related by the dependence relationships and creates a changing components set.
A second aspect of the present invention provides a service change component generation method for inputting service change information including information specifying a component to be changed out of a plurality of components; creating information on dependence relationships among changing components in the service by referring to a database storing dependence relationship definitions showing dependence relationships between component changes and related component changes; and creating a changing component set by referring to the dependence relationship information and extracting changing components that are mutually related by the dependence relationships.
A third aspect of the present invention provides a recording medium for recording a program readable and writable by a computer, wherein this program causes the computer to execute a process for inputting service change information including information specifying a component to be changed out of a plurality of components; a process for creating information on dependence relationships among changing components in the service by referring to a database storing dependence relationship definitions showing dependence relationships between component changes and related component changes; and a process for creating a changing component set by referring to the dependence relationship information and extracting changing components that are mutually related by the dependence relationships.
With the composition of the present invention, it is possible to obtain change set components for small constituent components whose services have changed, so it is possible to reuse change information and to effectively utilize service change resources. The dependence definition between components is preferably defined between component types for types of components of the same type. At the same time, the definition of change dependence is preferably defined between the change types for types with the same change.
The above and other objectives of the present invention, along with its characteristics and benefits, are explained in greater detail below with reference to the drawings.
In its minimum composition, the service change component generation system of the present invention is provided with a dependence relationship information creation unit that, when service change information including information specifying a component to be changed out of a plurality of components in inputted, creates dependence relationship information between components to be changed in a service by referring to a database storing dependence relationship definitions indicating dependence relationships between change of a component and change of related components; and a changing component set creation unit that refers to the dependence relationship information, extracts changing components mutually related by the dependence relationships and creates a changing components set.
With the service change component generation system of the present invention, when there is a change of components in the service, a set of change components within the service is created by referring to a database defining the dependence relationships of changes among components, so that change component set can be used as a component.
As below, a service change component creation system according to a first configuration of the present invention is described with reference to the drawings.
The service change component generation system 100 is provided with a database 150 inside the system. This database 150 includes a dependence definition database 110 for storing dependence definitions defining dependence relationships for each type of component indicating upon which changes in related components changes in these components are dependent, and a change type database 120 for storing change information for each type of component indicating what kinds of changes are performed in these components.
The service change component generation system 100 is provided with a dependence relationship information creation unit 130 for creating dependence relationship information between the change difference of a component and the change difference of related components on the basis of input service change information 300 and the dependence definitions stored in the dependence definition database 110, and a difference set creation unit 140 for referring to the dependence relationship information, extracting a plurality of change differences linked by dependence relationships in content that needs to be simultaneously or collectedly applied, and creates a change component set with these as the set. The service change information 300 includes service specification information including the application of the service, information specifying which of the plurality of components in the service have changed, and information on the change differences of those changed components. This configuration illustrates a case in which the service change information 300 is input by a user such as a developer, but it would also be fine to extract change components and change differences from a source program indicating the pre-change service and a source program indicating the post-change service.
The service change component generation system 100 of the present configuration compiles, for each component type, dependence relationships related to changes among service components with respect to change information related to the plurality of components that comprise the service, and finds the dependence relationships in units of change information. Consequently, it is possible to compile and extract only the change differences in dependence relationships, to compile only change differences that need to be simultaneously or collectedly applied, and to set the components used in service changes as a minimum difference set. Through this, it is possible to reuse change differences by obtaining the change component set for small compositions, and as a result it is possible to effectively utilize service change resources.
With the above composition, the change type dependent information between related component types is stored for each component type, so it is possible to define dependence relationships without regard to whether these are program components or non-program components. Consequently, it is possible to reuse change differences for non-program components that comprise the service, making it possible to effectively utilize service change resources.
The service change component creation system according to this configuration of the present invention is described in greater detail below.
As shown in
The definitions illustrated in
Referring to
In the table in
Next, the overall action of this configuration is described in detail with reference to
In the process in
The service change information 300 includes service definitions and component change information. The service definitions are accomplished in accordance with sets of component types comprising the service stored in the dependence definition database 110. In addition, the component change information is defined for each component type in accordance with definitions in the change type database 120. In other words, out of the change types stored in the dependence definition database 110 for each component type comprising the service, what changes occurred or whether there were changes only internally that are not stored in the dependence definition database 110 is recorded in the component change information.
The difference set creation unit 140 creates minimum composition difference sets 501 and 502, as shown in
Next, the dependence relationship information creation process in step S2 of
Next, the difference set creation process (step S3 in
With the present configuration, the dependence definitions of each component type are stored, so it is possible to create a minimum difference set in accordance with the dependence definitions. Consequently, it is possible to create the minimum difference set necessary for strong application coordination, in other words for simultaneous application. Accordingly, it is possible to achieve reusability of the change differences, and as a result it is possible to achieve effective utilization of the service change resource. In this configuration, an example was shown in which the dependence relationship information 400 was created for each component type, but if the input service change information includes dependence information for each component unit, the dependence relationship information 400 may display dependence relationships for each component.
Next, the action of the above configuration will be described concretely using a concrete embodiment. Suppose the service change information 300 shown in
In
When the above service change information 300 has been input, the dependence relationship information creation unit 130 creates the dependence information 400 shown in
In the embodiment in
In addition, the related component 317 “display screen definition” of the component 312 “layout” is changed by the difference 327 “internal change.” Hence, when the dependence definitions stored in the dependence definition database 110 are referenced, the component 312 “layout” does not exist in the change “internal change” of the related component 317 “display screen definition.” Consequently, a dependence link is not made to the related component 317 “display screen definition” from the component 312 “layout.”
Similarly, the related component 316 “data” of the component 315 “other service call” is changed by the difference 326 “format.” Hence, when the dependence definitions stored in the dependence definition database 110 are referenced, the component 315 “other service call” is dependent on the change “format” of the input/output data, so a dependence link L2 is made to the related component 316 “data” from the component 315 “other service call.”
Similarly, the related component 316 “data” of the component 317 “display screen definition” is changed by the difference 326 “format.” Hence, when the dependence definitions stored in the dependence definition database 110 are referenced, the component 317 “display screen definition” is dependent on the change “format” of the display source data, so a dependence link L3 is made to the related component 316 “data” from the component 317 “display screen definition.”
Next, the difference set creation unit 140 executes step S3 in
As described above, by creating the difference set components, it is possible to use change information inside one service in changes inside similar other services. Consequently, it is possible to achieve reuse of change information, making it possible to achieve effective utilization of service change resources.
The component types 111 stored in the dependence definition database 110 in the above-described configuration is one example of a component type comprising a service. The service change component creation system of the present invention is not limited to the component types 111 shown in
Similarly, the component type 121 stored in the change type database 120 is one example of the component types comprising the service. The service change component creation system of the present invention is not limited to the component types 121 shown in
The present invention was described with reference to an exemplary configuration especially illustrating the present invention, but the present invention is not limited to that configuration or variations thereof. As is clear to one skilled in the art, various variations of the present invention are possible without departing from the spirit or scope of the present invention stipulated by the appended Scope of Claims.
This application claims the benefit of Japanese Patent Application 2008-107354, filed Apr. 16, 2008, the entire disclosure of which is incorporated by reference herein.
The present invention can be applied to a service development foundation applying changes in one service to other services.
Number | Date | Country | Kind |
---|---|---|---|
2008-107354 | Apr 2008 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP2009/057551 | 4/15/2009 | WO | 00 | 9/15/2010 |