CN1313920C - Member assembling method based on united member package structure - Google Patents

Member assembling method based on united member package structure Download PDF

Info

Publication number
CN1313920C
CN1313920C CNB2005101052396A CN200510105239A CN1313920C CN 1313920 C CN1313920 C CN 1313920C CN B2005101052396 A CNB2005101052396 A CN B2005101052396A CN 200510105239 A CN200510105239 A CN 200510105239A CN 1313920 C CN1313920 C CN 1313920C
Authority
CN
China
Prior art keywords
component
run script
assembling
interface
computing machine
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.)
Expired - Fee Related
Application number
CNB2005101052396A
Other languages
Chinese (zh)
Other versions
CN1744038A (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.)
Tsinghua University
Original Assignee
Tsinghua 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 Tsinghua University filed Critical Tsinghua University
Priority to CNB2005101052396A priority Critical patent/CN1313920C/en
Publication of CN1744038A publication Critical patent/CN1744038A/en
Application granted granted Critical
Publication of CN1313920C publication Critical patent/CN1313920C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention relates to a component assembly method based on the structure of unified component encapsulation pieces, which belongs to the technical field of software engineering. Firstly, one or a plurality of computers are respectively provided with a component library so as to form a component library computer, a user extracts components from the component library computers so as to form component encapsulation pieces described in a unified form, and the component encapsulation pieces are stored on component catalog bases so as to form computers of component catalog bases; secondly, component assembly software is arranged on one computer so as to form a component assembly computer; thirdly, the user extracts a group of assembly requiring component encapsulation pieces from the computers of component catalog bases, the assembly requiring component encapsulation pieces are downloaded to the component assembly computer, and the components are assembled on the component assembly computer according to the information of the component encapsulation pieces to be assembled. When the method of the present invention is used, software designers can be helped with the realization of visual programming based on components. Combined with domain component bases, the present invention can support business process integration in different application areas and the customization and the integration of user-oriented individualized services.

Description

