CN102360308B - Distributed deployment system and method of components - Google Patents

Distributed deployment system and method of components Download PDF

Info

Publication number
CN102360308B
CN102360308B CN 201110295581 CN201110295581A CN102360308B CN 102360308 B CN102360308 B CN 102360308B CN 201110295581 CN201110295581 CN 201110295581 CN 201110295581 A CN201110295581 A CN 201110295581A CN 102360308 B CN102360308 B CN 102360308B
Authority
CN
China
Prior art keywords
assembly
component
deployment
assemblies
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN 201110295581
Other languages
Chinese (zh)
Other versions
CN102360308A (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.)
Yonyou Network Technology Co Ltd
Original Assignee
Yonyou Software Co Ltd
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 Yonyou Software Co Ltd filed Critical Yonyou Software Co Ltd
Priority to CN 201110295581 priority Critical patent/CN102360308B/en
Publication of CN102360308A publication Critical patent/CN102360308A/en
Application granted granted Critical
Publication of CN102360308B publication Critical patent/CN102360308B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a distributed deployment system and method of components. The method comprises the following steps of: step 202, generating a component deployment package by a configured component project, and storing deployment information, wherein the deployment information comprises the information of the component project, the information of at least one component in the component project, the association information of a plurality of components and the information of the component deployment package; and step 204, scanning the component deployment package and obtaining state attribute of the component in the component deployment package, if the state attribute is static, deploying the static component at a corresponding server node, and if the state attribute is dynamic, deploying the dynamic component at the corresponding server node, and storing the corresponding relation between the component and the server node. With the technical scheme of the invention, the components with complex dependence relation can be conveniently deployed and instances can be managed finely in a distributed environment, simultaneously, needs-based creation and startup can be realized, and influences on the entire system can be avoided.

Description

