Based on the building method of the cloud computing system of super Resource Fusion
Technical field
The present invention relates to computer software fields, particularly relate to the building method of the cloud computing system based on super Resource Fusion.
Background technology
Cloud computing is a kind of typical " client-server " pattern.Compared with traditional " client-server " pattern, it is complicated that the distinguishing feature of cloud computing is that its service end is formed, and the formation of service often independently to be cooperated realizations by many unpredictable autonomous systems, and we claim this service end to be " transparent collaboration services end ".The system of a cloud mode or equipment, the realization of its function should be the service end based on a transparent cooperation.Therefore, the exploitation of cloud computing system, key point all sums up in the point that the exploitation of the service end of this transparent cooperation.
Traditional service end actualizing technology, mainly demixing technology and SOA technology.Service end is generally divided into database layer and Business Logic by demixing technology, and Business Logic can continue layering as required.Every layer can be positioned at independently on network node, also can be positioned on same node with other layers, also can share a process space with other layer.The access of every layer, both can with service form, also can to call form.SOA technology does not have strict layering, and the structure of system is based on Services Composition.This is equivalent in fact many " client-server " pattern, and just client does not have fixing binding with service.
For cloud computing, the service of service end or other software bodies require to support polymorphic with change granularity, and need transparent cooperation between them, and therefore, the service end of cloud computing is more complicated than traditional client-server pattern.But current cloud computing system building method, still mainly continues to use or transforms traditional demixing technology or SOA technology.Due to cloud computing emphasis solve to be that resource is polymorphic cooperate with transparent, i.e. the key issue of cloud computing, and demixing technology is not solve this kind of problem, so adopt demixing technology to be unprofitable to the solution of key issue.The method based on Services Composition in SOA technology, the solution for cloud computing key issue is ideal route, but the Services Composition of SOA does not have framework, does not combine semanteme, belongs to unordered combination, is difficult to tackle complicated cloud computing exploitation.Although the Services Composition based on ESB ESB belongs to skeletonisation Services Composition, this framework is a communication for service framework in fact just, is equivalent to a service-oriented message center, does not still combine semanteme.
Summary of the invention
The object of the invention is to overcome the shortcoming of prior art and deficiency, provide a kind of system architecture and building method thereof of facing cloud computing system, fully to improve the runnability of cloud computing system, the software productivity of cloud computing system and software quality.
In order to achieve the above object, the present invention is by the following technical solutions:
The present invention is based on the building method of the cloud computing system of super Resource Fusion, is two to unitize the structure behavioral unity of cloud computing system: the semantic frame that the super resource of system component unifies, the super Resource Fusion of constructor unifies and merges; The super resource of described system component unifies and refers to that all being unified by the constituent of cloud computing system is super resource; The super Resource Fusion of described constructor unifies and refers to that, by the formation of cloud computing system and operation action, all unification is considered as mixing operation, forms cloud computing system, and realize the function of cloud computing system by combination, compound and integrated mixing operation; The semantic frame of described fusion refers to by mixing operation by crisscross Hierarchical abstraction, forms the general character composition of multilevel hierarchy, and is made as sharable standard component in advance, for forming concrete mixing operation.
Preferably, the form of fusion process is super resource map, and described super resource map comprises node and directed edge, and node represents super resource, directed edge represents two multigraphs of resource associations, and the node of the downward association of a super resource node is the source node generating this super resource node.
Preferably, the basic structure of described super resource is a four-tuple of VR, ATTR, SEMA and DONOR composition, and wherein, VR is resource entity or pseudo-entity, and ATTR is Resource Properties, and SEMA is the semanteme of resource, and DONOR is the function donor of resource.
Preferably, the service request of the node that it upwards associates is monitored in DONOR mono-aspect in super resource, and accepts request, is returned by the attribute of asked service as service; Monitor the node state of its association downwards on the one hand, when it changes, according to the constitutive logic more new node of node.
Preferably, the constitutive logic of described super resource node is divided into three layers: micro engine layer, gearing layer and terminating layer, and the center of this three-tier architecture is micro engine Engine, driver Transmission and terminal organ Terminal.
Preferably, described micro engine layer is made up of multiple micro engine, each micro engine realizes a function set, with the form work of " service ", described micro engine refers to the engine of lightweight, they operate in the independently process space unlike other engines, and may operate in the same process space, realize compact mutual and integrated.
Preferably, comprise resource perception engine, data integration engine, data synchronization engine, data transformations engine, data interaction engine, data switch engine and the Data Update of described micro engine reflect engine.
Preferably, described gearing layer is the transmission mechanism of engine, is made up of multiple driver, plays transmission and the transformation of engine function, and calling and combining of primary responsibility engine function, forms the function directly can serving terminal organ.
Preferably, described terminating layer is the set of terminal organ, and each terminal organ is a set that can be the function that upper layer application or user directly use.
The present invention is compared with existing cloud computing system building method, and tool has the following advantages:
1, the present invention can significantly improve system development efficiency: the system building approach that the present invention provides is the fusion based on super resource, cloud computing system structure is regarded as the super Resource Fusion of form support semanteme, and super resource can be the larger component of a system, therefore the efficiency of tectonic system will significantly improve.
2, the present invention can significantly improve cloud computing software quality: the shortage formal semantics for tradition exploitation is supported, the fusion of the inventive method form support semanteme, can tackle complicated cloud computing exploitation, improve cloud computing software quality.
Accompanying drawing explanation
Fig. 1 is the schematic diagram that the present invention surpasses resource map;
Fig. 2 is that cloud of the present invention manufactures modeling schematic diagram.
Embodiment
Below in conjunction with embodiment and accompanying drawing, the present invention is described in further detail, but embodiments of the present invention are not limited thereto.
Embodiment 1
The present embodiment is further described with thing control net system, and thing control host will realize the connection of the management layer of resource and static combination, integrated and mutual and the management of resource.Here, " the longitudinally merging " system in " lattice part " that the primary structure of thing control net proposes based on us, also claims " fusion system based on ETT pattern ".
Thing control net is regarded as through based on ETT(Engine-Transmission-Terminal by this system) network that formed of the Resource Fusion of pattern.As shown in Figure 1, the process of fusion is two multigraphs that a node represents " super resource ", limit represents resource associations, and we are called " super resource map ".Wherein, the association all at different levels of each super resource node representative surpasses the fusion of resource, and its structure can be expressed as:
The administration behaviour entity of the operation behavior entity+resource of super resource=resource entity or pseudo-entity+Resource Properties, structure and semanteme+resource;
The carrying out of merging is based on ETT pattern, and what emphasis realized is the connection of the super resource of independent distribution, combination, integrated, communication (information exchange and information transmission), data acquisition, Data Update etc.
A super resource node can be linked with other super resource nodes by two kinds of on-link mode (OLM)s:
Real link: node A links (be called A under chain B) to the reality of Node B, and expression node A is the manager of Node B.Manager except having access right, also has administrative power to the person of being managed.Administrative power mainly comprises carries out various strategy (behavioral strategy, security confidentiality strategy, access strategy, charging policy etc.) configuration and amendment, fault and recovery management to the person of being managed, adds and withdraw management etc.Each node by a manager, therefore, can link formation multiway tree at the most in fact.
Empty link: node A links (visiting B under being called A) to the void of Node B, represents that node A is awarded the access right to Node B.To be node A propose to father manager of B the mode of authorizing.
ETT pattern be we propose a kind of towards dynamic extending with the general-purpose platform framework of plug-in unit and computation schema, by micro engine, driver and terminal dynamic insertion, the easily extensible of implementation platform and dynamic scalable.The center of this framework is micro engine (Engine), driver (Transmission) and terminal organ (Terminal), so we are called ETT(Engine-Transmission-Terminal).
The system of ETT pattern mainly contains three large layers and forms:
Micro engine layer: be made up of multiple software micro engine.Each micro engine realizes a function set, with the form work of " service ".Here, micro engine refers to the engine of lightweight, and they operate in the independently process space unlike other engines, and may operate in the same process space, realizes compact mutual and integrated.
Specific to thing control net, the perception engine comprising resource of micro engine, acquisition engine, combine engine, integrating engine, communication engines, information transform engine, information updating launch engine, management engine etc.
Gearing layer: be the transmission mechanism of engine, be made up of multiple driver, play the combination of engine function, transmission and transformation, calling and combining of primary responsibility engine function, forms the function directly can serving terminal organ.
Terminating layer: be the set of terminal organ.Each terminal organ is a set that can be the function that upper layer application or user directly use, and comprises entity class terminal, service class terminal, controls Terminal Type.Entity class terminal is data entity, and user can by super resource driver access; Service class terminal represents Process Character function, and user is by message interface and service class terminal interaction; Control the Control architecture that Terminal Type is super resource, user can operate Control architecture by message interface.
Specific to thing control net, terminating layer mainly comprises all kinds of high in the clouds access device, upwards monitors the service request of father node, and implements concrete service function by gearing layer and engine layers, finally result is submitted to father node.
ETT pattern erect image MVC pattern is the same, is also to give a kind of new Resolving probiems pattern, also can be regarded as a kind of Resolving probiems pattern of local newly.
Embodiment 2
The present embodiment is described in further detail to merge net form architectonical, and in cloud manufacturing system, what merge net representative is manufacture application system based on the concrete cloud of thing control net, is built by the visual modeling tool provided specially.
Merge the modeling of net, adopt " laterally merging " (merging) technology (as shown in Figure 2) in our lattice part technology (computation model based on form field merges) on the spot.
Field Fusion Model is the extendible software development framework of structure based on Resource Fusion, and belong to broad sense data flow process framework, application system is regarded as by resource being carried out merging being formed by it.Fusion is undertaken by framework, and framework is made up of the data providing data path " pipeline " and processing, process and the data " website " of control data, framework specific by carrying out website and pipeline " expansion ".Here pipeline and website are referred to as " fusion device ".Also referred to as " lattice tool " in lattice part system, it is frame support member.Laterally merge processing process to as if the data flow of broad sense, can be data, body, object, code etc.
Laterally merge and carry out under transverse direction " fusion engines " controls.Fusion device has the 9 large classes such as server, processor, storehouse institute, pipeline, transducer, broadcasting equipment, receiver, switch, I/O adapter.
Server: for being in the abstract of the software body of run mode, being software server, realizing specific processing capacity.Its constrained input is all pipeline, realization be processing to pipeline data, process.Server also can by our the grid plan of adapter and FuseGrid() node is connected, to realize more complicated process.
Server is generally customized according to concrete demand by user on the basis of system " base " server.System can provide some public server, as the merging to multiple pipeline, decomposition etc.Particularly, if arrange basic arithmetical operation and logical operation server, then in conjunction with switch, pipeline etc., then to " calculating ", there is completeness.
Processor: abstract for code executor, it can perform the code of some given profile, and such as, computer CPU, Java Virtual Machine JVM and Prolog interpreter etc. are exactly the example of typical processor.Processor is used in xDFF and can realizes " initiatively " computation structure.
Storehouse institute: lasting internal storage region, cushions the data from other fusion devices, has sharing characteristic.
Pipeline: for connecting other fusion devices, as data channel is the abstract of data flow.Here, data are data widely, can comprise computer program.
Transducer: for capturing events, and report other fusion device.Transducer generally colonizes in other fusion devices, plays the effect of divulging information covertly for fusion device.
Broadcasting equipment: for according to channel broadcasting information, generally colonize on other fusion devices.Channel representative data mark, data structure.The information of broadcasting equipment broadcast is received by " receiver ".
Receiver: for according to the information of CPCH reception from " broadcasting equipment ", generally colonize on other fusion devices.Channel representative data mark, data structure.Broadcasting equipment and receiver join together to realize broadcast and the reception of multiline message.
Switch: as the guider (switch) of data flow, the flow direction of control data stream.The direct connecting tube of switch, controls connection and the closedown of pipeline.Switch is controlled by logical expression or logical program.Switch divides two large classes: selector switch and dispense switch.
Selector switch: be multiselect one, be input as multinomial, switch is from this multinomial middle selection one output;
Dispense switch: be one to many, an input, many items chooses exports, and switch is responsible according to condition outputs to a certain output item by input item;
I/O adapter: the fusion device being exclusively used in external interface, external system by such fusion device and this platform mutual.
The state of such fusion device also can be caught by transducer, to make other fusion devices can such fusion device of perception.Equally, such fusion device also can be embedded into transducer, and realization event drives.
I/O adapter device divides multiple, is generally customized as the case may be by user.Such as, common I/O adapter has:
Record set view adapter: point snapshot type, hot link type, read-only, read-write type etc.The file etc. of various database (as various Server type relational database, file based database application etc.), various record support can be comprised.
XML adapter: connect XML data source.
File adapter: connect OS file, is converted into system standard read-write, realizes, to the read-write of heterogeneous system file, also realizing grid file by the read-write of specific OS file.
Message adapter: connect some message system.
Service adapter: connect the service with standards service specification, as WebServices, EJB, DCOM, CORBA, Sockets etc.
FuseGrid adapter: the Resource Fusion grid FuseGrid that should connect us specially, realizes connecting in length and breadth.In this case, such fusion device represents the xDFF system belonging to it, becomes FuseGrid node, serves as service class resource--service grid.
The virtual view of DataHub: the virtual view directly connecting native system, forms multi-stage data collecting and distributing.
The fusion device that every class is concrete is equivalent to standardized processor, i.e. a core, so this model also can regard the Fusion Model based on heterogeneous polynuclear as.
Because these fusion devices are standardized, so user generally can directly use them to form Resource Fusion flow process, also can re-use according to after specification " expansion " these fusion devices, like this with regard to the system modelling of supporting structure expansion.
Above-described embodiment is the present invention's preferably execution mode; but embodiments of the present invention are not restricted to the described embodiments; change, the modification done under other any does not deviate from Spirit Essence of the present invention and principle, substitute, combine, simplify; all should be the substitute mode of equivalence, be included within protection scope of the present invention.