A kind of component assembly method based on the unified structure element package structure
Technical field
The present invention relates to a kind of component assembly method, belong to technical field of software engineering based on the unified structure element package structure.
Technical background
Member is meant to have relatively independent function and reusable software module.It makes the software developer can make full use of over knowledge, experience and the functional module that accumulates in the systems development process in new system development, and needn't all " start from scratch ", thereby has avoided the duplication of labour in the software development.Therefore, since the meeting of nineteen sixty-eight NATO soft project proposed this notion of member first, component technology was subjected to the favor of software circle as one of gordian technique that realizes software repeated usage always.At present, member is as a kind of important middleware system that is attached on computer hardware and the operating system, in applications such as finance, education, ecommerce, E-Government, health care, obtained extensive application, brought into play good effect for improving software repeated usage degree and efficiency of software.
Multiplexing for support software, some tissues and company release the component technology standard of oneself one after another.At present, Java component standard JavaBeans, EJB that influential component standard has SUN company to propose, the CCM standard in COM, DCOM standard and the CORBA3.0 of OMG (OMG) standard that Microsoft proposes.The special component base (as Alphaworks, ComponentPlanet, ComponentSource, Flashline etc.) of above-mentioned component technology standard has also appearred on the Internet much following, multiple ready-made available member is provided, these component bases have formed the component resource on the Internet, be software repeated usage, provide the foundation based on the program development of member.
But present various types of members all use own specific standard to develop, the mutual visit between the member and calling between the member that also is confined to same type.Consistance between dissimilar members visit is also lacked necessary support, cause the member search, obtain and analyze, the difficulty of member processing activity such as assembling, make that also a large amount of component resources on the existing Internet can't be widely used.
The applicant is in patent " method of a kind of encapsulation of member and consistance visit " (ZL200410030654.5), a kind of unified structure element package structure (hereinafter to be referred as UCDL) is proposed, this package structure at existing various component models (as ActiveX, JavaBeans, EJB etc.) on the basis, come the difference of shield member description and calling interface by encapsulation, thereby realize the consistance visit of member member.
Based on UCDL member package structure, above-mentioned patent proposes on one or more computing machine component base to be set, and the member that will obtain from the internet deposits the component base member of formation storehouse computing machine in; On a computing machine, component directory library is set, member of formation catalogue storehouse computing machine; The member user extracts member from the component base computing machine, member is encapsulated form the member packaging part, and its tissue is stored on the component directory library computing machine; The member user carries out the consistance visit according to the member packaging part information in the component directory library computing machine to component resource.
Above-mentioned patent provides a kind of feasible method for the visit of the component resource consistance between the polytype.But, using the final purpose of member is in order to make up new application system, this is except foregoing member encapsulation and consistance access method, and wait existing component resource is unified to describe and effectively outside the tissue by component base is set, also need from component base, retrieve required member according to application demand, and the member that retrieves assembled, thereby make up new application system, to support upper layer application better.
Summary of the invention
The objective of the invention is based on the unified structure element package structure, propose a kind of component assembly method based on the unified structure element package structure.Thereby can utilize a large amount of packaged, the member that can carry out the consistance visit that are stored in the component base,, select for use suitable member to assemble link, generate new application system fast, support the application integration of every field according to user's needs.
The component assembly method based on the unified structure element package structure that the present invention proposes comprises following each step:
1) on one or more computing machine, component base is set, the member that obtains from the internet is stored into component base, member of formation storehouse computing machine;
2) on a computing machine component directory library is set, the user encapsulates after above-mentioned component base computing machine extracts member, forms the member packaging part of describing with Unified Form, and it is stored on the component directory library member of formation catalogue storehouse computing machine;
3) on a computing machine, the member composite software is set, constitutes a member assembling computing machine;
4) user extracts the one group of member packaging part that need assemble from above-mentioned component directory library computing machine, and it is downloaded in the member assembling computing machine;
5) user assembles member on member assembling computing machine according to the member packaging part information that will assemble, and the method for assembling may further comprise the steps:
(1) the Run Script file structure of a responsible control member assembling process of structure, file structure comprises three parts: member statement, the definition of interface annexation and the definition of member assembling control flow;
(2) according to the member packaging part information that will assemble, the external interface of member is shown in patterned mode, the user selects, adjusts the annexation between the member external interface, the member assembling scheme that formation is represented with patterned way, the member that formation is represented with patterned way is assembled the method for scheme, may further comprise the steps:
(a) in member assembling computing machine, be written into the member packaging part that to assemble, reading element external interface descriptor from the member packaging part;
(b) according to the member external interface information that reads, member and the external interface thereof that assemble shown in patterned mode;
(c) relation of the funcall between the member assembled as required of user, the connection of between the member of needs assembling, setting up the member external interface in patterned mode;
(d) according to the descriptor of the above-mentioned member external interface that has connected, judge between the member external interface that has connected whether call interactive relation correct, and the result who judges to user feedback;
(e) user adjusts the annexation between the member external interface according to judged result, generates patterned member assembling scheme;
(3) according to the graphical member assembling scheme of above-mentioned formation, generate corresponding Run Script, the method for generating run script may further comprise the steps:
(a) Run Script of a sky of structure writes the header of Run Script file therein;
(b) the above-mentioned graphical member assembling scheme that has formed of traversal is therefrom extracted the member packaging part descriptor that will assemble;
(c) the member name and the interface message of extraction member packaging part from the descriptor of extracting, the member that is filled into the Run Script of above-mentioned steps (1) structure is stated in the part;
(d) according to the line of component interface in above-mentioned graphical member assembling scheme relation, establish a connection having between the component interface of line, be filled in the interface annexation definitional part of Run Script of above-mentioned steps (1) structure;
(e) degree of depth travels through above-mentioned whole graphical member assembling scheme, the order of calling according to each member, the perform statement that calling of each member is converted in the Run Script, the member that is filled into the Run Script of above-mentioned steps (1) structure is assembled in the control flow definitional part;
(f) in the Run Script of above-mentioned steps (1) structure, write end mark, finish the generative process of Run Script;
(4) explain the Run Script of carrying out above-mentioned generation, finish assembling process, the explanation implementation of Run Script may further comprise the steps:
(a) explain to carry out member statement part in the Run Script: according to the member name and the component interface of appointment in the member statement part of the Run Script of above-mentioned generation, start corresponding member agency, initialization member entity, in follow-up component groups process of assembling, the member agency is responsible for intercepting the recalls information from the outside, and calls corresponding member entity;
(b) explain to carry out component interface annexation definitional part in the Run Script: according to the annexation of interface between the member in the component interface annexation definition of the Run Script of above-mentioned generation, check whether the interface annexation mates, whether the message definition between the interface is consistent, pass through if check, then the Run Script interpretive routine is recorded as message channel with this interface annexation, and changes next step parsing over to, otherwise, the interpretation process of Run Script is interrupted, and returns error message;
(c) explain to carry out member assembling control flow definitional part: the member according to the member assembling control flow definition of the Run Script of above-mentioned generation is carried out flow process, produce the used input and output message of component interactive, and it is transferred to member agency, the member agency is after receiving input message, with the input message conversion is the call parameters form of the member entity acted on behalf of, and send call request to member entity corresponding interface, after calling the result and returning, the member agency is converted to rreturn value other member agency's output message, then this message is passed through corresponding output port, output to the Run Script interpretive routine, finish assembling between the member according to defined control stream.
The component assembly method that the present invention proposes based on the unified structure element package structure, its advantage and application are as follows:
1, adopts method of the present invention, can the helper applications designer realize visual programming based on member.Use the component assembly method among the present invention, software design personnel can be at first according to the programming needs, extract the member that needs assembling, and the external interface of member shown intuitively in patterned mode, adopt method for visualizing to select, adjust and the final assembled relation of determining between the member by the software design personnel, finish the component groups process of assembling.
2, the present invention can be applicable to applications such as finance, education, ecommerce, E-Government, health care, at in these applications from each class A of geometric unitA of different suppliers, different models, use the component assembly method among the present invention, based on the unified structure element packaging part, realization is to the assembling of different suppliers, different model components, thereby supports neatly and should and generate new application system fast with the formation of the operation flow in field.
3, by the exploitation corresponding user interfaces, user's demand is analyzed and understood, from component base, directly find needed member, using method of the present invention then assembles these members, dynamically generate the application program that the user needs, thereby support the customization of user oriented personalized application program and integrated.
Description of drawings
Fig. 1 is the component groups process of assembling process flow diagram that the present invention proposes.
Fig. 2 is the process flow diagram of according to member packaging part information member being assembled in the inventive method.
Fig. 3 is Run Script file structure figure.
Fig. 4 is the forming process process flow diagram of graphical member assembling scheme.
Fig. 5 is a pel exemplary plot in the graphical member assembling scheme.
Fig. 6 is the generative process synoptic diagram of Run Script.
Fig. 7 is that member is acted on behalf of synoptic diagram.
Fig. 8 is the explanation implementation synoptic diagram of Run Script.
Embodiment
The component assembly method that the present invention proposes based on the unified structure element package structure, its flow process at first is provided with component base as shown in Figure 1 on one or more computing machine, the member that obtains from the internet is stored into component base, member of formation storehouse computing machine; On a computing machine component directory library is set, the user encapsulates after above-mentioned component base computing machine extracts member, forms the member packaging part of describing with Unified Form, and it is stored on the component directory library member of formation catalogue storehouse computing machine; On a computing machine, the member composite software is set, constitutes a member assembling computing machine; The user extracts the one group of member packaging part that need assemble from above-mentioned component directory library computing machine, it is downloaded in the member assembling computing machine; The user assembles member on member assembling computing machine according to the member packaging part information that will assemble.
In the component assembly method that the present invention proposes, the patent No. is that unified structure element package structure disclosed among the ZL200410030654.5 is a basis.The unified structure element packaging part at existing various component models (as ActiveX, JavaBeans, EJB etc.) on the basis, the interface message of member is described with the interface specification that is independent of concrete programming language, shielded the dissimilar member calling interfaces and the difference of access mode, thereby provided the foundation in member assembling, realizing the visit of dissimilar members and calling.
The present invention in the component groups process of assembling, according to the descriptor in the member packaging part, with each member all abstract be member agency.Like this, in the component groups process of assembling, shield the difference on different component is described on the one hand, simplified the process of member assembling; On the other hand, in assembling process, realize mutual with dissimilar member entities, realized the assembling between the heterogeneous component by the member agency mechanism.
In concrete component assembly method, the present invention at first uses one section " master routine " of script (Script) definition, in order, control modes such as selection, circulation call and carry out the function of member, thereby finish the assembling between the member.Be referred to as Run Script (Running Script) among the present invention.
Simultaneously, for convenience of user's generating run script, the present invention proposes patterned component assembly method, member and external interface thereof are shown to the user intuitively in patterned mode, by user's mutual selection, definite interface annexation of wanting between the assembled component, the component interface information in the corresponding member packaging part of basis, judge the correctness of interface call connected relation between the member, and further adjust, generate graphical assembling scheme according to judged result by the user.
On this basis, the present invention proposes conversion method, further graphically assembling scheme is converted to Run Script from graphical assembling scheme to Run Script.
In the explanation of Run Script was carried out, the present invention had adopted the member agency mechanism.According to the member assembled relation that defines in the Run Script, extract the interface descriptor of member and call condition, start corresponding member agency, remove the component invoking entity.After the calling the result and return of member agency,, be assembled into a complete application program, submit to the user, finish the member assembly working according to the defined assembled relation of Run Script.
In the inventive method, the method according to member packaging part information is assembled member as shown in Figure 2, comprises following concrete steps:
The first step: the Run Script file structure of a responsible control member assembling process of structure, file structure comprises three parts: member statement, the definition of interface annexation and the definition of member assembling control flow;
Second step: according to the member packaging part information that will assemble, the external interface of member is shown in patterned mode, the user selects, adjusts the annexation between the member external interface, forms the member of representing with patterned way and assembles scheme;
The 3rd step: the graphical member assembling scheme according to above-mentioned formation generates corresponding Run Script;
The 4th step: explain the Run Script of carrying out above-mentioned generation, finish assembling process.
Run Script has vital role in the member assembling, it is responsible for the assembling process of control member, and carries out the member that will assemble in execution environment.The Run Script file structure of the structure in the first step is as follows as described above:
Run Script among the present invention is based on the XML syntactic structure, and its structure as shown in Figure 3.Describe regulation according to XML, the whole service script of describing with XML all is called as root element.In Run Script, root element is called as RunningScript, is divided into three parts again:
1, member statement part (<Components〉part)
Describe the member that to assemble, comprise description member name and member external interface.The interpretive routine of Run Script can be written into corresponding member according to the statement of this part, for the execution of script is prepared.
<Components〉label by one or more<Component label forms.Each<Component〉statement of a member of tag identifier, it comprises id and two attributes of name: the former is the unique identifier of member, the script interpretive routine can obtain member according to this identifier in local component base LCRW; The latter is the title of member, can use this title to quote this member in the whole service script.
<Component〉label comprises one or more<Interface〉label,<Interface〉label is used for identifying the interface statement that this member will use in assembling process.<Interface〉title of this interface of name attribute-bit of label.Its subtab<InputMessage〉and<OutputMessage〉then indicated the input and output message of this interface respectively.The concrete definition of message is with reference to the description of the UCDL of member.
2, interface annexation definitional part (<Links〉part)
This part is defined in the annexation between the different component interface in the assembling process, comprises source component interface and purpose component interface.The interpretive routine of Run Script can judge between the interface whether mate according to the definition of this part, and sets up message channel, and in the component groups process of assembling, message is according to transmitting in the corresponding message channel of being defined in of this part.
Interface annexation definitional part is by<Links〉identify<Links〉further comprise one or more<Link〉subtab.Each<Link label definition the annexation of interface between two members.<Link〉the name attribute of label is the unique identifier of in the assembling script this Link being quoted.Each<Link〉under the label, further comprise<From and<To〉two subtabs, represent the source interface and the purpose interface of this connection respectively, each interface is made up of interface name attribute and member name attribute.
3, member assembling control flow definitional part (<Process〉part)
The execution flow process of this part definition member is described the assembled relation between the member, comprises member is called definition that the message between order and the member transmits etc.
<Process〉label describes assembled relation between the member by the execution flow process of definition member.The execution flow process of member is similar to the process flow diagram that is used for expressing algorithm.Each step in the flow process is called an activity.<Process〉part mainly described following basic activity:
(1)<and Invoke 〉: be the perform statement in the Run Script, be used for calling the external interface of certain member.<Invoke〉two the attribute Component and the Interface of label, further indicate the member name that will call and the interface of this member.
(2)<and Terminate 〉: stop calling to certain member.
On this basis, Run Script is combined into more complicated flow process by the control stream mode of definition member execution with above-mentioned basic activity.The control stream mode that member is carried out has:
(1)<and Sequence 〉: define one group of order between the member and carry out relation.Sequence control stream comprises one or more activities of carrying out in order, and in assembling process, the script interpretive routine will be according to these activities at<Sequence〉precedence that is listed in the element, order is carried out these activities.
(2)<Switch: define one group of branch between the member and carry out relation, a Switch control stream comprises ordered list and the last optionally Otherwise branch that one or more Case elements are formed, each Case element definition a conditional branching.Its condition is tested in appearance with Case branch during execution in proper order, and first branch that is satisfied is performed.If the condition of all Case branches all is not satisfied, Otherwise branch will be performed so.After the activity in the selected branch was finished, this Switch control stream finished.
(3)<and While 〉: define one group of circulation between the member and carry out relation.While control stream is realized circulation, and it is carried out the activity that repeats and no longer is satisfied up to the While cycling condition that provides.
(4)<and Flow 〉: define the concurrent execution relation between one group of member.The one group of activity that is comprised in the Flow control stream is explained in the execution and will be carried out concomitantly at Run Script.When all activities among the Flow were finished, Flow control stream finished.
More than each label can be mutually nested, for example, just can comprise a Switch structure in the Flow structure, and the corresponding different Invoke structure of the different condition of this Switch structure.
In second step in the method for member being assembled according to member packaging part information as previously described, the forming process of promptly graphical member assembling scheme as shown in Figure 4, may further comprise the steps:
Step 1) is written into the member packaging part that will assemble, reading element external interface descriptor from the member packaging part in member assembling computing machine;
Step 2) according to the member external interface information that reads, member and the external interface thereof that assemble shown in patterned mode;
Funcall between the member that step 3) user assembles as required relation, the connection of between the member of needs assembling, setting up the member external interface in patterned mode;
Step 4) is according to the descriptor of the above-mentioned member external interface that has connected, judge between the member external interface that has connected whether call interactive relation correct, and the result who judges to user feedback;
Step 5) user adjusts the annexation between the member external interface according to judged result, generates patterned member assembling scheme.
Graphical member assembling scheme wherein is to overlap diagramming and the semantic annexation of understanding easily of describing between member and the member that collects of a cover with one, in the present invention, use a digraph model to define call relation and assembling flow path between the member, and corresponding to the file structure of Run Script, carry out corresponding pel design, as shown in Figure 5.
Corresponding with the file structure of Run Script, the pel in the patterned member assembling scheme is divided into two big classes:
1, the pel definition of member statement: in graphical member assembling scheme, member represents that with the big rectangle that a side has two small rectangles the circle that connects together with it is represented component interface.
2, the pel definition of member assembling control flow.According to defined in the Run Script, as call execution, order execution, executed in parallel, circulation execution etc., design corresponding pel and represent these member assembled relation the assembled relation between the member of member.
Next step is by graphical member assembling scheme generating run script for convenience, and the present invention has also provided the pairing Run Script example of this pel, as shown in Figure 5 in the pel definition.Like this, confirm to generate final graphical member assembling scheme by the user after, only need the graphical member assembling of traversal scheme, find the pairing Run Script example of each pel, insert concrete component information then therein, as the member title, component interface attribute etc. just can generate corresponding Run Script.
In addition, the interface annexation definitional part in the Run Script is mainly used to judge the matching relationship between the interface in assembling process, does not therefore have corresponding pel definition in graphical member assembling scheme.
In the 3rd step in the method for member being assembled according to member packaging part information as previously described, promptly the generating algorithm of Run Script is as described below: as shown in Figure 6, may further comprise the steps:
1) Run Script of a sky of structure writes the header of Run Script file therein;
2) the above-mentioned graphical member assembling scheme that has formed of traversal is therefrom extracted the member packaging part descriptor that will assemble;
3) from the descriptor of extracting, extract the member name and the interface message of member packaging part, be filled into above-mentioned steps 1) in the member statement part of the Run Script of structure;
4), establish a connection having between the component interface of line, be filled into above-mentioned steps 1 according to the line of component interface in above-mentioned graphical member assembling scheme relation) in the interface annexation definitional part of the Run Script of structure;
5) degree of depth travels through above-mentioned whole graphical member assembling scheme, the order of calling according to each member, the perform statement that calling of each member is converted in the Run Script, be filled into above-mentioned steps 1) in the member assembling control flow definitional part of the Run Script of structure, detailed process is as follows: the degree of depth travels through whole graphical member assembling scheme, independent each sequence pel, become one group of activity of carrying out in proper order, calling of each member all is converted into an invoke activity; Each switch pel in the graphical member assembling scheme is corresponded to a switch structure in the Run Script, wherein under every kind of condition corresponding to an activity; While pel in the graphical member assembling scheme is converted to while structure in the Run Script, and from figure, read While round-robin cycling condition, be filled into the appropriate section of while structure in the Run Script, be added to the flow structure of Run Script at sequence two that concurrent phenomenon appears in graphical member assembling scheme.
6) in above-mentioned steps 1) structure Run Script in write end mark, finish the generative process of Run Script.
After Run Script generates, need be by the explanation of Run Script being carried out the assembling of further finishing between the member.
In the explanation of Run Script is carried out, for based on unified member packaging part information, dissimilar members is assembled, the present invention has introduced the member agency mechanism.The member agency can be regarded as the specific implementation of the member function described in the member packaging part.By the member agency, can be with dissimilar members, as CORBA, COM, JavaBean etc. are used as a UCDL member uniformly and use, thereby realize the assembling to heterogeneous component.
The effect of member agency in Run Script explanation implementation as shown in Figure 7.In the explanation implementation of Run Script, at first create UCDL member agency's example, then according to the control flow between the defined member in the Run Script, produce the used input and output message of component interactive, send to relevant member agency, finish calling by member agency to member entity (as the CORBA member, COM member, JavaBean member etc.) acted on behalf of.And will call the result and be packaged into output message, output to Run Script by the member agency and carry out instrument, further finish assembling between the member again by the execution instrument according to defined control stream.
The 3rd step in the method for member being assembled according to member packaging part information as previously described, i.e. the explanation implementation of Run Script as shown in Figure 8, may further comprise the steps:
1, explains that carrying out member states part
Interpretive routine basis<the Component of Run Script〉the member id and the name attribute of appointment in the label, from local component resource storehouse LCRW, extract corresponding member entity and UCDL descriptor, start UCDL member agency, and according to<Interface〉the definition component interface is described in the label, generates corresponding IO interface in UCDL member agency.
UCDL member agency by calling initialization interface, generates the running example of the member of acting on behalf of, and begins to intercept input message after starting.In follow-up component groups process of assembling, will remove to call corresponding member entity by UCDL member agency.
2, explain execution component interface annexation part
<Link〉defined the annexation of interface between the member in the label.The Run Script interpretive routine is according to this definition, checks whether the interface annexation mates, and whether the message definition between the interface unanimity etc.If check and pass through that the Run Script interpretive routine is recorded as message channel with this interface annexation, and changes next step parsing work over to.Otherwise the interpretation process of Run Script is interrupted, and returns error message.
3, explain that carrying out member assembles the control flow part
<Process〉label defines assembled relation between the member by the execution flow process of definition member.In the explanation of this part was carried out, the interpretive routine of Run Script produced the used input and output message of component interactive according to the control flow between the defined member in the Run Script, and was transferred to UCDL member agency.UCDL member agency by analyzing, is the understandable call parameters form of being acted on behalf of of member entity with the input message conversion, and sends call request to member entity corresponding interface after receiving input message; Calling after the result returns, UCDL member agency is corresponding UCDL output message with rreturn value " coding " further again, then this message is passed through corresponding output port, output to the Run Script interpretive routine, further finish assembling between the member again according to defined control stream by the execution instrument.