The distributed deployment system and method for assembly
Technical field
The present invention relates to the deployment of components technology, in particular to the distributed deployment system and method for assembly.
Background technology
The component-based programming is an important method that strengthens software reusability, extendability, raising software development efficiency and quality always, but often need different component models for different language, different platform, the inter-module of different implementation models can't direct interaction.The purpose of SCA is to make the user that a level of no longer directly facing concrete ins and outs be arranged when building enterprise's application, but builds application by the mode of serviced component.This mode also makes client's enterprise use to have good layer architecture, to can be good at separating service logic and the IT logic of application, not only is easy to the structure used, also is easy to change and the deployment of using.SCA full name Service Component Architecture, i.e. serviced component framework.Serviced component architecture (SCA) is a standard, and it is described and is used for using SOA to build the model of application program and system.SCA can greatly simplify and uses the application development that SOA carries out and realize work, has become one of most important standard in the SOA architectural framework.
An assembly is usually by following attribute description: service: described the function that the assembly of the type can provide; Quote: the dependence of having described the assembly correlation function of the type; Attribute: defined configuration parameter, how the control program logic realizes for example, use which kind of currency in payment services; Strategy: described the assembly behavioral strategy, mainly contained two kinds of strategies: implementation strategy: assembly is realized exerting one's influence, for example: affairs, supervision and daily record; Interactive tactics: how interactive definitions component is, for example: safety.
As shown in Figure 1, a typical assembly 100 comprises component property 102, assembly strategy, service 106 and quotes 108.The programming language that assembly can use any user to want goes to realize, for example goes to realize that with BPEL operation flow controls, and XSLT realizes changing, and RUBY comes compile script, also can use pure JAVA.These serve, quote, how attribute and strategy go to define what defined an assembly is the specific implementation type.
Assembly is the most basic unit, during real enterprise is used, seldom there is so simple business can satisfy by a single assembly, but by a plurality of assemblies are fitted together, form composite component, composite component and single component can also be continued combination, by continuous assembling, reuse existing assembly, form the more assembly of coarsegrain, satisfy higher level, more complicated business demand, playing with building blocks of realizing really that the software people pursues always equally builds the dream of using.By constantly assembling and multiplexing, inter-module produces the dependence that becomes increasingly complex thereupon along with assembly.The simplest deployment scheme is exactly to have the assembly of dependence all to be deployed on a server node these, but along with component count increase and the requirement of different assembly application server is had nothing in common with each other, the quality (high concurrency and high availability) that concentrated deployment often can't service that Assurance component provides.This moment, the scheme generally taked was according to the performance requirement of assembly to server, on the server that deployment of components is complementary to performance index, and can better server with regard to desirability such as the assembly of doing the cost computing is compared the assembly of general web search.Another situation is because assembled assembly belongs to different department or tissues; be in protection assembly copyright or for the ease of maintenance and management assembly nearby; and can be mutual with local data base and other Legacy Systems nearby for assembly, the assembly of all departments and tissue generally can be deployed on local server.Based on above-mentioned analysis, the complicated assembly that dependence is arranged need to distribute at specific business scenario and be deployed on different server nodes, and this solves with regard to needs the sequence problem that distributed component is disposed, as the component dependencies analysis, transparent deployment, mistake recovery etc.
The reference of SCA standard realizes in the Tuscany project by domain manager, Management Unit distributed deployment that can system.In the time of concrete configuration, physics is disposed bag (contribution), assembly assembled configuration file (composite), operation node (Node), assembly assembled configuration file deployment configuration (Cloud) etc. and must be registered by hand, this has not only increased the O﹠M cost of software, also easily make mistakes, i.e. the state of the real operation of server and configuration easily occur inconsistent.In addition at the component instance management aspect, there is a problem in prior art, be exactly in case by domain manager, assembly assembled configuration file registration is arrived specific operation node, when node starts, corresponding component instance just is created, rather than the dependence between component-based goes dynamic creation and starts corresponding component instance, and this just causes some basic assembly that just is not cited also can be created and start service, causes valuable server resource waste.Same when certain assembly is out of service, the component instance that its single line relies on can not stop serving and destroying example automatically, and those assemblies that oppositely rely on this assembly also can't be done corresponding processing (such as the strategy of also taking to stop serving).in this external distributed environment, sometimes can revise the configuration of server node according to safety and managerial demand, present technological frame is when processing this class problem, except requiring manually to go to restart all component that is deployed on the server node that is modified configuration, also must be by other assemblies of these assemblies of manually having restarted all references, these assemblies may be distributed on different server nodes, when inter-module has complicated dependence, this is a very difficult job, handling cost is very high, cause the keeper to tend to restart Servers-all, the service disruption that causes other normally to move.
Therefore, need a kind of new deployment of components technology, can realize under distributed environment assembly that complicated dependence is arranged convenient disposed and to the fine-grained management of example, realized simultaneously creating as required and starting, avoid the impact on total system.
Summary of the invention
The present invention just is being based on the problems referred to above, a kind of new deployment of components technology has been proposed, can realize under distributed environment assembly that complicated dependence is arranged convenient disposed and to the fine-grained management of example, realized simultaneously creating as required and starting, avoid the impact on total system.
In view of this, the present invention proposes a kind of distributed deployment system of assembly, comprising: client, memory storage and server, wherein, described client comprises: the first generation module, utilize the component project formation component that configuration is completed to dispose bag; First communication module, be connected to described memory storage, be used for deployment information is sent to described memory storage, described deployment information comprises the information of information, the related information between a plurality of assembly and described deployment of components bag of information, at least one assembly in described component project of described component project; Described memory storage is connected to described client and described server, stores described deployment information; Described server comprises: second communication module, be connected to described client, and be used for receiving described deployment of components bag; Scan module scans the described deployment of components bag that described second communication module receives, and obtains the status attribute of the assembly in described deployment of components bag; Deployment module, in the situation that described status attribute is static, described assembly is static component, described static component is deployed in corresponding server node, be in dynamic situation in described status attribute, described assembly is dynamic assembly, described dynamic assembly is deployed in corresponding server node, and the corresponding relation of described assembly and described server node is stored in described memory storage; Creation module is the building component example.In this technical scheme, client is after assembly generates the deployment bag, by server, the assembly in bag is analyzed, if static component, can generate voluntarily example, on system without impact, if dynamic assembly, usually with other assemblies, complicated dependence is arranged, need to carry out record, as the sign of assembly and the sign of the node that is deployed are carried out related after the corresponding relation of storage between the two, follow-uply can by this corresponding relation of inquiry, create corresponding dynamic assembly example on corresponding node.Simultaneously, by the corresponding relation of assembly and node is stored, be convenient to go wrong at assembly when maybe needing to detect, restarting etc., single component or part assembly are operated, and needn't restart whole system, reduce the impact on other assemblies, reduce the maintenance cost of system.
In technique scheme, preferably, the described first communication module of described client also is used for: described deployment of components bag is sent to server node.In this technical scheme, client is after generating the deployment bag, follow-up work is completed by server usually as disposing, and at first need server to obtain the deployment bag of its generation from client, but also can be by client after generating the deployment bag, directly will dispose bag and transfer to node or other prepositions that need to be deployed, the convenient service device carries out deployment operation.
In technique scheme, preferably, described server also comprises: the second generation module, for dynamic assembly generates loader, described loader is used for loading the resource of described dynamic assembly.In this technical scheme, server can be after detecting dynamic assembly, and for it generates loader, in order to it is loaded, loading procedure can accurately carry out under OSGI (Open Service Gateway Initiative) framework.
in technique scheme, preferably, described server also comprises: parsing module, the configuration file that is used for resolution component, and described assembly is carried out the first judgement, described the first judgement comprises and judges that whether described assembly is by other module compositions, if the determination result is NO, it is described building component example, if described judgment result is that is, carry out the second judgement, described the second judgement comprises and judges whether described other assemblies are positioned at this locality, if described other assemblies are positioned at this locality, described other assemblies are carried out described the first judgement, if described other assemblies are not positioned at this locality, inquire about the deployment information of described other assemblies of storing in described memory storage by enquiry module, described enquiry module is used for the deployment information that is stored in described memory storage is inquired about, detection module, the described deployment information that inquires according to described enquiry module, obtain the server node that other assemblies are stated in deployment to some extent, and whether described other assemblies that test section is deployed on described server node are normally disposed, if be described other building component examples by described creation module.in this technical scheme, it is mainly the process of example that creates for static component, if this assembly does not have dependence with other assemblies, the dependence here, refer to that mainly whether this assembly is by other module compositions, if do not have, can directly create example, if dependence is arranged, together consisted of assembly C as assembly A and assembly B, this moment is for assembly C, the establishment of the example need to relate to assembly A and assembly B, the position that answer enquiring component A and assembly B this moment, if in this locality, load from this locality, or be not, search the node at its place from the assembly of storage before and the corresponding relation of node, and it is inquired about.Processing mode herein is exactly mainly layer by layer, and the assembly that will be in layer building is analyzed, and begins to create example from the assembly of the bottom, and is quoted by upper component from level to level.In addition, the configuration file of resolving here is arranged in component project, and the corresponding configuration file of each assembly.
in technique scheme, preferably, before described creation module is described other building component examples, also comprise: described server is connected to described server node by described second communication module, and obtain the sign of the example that on described server node, initiation is called by described detection module, then inquire about by described enquiry module the deployment information corresponding to described other assemblies that is stored in described memory storage, and obtain the sign that has the invocation component of call relation with described other assemblies, and described server also comprises comparison module, described comparison module is used for the sign of more described example and the sign of described invocation component, if there is no the sign of described invocation component in the sign of described example, be that described invocation component creates example by described creation module.In this technical scheme, the assembly that is positioned at bottom may be used by a plurality of assemblies, thereby some assemblies are when quoting, this bottom assembly may be cited and create example, this moment, this example can directly be quoted by assembly afterwards, and for the bottom assembly that not yet creates example, can carry out the establishment of example when being queried.By this inquiry mode, the example that can avoid having created experiences repetitive operation, and the example of simplifying upper component creates.
According to another aspect of the invention, a kind of distributed deployment method of assembly has also been proposed, comprise: step 202, utilize the component project formation component that configuration is completed to dispose bag, and the storage deployment information, described deployment information comprises the information of information, the related information between a plurality of assembly and described deployment of components bag of information, at least one assembly in described component project of described component project; Step 204, scan described deployment of components bag, obtain the status attribute of the assembly in described deployment of components bag, if described status attribute is static, described assembly is static component, and described static component is deployed in corresponding server node, if described status attribute is dynamic, described assembly is dynamic assembly, and described dynamic assembly is deployed in corresponding server node, and stores the corresponding relation of described assembly and described server node.In this technical scheme, client is after assembly generates the deployment bag, by server, the assembly in bag is analyzed, if static component, can generate voluntarily example, on system without impact, if dynamic assembly, usually with other assemblies, complicated dependence is arranged, need to carry out record, as the sign of assembly and the sign of the node that is deployed are carried out related after the corresponding relation of storage between the two, follow-uply can by this corresponding relation of inquiry, create corresponding dynamic assembly example on corresponding node.Simultaneously, by the corresponding relation of assembly and node is stored, be convenient to go wrong at assembly when maybe needing to detect, restarting etc., single component or part assembly are operated, and needn't restart whole system, reduce the impact on other assemblies, reduce the maintenance cost of system.
In technique scheme, preferably, described step 202 also comprises: described deployment of components bag is sent on server node.In this technical scheme, client is after generating the deployment bag, follow-up work is completed by server usually as disposing, and at first need server to obtain the deployment bag of its generation from client, but also can be by client after generating the deployment bag, directly will dispose bag and transfer to node or other prepositions that need to be deployed, the convenient service device carries out deployment operation.
In technique scheme, preferably, described step 204 also comprises: for dynamic assembly generates loader, described loader is used for loading the resource of described dynamic assembly.In this technical scheme, server can be after detecting dynamic assembly, and for it generates loader, in order to it is loaded, loading procedure can accurately carry out under the OSGI framework.
in technique scheme, preferably, after described step 204, also comprise: step 206, the configuration file of resolution component, and described assembly is carried out the first judgement, described the first judgement comprises and judges that whether described assembly is by other module compositions, if the determination result is NO, it is described building component example, if described judgment result is that is, carry out the second judgement, described the second judgement comprises and judges whether described other assemblies are positioned at this locality, if described other assemblies are positioned at this locality, described other assemblies are carried out described the first judgement, if described other assemblies are not positioned at this locality, inquire about the deployment information of described other assemblies of storage, step 208, the described deployment information according to described other assemblies obtains the server node that other assemblies are stated in deployment to some extent, and when described other assemblies that are deployed on described server node being detected and normally disposed, is described other building component examples.in this technical scheme, it is mainly the process of example that creates for static component, if this assembly does not have dependence with other assemblies, the dependence here, refer to that mainly whether this assembly is by other module compositions, if do not have, can directly create example, if dependence is arranged, together consisted of assembly C as assembly A and assembly B, this moment is for assembly C, the establishment of the example need to relate to assembly A and assembly B, the position that answer enquiring component A and assembly B this moment, if in this locality, load from this locality, or be not, search the node at its place from the assembly of storage before and the corresponding relation of node, and it is inquired about.Processing mode herein is exactly mainly layer by layer, and the assembly that will be in layer building is analyzed, and begins to create example from the assembly of the bottom, and is quoted by upper component from level to level.In addition, the configuration file of resolving here is arranged in component project, and the corresponding configuration file of each assembly.
In technique scheme, preferably, in described step 208, the process of described establishment example also comprises: be connected to described server node, record the sign of the example that on described server node, initiation is called, and the deployment information corresponding to described other assemblies of inquiry storage, the sign that has the invocation component of call relation with described other assemblies obtained, if there is no the sign of described invocation component in the sign of described example, be that described invocation component creates example.In this technical scheme, the assembly that is positioned at bottom may be used by a plurality of assemblies, thereby some assemblies are when quoting, this bottom assembly may be cited and create example, this moment, this example can directly be quoted by assembly afterwards, and for the bottom assembly that not yet creates example, can carry out the establishment of example when being queried.By this inquiry mode, the example that can avoid having created experiences repetitive operation, and the example of simplifying upper component creates.
By above technical scheme, can realize under distributed environment assembly that complicated dependence is arranged convenient disposed and to the fine-grained management of example, realized simultaneously creating as required and starting, avoid the impact on total system.
Description of drawings
Fig. 1 shows the formation schematic diagram of the assembly of correlation technique;
Fig. 2 shows the block diagram of the distributed deployment system of assembly according to an embodiment of the invention;
Fig. 3 shows the process flow diagram of the distributed deployment method of assembly according to an embodiment of the invention;
Fig. 4 shows the schematic diagram of the distributed deployment of assembly according to an embodiment of the invention;
Fig. 5 shows the process flow diagram of client running according to an embodiment of the invention;
Fig. 6 shows the process flow diagram of the distributed deployment of assembly according to an embodiment of the invention;
Fig. 7 shows the schematic diagram of component dependencies according to an embodiment of the invention;
Fig. 8 shows the block diagram of server node communicator according to an embodiment of the invention;
Fig. 9 shows according to an embodiment of the invention and to be the process flow diagram of building component example;
Figure 10 shows according to an embodiment of the invention and to be the process flow diagram of building component example; And
Figure 11 shows according to an embodiment of the invention and to be the schematic diagram of building component example.
Embodiment
In order more clearly to understand above-mentioned purpose of the present invention, feature and advantage, below in conjunction with the drawings and specific embodiments, the present invention is further described in detail.
Set forth in the following description a lot of details so that fully understand the present invention, still, the present invention can also adopt other to be different from other modes described here and implement, and therefore, the present invention is not limited to the restriction of following public specific embodiment.
Fig. 2 shows the block diagram of the distributed deployment system of assembly according to an embodiment of the invention.
As shown in Figure 2, the distributed deployment system 200 of assembly according to an embodiment of the invention comprises: client 202, memory storage 204 and server 206, wherein, described client comprises: the first generation module 208, utilize the component project formation component that configuration is completed to dispose bag; First communication module 210, be connected to memory storage 204, be used for deployment information is sent to memory storage 204, deployment information comprises the information of information, the related information between a plurality of assembly and deployment of components bag of information, at least one assembly in component project of component project; Memory storage 204 is connected to client 202 and server 206, the storage deployment information; Server 206 comprises: second communication module 212, be connected to client 202, and be used for receiving unit and dispose bag; Scan module 214, the deployment of components bag that scanning second communication module 212 receives, and securing component is disposed the status attribute of the assembly in bag; Deployment module 216, in the situation that status attribute is static, assembly is static component, static component is deployed in corresponding server node, be in dynamic situation in status attribute, assembly is dynamic assembly, dynamic assembly is deployed in corresponding server node, and the corresponding relation of assembly and server node is stored in memory storage 204; Creation module 218 is the building component example; The second generation module 220, for dynamic assembly generates loader, loader is used for loading the resource of dynamic assembly; Parsing module 222, the configuration file that is used for resolution component, and assembly is carried out the first judgement, the first judgement comprises that whether determination component is by other module compositions, if the determination result is NO, it is the building component example, if judgment result is that be, carry out the second judgement, the second judgement comprises judging whether other assemblies are positioned at this locality, if other assemblies are positioned at this locality, other assemblies is carried out the first judgement, if other assemblies are not positioned at this locality, inquire about the deployment information of other assemblies of storage in memory storages 204 by enquiry module 224; Enquiry module 224 is used for the deployment information that is stored in memory storage 204 is inquired about; Detection module 226, according to the deployment information that enquiry module 224 inquires, obtain the server node that is deployed with other assemblies, and whether other assemblies that test section is deployed on this server node are disposed normally, if be other building component examples by creation module 218.In this technical scheme, after client 202 is disposed bag for assembly generates, analyzed by the assembly in 206 pairs of bags of server, if static component, can generate voluntarily example, on system without impact, if dynamic assembly, usually with other assemblies, complicated dependence is arranged, need to carry out record, as the sign of assembly and the sign of the node that is deployed are carried out related after the corresponding relation of storage between the two, follow-uply can by this corresponding relation of inquiry, create corresponding dynamic assembly example on corresponding node.Simultaneously, by the corresponding relation of assembly and node is stored, be convenient to go wrong at assembly when maybe needing to detect, restarting etc., single component or part assembly are operated, and needn't restart whole system 200, the impact of minimizing on other assemblies reduces the maintenance cost of system.
In technique scheme, the first communication module 208 of client 202 also is used for: the deployment of components bag is sent to server node.In this technical scheme, client 202 is after generating the deployment bag, follow-up work is completed by server 206 usually as disposing, and at first need server 206 to obtain the deployment bag of its generation from client 202, but also can be by client 202 after generating the deployment bag, directly will dispose bag and transfer to node or other prepositions that need to be deployed, convenient service device 206 carries out deployment operation.
In technique scheme, server 206 can be after detecting dynamic assembly, and for it generates loader, in order to it is loaded, loading procedure can accurately carry out under OSGI (Open Service Gateway Initiative) framework.
in technique scheme, creating the process of example for static component, if this assembly does not have dependence with other assemblies, the dependence here, refer to that mainly whether this assembly is by other module compositions, if do not have, can directly create example, if dependence is arranged, together consisted of assembly C as assembly A and assembly B, this moment is for assembly C, the establishment of the example need to relate to assembly A and assembly B, the position that answer enquiring component A and assembly B this moment, if in this locality, load from this locality, or be not, search the node at its place from the assembly of storage before and the corresponding relation of node, and it is inquired about.Processing mode herein is exactly mainly layer by layer, and the assembly that will be in layer building is analyzed, and begins to create example from the assembly of the bottom, and is quoted by upper component from level to level.
in technique scheme, before creation module 218 is other building component examples, also comprise: server 206 is connected to server node by second communication module 212, and obtain the sign of the example that on server node, initiation is called by detection module 226, then inquire about by enquiry module 224 deployment information corresponding to other assemblies that is stored in memory storage 204, and obtain the sign that has the invocation component of call relation with other assemblies, and server 202 also comprises comparison module 228, be used for the sign of comparative example and the sign of invocation component, if there is no the sign of invocation component in the sign of example, create example by creation module 218 for invocation component.In this technical scheme, the assembly that is positioned at bottom may be used by a plurality of assemblies, thereby some assemblies are when quoting, this bottom assembly may be cited and create example, this moment, this example can directly be quoted by assembly afterwards, and for the bottom assembly that not yet creates example, can carry out the establishment of example when being queried.By this inquiry mode, the example that can avoid having created experiences repetitive operation, and the example of simplifying upper component creates.
Fig. 3 shows the process flow diagram of the distributed deployment method of assembly according to an embodiment of the invention.
As shown in Figure 3, the distributed deployment method of assembly according to an embodiment of the invention, comprise: step 302, utilize the component project formation component that configuration is completed to dispose bag, and the storage deployment information, deployment information comprises the information of information, the related information between a plurality of assembly and deployment of components bag of information, at least one assembly in component project of described component project; Step 304, scan components is disposed bag, securing component is disposed the status attribute of the assembly in bag, if status attribute is static, assembly is static component, and static component is deployed in corresponding server node, if status attribute is dynamic, assembly is dynamic assembly, and dynamic assembly is deployed in corresponding server node, and the corresponding relation of memory module and server node.In this technical scheme, client is after assembly generates the deployment bag, by server, the assembly in bag is analyzed, if static component, can generate voluntarily example, on system without impact, if dynamic assembly, usually with other assemblies, complicated dependence is arranged, need to carry out record, as the sign of assembly and the sign of the node that is deployed are carried out related after the corresponding relation of storage between the two, follow-uply can by this corresponding relation of inquiry, create corresponding dynamic assembly example on corresponding node.Simultaneously, by the corresponding relation of assembly and node is stored, be convenient to go wrong at assembly when maybe needing to detect, restarting etc., single component or part assembly are operated, and needn't restart whole system, reduce the impact on other assemblies, reduce the maintenance cost of system.
In technique scheme, step 302 also comprises: the deployment of components bag is sent on server node.In this technical scheme, client is after generating the deployment bag, follow-up work is completed by server usually as disposing, and at first need server to obtain the deployment bag of its generation from client, but also can be by client after generating the deployment bag, directly will dispose bag and transfer to node or other prepositions that need to be deployed, the convenient service device carries out deployment operation.
In technique scheme, step 304 also comprises: for dynamic assembly generates loader, loader is used for loading the resource of dynamic assembly.In this technical scheme, server can be after detecting dynamic assembly, and for it generates loader, in order to it is loaded, loading procedure can accurately carry out under the OSGI framework.
In technique scheme, after step 304, also comprise: step 306, the configuration file of resolution component, and assembly is carried out the first judgement, the first judgement comprises that whether determination component is by other module compositions, if the determination result is NO, be the building component example, if judgment result is that be, carry out the second judgement, the second judgement comprises judging whether other assemblies are positioned at this locality, if other assemblies are positioned at this locality, other assemblies is carried out described the first judgement, if other assemblies are not positioned at this locality, inquire about the deployment information of other assemblies of storage; Step 308 according to the deployment information of other assemblies, is obtained the server node that is deployed with other assemblies, and when other assemblies that are deployed on server node being detected and normally disposed, is other building component examples.in this technical scheme, it is mainly the process of example that creates for static component, if this assembly does not have dependence with other assemblies, the dependence here, refer to that mainly whether this assembly is by other module compositions, if do not have, can directly create example, if dependence is arranged, together consisted of assembly C as assembly A and assembly B, this moment is for assembly C, the establishment of the example need to relate to assembly A and assembly B, the position that answer enquiring component A and assembly B this moment, if in this locality, load from this locality, or be not, search the node at its place from the assembly of storage before and the corresponding relation of node, and it is inquired about.Processing mode herein is exactly mainly layer by layer, and the assembly that will be in layer building is analyzed, and begins to create example from the assembly of the bottom, and is quoted by upper component from level to level.
In technique scheme, in step 208, the process that creates example also comprises: be connected to server node, record the sign of the example that on server node, initiation is called, and the deployment information corresponding to other assemblies of inquiry storage, obtain the sign that has the invocation component of call relation with other assemblies, if there is no the sign of invocation component in the sign of example, create example for invocation component.In this technical scheme, the assembly that is positioned at bottom may be used by a plurality of assemblies, thereby some assemblies are when quoting, this bottom assembly may be cited and create example, this moment, this example can directly be quoted by assembly afterwards, and for the bottom assembly that not yet creates example, can carry out the establishment of example when being queried.By this inquiry mode, the example that can avoid having created experiences repetitive operation, and the example of simplifying upper component creates.
Fig. 4 shows the schematic diagram of the distributed deployment of assembly according to an embodiment of the invention.
as shown in Figure 4, the distributed deployment of assembly is mainly by disposing managing customer end device 402 according to an embodiment of the invention, dispose management service end device 404 and deploy resources registration center 406 consists of, wherein, disposing managing customer end device 402 is used for develop and configures the component project of completing and export as the discernible deployment of components bag of running environment (the present invention adopts OSGI Bundle form), this deployment of components bag can directly be sent on the server node that need to be mounted by disposing managing customer end device 402, also can only generate, obtain and dispose by disposing management service end device 404 afterwards, simultaneously, dispose managing customer end device 402 and also the first deployment information is sent to deploy resources registration center 406, wherein, the first deployment information comprises disposes bag essential information and the contained module information of deployment of components bag, and when deployment managing customer end device 402 directly is sent to node with the deployment of components bag, also comprise server node information in the first deployment information.Then, disposing management service end device 404 is used for the deployment of components bag is deployed in server node, in deployment, for the dynamic assembly of disposing in bag, the signal that also needs to comprise the server node that this dynamic assembly is deployed with it is sent to deploy resources registration center 406 as the second deployment information, and when the static component with dependence is carried out the establishment of example, also need to be by disposing management service end device 404 inquiry the first deployment information and second deployment information in deploy resources registration center 406.
Fig. 5 shows the process flow diagram of client running according to an embodiment of the invention.
As shown in Figure 5, when carrying out the distributed deployment of assembly, the flow process of client running is as follows:
Step 502, the server node issue refers to by administrative client Array selection server node here and issues, wherein, server node is the elementary cell of server admin in distributed environment, is used for installation component and disposes bag, and be carrier and the container of assembly operating.The server node correspondence is server processes independently, in the server of realizing based on java, and a corresponding JVM independently, configurable managed port is used for communicating by letter between server node.
Step 504 is informed the resource registering center disposed, and refers to that here the nodal information that will select in step 502 is configured to deploy resources registration center.
step 506, the assembly issue, here refer to select component project, dispose with this component project formation component and wrap and issue, and all component in issue deployment of components bag, wherein, component project is mainly used in the management resource relevant with Components Development under the exploitation form, such as component profile, service definition file (as wsdl or java interface), substantial definition file (xsd or javaPOJO class), assembly is realized file (java source code, groovy script or bpel flow definition file, depend on which kind of technology assembly specifically relies on and realize).
Step 508 is informed the resource registering center disposed, and refers to that here the information configuration of the deployment of components bag that will generate in step 506 is to deploy resources registration center.Through the information configuration of disposing the managing customer end device and disposing the management service end device, the information that may comprise in deploy resources registration center is:
Server node information: mainly comprise server node numbering, host node whether, node
Configuration (as the HTTP serve port), the information such as management port;
The deployment of components package informatin: essential record is disposed the identification name of bundle, and the bag version wraps path etc.;
Module configuration information: comprise component identification, bag is disposed in the assembly path under assembly, component type, and assembly is realized type etc.;
Deployment of components bag and server node related information: comprise deployment of components bag sign, server node sign.
Step 510, the deployment scheme setting, the deployment scheme has here defined in a distributed server node cluster, the corresponding relation of component project and specific service device node.
Step 512, deployment scheme are carried out, and namely carry out deployment of components according to the deployment scheme in step 510 and wrap in deployment on corresponding server node by disposing the management service end device.
Fig. 6 shows the process flow diagram of the distributed deployment of assembly according to an embodiment of the invention.
As shown in Figure 6, dispose the management service end device when the deployment of components bag is disposed, concrete steps are as follows:
Step 602, the scan components configuration file, the component scans here and starter gear are based on the life cycle management mechanism of OSGI mobilism, by to the startup of the deployment of components resource bag of OSGI Bundle form, stop the monitoring of event, realize the dynamic scan to deploy resources bag inner assembly configuration file.
Step 604, status attribute according to the scanning result determination component of step 602, if static component enters step 606, if dynamic assembly, enter step 618, wherein, static component refers to those directly configurable concrete binding informations, directly is activated the assembly that service externally is provided after deployment, and dynamic assembly refers to that those can't directly configure binding information, can not create the assembly of example and startup if deployment is not cited afterwards.Simultaneously, static component and dynamic assembly are divided into again respectively composite component and atom component.So assembly has following Four types altogether: static atom component, set its configuration file expansion scomp by name; Static composite component is set its configuration file expansion icomp by name; Dynamically atom component, set its configuration file expansion comp by name; The dynamic complex assembly is set its configuration file expansion ccomp by name.In addition, dynamically atom component and dynamic complex assembly only have and just can create accordingly example when directly or indirectly being used by static composite component and start service.
Step 606 adds OSGI service scan path with component profile.
Step 608, OSGI framework scan and start the static component service.
Step 610, judge whether Existence dependency assembly of this static component, the dependence assembly here refers to and other assembly Existence dependency relationships, the component dependencies here is mainly by two kinds, as shown in Figure 7, composite component A702 wherein is made of dynamic atom component B704, dynamic atom component C706 and dynamic complex assembly D708, claim so composite component A702 to rely on dynamic atom component B704, dynamic atom component C706 and dynamic complex assembly D708, this is the first dependence, and the second dependence is:
Inner at composite component A702, dynamically atom component B704 respectively by specific service call dynamic atom component C706 and dynamic complex assembly D708, claim dynamic atom component B704 to rely on dynamic atom component C706 and dynamic complex assembly D708 herein.When composite component A702 starts, can by the analysis to dependence, start service corresponding to all component that relies on.
In addition, in the present invention, the configuration file of assembly adopts the XML formal definition, the dynamic assembly with the first dependence in configuration file by<import element imports, such as for above-mentioned composite component A702, quote part and be defined as follows:
<import?resource=″classpath:com/ufida/eip/test/componentB.comp″/>
<import?resource=″classpath:com/ufida/eip/test/componentC.comp″/>
<import?resource=″classpath:com/ufida/eip/test/componentD.ccomp″/>
Wherein classpath path " classpath:com/ufida/eip/test/componentB.comp " is the uniqueness path of B assembly 704, can think the id of B assembly 704, just can be from the enquiring component configuration of deploy resources registration center by this path, the information such as server node at deployment of components place.
The second dependence defines by the wire mode, and is same for above-mentioned composite component A702, and the dependence of calling of 704 pairs of C assemblies 706 of B assembly is defined as follows:
Figure BDA0000095335250000151
Can find out from top definition, the calling of assembly rely on to be by on a related assembly quote with another assembly on service set up.
Call dependence different according to component type, can be divided into dynamic-static and call dependence and dynamically-dynamic call dependence, in top definition, B704 and C706 are dynamic assembly, are that dynamically-dynamic call relies on type so B704 relies on calling of C706.
After clear and definite definitions component relied on type and concrete dependence definition, the analysis of component dependencies can adopt current techique to realize, such as the XML analytic technique, Spring IOC technology etc. repeats no more herein.The processing of dependence relates to component instance and creates and start management, further illustrates therefore be put in Fig. 9.
Step 612 when step 610 is judged as the Existence dependency assembly, is analyzed the remote component that obtains relying on.
Step 614, create or start this remote component example, the remote component that obtains for step 612 may be dynamic assembly or static component, if dynamic assembly can directly create or start example, and for static component, the process of its establishment or startup example will namely be carried out the parsing of lower one deck again from step 610, and each static component that occurs afterwards will be processed like this, in the mode of resolving layer by layer, until obtain the assembly of the bottom.
Step 616 is if when step 610 judgement static component does not have long-range dependence assembly, start former static component.
Step 618 is registered to deploy resources registration center with the dynamic assembly of judging in step 604, the server node at registration component place, this be for after by other component call the time, conveniently search.
Step 620, registration dynamic assembly Classloader, this loader are convenient in the OSGI framework accurately resource in charging assembly.
Fig. 8 shows the block diagram of server node communicator according to an embodiment of the invention.
As shown in Figure 8, the main charge server inter-node communication of server node communicator 800 is when machine and network interruption detection; Can support to carry out instance management by assembly.
When server node such as node A startup, can be by node A contact manager 806 of server node communicator 800 registrations, the contact manager 806 of this node A in case and the contact manager 812 of other nodes such as Node B connect, needing only Node B or other nodes occurs when machine or Network Abnormal, cross with it the node communication manager that is connected such as the contact manager 806 of node A will be notified event, and carry out the cleaning of component instance according to this notification event by other parts such as component instance manager.
when each dynamic assembly starts, the capital is used for to its one of server node registration disposing the component manager that remote component is managed by the server node communicator, as for the assembly 1 at node A place and assembly 2 respectively registration obtain assembly 1 manager 808 and assembly 2 managers 810, and for the assembly 3 at Node B place and assembly 4 respectively registration obtain assembly 3 managers 814 and assembly 4 managers 816, can be by the assembly 3 at node A contact manager 806 remote access nodes B places as assembly 1, by the utilization to component manager, thereby can create, initialization and stop the remote component example.
Fig. 9 shows according to an embodiment of the invention and to be the process flow diagram of building component example.
As shown in Figure 9, the flow process for the building component example is as follows:
Step 902, the resolution component configuration file, the formation of analytic unit, mention static component in Fig. 6 and can be triggered and create example, and start service, dynamic assembly can not, dynamic assembly is only when being relied on by the static component assembling, just can create corresponding example, thus the component instance visioning procedure from the most at first, reception be the static component configuration file.
Whether step 904 judges this assembly by other module compositions, that is to say whether this assembly of analysis and other assemblies exist above-mentioned the first dependence, enter step 912 if exist, otherwise, enter step 906.
Step 906 judges whether this assembly is static component, if enter step 908, otherwise enter step 910.
Step 908 is for this static component creates example and starts static component.
Step 910 is for this dynamic assembly creates the dynamic assembly example, in Fig. 6, just carry out information registering etc. for dynamic assembly, also do not start service and neither create example, and here, judged that it does not have dependence, and obtained by the configuration file parsing, directly created example.
Step 912 is to step 928, is all the operation that each assembly path in the component list that imports is carried out, and wherein, the component list is when in step 904, judgement is by other module compositions, and the identification record of the assembly that participates in consisting of is obtained in the component list.
Step 912 loads the assembly that imports in this locality by the path, rely on other assembly here due to needs, so the assembly that system is relied on can be present in this locality.
Step 914 judges whether this assembly is present in this locality, if, return to step 902, to the status attribute of this assembly with whether depend on other assemblies and resolve, otherwise enter step 916.
Step 916, whether judgement deployment resource registering center exists relevant information, after generating the deployment bag, dispose the managing customer end device and can send the first deployment information to deploy resources registration center, and disposing the management service end device can be when disposing above-mentioned deployment bag, registration center sends the second deployment information to deploy resources, thereby can by the inquiry to deploy resources registration center, obtain the information of assembly.To enter step 920, otherwise enter step 918 being judged as YES.
Step 918, the assembly that prompting relies on is issue not, then finishes.
Step 920 to step 926 for each is deployed with the operation of the server node of this assembly.
Step 920, by the remote component manager query aim server node in the server communication device, the communication process here has been described in detail by Fig. 8.
Step 922, whether determination component normally disposes, if normal, enter step 926, otherwise enters step 924.
Step 924, undesired with the deployment of components on alert management person's server node by charging to daily record.
Step 926 is charged to the list of active element deployment information, refers to the assembly that relies on inquiring here, and this assembly normally disposed, and the sign of this assembly is carried out record, and form effective deployment of components information list.
Step 928 generates remote component example agency, in connection with Figure 10, the constructive process of remote component example is analyzed here, and detailed process is as follows:
Step 1002 connects remote server node, and this is according to the information in the active element deployment information list that forms in step 926, is connected to the server node at the assembly place that is associated.
Step 1004 is obtained the remote component manager, and this manager is used for the example constructive process of assembly corresponding to management.
Step 1006 is called and is created order, is used for carrying out the establishment of example.
Step 1008, the component instance that the record initiation is called will get off to the component record that this assembly initiated to call, and that is to say, for calling between assembly, need to record and store searching and using after convenience.
Step 1010 is called dependence between analytic unit, for the assembly that calls this assembly and have dependence, need to carry out the operation of step 1012.
Step 1012 is searched component instance by component instance ID from component manager, for the example that creates, all have the ID of unique correspondence, can search the component instance that has created by ID.
Step 1014 according to lookup result, judges whether example exists, if exist, can directly quote this example, otherwise enter step 1016.
Step 1016 creates component instance, can find out, the process of Figure 10 is for the assembly that relies on is analyzed, and the assembly that creates example is directly quoted, and creating again of not creating, thereby saving resource and time, convenient management.
Step 930 creates compound static component example and starts.
Figure 11 shows according to an embodiment of the invention and to be the schematic diagram of building component example.
As shown in figure 11, what the component instance visioning procedure mainly utilized is above-mentioned the first dependence, solution be the problem that creates as required component instance, do not illustrate how the binding service on the dynamic assembly example is activated.The type that the calls dependence of remote component instance management device component-based forward can effectively solve as required and bind the problem of serving on the start assembly example; Component-based is reverse calls dependence, but settlement server node configuration variation and cause manually restart problem, also can solve because lost efficacy because of certain component instance in whole assembly dependency chain, although other component instances normally move the problem that effective service can't be provided.The below describes in detail based on forward and reverse based on Figure 11 and calls the principle of work that the type dependence overcomes the above problems:
Suppose that compound static component S 1102 has relied on dynamic complex assembly A 1104 by above-mentioned first kind of way, component-based example visioning procedure, create the example Si of compound static component S 1102, can create accordingly the component instance of composite component A 1104, dynamic atom component B 1106, dynamic atom component C1108 and dynamic complex assembly D 1110, be designated as respectively Ai, Bi, Ci and Di, wherein
Ai has recorded reverse assembling dependence, and { the Si assembling relies on Ai};
Bi has recorded reverse assembling dependence, and { the Ai assembling relies on Bi};
Ci has recorded reverse assembling dependence, and { the Ai assembling relies on Ci}, and { the Bi assembling relies on Ci} to have recorded simultaneously the reverse calling dependence;
Di has recorded reverse assembling dependence, and { the Ai assembling relies on Di}, and { the Bi assembling relies on Di} to have recorded simultaneously the reverse calling dependence.
Component scans and starter gear start the service S on Si S1, service S S1In fact by service A S1Provide, claim in SCA that this service that self does not really provide service to realize is upgrade service (Promoting Service), same A S1By B S1Provide, so start S S1The time can be according to service dependence deactivation B S1When service started, by the analysis that component call is relied on, i.e. B was quoted in inquiry R1With quote B R2The service C that connects respectively S1And service D S1, and start C S1And D S1If assembly C1108 and assembly D 1110 call equally and rely on to exist, press the same method Recursion process and get final product, but the problem that also is activated of the service that never is cited of efficient solution by this method.
Hypothesis assembly C 1108 is deployed on server node NodeC now, because managerial demand, the configuration of NodeC changes, such as original C S1It is http: // 192.168.1.122:8080/csl that the http address of service is provided, and revising now the http serve port is 8088.NodeC configuration need to be restarted NodeC in case revise, and assembly C 1108 is corresponding also to be restarted, and assembly C is when restarting, the component instance Ci before component manager recovers based on persistence mechanism.Component instance Ci is by the binding information version, judge whether that service binding information changes, if do not change, directly skip over, if binding information has changed, obtain the reverse dependence of record, learn that Bi calls to have relied on Ci, obtain component manager corresponding to Bi, by component manager more New Parent Bi service binding information and restart Bi.
By above method, can effectively solve the server node configuration variation and cause manually restart problem.If in addition in whole assembly dependency chain because certain component instance lost efficacy, be also that the analysis by same reverse calling dependence realizes, principle of work is identical, repeats no more herein.
More than be described with reference to the accompanying drawings technical scheme of the present invention, consider in correlation technique, easily cause valuable server resource waste, and when certain assembly is out of service, often cause the keeper can restart Servers-all, the service disruption that causes other normally to move.Therefore, the present invention is by having proposed a kind of deployment of components system and a kind of deployment of components method, can realize under distributed environment assembly that complicated dependence is arranged convenient disposed and to the fine-grained management of example, realized simultaneously creating as required and starting, avoid the impact on total system.
The above is only the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (8)

