Method and system for determining interface compatibility based on component model
First Claim
Patent Images
1. An apparatus configured to determine interface compatibility in component model-based software design, the apparatus comprising:
- a processor configured to;
update a software platform comprising a first interface and a second interface;
provide a function set for the first interface;
provide a function set for the second interface;
provide interface compatibility rules comprising interface connectivity, based on a capability to connect components, or interface substitutability, based on a capability to substitute a component;
verify, based on the interface compatibility rules, existence of each function in the function set for the second interface in the function set for the first interface, wherein the interface compatibility rules comprise(1) determining whether to select an interface according to an on state or off state of the interface for an optional variability type,(2) determining whether to select one interface from a plurality of related interfaces for an alternative variability type, and(3) determining whether to select any one or any two or more of interfaces for a selective variability type;
add functions in the function set for the second interface that do not exist in the function set for the first interface to a remainder function list based on a result of the verify; and
upon a determination that a function exists in the remainder function list, submit a notification of incompatibility; and
automatically apply rules for interface connectivity and rules for interface substitutability in determining interface compatibility,wherein the optional variability type selects an interface according to an on state or off state of the interface, the alternative variability type selects one interface from a plurality of related interfaces, and the selective variability type selects any two or more of interfaces for a selective variability type.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and system for determining interface compatibility between components are provided. In the system for determining interface compatibility in component model-based software design, the system includes a compatibility rule manager managing interface compatibility rules, and an interface compatibility validator verifying interface compatibility between components based on the interface compatibility rules.
7 Citations
19 Claims
-
1. An apparatus configured to determine interface compatibility in component model-based software design, the apparatus comprising:
-
a processor configured to; update a software platform comprising a first interface and a second interface; provide a function set for the first interface; provide a function set for the second interface; provide interface compatibility rules comprising interface connectivity, based on a capability to connect components, or interface substitutability, based on a capability to substitute a component; verify, based on the interface compatibility rules, existence of each function in the function set for the second interface in the function set for the first interface, wherein the interface compatibility rules comprise (1) determining whether to select an interface according to an on state or off state of the interface for an optional variability type, (2) determining whether to select one interface from a plurality of related interfaces for an alternative variability type, and (3) determining whether to select any one or any two or more of interfaces for a selective variability type; add functions in the function set for the second interface that do not exist in the function set for the first interface to a remainder function list based on a result of the verify; and upon a determination that a function exists in the remainder function list, submit a notification of incompatibility; and automatically apply rules for interface connectivity and rules for interface substitutability in determining interface compatibility, wherein the optional variability type selects an interface according to an on state or off state of the interface, the alternative variability type selects one interface from a plurality of related interfaces, and the selective variability type selects any two or more of interfaces for a selective variability type. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 16, 17, 18)
-
-
11. A method for determining interface compatibility in component model-based software design, the method comprising:
-
parsing a function set for a first interface of a first component; parsing a function set for a second interface of a second component; applying interface variability to an interface for a component; verifying, based on interface compatibility rules, existence of each function in the function set for the second interface in the function set for the first interface, wherein the interface compatibility rules comprise (1) determining whether to select an interface according to an on state or off state of the interface for an optional variability type, (2) determining whether to select one interface from a plurality of related interfaces for an alternative variability type, and (3) determining whether to select any one or any two or more of interfaces for a selective variability type; adding functions in the function set for the second interface that do not exist in the function set for the first interface to a remainder function list based on a result of the verify; and upon a determination that a function exists in the remainder function list, submitting a notification of incompatibility, wherein the parsing, applying, and verifying are performed by one or more processing devices to automatically determine the interface compatibility of the first interface and the second interface, and wherein the optional variability type selects an interface according to an on state or off state of the interface, the alternative variability type selects one interface from a plurality of related interfaces, and the selective variability type selects any two or more of interfaces for a selective variability type. - View Dependent Claims (12, 13, 14, 15)
-
-
19. A method for automatically determining interface compatibility in component model-based software design, comprising:
-
determining a first function set and a second function set from a first interface and a second interface, respectively; determining an interface type, wherein; when the interface variability type is determined to be an optional variability type, compare functions in the first function set with functions in the second function set; when the interface variability type is determined to be an alternative variability type, select and set configuration for the first interface, and compare functions in the first function set with functions in the second function set; and when the interface variability type is determined to be a selective variability type, select and merge the first function set, and compare functions in the first function set with functions in the second function set; and upon a determination that a function exists in a remainder function list based on the comparisons of functions in the first function set with functions in the second function set, submitting a notification of incompatibility, wherein the optional variability type selects an interface according to an on state or off state of the interface, the alternative variability type selects one interface from a plurality of related interfaces, and the selective variability type selects any two or more of interfaces for a selective variability type.
-
Specification