Claims (1)

1, a kind of component assembly method based on the unified structure element package structure is characterized in that this method comprises following each step:
1) on one or more computing machine, component base is set, the member that obtains from the internet is stored into component base, member of formation storehouse computing machine;
2) on a computing machine component directory library is set, the user encapsulates after above-mentioned component base computing machine extracts member, forms the member packaging part of describing with Unified Form, and it is stored on the component directory library member of formation catalogue storehouse computing machine;
3) on a computing machine, the member composite software is set, constitutes a member assembling computing machine;
4) user extracts the one group of member packaging part that need assemble from above-mentioned component directory library computing machine, and it is downloaded in the member assembling computing machine;
5) user assembles member on member assembling computing machine according to the member packaging part information that will assemble, and the method for assembling may further comprise the steps:
(1) the Run Script file structure of a responsible control member assembling process of structure, file structure comprises three parts: member statement, the definition of interface annexation and the definition of member assembling control flow;
(2) according to the member packaging part information that will assemble, the external interface of member is shown in patterned mode, the user selects, adjusts the annexation between the member external interface, the member assembling scheme that formation is represented with patterned way, the member that formation is represented with patterned way is assembled the method for scheme, may further comprise the steps:
(a) in member assembling computing machine, be written into the member packaging part that to assemble, reading element external interface descriptor from the member packaging part;
(b) according to the member external interface information that reads, member and the external interface thereof that assemble shown in patterned mode;
(c) relation of the funcall between the member assembled as required of user, the connection of between the member of needs assembling, setting up the member external interface in patterned mode;
(d) according to the descriptor of the above-mentioned member external interface that has connected, judge between the member external interface that has connected whether call interactive relation correct, and the result who judges to user feedback;
(e) user adjusts the annexation between the member external interface according to judged result, generates patterned member assembling scheme;
(3) according to the graphical member assembling scheme of above-mentioned formation, generate corresponding Run Script, the method for generating run script may further comprise the steps:
(a) Run Script of a sky of structure writes the header of Run Script file therein;
(b) the above-mentioned graphical member assembling scheme that has formed of traversal is therefrom extracted the member packaging part descriptor that will assemble;
(c) the member name and the interface message of extraction member packaging part from the descriptor of extracting, the member that is filled into the Run Script of above-mentioned steps (1) structure is stated in the part;
(d) according to the line of component interface in above-mentioned graphical member assembling scheme relation, establish a connection having between the component interface of line, be filled in the interface annexation definitional part of Run Script of above-mentioned steps (1) structure;
(e) degree of depth travels through above-mentioned whole graphical member assembling scheme, the order of calling according to each member, the perform statement that calling of each member is converted in the Run Script, the member that is filled into the Run Script of above-mentioned steps (1) structure is assembled in the control flow definitional part;
(f) in the Run Script of above-mentioned steps (1) structure, write end mark, finish the generative process of Run Script;
(4) explain the Run Script of carrying out above-mentioned generation, finish assembling process, the explanation implementation of Run Script may further comprise the steps:
(a) explain to carry out member statement part in the Run Script: according to the member name and the component interface of appointment in the member statement part of the Run Script of above-mentioned generation, start corresponding member agency, initialization member entity, in follow-up component groups process of assembling, the member agency is responsible for intercepting the recalls information from the outside, and calls corresponding member entity;
(b) explain to carry out component interface annexation definitional part in the Run Script: according to the annexation of interface between the member in the component interface annexation definition of the Run Script of above-mentioned generation, check whether the interface annexation mates, whether the message definition between the interface is consistent, pass through if check, then the Run Script interpretive routine is recorded as message channel with this interface annexation, and changes next step parsing over to, otherwise, the interpretation process of Run Script is interrupted, and returns error message;
(c) explain to carry out member assembling control flow definitional part: the member according to the member assembling control flow definition of the Run Script of above-mentioned generation is carried out flow process, produce the used input and output message of component interactive, and it is transferred to member agency, the member agency is after receiving input message, with the input message conversion is the call parameters form of the member entity acted on behalf of, and send call request to member entity corresponding interface, after calling the result and returning, the member agency is converted to rreturn value other member agency's output message, then this message is passed through corresponding output port, output to the Run Script interpretive routine, finish assembling between the member according to defined control stream.
CNB2005101052396A 2005-09-28 2005-09-28 Member assembling method based on united member package structure Expired - Fee Related CN1313920C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101052396A CN1313920C (en) 2005-09-28 2005-09-28 Member assembling method based on united member package structure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101052396A CN1313920C (en) 2005-09-28 2005-09-28 Member assembling method based on united member package structure