1. the distributed deployment system of an assembly, is characterized in that,
Comprise: client, memory storage and server, wherein,
Described client comprises:
The first generation module utilizes the component project formation component that configuration is completed to dispose bag;
First communication module, be connected to described memory storage, be used for deployment information is sent to described memory storage, described deployment information comprises the information of information, the related information between a plurality of assembly and described deployment of components bag of information, at least one assembly in described component project of described component project;
Described memory storage is connected to described client and described server, stores described deployment information;
Described server comprises:
Second communication module is connected to described client, is used for receiving described deployment of components bag;
Scan module scans the described deployment of components bag that described second communication module receives, and obtains the status attribute of the assembly in described deployment of components bag;
Deployment module, in the situation that described status attribute is static, described assembly is static component, described static component is deployed in corresponding server node, be in dynamic situation in described status attribute, described assembly is dynamic assembly, described dynamic assembly is deployed in corresponding server node, and the corresponding relation of described assembly and described server node is stored in described memory storage;
Creation module is the building component example;
parsing module, the configuration file that is used for resolution component, and described assembly is carried out the first judgement, described the first judgement comprises and judges that whether described assembly is by other module compositions, if the determination result is NO, it is described building component example, if described judgment result is that is, carry out the second judgement, described the second judgement comprises and judges whether described other assemblies are positioned at this locality, if described other assemblies are positioned at this locality, described other assemblies are carried out described the first judgement, if described other assemblies are not positioned at this locality, inquire about the deployment information of described other assemblies of storing in described memory storage by enquiry module,
Described enquiry module is used for the deployment information that is stored in described memory storage is inquired about;
Detection module, the described deployment information that inquires according to described enquiry module, obtain the server node that other assemblies are stated in deployment to some extent, and whether described other assemblies that test section is deployed on described server node are normally disposed, if be described other building component examples by described creation module.
2. the distributed deployment system of assembly according to claim 1, is characterized in that, the described first communication module of described client also is used for: described deployment of components bag is sent to server node.
3. the distributed deployment system of assembly according to claim 1, is characterized in that, described server also comprises:
The second generation module, for dynamic assembly generates loader, described loader is used for loading the resource of described dynamic assembly.
4. the distributed deployment system of assembly according to claim 1, is characterized in that, before described creation module is described other building component examples, also comprises:
Described server is connected to described server node by described second communication module, and obtain the sign of the example that on described server node, initiation is called by described detection module, then inquire about by described enquiry module the deployment information corresponding to described other assemblies that is stored in described memory storage, and obtain the sign that has the invocation component of call relation with described other assemblies, and
Described server also comprises comparison module, described comparison module is used for the sign of more described example and the sign of described invocation component, if there is no the sign of described invocation component in the sign of described example, be that described invocation component creates example by described creation module.
5. the distributed deployment method of an assembly, is characterized in that, comprising:
Step 202, utilize the component project formation component that configuration is completed to dispose bag, and the storage deployment information, described deployment information comprises the information of information, the related information between a plurality of assembly and described deployment of components bag of information, at least one assembly in described component project of described component project;
Step 204, scan described deployment of components bag, obtain the status attribute of the assembly in described deployment of components bag, if described status attribute is static, described assembly is static component, and described static component is deployed in corresponding server node, if described status attribute is dynamic, described assembly is dynamic assembly, and described dynamic assembly is deployed in corresponding server node, and stores the corresponding relation of described assembly and described server node;
Step 206, the configuration file of resolution component, and described assembly is carried out the first judgement, described the first judgement comprises and judges that whether described assembly is by other module compositions, if the determination result is NO, it is described building component example, if described judgment result is that is, carry out the second judgement, described the second judgement comprises judging whether described other assemblies are positioned at this locality, if described other assemblies are positioned at this locality, described other assemblies is carried out described the first judgement, if described other assemblies are not positioned at this locality, inquire about the deployment information of described other assemblies of storage;
Step 208, the described deployment information according to described other assemblies obtains the server node that other assemblies are stated in deployment to some extent, and when described other assemblies that are deployed on described server node being detected and normally disposed, is described other building component examples.
6. the distributed deployment method of assembly according to claim 5, is characterized in that, described step 202 also comprises:
Described deployment of components bag is sent on server node.
7. the distributed deployment method of assembly according to claim 5, is characterized in that, described step 204 also comprises:
For dynamic assembly generates loader, described loader is used for loading the resource of described dynamic assembly.
8. the distributed deployment method of assembly according to claim 5, is characterized in that, in described step 208, the process of described establishment example also comprises:
Be connected to described server node, record the sign of the example that on described server node, initiation is called, and the deployment information corresponding to described other assemblies of inquiry storage, obtain the sign that has the invocation component of call relation with described other assemblies, if there is no the sign of described invocation component in the sign of described example, be that described invocation component creates example.
CN 201110295581 2011-09-29 2011-09-29 Distributed deployment system and method of components Active CN102360308B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110295581 CN102360308B (en) 2011-09-29 2011-09-29 Distributed deployment system and method of components

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110295581 CN102360308B (en) 2011-09-29 2011-09-29 Distributed deployment system and method of components

