A kind of isomery cloud shielding system for GIS service calculating in cloud and method
Technical field
The present invention relates to a kind of cloud platform partition method and system, belong to cloud storage means and apparatus field, be specifically related to a kind of isomery cloud partition method for GIS service calculating in cloud and system.
Background technology
The general principle of cloud is, by by Computation distribution on a large amount of distributed computers, make the operation of enterprise data center more be similar to use the Internet.Thus enable enterprise by resource switch at any time in the application needed, access computer and storage system according to demand.
The concept that current cloud is ununified, the cloud of narrow sense refers to manufacturer and builds data center or supercomputer by Distributed Calculation and Intel Virtualization Technology, there is provided data to store with freely or as required rent mode to technology developer or corporate client, analyze and the service such as scientific algorithm, such as Amazon data warehouse hires out business.The Yun Zhi manufacturer of broad sense, by setting up webserver cluster, provides online software service to various dissimilar client, hardware is leased, data store, service that computational analysis etc. is dissimilar.The cloud of broad sense includes more manufacturer and COS, the online financial software that the management software vendors such as such as domestic UFSOFT, Kingdee release, the Google application program suit etc. that Google issues.
Up to now, nearly all IT industry giant is using the main strategic one of of cloud as future development, cloud is also considered as the main trend of computer future development by related commercial media, its commercial promise and application demand are beyond any doubt, cloud software product also presents the trend of diversified development, cloud platform of increasing income mainly contains CloudStack, OpenStack, business-like cloud platform mainly contains Amazon EC2, Google AppEngine, VMWare VCloud etc., owing to lacking unified cloud standard, there is various types of cloud platform api interface, only lift following a few example:
Apache CloudStack API
OpenStack API
VMWare vCloud API
Amazon AWS API
Often kind of cloud platform is in order to provide cross-platform characteristic, and compatible various development language, reduces the complexity of exploitation, improves the scalability of system.
But, even if various cloud platform have employed identical framework and style in Interface design, due to the difference on the framework of each cloud platform and service logic, the otherness of internal resource definition still exists, still will in the otherness of each cloud platform of interface layer process when causing user operation system to be accessed cloud platform, unitized cloud access scheme cannot be realized, cannot manage the cloud resource of dispersion simultaneously.This shortcoming will cause following problem:
First, fetter and bound GIS service computing capability.
Along with the continuous expansion of GIS business, user may find that oneself cloud service supplier selected originally cannot continue to meet the actual requirement of its service layer gradually, this type of situation may be embodied in various aspects, and the computing capability comprising use cost, performance and the capabilities of technical support especially GIS also may be greatly affected on this cloud platform.Meanwhile, they may also can find to be locked in firmly in cloud service supplier selected originally themselves.Say from technical standpoint, the cloud platform that what such as user selected originally is based on OpenStack, when developing GIS service computing application system originally, bottom is all the OpenStack API directly called, if now user wants application system to be deployed to CloudStack cloud platform just must obtain and again carries out Reseal at bottom to CloudStack API and call, GIS service calculates simultaneously the distributed capability, HA ability etc. of module all need again to develop, test.Time cycle is long, cannot meet operational sustainability demand for development.
Secondly, be difficult to, to cloudy access, carry out operation management simultaneously.
Construction cloud platform is all dropped into energetically in the responsible institution of current GIS industry and department various places, the cloud platform technology selecting type scheme of various places is all not quite alike, finally provide the platform of cloud service also just different to user, the situation that a user (or mechanism) has the existence of many cover cloud platform resources is there is in reality, user's application system can only be single, in turn access each cloud, and each cloud platform can only be relied on scatter operation and maintenance are carried out to it, cannot concentrate, unitized management, in addition GIS platform also needs to carry out interoperability in each cloud platform, authorize, statistical analysis, after these functions of Distributed Calculation are introduced, just substantially cannot work.The development trend that information system management is concentrated can not be catered to.
Summary of the invention
The present invention user mainly solved existing for prior art needs the otherness at each cloud platform of interface layer process when operation system being accessed cloud platform, unitized cloud access scheme cannot be realized, and the technical problem that simultaneously cannot to manage etc. the cloud resource of dispersion; Provide a kind of isomery cloud shielding system for GIS service calculating in cloud and method, this system and method does not rely on the business operation flow process of specific cloud platform and specific cloud platform, possesses across cloud platform identity.
To achieve these goals, according to an aspect of the present invention, provide a kind of isomery cloud shielding system calculated for GIS service in cloud, comprising:
Basis cloud podium level, for ring to should and perform the call request of isomery cloud separator;
Isomery cloud separator, the access interface for all kinds of cloud platforms supported by basic cloud podium level is abstract in can the general-purpose interface of unified call, and carries out balance dispatching and Distributed Calculation according to the computing capability of each cloud platform nodes of basic cloud podium level;
Service and computation layer, the general-purpose interface provided for utilizing isomery separator provides cloud service for user.
Optimize, above-mentioned a kind of isomery cloud shielding system calculated for GIS service in cloud, described isomery cloud separator comprises:
Isomery cloud platform negotiation module, for receiving the call request of service and computation layer, and determine whether to need to carry out Distributed Calculation according to the information on services that call request comprises, call distribution calculation module when needs Distributed Calculation, otherwise directly task is sent to load balancing proxy module;
Distributed Calculation module, for receiving the call request of isomery cloud platform negotiation module, becoming multiple parallel task according to mission bit stream included in call request by division of tasks, then calling load balancing proxy module;
Load balancing proxy module, for receiving the call request of other module, task scheduling and granted access are carried out in the load according to the GIS calculation services container of basic cloud podium level.
Optimize, above-mentioned a kind of isomery cloud shielding system calculated for GIS service in cloud, described isomery cloud separator also comprises:
Service preparation module, for call infrastructure cloud platform separator with realize isomery infrastructure cloud to calculate bag storage, dispose deliver call;
Operation management module, for arranging according to service and the cloud platform of demand to basic cloud podium level of computation layer, obtaining and feeding back the monitor data of cloud platform to service and computation layer.
Optimize, above-mentioned a kind of isomery cloud shielding system calculated for GIS service in cloud, described service and computation layer comprise:
Application memory module, applies and create data record separately, and tool carries out Version Control to each application for each support in service and computation layer;
Application production module, based on isomery cloud platform, the virtualized server type, OS Type, application program etc. user selected are sent to script generator with the form of order and generate custom script, to be pushed in magnetic disk of virtual machine by software source to carry out packaging and put in storage by propelling movement mode.
Optimize, above-mentioned a kind of isomery cloud shielding system calculated for GIS service in cloud, described cloud GIS resource production management module comprises further:
Cloud resource webpage production management device, for providing the unified Web tools interfaces carrying out cloud GIS production;
Order generator, for responsible collection user to the demand applied in cloud, and forms order;
Script generator, according to order automatic generating system installation script, application installation script and corresponding dependence installation script in different clouds;
Wrapper, once script generator generates appointment script, by the requirement in conjunction with order, the virtual mirror image of automatic generation correspondence, and the corresponding configuration of automation amendment meets the requirement of isomery basis cloud platform, and optional packaged achievement automatically being included in the secondary storage of corresponding cloud platform is directly called.
To achieve these goals, according to a further aspect in the invention, provide a kind of isomery cloud partition method calculated for GIS service in cloud, comprising:
The abstract general-purpose interface for isomery cloud separator of access interface of all kinds of cloud platforms that basic cloud podium level is supported,
Receive the cloud service request of user in service and computation layer, utilize the general-purpose interface of isomery cloud separator that the cloud service request of user is converted to the call request of the particular cloud platform nodes that basic cloud podium level is supported;
Computing capability according to each cloud platform nodes of basic cloud podium level carries out balance dispatching and Distributed Calculation.
Optimize, above-mentioned a kind of isomery cloud partition method calculated for GIS service in cloud, comprising:
Isomery cloud platform negotiation module is utilized to receive the call request of service and computation layer at isomery cloud separator, and determine whether to need to carry out Distributed Calculation according to the information on services that call request comprises, call distribution calculation module when needs Distributed Calculation, otherwise directly task is sent to load balancing proxy module;
Utilize Distributed Calculation module to receive the call request of isomery cloud platform negotiation module, according to mission bit stream included in call request, division of tasks is become multiple parallel task, then call load balancing proxy module;
Utilize load balancing proxy module to receive the call request of other module, task scheduling and granted access are carried out in the load according to the GIS calculation services container of basic cloud podium level.
Optimize, above-mentioned a kind of isomery cloud partition method calculated for GIS service in cloud, also comprises:
Utilize service preparation module call infrastructure cloud platform separator with realize isomery infrastructure cloud to calculate bag storage, dispose deliver call;
Utilize operation management module to arrange according to service and the cloud platform of demand to basic cloud podium level of computation layer, obtain and feed back the monitor data of cloud platform to service and computation layer.
Optimize, above-mentioned a kind of isomery cloud partition method calculated for GIS service in cloud, comprising:
Utilize application memory module to apply each support in service and computation layer and create data record separately, and tool carries out Version Control to each application;
Utilize application production module based on isomery cloud platform, the virtualized server type, OS Type, application program etc. user selected are sent to script generator with the form of order and generate custom script, to be pushed in magnetic disk of virtual machine by software source to carry out packaging and put in storage by propelling movement mode.
Optimize, above-mentioned a kind of isomery cloud partition method calculated for GIS service in cloud, comprising:
The unified Web tools interfaces carrying out cloud GIS production is provided;
Utilize order generator to be responsible for collecting user to the demand applied in cloud, and form order;
Utilize script generator according to order automatic generating system installation script, application installation script and corresponding dependence installation script in different clouds;
Once script generator generates appointment script, then utilize wrapper and in conjunction with the requirement of order, the virtual mirror image of automatic generation correspondence, the corresponding configuration of automation amendment meets the requirement of isomery basis cloud platform, and optional packaged achievement automatically being included in the secondary storage of corresponding cloud platform is directly called.
Therefore, tool of the present invention has the following advantages:
1. the present invention does not rely on specific cloud platform, possess across cloud platform identity, all cloud platform api interface adapters are all exist with the form of plug-in unit, can carry out dynamic management, be conducive to following new cloud platform adapter function access like this, do not affect the running of whole isolation drive system.The service of GIS and the business of calculating are deeply wherein, carry out deep structure binding, this system is made also to be well positioned to meet in current GIS sector application, each client Yun Pingtai constantly updates situation about mixing, and the situation of the mutation cloud platform simultaneously run in actual applications also can well be met.
2. resource management layer of the present invention does not rely on the business operation flow process of specific cloud platform, the ALARA Principle objects such as all GIS calculating, GIS storage, network and GIS computing application all exist with resource object form, define unique management system flow process of a set of resource classification-resource subscription-resource delivery-resource delivery, meet GIS industry and the business need of binding is customized to GIS and cloud depth degree.
Accompanying drawing explanation
Accompanying drawing 1 is system construction drawing of the present invention.
Accompanying drawing 2 is workflows of isomery cloud separator of the present invention.
Embodiment
Below by embodiment, and by reference to the accompanying drawings, technical scheme of the present invention is described in further detail.
Embodiment:
As shown in Figure 1, a kind of isomery cloud shielding system calculated for GIS service in cloud, comprising:
Basis cloud podium level, for ring to should and perform the call request of isomery cloud separator;
Isomery cloud separator, the access interface for all kinds of cloud platforms supported by basic cloud podium level is abstract in can the general-purpose interface of unified call, and carries out balance dispatching and Distributed Calculation according to the computing capability of each cloud platform nodes of basic cloud podium level;
Service and computation layer, the general-purpose interface provided for utilizing isomery separator provides cloud service for user.
Isomery cloud separator comprises: isomery cloud platform negotiation module, Distributed Calculation module, load balancing proxy module, service preparation module, operation management module.
Wherein: service is sent to isomery cloud platform negotiation module with the call request of computation layer, isomery cloud platform negotiation module determines whether to need to carry out Distributed Calculation according to the information on services that call request comprises, call distribution calculation module when needs Distributed Calculation, otherwise directly task is sent to load balancing proxy module;
After Distributed Calculation module receives the call request of isomery cloud platform negotiation module, according to mission bit stream included in call request, division of tasks is become multiple parallel task, then call load balancing proxy module and parallel task is sent to the concrete cloud platform of basic cloud podium level.
Load balancing proxy module receives the call request of other module, and task scheduling and granted access are carried out in the load according to the GIS calculation services container of basic cloud podium level.
Service preparation module call infrastructure cloud platform separator with realize isomery infrastructure cloud to calculate bag storage, dispose deliver call;
Operation management module is arranged according to service and the cloud platform of demand to basic cloud podium level of computation layer, obtains and feeds back the monitor data of cloud platform to service and computation layer.
After adopting said structure, isomery cloud separator adopts adapter design pattern to be that each different cloud platform defines unified adapter programming model, this model uses the mode mapped, avoid each cloud platform adapter to go to process concrete API request, each adapter is dynamically loaded in separator with the form of service plug, for extending space has been stopped in the access of new cloud platform api adapter, whole isolation drive layer can join GIS application system as independent programmable module, from bottom for the access of GIS application system cloud provides across cloud platform, to adapt to changeable GIS business demand scene.This comprises the various functions that the GIS system needs that clearly indicate in figure and isomery infrastructure cloud are come into contacts with, include but not limited to backstage isomery infrastructure cloud platform automatic load controls, distributed computing resource controls, O&M and monitoring control, automatic telescopic and HA control, after employing isomery GIS cloud separator, these are all with the logic of GIS, just make GIS more can actual motion in isomery cloud.The operation of these keys will all be controlled by unified WebUI, makes mutual simpler.
Fig. 2 is the main handling process of isomery cloud separator, and the main working process of this layer is as follows: first a GIS calculation services resource entity all needs the software configuring a set of GIS isomery cloud separator.First the core of this software performs automation with isomery cloud platform GIS negotiator 1 and prepares GIS service module 2.Preparing in GIS service module 2 in automation can correlation function in Automatically invoked infrastructure cloud platform isolation drive, realize isomery infrastructure cloud to calculate bag storage, dispose calling of delivering.The automation realizing service entities loads.This GIS entity calculation services no also needs support Distributed Calculation, can automatically dispose in isomery cloud platform Distributed Calculation agency 3.After judging flow process first, can automation load balancing agent functionality 4 is provided, the load balancing agency that load balancing agent functionality 4 provides the container of all GIS calculation services in cloud platform and access 7 with devolution function together with solve the problem of mandate.Make in conjunction with these modules, while the entity virtual machine container of the GIS calculation services in cloud is effectively isolated, additionally provide the necessary functions of cloud GIS service such as unified access, load balancing
In the present embodiment, service and computation layer comprise: application memory module, application production module.Wherein:
Application memory module is applicable to already present application on cloud platform, creates detailed record data and forms database, and possess the Version Control for application for each application.And the container in cloud is once bootstrapping, can be based on isomery cloud platform by application memory module, realize virtual disk encapsulation work by system script, and unified Web interface and the server-side application of far call interface will be provided.
GIS applies producers and uses browser to login server by Web page, uses WebUI Systematic selection virtualized server type, OS Type, application program; These are selected be sent to script generator with the form of order and generate custom script; By propelling movement mode, software source to be pushed in magnetic disk of virtual machine according to script designated software source by pusher.Finally by wrapper, the virtual disk unitizing generated is put in storage.
Application production module comprises following assembly:
(1) WebUI, i.e. network interface, for providing unified Web tools interfaces, allow user use the indiscriminate use system of browser.
(2) order generator: be responsible for collecting the demand of user to application, and form order.
(3) script generator: the custom script ground that the responsible user of collection generates, to your list, according to order generating system installation script, application installation script, relies on installation script.
(4) equipment manager: be in charge of virtualized server and virtual machine, energy resource system and the network equipment also can be included in the range of management of equipment manager by long-term goal.The choosing that virtualized server aspect is mainly used in managing virtual kind then with the empty virtual machine of establishment; The configuration of the main managing virtual machines in virtual machine aspect and running status; The power supply that physical server and virtual server are responsible in energy resource system aspect uses; The use of physical switches and OVS equipment is in charge of in network equipment aspect.
(5) pusher: main management equipment mark and asset management.MAC Address and the IP address corresponding relation of virtual machine and physical machine are in charge of in equipment sign aspect, and the allocation manager of host name and domain name; The specific configuration information management of virtual machine and physical machine is responsible in asset management aspect.
(6) wrapper: be made up of system script, converts the various application forms of isomery GIS isolation platform support to by the definitive document of various different virtual disk for automation.Comprise the functions such as format conversion, compressing file, file encryption.
After adopting said structure, GIS application is issued and operation, using the application shop in cloud platform portal system as main entrance in management.It issues by the Web page in cloud shop the service application information existed, and represents the details of each application with the form of the page; What provide the production interface of self-defined application and off-line to apply uploads entrance; The administration interface of application is provided.Application is supplied to the operational system of backstage isomery cloud GIS separator with the form of interface interchange simultaneously.Also to the directoryof of all shops, front end ownership resource, front end user access and store keep's resource can be convenient to simultaneously.
When reality uses, in cloud GIS, have the commodity of multiple kind to need to customize, and cloud application store system must carry out the exploitation of these commodity targetedly.Cloud GIS commodity comprise:
(1) GIS service class application
By Distributed Calculation, the application of common GIS data, GIS analytical applications.Application is become by the standard packaging of cloud GIS isomery separator.The carrier of application is the software assembly by specific integration, is jointly made up of compressed package, pre-configured software kit, virtual disk three kinds of modes.Wherein comprise operating system nucleus, dynamic dependency storehouse, middleware, GIS application.Application is only installed the various software assemblys do not configured, and does not comprise initialization and individual cultivation.
Various configuration information is generated by the Configuration Manager in operational system, and designed according to individual demand oneself by user, create before example choosing application by application shop, also finally form example by the process generated with the mode given instance of installation script.
(2) architecture class application
By application software higher for industry frequency of utilization, become application by the standard packaging of cloud GIS isomery separator.The carrier of application is virtual disk files, wherein comprises operating system, running environment, dependence assembly.Application in virtual disk is only installed the various software assemblys do not configured, and does not comprise initialization and individual cultivation.
Various configuration information is generated by the Configuration Manager in operational system, and designed according to individual demand oneself by user, when being chosen application establishment example by application shop just with the mode injected and case combination.
Architecture application comprises with Types Below: class database, middleware class, load equalizer class.
(3) profession service class application
By the sector application such as territory, mapping, become application by the standard packaging of cloud GIS isomery separator.The carrier of application is virtual disk files, wherein comprises operating system, running environment, middleware, sector application.Application in virtual disk is only installed the various software assemblys do not configured, and does not comprise initialization and individual cultivation.
Various configuration information is generated by the Configuration Manager in operational system, and designed according to individual demand oneself by user, when being chosen application establishment example by application shop just with the mode injected and case combination.
By foregoing description, known, the present invention has the following advantages:
1. the present invention does not rely on specific cloud platform, possess across cloud platform identity, all cloud platform api interface adapters are all exist with the form of plug-in unit, can carry out dynamic management, be conducive to following new cloud platform adapter function access like this, do not affect the running of whole isolation drive system.。The service of GIS and the business of calculating are deeply wherein, carry out deep structure binding, this system is like this made also to be well positioned to meet in current GIS sector application, situation about mixing constantly updated by each client Yun Shidai cloud platform, simultaneously and the situation of the mutation cloud platform run in actual applications also can well be met.
2. resource management layer of the present invention does not rely on the business operation flow process of specific cloud platform, the ALARA Principle objects such as all GIS calculating, GIS storage, network and GIS computing application all exist with resource object form, define unique management system flow process of a set of resource classification-resource subscription-resource delivery-resource delivery, meet GIS industry and the business need of binding is customized to GIS and cloud depth degree.
Specific embodiment described herein is only to the explanation for example of the present invention's spirit.Those skilled in the art can make various amendment or supplement or adopt similar mode to substitute to described specific embodiment, but can't depart from spirit of the present invention or surmount the scope that appended claims defines.