Publications (2)

Publication Number Publication Date
CN1744038A CN1744038A (en) 2006-03-08
CN1313920C true CN1313920C (en) 2007-05-02

Family

ID=36139428

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101052396A Expired - Fee Related CN1313920C (en) 2005-09-28 2005-09-28 Member assembling method based on united member package structure

Country Status (1)

Country Link
CN (1) CN1313920C (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100375957C (en) * 2006-05-19 2008-03-19 清华大学 Software service generation method according to user requirements in network environment
CN1333336C (en) * 2006-06-23 2007-08-22 清华大学 Method for unified management of component library supporting heterogeneous component
CN100419677C (en) * 2006-08-16 2008-09-17 中国航天科技集团公司第一研究院 Module based fast engineering design method
CN101056207A (en) * 2007-05-31 2007-10-17 华为技术有限公司 Software loading method for communication device and communication network system
CN102073506A (en) * 2011-02-24 2011-05-25 北京中电普华信息技术有限公司 Java 2 enterprise edition (J2EE) based method and system for processing Web application request
CN102087599A (en) * 2011-02-24 2011-06-08 北京中电普华信息技术有限公司 J2EE-based Web application system development method and device
CN102236556A (en) * 2011-08-01 2011-11-09 苏州万图明电子软件有限公司 Method for rapidly constructing software product
CN103136406B (en) * 2011-12-03 2015-12-16 南京南瑞继保电气有限公司 The method of visualization applications simulations function code
CN102722367B (en) * 2012-05-21 2015-11-25 深圳市茁壮网络股份有限公司 A kind of method of data processing, processor and terminal
CN104298513A (en) * 2014-10-11 2015-01-21 无锡天脉聚源传媒科技有限公司 Application product generation method and apparatus
CN104572091B (en) * 2014-12-25 2017-11-03 百度在线网络技术(北京)有限公司 Application software implementation method, device and computer equipment
CN105607902A (en) * 2015-12-16 2016-05-25 苏州同元软控信息技术有限公司 Component model based system visualization design and code generation system and method
CN107256308B (en) * 2017-06-09 2019-10-08 华东师范大学 A kind of component interactive relationship modeling system based on co-development system
CN107229477B (en) * 2017-06-09 2019-10-08 华东师范大学 A kind of component interactive relationship modeling method based on co-development system
CN107491478A (en) * 2017-07-03 2017-12-19 广东南方数码科技股份有限公司 Data processing method, electronic equipment and storage medium based on flow chart directly perceived
CN107809388B (en) * 2017-11-10 2020-09-01 中国电子科技集团公司第四十一研究所 Script configuration based autonomous path-finding switch matrix network control method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1564129A (en) * 2004-04-02 2005-01-12 清华大学 Method of packing member and consistent visit
CN1584830A (en) * 2004-06-16 2005-02-23 北京大学 Non-functional characteristic assembling method in member software

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1564129A (en) * 2004-04-02 2005-01-12 清华大学 Method of packing member and consistent visit
CN1584830A (en) * 2004-06-16 2005-02-23 北京大学 Non-functional characteristic assembling method in member software

Also Published As

Publication number Publication date
CN1744038A (en) 2006-03-08

Similar Documents

Publication Publication Date Title
CN1313920C (en) Member assembling method based on united member package structure
CN1196995C (en) Application software development system andm ehtod, application software devlopment program and application software generating method
US20050144226A1 (en) Systems and methods for modeling and generating reusable application component frameworks, and automated assembly of service-oriented applications from existing applications
Shaw et al. Abstractions and implementations for architectural connections
CN1223938C (en) Method of packing member and consistent visit
JP2006526209A (en) Software development method and development system using metadata extended under component-based environment
Wassermann et al. Sedna: A BPEL-based environment for visual scientific workflow modeling
JP2009238231A (en) Software development method using metadata expanded under component base environment and its development system
CN1877523A (en) Method for unified management of component library supporting heterogeneous component
WO2005089338A2 (en) Declarative computer programming language method and system
CN1577265A (en) Description language for an extensible compiler and tools infrastructure
CN1845069A (en) Software service generation method according to user requirements in network environment
CN1816043A (en) Script generating device based on assembly multiplexing, and method therefor
Akarsu et al. Webflow-high-level programming environment and visual authoring toolkit for high performance distributed computing
CN1916842A (en) Method of packaging component for implementing reflection mechanism in structurized software system
CN100345110C (en) Method for avoiding grid computing application to depend on bottom development tool box
Russell et al. The vine toolkit: A java framework for developing grid applications
CN1956445A (en) Implementing method faced to gate package of web service
Layka Learn java for web development: Modern java web development
JP2010049439A (en) System construction method using software model and modeling device
CN1900905A (en) Realizing method and its device for detecting descriptive language
Klus et al. Interface roles for dynamic adaptive systems
CN1687897A (en) User guided program semi-automatic parallelizing method
CN1731352A (en) Micro-compile grid service constructor
Daniel et al. Distributed user interface orchestration: on the composition of multi-user (search) applications

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070502

Termination date: 20180928

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