Publications (2)

Publication Number Publication Date
CN102360308A CN102360308A (en) 2012-02-22
CN102360308B true CN102360308B (en) 2013-06-12

Family

ID=45585640

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110295581 Active CN102360308B (en) 2011-09-29 2011-09-29 Distributed deployment system and method of components

Country Status (1)

Country Link
CN (1) CN102360308B (en)

Families Citing this family (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8873095B2 (en) * 2013-03-06 2014-10-28 Ricoh Company, Ltd. Delegate access in a distributed scan system
US20140359261A1 (en) * 2013-05-31 2014-12-04 Vordel Limited Environmentalization technique for promotion of application programming interface (api) server in lifecycle succession of deployments
CN103401900A (en) * 2013-07-16 2013-11-20 福建富士通信息软件有限公司 Rapid deployment application method based on service-oriented architecture
CN104301167B (en) * 2013-07-19 2018-09-04 方正宽带网络服务股份有限公司 A kind of monitoring device and method
CN104765621B (en) * 2014-01-02 2018-05-01 国际商业机器公司 A kind of method and system of the deployment program in clustered node
CN104765620B (en) * 2014-01-02 2018-01-26 国际商业机器公司 A kind of method and system of program module deployment
CN104915185B (en) * 2014-03-11 2019-04-02 腾讯科技(深圳)有限公司 Program assembly coupled processing method and relevant apparatus
CN104615466B (en) * 2015-02-05 2017-08-25 广州亦云信息技术有限公司 A kind of cloud platform dispositions method and system
CN105022626B (en) * 2015-05-29 2018-08-03 克拉玛依红有软件有限责任公司 The system and method that dynamic interaction is carried out using reflex mechanism based on model-driven
CN106888233B (en) * 2015-12-15 2019-12-24 北京新媒传信科技有限公司 Data updating system and method
CN107391528B (en) * 2016-03-30 2021-04-20 阿里巴巴集团控股有限公司 Front-end component dependent information searching method and equipment
CN105933155B (en) * 2016-05-26 2019-06-11 华为软件技术有限公司 The device and method of control server upgrading
CN106547600A (en) * 2016-11-22 2017-03-29 郑州云海信息技术有限公司 A kind of remote auto installs the method and system of whole machine cabinet host operating system
CN107438107B (en) * 2017-09-05 2021-07-27 深圳乐信软件技术有限公司 Method and device for calling background service in micro-service architecture
CN107885501B (en) * 2017-11-03 2020-09-08 武汉斗鱼网络科技有限公司 Method and device for obtaining mutual reference relationship of components in Android
CN109086051B (en) * 2018-06-29 2022-03-25 平安科技(深圳)有限公司 Application component deployment method and device and computer storage medium
CN110764883B (en) * 2018-07-26 2022-08-23 浙江宇视科技有限公司 Start-stop control method and device for service group
CN109088774A (en) * 2018-08-28 2018-12-25 郑州云海信息技术有限公司 A kind of method and device of distributed system deployment
CN109933406B (en) * 2019-02-11 2021-07-16 平安科技(深圳)有限公司 Method for adjusting Docker component deployment based on affinity and related equipment
CN110413286B (en) * 2019-07-31 2023-08-22 创新先进技术有限公司 Application deployment method, device and equipment
CN111309474B (en) * 2020-01-19 2023-05-12 北京恒华伟业科技股份有限公司 Communication method, communication device and distributed service registration center
CN111240739B (en) * 2020-01-21 2022-04-15 烽火通信科技股份有限公司 Dynamic concurrent distribution method and system for associated attributes of objects
CN111596898B (en) * 2020-05-08 2024-01-30 湖南智领通信科技有限公司 SCA component based on CORBA component and server
CN111913721A (en) * 2020-07-16 2020-11-10 中国民航信息网络股份有限公司 Automatic deployment method, device, equipment and storage medium
CN112558949A (en) * 2020-12-21 2021-03-26 长沙树根互联技术有限公司 Program construction method, program construction device, electronic device, and storage medium
CN113127271A (en) * 2021-04-01 2021-07-16 深圳华锐金融技术股份有限公司 Transaction system deployment method and device, computer equipment and storage medium
CN115309501A (en) * 2022-07-26 2022-11-08 天翼云科技有限公司 Cluster resource planning method, device, apparatus and medium
CN115543546B (en) * 2022-11-25 2023-06-23 金现代信息产业股份有限公司 Spring-based module hot deployment method and system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1416400B1 (en) * 2002-11-04 2008-03-19 Siemens Aktiengesellschaft System and method for providing data and services to devices over public networks, and device using said provided data and services

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6594799B1 (en) * 2000-02-28 2003-07-15 Cadence Design Systems, Inc. Method and system for facilitating electronic circuit and chip design using remotely located resources
US6601086B1 (en) * 2000-06-06 2003-07-29 Emware, Inc. Service provider for providing data, applications and services to embedded devices and for facilitating control and monitoring of embedded devices
US7395122B2 (en) * 2001-07-13 2008-07-01 Siemens Aktiengesellschaft Data capture for electronically delivered automation services
DE10242916A1 (en) * 2002-09-16 2004-03-25 Siemens Ag Automated control software writing system for loading device-independent functionality for automation devices uses properties and functions of different automation systems and a runtime framework

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1416400B1 (en) * 2002-11-04 2008-03-19 Siemens Aktiengesellschaft System and method for providing data and services to devices over public networks, and device using said provided data and services

Also Published As

Publication number Publication date
CN102360308A (en) 2012-02-22

Similar Documents

Publication Publication Date Title
CN102360308B (en) Distributed deployment system and method of components
CN101192937B (en) A hot deployable method and its system
CN102655532B (en) Distributed heterogeneous virtual resource integration management method and system
JP4461109B2 (en) Dynamic component management
US8661410B2 (en) Managed enterprise software components as dynamic services
CN100442233C (en) Method and system for implementing dynamic upgrade of application system
US6915511B2 (en) Dynamic class reloading mechanism
US8024721B2 (en) System and method for implementing a safe framework
CA2621946C (en) Improvements in and relating to service oriented architecture
US8856734B2 (en) Type-safe dependency injection of services into enterprise components
CN102436373B (en) Method for realizing resource loading and resource hot-updating in distributed enterprise application system
US20070168753A1 (en) Exception handling framework
CN101427220A (en) Componentized automatic provisioning and management of computing environments for computing utilities
CN102037677B (en) Computer readable medium, northbound interface uniform platform and starting method thereof
CN1659539A (en) A network system having a virtual-service-module
CN101246424A (en) Menu automatic generation system and method for based on file
CN108363612A (en) The J2EE modules heat deployment and recalls information statistical method realized based on class loaders
CN102375734A (en) Application product development system, method and device and operation system, method and device
Ketfi et al. Automatic adaptation of component-based software
CN101221498B (en) System and method for managing service modules
Rademacher et al. Specific model-driven microservice development with interlinked modeling languages
CN102272720A (en) Service providing device, service providing system, service providing method, and storage medium
US20080059949A1 (en) System and method for implementing a safe framework
KR100974621B1 (en) Radio frequency identification business-aware framework
CN113010531B (en) Block chain BAAS system task scheduling framework based on directed acyclic graph

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
C56 Change in the name or address of the patentee

Owner name: YONYOU NETWORK TECHNOLOGY CO., LTD.

Free format text: FORMER NAME: UFIDA SOFTWARE CO., LTD.

CP03 Change of name, title or address

Address after: 100094 Haidian District North Road, Beijing, No. 68

Patentee after: Yonyou Network Technology Co., Ltd.

Address before: 100094 Beijing city Haidian District North Road No. 68, UFIDA Software Park

Patentee before: UFIDA Software Co., Ltd.