Summary of the invention
The shortcoming that the object of the invention is to overcome prior art provides a kind of system architecture and building method thereof of facing cloud computing system, with the runnability of abundant raising cloud computing system, software productivity and the software quality of cloud computing system with not enough.
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 unitized with 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 the constituent of cloud computing system is all unified to be super resource; The super Resource Fusion of described constructor unifies formation and the operation action that refers to cloud computing system, all unifies to be considered as mixing operation, forms cloud computing system by combination, compound and integrated mixing operation, and realizes the function of cloud computing system; The semantic frame of described fusion refers to mixing operation is passed through crisscross Hierarchical abstraction, forms the general character composition of multilevel hierarchy, and is made as in advance sharable standard component, 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 association, and the node of the downward association of a super resource node is the source node that generates this super resource node.
Preferably, the basic structure of described super resource is the four-tuple that VR, ATTR, SEMA and DONOR form, 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 DONOR in the super resource monitors its upwards service request of related node on the one hand, and accepts request, and the service of asking is returned as the attribute of serving; Monitor on the one hand its related node state downwards, when it changes, according to the constitutive logic of node new node more.
Preferably, the constitutive logic of described super resource node is divided into three layers: micro engine layer, transmission layer and terminating layer, the center of this three-tier architecture are micro engine Engine, driver Transmission and terminal organ Terminal.
Preferably, described micro engine layer is comprised of a plurality of micro engines, each micro engine is realized a function set, form work with " 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 the mutual and integrated of compactness.
Preferably, comprise resource perception engine, data integration engine, data synchronization engine, data translation engine, data interaction engine, data switch engine and the Data Update of described micro engine reflect engine.
Preferably, described transmission layer is the transmission mechanism of engine, is comprised of a plurality of drivers, plays transmission and the transformation of engine function, mainly is responsible for calling and making up of engine function, and the function of terminal organ can be directly served in formation.
Preferably, described terminating layer is the set of terminal organ, and each terminal organ is one and can be upper layer application or the directly set of the function of use of user.
The present invention compares with existing cloud computing system building method, has following advantage:
1, the present invention can significantly improve system development efficient: the system building approach that the present invention provides is based on the fusion of super resource, the super Resource Fusion of the cloud computing system structure being regarded as the form support semanteme, and super resource can be the larger component of a system, so the efficient of tectonic system will significantly improve.
2, the present invention can significantly improve the cloud computing software quality: the shortage formal semantics for the tradition exploitation is supported, the fusion of the inventive method form support semanteme can be tackled complicated cloud computing exploitation, improves the cloud computing software quality.
Embodiment
The present invention is described in further detail below in conjunction with embodiment and accompanying drawing, but embodiments of the present invention are not limited to this.
Embodiment 1
Present embodiment is further described with thing control net system, thing control host to realize the connection of management layer of resource and static combination, integrated with alternately, and the management of resource.Here, " the vertically merging " system in " lattice spare " that the primary structure of thing control net proposes based on us also claims " based on the fusion system of ETT pattern ".
This system regards thing control net through based on ETT(Engine-Transmission-Terminal as) network that forms of the Resource Fusion of pattern.As shown in Figure 1, the process of fusion is that a node represents that " super resource ", limit represent two multigraphs of resource association, and we are called " super resource map ".Wherein, the fusion of the super resource of all associations at different levels of each super resource node representative, 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 the ETT pattern, and what emphasis was realized is connection, combination, integrated, communicate by letter (information exchange and information transmission), data acquisition, the Data Update etc. of the super resource of independent distribution.
A super resource node can link with other super resource nodes by two kinds of on-link mode (OLM)s:
Real link: node A is to the real link (being called chain B under the A) of Node B, and expression node A is the manager of Node B.The manager except having access right, also has administrative power to the person of being managed.Administrative power mainly comprises carries out various strategies (behavioral strategy, security confidentiality strategy, access strategy, charging policy etc.) configuration and modification, fault and recovery management, adds and withdraws management etc. the person of being managed.Each node at the most can be by a manager, and therefore, real link consists of a multiway tree.
Empty link: node A is to the void link (be called under the A and visit B) of Node B, and expression node A is awarded the access right to Node B.The mode of authorizing is that node A is to father's manager proposition of B.
The ETT pattern be we propose a kind of towards general-purpose platform framework dynamic extending and plug-in unit and computation schema, by micro engine, driver and terminal dynamic insertion, the expanding and dynamically can expand of implementation platform.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 consists of:
Micro engine layer: formed by a plurality of software micro engines.Each micro engine is realized 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 the mutual and integrated of compactness.
Specific to thing control net, the perception engine that comprises resource of micro engine, obtain engine, combine engine, integrating engine, communication engines, information transform engine, information updating emission engine, management engine etc.
The transmission layer: be the transmission mechanism of engine, be comprised of a plurality of drivers, play combination, transmission and the transformation of engine function, mainly be responsible for calling and making up of engine function, the function of terminal organ can be directly served in formation.
Terminating layer: be the set of terminal organ.Each terminal organ is one and can be upper layer application or the directly set of the function of use of user, comprises entity class terminal, service class terminal, control Terminal Type.The entity class terminal is data entity, and the user can be by super resource driver access; The service class terminal represents the Process Character function, and the user is by message interface and service class terminal interaction; The control Terminal Type is the control template of super resource, and the user can operate the control template 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 transmission layer and engine layers, at last the result is submitted to father node.
ETT pattern erect image MVC pattern is the same, also is to have provided a kind of new problem to solve pattern, and the problem that also can be regarded as a kind of new part solves pattern.
Embodiment 2
Present embodiment is described in further detail to merge the net form architectonical, in the cloud manufacturing system, merges the concrete cloud Application in manufacture system that is based on thing control net of net representative, is made up by the visual modeling tool that provides specially.
Merge the modeling of net, adopt " laterally merging " (merging) technology (as shown in Figure 2) in our the lattice spare technology (computation model that merges based on form field) on the spot.
Fusion Model is based on the extendible software development framework of structure of Resource Fusion, belongs to the broad sense data flow and processes framework, and it is regarded application system by resource is merged as forms.Fusion is undertaken by framework, and framework is by the data that data path is provided " pipeline " and processing, processes and the data " website " of control data consist of, framework specific by website and pipeline " expansion " carried out.The pipeline here and website general designation " fusion device ".Being also referred to as " lattice tool " in lattice spare system, is frame support member.Laterally merge that processing processes to as if the data flow of broad sense, can be data, body, object, code etc.
Laterally merge and laterally carrying out under " fusion engines " control.Fusion device has the 9 large classes such as server, processor, storehouse institute, pipeline, transducer, broadcasting equipment, receiver, switch, I/O adapter.
Server: abstract for the software body that is in run mode is software server, realizes specific processing capacity.Its input all is pipeline with output, realization be processing, processing to pipeline data.Server also can be by our the grid plan of adapter and FuseGrid() node is connected, to realize more complicated processing.
Server is generally customized according to the basis of concrete demand at system's " base " server by the user.System can provide some public server, as to the merging of a plurality of pipelines, decomposition etc.Particularly, if basic arithmetical operation and logical operation server are set, in conjunction with switch, pipeline etc., then " calculating " had completeness again.
Processor: abstract for the code actuator, it can carry out the code of some set standard, and for example, computer CPU, Java Virtual Machine JVM and Prolog interpreter etc. are exactly the example of typical processor.Processor is used in can realize " initiatively " computation structure among the xDFF.
Storehouse institute: lasting internal storage region, buffering has sharing characteristic from the data of other fusion devices.
Pipeline: being used for connecting other fusion devices, as data channel, is the abstract of data flow.Here, data are data widely, can comprise computer program.
Transducer: be used 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: be used for according to channel broadcasting information, generally colonize on other fusion devices.Channel representative data sign, data structure.The information of broadcasting equipment broadcasting is received by " receiver ".
Receiver: be used for generally colonizing on other fusion devices according to the information of channel reception from " broadcasting equipment ".Channel representative data sign, data structure.Broadcasting equipment and receiver join together to realize broadcasting and the reception of multiline message.
Switch: as the guider (switch) of data flow, the flow direction of control data flow.The direct connecting tube of switch, control pipeline connection with close.Switch is by logical expression or logical program control.Switch divides two large classes: selector switch and dispense switch.
Selector switch: be multiselect one, be input as multinomially that switch is output of selection from this is multinomial;
Dispense switch: be to many, an input, multinomial selection output, switch is responsible for according to condition input item being outputed to a certain output item;
The I/O adapter: be exclusively used in the fusion device of external interface, external system is mutual by such fusion device and this platform.
The state of such fusion device also can be caught by transducer, so that 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 the user.For example, common I/O adapter has:
Record set view adapter: minute snapshot type, hot link type, read-only, read-write type etc.Can comprise the file of various databases (such as various Server type relational databases, file based database application etc.), various record supports etc.
XML adapter: connect the XML data source.
File adapter: connect the OS file, the read-write of specific OS file is converted into the system standard read-write, realize the read-write to the heterogeneous system file, also realize grid file.
Message adapter: connect some message system.
Service adapter: connect the service with standards service standard, such as Web Services, EJB, DCOM, CORBA, Sockets etc.
FuseGrid adapter: should connect specially our Resource Fusion grid FuseGrid, realize connecting in length and breadth.In this case, such fusion device has represented the xDFF system under it, becomes the FuseGrid node, serves as service class resource--service grid.
The virtual view of DataHub: directly connect the virtual view of native system, it is collecting and distributing to consist of multi-stage data.
The fusion device that every class is concrete is equivalent to a standardized processor, namely examines, so this model also can be regarded the Fusion Model based on heterogeneous polynuclear as.
Because these fusion devices are standardized, so the user generally can directly use them to consist of the Resource Fusion flow process, also can be according to re-using behind these fusion devices of standard " expansion ", the system modelling of expanding with regard to supporting structure like this.
Above-described embodiment is the better execution mode of the present invention; but embodiments of the present invention are not restricted to the described embodiments; other any do not deviate from change, the modification done under Spirit Essence of the present invention and the principle, substitutes, combination, simplify; all should be the substitute mode of equivalence, be included within protection scope of the present invention.