CN1307549C - Member management method for supporting general computation - Google Patents
Member management method for supporting general computation Download PDFInfo
- Publication number
- CN1307549C CN1307549C CNB2004100184389A CN200410018438A CN1307549C CN 1307549 C CN1307549 C CN 1307549C CN B2004100184389 A CNB2004100184389 A CN B2004100184389A CN 200410018438 A CN200410018438 A CN 200410018438A CN 1307549 C CN1307549 C CN 1307549C
- Authority
- CN
- China
- Prior art keywords
- structural member
- component
- controll block
- container
- register
- 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
Links
- 238000007726 management method Methods 0.000 title claims abstract description 32
- 238000000034 method Methods 0.000 claims abstract description 14
- 238000005538 encapsulation Methods 0.000 claims abstract description 13
- 238000012217 deletion Methods 0.000 claims abstract description 9
- 230000037430 deletion Effects 0.000 claims abstract description 9
- 238000004364 calculation method Methods 0.000 claims description 31
- 230000006870 function Effects 0.000 claims description 12
- 230000000694 effects Effects 0.000 claims description 11
- 238000004891 communication Methods 0.000 claims description 9
- 230000006978 adaptation Effects 0.000 claims description 6
- 230000008569 process Effects 0.000 claims description 6
- 238000003860 storage Methods 0.000 claims description 6
- 230000003213 activating effect Effects 0.000 claims description 4
- 238000002161 passivation Methods 0.000 claims description 4
- 238000001514 detection method Methods 0.000 claims description 3
- 238000012544 monitoring process Methods 0.000 claims description 3
- PWPJGUXAGUPAHP-UHFFFAOYSA-N lufenuron Chemical compound C1=C(Cl)C(OC(F)(F)C(C(F)(F)F)F)=CC(Cl)=C1NC(=O)NC(=O)C1=C(F)C=CC=C1F PWPJGUXAGUPAHP-UHFFFAOYSA-N 0.000 claims description 2
- 238000004886 process control Methods 0.000 claims description 2
- 230000008901 benefit Effects 0.000 abstract description 2
- 238000006467 substitution reaction Methods 0.000 abstract 2
- 238000006317 isomerization reaction Methods 0.000 abstract 1
- 239000002245 particle Substances 0.000 abstract 1
- 238000005516 engineering process Methods 0.000 description 6
- 238000011161 development Methods 0.000 description 5
- 238000013461 design Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000004519 manufacturing process Methods 0.000 description 4
- 230000007246 mechanism Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 230000002452 interceptive effect Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000013459 approach Methods 0.000 description 2
- 230000006399 behavior Effects 0.000 description 2
- 238000009826 distribution Methods 0.000 description 2
- 230000008447 perception Effects 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 150000001875 compounds Chemical class 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000006353 environmental stress Effects 0.000 description 1
- 238000010438 heat treatment Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000003032 molecular docking Methods 0.000 description 1
- 230000035882 stress Effects 0.000 description 1
- 230000009897 systematic effect Effects 0.000 description 1
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The present invention discloses a structural member management method for supporting pervasive computing. The method comprises the following steps: 1 the personal encapsulation of a general structural member is packed additionally, the secondary encapsulation to the structural member is carried out by a structural member container, the runtime and the environment of the structural member are provided, and the disunity problem of structural member grain size is solved; 2 a structural member control block is used to manage the runtime metainformation when the structural member is operated, the metainformation comprises structural member description information and control information, each structural member uniquely corresponds to each structural member control block, which is a centralized reflection of the dynamic property of the structural member, and is a reference of a system which identify and control the structural member. 3 a structural member register is introduced to record all the structural members inducted by some devices to realize the dynamic registration, the substitution, the addition and the deletion of the structural member. The present invention has the advantages that the further encapsulation is carried out based on the structural member to support the characteristics of high isomerization, high mobility and high transparency under the pervasive computing environment. The structural members with different particle sizes and different suppliers are compatible to realize the dynamic state registration, the substitution, the addition and the deletion of network structural members.
Description
Technical field
The present invention relates to the component-based software design, relate in particular to a kind of component management method of supporting general fit calculation.
Technical background
Under traditional development technique, large-scale software tends to occur the systematic analysis complexity, and the construction cycle is long, and maintenance cost increases and the difficult problem of function expansion.Moreover, along with rapid development of network technology, the ability that software need have the open system structure and cross over a plurality of heterogeneous platforms if software depends critically upon operating system and particular network service, can cause the application system opening very poor.The developer has to develop different codes in order to adapt to different applied environments, can occur a large amount of duplication of labour like this, is seriously influencing the raising of Software Production efficient and software quality.
The appearance of componentization technology has solved all difficult problems of long-term puzzlement soft project circle.So-called software component refers to the software unit that can reuse, and it can be used to construct other software.It can be packed object class, some functional modules, software frame, software systems model, software document or the like.Software component is not fixed against some systems, can be substituted by the member that function makes progress, and has actual functional meaning.Based on the software development of componentization, be exactly from component base, to select suitable member, construct application software by the assembling and the control of member.The componentization technology makes software have the ability of good platform compatibility, structure opening, scalable, system's configurability and code reuse.
From broadly, member has following several basic characteristics.1, but member is the unit of separate configurations, so member must be from containing; 2, member is emphasized and the separating of environment and other member, so the realization of member is strict encapsulation, the realization details that the external world has no chance and maybe need not know component inside; 3, member can be by compound use in suitable environment, so member need provide clearly interface specification, can with environmental interaction; 4, member should not continue, and promptly member does not have individual distinctive attribute, be interpreted as member should with the difference of self copy.
From above four characteristics as can be seen, member has followed the encapsulation characteristic of object, but is not confined to an object simultaneously, and its inside can encapsulate one or more classes, prototypical object even process, and structure is flexibly.Member has been given prominence to the characteristic that contains and contained certainly,
Componentization is very important to the through engineering approaches of software development, has had member to realize the through engineering approaches exploitation of software by assembling, the interconnection of member.Componentization is a kind of software design idea of forward position, and the development of whole software industry is had impetus.If look back classical industrialization revolution, some useful enlightenments of being not difficult to draw: the product that function is complicated more all is made up of the part of a large amount of standards, and part is assembled into a finished product on production line, and all parts play a role in finished product jointly.It is high more to divide the work degree careful more, professional production, and overall manufacturing efficient is just high more.And component technology institute role is exactly that the notion of part, production line and assembling operation is used in the software industry, can predict, and soft component technology is the inevitable development trend of software industry revolution.
" componentization " can be described as a trend of cross-centennial software engineering development, and it has solved that traditional software is difficult to reuse, safeguard and renewal, system are not easy to the shortcoming of customization.Though the system of support member software engineering is quite a few at present, but also there is not unified standard implementation scheme, the method of each company's designed component all different (as COM, JAVA), they all mainly are the problems for the maintainability of the independence that solves member, high reusability, transplantability and member.
Computing machine develops into today, and general fit calculation is transformed into reality gradually by ideal.Progress along with computer science, can be flooded with increasing wireless embedded device in the space of our life, as: palm PC, beeper, vehicle intelligent equipment, notebook, wrist-watch, smart card, smart mobile phone, set-top box, POS machine for selling, screen phone, their size is different, the function that provides is different, and the form of existence is also different.Have a class as member, have a service as member, have in addition hold several application programs and bundle as member; Such situation has just caused the member isomery, makes to be difficult to compatibility between the member.More troubling is, the member under the general calculation entironment also has the characteristics that number is numerous, movability is strong, and some members may leave " sight line " of (perhaps entering) some equipment at any time, and this just causes member to be difficult to management.These problems all have to be solved.
Four requirements that the general fit calculation software systems should satisfy:
1, effectively utilize activity space: the implication of the activity space of general fit calculation is very extensive; Can be a bedroom, also can be a garden.Various embedded device must organically merge with activity space.Such as in a room, embedded computing equipment can control whether should open heating installation and electric light according to indoor temperature and brightness; The variation of same environment also can cause the changes of function of embedded device.
2, to user transparent: the user needn't be concerned about the course of work of embedded computing equipment, and should be just can enjoy various good services in careless.This just requires the intention that embedded device can the perception user, adapts to various possible situations automatically.
3, local measurability: the activity space of calculating and surrounding environment have very close mutual, but available network bandwidth resources is but very limited.Therefore after an embedded computing equipment left, the contact with this equipment was cut off in necessary this each behavior of perception of activity space; Same after a computing equipment enters, activity space must be got in touch with this new equipment.It is related with the equipment generation of distance that the purpose of doing like this is to allow the mobile subscriber reduce, and allows the mobile subscriber relevant with the equipment among a small circle as far as possible; Thereby guarantee the effective rate of utilization of computational resource.
4, to the shielding of unbalance load: residing environment difference, the quantity of computing equipment are also different.In meeting room, office, laboratory, may there be a lot of embedded devices; And, equipment less place inaccessible relatively in some information, in lawn, garden, football field, computing equipment is just very few.General fit calculation requires to mask these unbalanced situations, provides unified environment to the user.
Angle from software systems, under the general calculation entironment, various small-sized computing equipments are in the process that constantly move the position or in the very wide scope of location distribution, under unsettled communication condition, realize Transaction Processing and enterprise key data access. these small-sized computing equipments, have multiple means of communication,, can link to each other with internet or intranet as mobile communications network, infrared, bluetooth, satellite, but this connection is not fixedly coupled, but the connection that is interrupted.Therefore, general fit calculation is wanted new software configuration, makes the user can use these equipment to carry out complicated Transaction Processing and message reference.
Summary of the invention
The purpose of this invention is to provide a kind of component management method of supporting general fit calculation.
1) except the encapsulation of general member self, by the member container member is carried out the secondary encapsulation, and the runtime environment of member is provided, solve the skimble-scamble problem of member granularity;
Information when 2) coming the management component operation by member controll block, wherein comprise component description information and control information, the all unique corresponding member controll block of each member, it is the concentrated reflection of member dynamic, is the foundation that system discerns and controls member;
3) introduce the member Register and write down perceived all members of certain equipment, realized dynamic registration, replacement, interpolation and the deletion of member.
Advantage of the present invention is further encapsulation on the basis of member, thereby supports the characteristics of the high isomerism under the general calculation entironment, high mobility, heigh clarity.Make the member of different grain size, different vendor also can be good at compatibility; Realize dynamic registration, replacement, interpolation and the deletion of network structure.
Description of drawings
Fig. 1 is the encapsulation synoptic diagram of member container to member;
Fig. 2 is the structure of member controll block and illustrates synoptic diagram;
Fig. 3 is the management synoptic diagram of member Register to member;
Fig. 4 is the aware space synoptic diagram;
Fig. 5 is the schematic flow sheet of visit member process.
Embodiment
The present invention is based on brand-new software design idea---the component-oriented method for designing, and in our design " all are members ".Invention has mainly solved two difficult problems: the isomery problem of member, the mobility problem of member.Of the present invention being described in detail as follows:
Support the component management system software of general fit calculation should solve key issue:
1, discovery mechanism: when the user brings a new equipment into a space or adopt new member on existing device, be how reciprocally to find and which needs to carry out between them is mutual between this member and other available member and the equipment.The system of general fit calculation simultaneously is a system of expansion gradually, and this process should not require restarting systems, or rewrites existing code, this also with discovery mechanism as the basis.The technical foundation that some this respects have been arranged at present.
2, self-adaptation: the resource that various device has in the general fit calculation system be different with change, from the system of minimum to the object that embeds computing power, to the portability computing equipment, parts in the infrastructure again, they all have very big difference on computing power, memory capacity, battery capacity, interactive means factor; When mobile, the bandwidth of available wireless network also is different to equipment in different environment.This solves adaptive problem with regard to needs.It comprises the conversion of content and conversion two parts of interactive interface.The former solves the processing of because of the restriction of resource data being done in the data transmission procedure; The latter is because the difference of the interaction mechanism of equipment need be mapped to same interactive interface under the different interaction mechanisms and finish.
3, to the management of physical entity: because in the general fit calculation system, the object in the physical world all has the meaning in the information space simultaneously, and the system software of general fit calculation just must have certain managerial ability to these physical entities.The system software of general fit calculation is exactly a kind of operating system of physical space, and it need also manage the difference of it and present operating system physical entity.The management here has two layers of meaning: physical entity is regarded as a kind of resource, need to set up the expression of position to these resources, structure, function, and need the dynamic actual conditions of reaction.This need perceive the support that context calculates.When the physical entity embedding has sensing, calculating, effect capability, the high-level interface to them must be provided, promptly be equivalent to traditional driver.
4, the coordination system between member: the general fit calculation system is the system of a distribution, how interconnected, the communication of numerous and complicated between the various components distributed, cooperation with a kind of unification and organically mode organize! Management is got up " and make system demonstration go out the behavior and the function of a coordination, the effect of the coordination system that Here it is.Existing various distributed component structures can be thought a kind of coordination system at present, but they are used for directly supporting that the general fit calculation system is inappropriate, are inappropriate because come the member in the abstract general fit calculation with object.
As shown in Figure 1, we use member container (Vessel) to come assembly is encapsulated.Needed environment when the member container provides operation for being encapsulated in wherein member, member moves in this environment, and its all communications are all undertaken by the member container.In a single day member has been loaded into container, so for the external world just as the hard disk that is loaded into hard-disk cartridge, have only its external interface can be accessed, and all must be undertaken by the member container for the visit of these interfaces.
Needed environment comprises during operation that the member container provides: when needed activating element or in a period of time passivation member when not required, thereby protect limited system resource, as main memory and cpu resource or the like; For the various service interfaces of member commonly used provide an adaptation layer, this adaptation layer has avoided CLIENT PROGRAM by the trouble directly brought to member request service and the potential safety hazard of existence; For member provides the adaptation layer of a readjustment, the member container can be by this readjustment layer notice member when interested incident and message take place; The member parameter that provides some to dispose for the client is in order to on-the-fly modify the attribute of member.
The member container provides a member monitor for the member that is included in wherein, in order to finish the monitoring to the structural components service cycle strategy.It is responsible for comprising: how to create member, creating permanent member still is interim member, when needs activating element, when needs the passivation member, when needs to destroy member; In addition, the client can also inform that the example of every kind of member of member container has no longer needed by the interface that monitor provides.
The member that different vendor produces different, member is packaged into a black box, and situation is realized in its inside of extraneous there is no telling.Yet the client must obtain about the abundant information of this member before obtaining member, could more effective visit it.We have introduced member controll block CCB (ComponentControl Block) and provide and managed these Useful Informations for this reason.
As shown in Figure 1, member controll block and member are to concern one to one, whenever member of system creation, a member controll block will be set, and utilize member controll block that member is managed and controls again; Same system just regains its member controll block when member is undone, and member is also withered away thereupon.So member controll block is the only sign that member exists.The effect in component management of member controll block is equivalent to process control block (PCB) PCB role in management of process.
Member and its controll block are encapsulated in the member container together.As shown in Figure 2, member controll block has write down a lot of metamessages about member, can be divided into component description information and control information, comprising: the identifier of member, the attribute of member, the owner of member (certain the general fit calculation equipment in the network), the creation-time of member, life of components, the granularity of member (class level, seeervice level still are the functional module level), the canned data of member, the functional description of member, the interface of member is described.We bundle member and its controll block, can manage easily regardless of the member that is what function of what granularity like this.
It should be noted that member controll block must adopt widely used note language and modeling language (being XML and UML) to the description of metamessage, this can be so that the member metamessage be discernible to most systems.We must not know in advance that even what granularity member is, and only need from member controll block, read the specifying information of this member, investigate the needs that whether satisfy the user of this member, whether member has shared attribute, can storage space hold the problem of this member, visits this member according to the description of docking port in the member controll block then.Also need to set up the system management layout structure storehouse of self-adaptation service environment simultaneously, that finishes component embedded system service environment stress characteristic and the requirement of dynamic restructuring, satisfy the requirement of different application individual character with unified component interface and member service mode, become the detail shielding of service among service environment component composition, and the application part of basic componentization is provided, for the service of componentization provide can conform with the individual character of demand and dynamic change stress characteristic.
Member container, member monitor and member controll block have well solved the encapsulation of member, the life cycle management of member, and the problem of the isomery that brings of member granularity disunity.What next we solved with the member Register is the problem that the member height movability is brought.
General fit calculation has proposed new definition and requirement to computing environment.People will be changed a physical space into by personal computer to the understanding of computing environment, and various computing equipments are arranged in this physical space.We are whole physical space, rather than individual equipment is wherein regarded a computing system as; It need mask the details of each equipment in the physical space, and the standard program interface upwards is provided, and makes this physical space become a space that energy is perceived.Our operating system of design is exactly will the resource of this physical space be managed, and application program can be carried out with physical space alternately.We are called physical space with outwardness, organized, the extendible space that comprises certain computing power; With each general fit calculation equipment all can obtain and the formed space of member be called aware space Aware Space, as shown in Figure 4.
(such as the technology such as infrared and bluetooths) that communicates by wireless mode often between the various computing equipments in the general fit calculation, this communication modes can be subjected to the restriction of communication distance to a great extent.Any one equipment all has certain aware space (Aware Space), as shown in Figure 4; Equipment can't perceive the member beyond aware space.For this reason, we have introduced member Register CR (Component Recorder) and have write down all members that certain equipment can perceive.The componentization service of network enabled distributed environment can make full use of Internet resources, and utilize and reuse code, but the service of componentization flexibly of acquisition dynamic combined, with the function of higher efficient realization more complicated.
As shown in Figure 3, the member in the regular detection senses of the member Register space remains the state-of-the-art record of available member.Whenever new structural member enters aware space after a period of time, will be detected; And in the member Register, can add a recorded information about this new structural member.Same reason, if certain member of having registered leaves from aware space, the member Register regularly detects the back and finds that member has not existed, will be its record deletion.
For effective more management component, the record of member Register is divided into two parts, and first writes down the local member that this equipment has, the member of miscellaneous equipment in the second portion record aware space.The member that this locality has is relatively stable, is managed voluntarily by this equipment; And the change of network structure is more frequent, and equipment has only the right to use and do not have administrative power it.When system initialization, at first all records of local member are left in the member Register; All at that time network structure in the detection senses space also join their record in the member Register then.When system moved, the interpolation of local member record or deletion were by this equipment decision, and management is got up very easy; Whether network structure then need regularly to detect and exist, whether available.
Network structure has three kinds of states: ready state, active state and ossified state.The member dynamic registration adopts the mode of leasing, in a single day system finds just to determine a time limit of the lease after certain network structure, after the time limit of the lease finishes, the member Register judges whether this network structure is still available, thereby determine the time limit of the lease next time, member between the leasehold is in ready state, and it prepares to be used by system at any time; When system need call network structure and finishes a certain task, this member just changed active state into by ready state, and member has just begun real work; Member will turn back to ready state again after task is finished; Deleted when network structure, perhaps left the space that system can perceive, perhaps system does not have enough authorities to visit it, and this member just is in ossified state, and ossified member can not be by system call.Network structure is ability occupying system resources in active state only.
System is in order to finish certain task, need meet some requirement member (such as require this member finish the required storage space of function A AND member less than the vital values of B million AND members greater than C second).System claims to CR, searches whether the member that can satisfy these requirements is arranged.If such member does not exist, then return null value to system; If such member exists and be unique, then the complete information of reading element controll block is visited member according to interface requirement; If more than one of such member then reads the complete information of all these member controll blocks that satisfy condition, the relatively performance of these members and network cost (local member network cost is zero) are visited it thereby select best member then.
It should be noted that, because the thought of " all are members " has been adopted in our design, member Register member Register itself also is a member, and only it is more special, it is that system just automatically generates when initialization, it be system the member that must have.Such design greatly facilitates the management to member because except member anything else never again.
Embodiment:
Resolve the MPEG4 coded file, and displaying video stream.But have two computing equipments in this example: one is run and is being personal computer on the (SuSE) Linux OS, and one is the PDA that runs on RT Linux; These two equipment all are furnished with blue tooth interface, and can carry out each other communication by blue tooth interface.This example has designed four members altogether: resolve the member of MPEG4, the member of display video, the member of parsing JPEG, the member of display image; In the time of incipient, these four members all move on personal computer.
The first step, above-mentioned four members of initialization on personal computer.The initialization procedure of member of wherein resolving MPEG4 is as follows: at first, apply for a member controll block and the various metamessages of member are write in its member controll block, as shown in Figure 2; Then, manage the Lifecycle Policies of this member with the member monitor; Next, member and its controll block, monitor are encapsulated in the member container together; At last, provide the running environment of member by the member container, all-access all must be undertaken by the member container.The initialization procedure of other three members is also basic identical.
In second step, we are the close gradually personal computer of PDA.In the certain distance scope, PDA and personal computer just can carry out communication by blue tooth interface.At this moment, PDA has detected four members above the personal computer, and their record is stored on the member Register.Member is in ready state at this moment, but does not take storage space and the computational resource of PDA.
In the 3rd step, PDA need decode to the file of MPEG4, and plays this file.At this moment search for the member in the member Register, whether inquiry has the member that can meet the demands.Owing in second step, resolve the member of MPEG4 and the member of display video and all on the member Register, register, therefore can be easy to find out this two members.Then, obtain enough information by the member controll block of visiting these two members: comprise the function of member, the size that interface, member took up space of member.At last, PDA just can utilize these two members to finish decoding and playing task.When executing the task, member just changes active state into by ready state, will take storage space and the computational resource of PDA, as shown in Figure 5.
The 4th step, after the file of MPEG4 plays, resolve the member of MPEG4 and the member of display video and will abandon system resource, turn back to ready state again.Next, if we allow PDA again away from personal computer, exceeded the scope of bluetooth effect, above-mentioned four members are just no longer available, will be in ossified state, equally also do not take storage space and the computational resource of PDA.
Claims (8)
1, a kind of component management method of supporting general fit calculation is characterized in that the step of method is as follows:
1) except the encapsulation of member self, by the member container member is carried out the secondary encapsulation, and provide the runtime environment of member, saidly member is carried out secondary encapsulation: needed environment when the member container provides operation for being encapsulated in wherein member by the member container, member moves in this environment, and its all communications are all undertaken by the member container; In a single day member has been loaded into container, and client then can only visit member by the external interface of member container so; In the member container, also provide the member monitor to finish monitoring to the structural components service cycle strategy;
Metamessage when 2) coming the management component operation by member controll block, wherein comprise component description information and control information, the all unique corresponding member controll block of each member, it is the concentrated reflection of member dynamic, it is the foundation that system discerns and controls member, metamessage when said member controll block is come the management component operation, wherein comprise component description information and control information: member controll block and member are to concern one to one, whenever member of system creation, will utilize it that member is managed and controls for member is provided with a controll block; Equally, when member will be undone, system just regained member controll block, and member is also withered away thereupon; Member control is the only sign that member exists; The effect in component management of member controll block is equivalent to process control block (PCB) role in management of process; What the description of component information was adopted is widely used note language and modeling language, i.e. XML and UML, and this makes that component information is discernible to most systems;
3) introduce the member Register and write down perceived all members of computing equipment, realized dynamic registration, replacement, interpolation and the deletion of member.
2, a kind of component management method of supporting general fit calculation according to claim 1 is characterized in that said member Register writes down perceived all members of computing equipment: the state-of-the-art record that remains available member; The aware space that enters system whenever new structural member will be detected after a period of time; And in Register, can add a recorded information about this new structural member; Same reason, if certain member of having registered leaves from the aware space of system, Register regularly detects the back and finds that this member has not existed, will be its record deletion.
3, a kind of component management method of supporting general fit calculation according to claim 1, needed environment comprises when it is characterized in that said operation: 1) when needed activating element or in a period of time passivation member when not required, thereby protect limited system resource, i.e. main memory and cpu resource; 2) the various service interfaces for member commonly used provide an adaptation layer, and this adaptation layer has avoided CLIENT PROGRAM by the trouble directly brought to member request service and the potential safety hazard of existence; 3) provide the adaptation layer of a readjustment for member, the member container is by this readjustment layer notice member when interested incident and message take place; 4) for the client provides configurable member parameter, in order to on-the-fly modify the attribute of member.
4, a kind of component management method of supporting general fit calculation according to claim 1, it is characterized in that said member monitor finishes the monitoring to the structural components service cycle strategy, comprising: how to create member, creating permanent member still is interim member, when need activating element, when need the passivation member, when need to destroy member; In addition, the client can inform that the example of member in the member container has no longer needed by the interface that monitor provides.
5, a kind of component management method of supporting general fit calculation according to claim 1, it is characterized in that said component description information and control information, comprising: the identifier of member, the attribute of member, the owner of member is the computing equipment in the network, the creation-time of member, life of components, the granularity of member, it promptly is object level, seeervice level, or functional module level, the canned data of member, the functional description of member, the interface of member is described, we bundle member and its controll block, can manage easily regardless of the member that is what function of what granularity like this.
6, a kind of component management method of supporting general fit calculation according to claim 1, that it is characterized in that the description of said member metamessage adopts is widely used note language and modeling language, i.e. XML and UML: this makes that component information is discernible to most systems; By these information, we must not know in advance that even what granularity member is, and only need from member controll block, read the specifying information of this member, investigate whether satisfying the demand of this member, whether member has shared attribute, can storage space hold this member problem, then according in the controll block this member being visited in the description of component interface.
7, a kind of component management method of supporting general fit calculation according to claim 2, the state-of-the-art record that it is characterized in that said member is divided into two parts: first writes down the local member that this computing equipment has, the member situation of other computing equipment in the second portion record aware space; The member that this locality has is relatively stable, managed voluntarily by this computing equipment, and network structure has three kinds of states, changes more frequently, and computing equipment has only the right to use and do not have administrative power it; When system initialization, at first all records of local member are left in the member Register, all at that time network structure in the detection system also joins their record in the member Register then; When system moved, the interpolation of local member record or deletion were by this computing equipment decision, and management is got up very easy, and whether whether network structure then need regularly to detect and exist, available.
8, according to claim 2 or 7 described a kind of component management methods of supporting general fit calculation, it is characterized in that said network structure has three kinds of states: ready state, active state and ossified state; The member dynamic registration adopts the mode of leasing, in a single day system finds just to determine behind certain shared member in the network time limit of the lease, after the time limit of the lease finishes, the member Register judges whether this network structure is still available, thereby determine the time limit of the lease next time, member between the leasehold is in ready state, and it prepares to be used by system at any time; When system need call network structure and finishes a certain task, this member just changed active state into by ready state, and member has just begun real work; Member will turn back to ready state again after task is finished; Deleted when network structure, perhaps left the space that system can perceive, perhaps system does not have enough authorities to visit it, and this member just is in ossified state, and ossified member can not be by system call.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100184389A CN1307549C (en) | 2004-05-15 | 2004-05-15 | Member management method for supporting general computation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100184389A CN1307549C (en) | 2004-05-15 | 2004-05-15 | Member management method for supporting general computation |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1581085A CN1581085A (en) | 2005-02-16 |
CN1307549C true CN1307549C (en) | 2007-03-28 |
Family
ID=34581781
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2004100184389A Expired - Fee Related CN1307549C (en) | 2004-05-15 | 2004-05-15 | Member management method for supporting general computation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1307549C (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100391149C (en) * | 2005-05-12 | 2008-05-28 | 中国科学院计算技术研究所 | Application managing sub-system in multi-node intelligent network application service system and method |
CN101247312B (en) * | 2008-03-05 | 2012-02-15 | 中国科学院计算技术研究所 | Context perception information processing system and method in peer-to-peer mode |
CN101464795B (en) * | 2008-10-10 | 2014-05-07 | 华南理工大学 | Software design method used for pervasive compution |
CN103970214B (en) * | 2014-05-19 | 2018-05-04 | 浪潮电子信息产业股份有限公司 | A kind of isomery accelerates bladed computer systems framework |
CN104102947B (en) * | 2014-06-27 | 2019-07-23 | 许继电气股份有限公司 | Product management-control method based on soft ridge terrace |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1339742A (en) * | 2001-10-12 | 2002-03-13 | 北京大学 | Oil-line avolution method for modular soft ware |
WO2002097610A1 (en) * | 2001-05-30 | 2002-12-05 | Bea Systems, Inc. | System and method for software component plug-in framework |
-
2004
- 2004-05-15 CN CNB2004100184389A patent/CN1307549C/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002097610A1 (en) * | 2001-05-30 | 2002-12-05 | Bea Systems, Inc. | System and method for software component plug-in framework |
CN1339742A (en) * | 2001-10-12 | 2002-03-13 | 北京大学 | Oil-line avolution method for modular soft ware |
Also Published As
Publication number | Publication date |
---|---|
CN1581085A (en) | 2005-02-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1828527B (en) | Platform for data services across disparate application frameworks | |
KR101219875B1 (en) | Method and apparatus for metadata driven business logic processing | |
CN103210395B (en) | With the technology that client virtual machine is mutual | |
CN103034453A (en) | Method and device for managing persistent data of preinstalled application in virtual machine instance | |
CN102346669B (en) | Mobile terminal safety middleware system and method based on metadata | |
CN102567451B (en) | Generating data models | |
CN110990726A (en) | Space-time big data intelligent service system | |
CN101013956A (en) | Hierarchical, multi-tiered mapping and monitoring architecture for smart items | |
CN101013957A (en) | Hierarchical, multi-tiered mapping and monitoring architecture for service-to-device re-mapping for smart items | |
CN103593174A (en) | Adaptable business object | |
US6836821B2 (en) | System and method for providing graph structuring for layered virtual volumes | |
CN104885074B (en) | The cloud platform of management design data | |
AU2003285358A1 (en) | Method for managing virtual machines | |
CN103299274A (en) | Determining an optimal computing environment for running an image | |
US8423561B2 (en) | Method and system for simplifying object mapping for a user interface | |
CN101901207A (en) | Operating system of heterogeneous shared storage multiprocessor system and working method thereof | |
CN101933000A (en) | Component programs in the management service application program | |
CN101246424A (en) | Menu automatic generation system and method for based on file | |
CN113569508B (en) | Database model construction method and device for data indexing and access based on ID | |
CN111209323A (en) | Spatial geographic information big data processing system | |
CN1661553A (en) | System and method for interactive wireless applications | |
CN109976736A (en) | Reduce the unified platform application framework of system business model complexity | |
CN115017140A (en) | Model construction method, model data subscription method, model construction device, model data subscription device, electronic equipment and medium | |
CN1307549C (en) | Member management method for supporting general computation | |
CN101226491A (en) | Interactive method for gridding middleware based on component |
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 | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20070328 Termination date: 20130515 |