CN103546571A - Platform-as-a-service (PaaS) realizing method and device - Google Patents

Platform-as-a-service (PaaS) realizing method and device Download PDF

Info

Publication number
CN103546571A
CN103546571A CN201310522856.0A CN201310522856A CN103546571A CN 103546571 A CN103546571 A CN 103546571A CN 201310522856 A CN201310522856 A CN 201310522856A CN 103546571 A CN103546571 A CN 103546571A
Authority
CN
China
Prior art keywords
database
service
paas
pond
module
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.)
Granted
Application number
CN201310522856.0A
Other languages
Chinese (zh)
Other versions
CN103546571B (en
Inventor
张志武
郑驰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Teamsun Technology Co Ltd
Original Assignee
Beijing Teamsun Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Teamsun Technology Co Ltd filed Critical Beijing Teamsun Technology Co Ltd
Priority to CN201310522856.0A priority Critical patent/CN103546571B/en
Publication of CN103546571A publication Critical patent/CN103546571A/en
Application granted granted Critical
Publication of CN103546571B publication Critical patent/CN103546571B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a platform-as-a-service (PaaS) realizing method and device. The PaaS realizing method comprises the steps that a pool service processor of a database PaaS service processing engine obtains a user service request through an external database service interface; the pool service processor generates processing tasks according to the user service request, and the processing tasks are distributed to a resource pool dispatch module of a database PaaS processor; the resource pool dispatch module dispatches each database connection pool according to the obtained processing tasks and generates a processing result; the pool service processor obtains the processing result and returns the processing result to the database service interface. According to the PaaS realizing method and device, a plurality of relational database products, database living examples and the like are arranged as a database resource pool, the database resource pool serves as the platform, so that the database resource pool has various characteristics of a PaaS platform, such as multi-tenant, resource sharing, network access and resource elastic expansion.

Description

A kind of platform is service implementing method and device
Technical field
The present invention relates to computer information technology field, be specifically related to PaaS platform service field, relate in particular to a kind of platform and serve (PaaS) implementation method and device.
Background technology
Along with the develop rapidly of computer information technology, the deep application of cloud computing technology and theory, the availability that cloud computing is served in realization is, the advantage of the aspects such as extensibility of disposal ability is increasing.Cloud computing (Cloud Computing) is the product that the traditional computers such as Distributed Calculation (Distributed Computing), parallel computation (Parallel Computing), effectiveness calculating (Utility Computing), the network storage (Network Storage Technologies), virtual (Virtualization), load balancing (Load Balance) and network technical development merge.It provides a brand-new the Internet commerce services model, user can by network with as required, the mode of easily expansion rents required service.
PaaS(Platform as a Service, platform serves) be a kind of software architecture and business model, it is brought sealing originally, application independent of one another, that also dispersion is disposed on a platform into, and provide the lease service of on-demand by this platform for user, allow user can according to oneself need independent assortment, the various application services of layout, and open immediately these through layouts and be applicable to the application service of own demand by network.PaaS application can be accessed by traditional desktop computer, also can access by other-end, as mobile phone.PaaS is not limited to public service and the application on the Internet, it can be deployed in enterprises equally, form the PaaS environment of enterprises, allow the mode layout of each branch of enterprises by PaaS open the application that is applicable to oneself, and without carrying out independent deployment in each branch.
In existing PaaS platform, generally that the runtime environment of software is externally provided as service, or the development environment of software is externally provided as service, but also relate to, database is not configured to database resource pond, and the technology using this database resource pond as PaaS platform service.
Summary of the invention
In view of this, it is service implementing method and device that the embodiment of the present invention provides a kind of platform, solves the technical problem that above background technology is partly mentioned.
First aspect, it is service implementing method that the embodiment of the present invention provides a kind of platform, described method comprises:
The pond service processor of database PaaS service processing engine obtains user's service request by external database service interface;
Described pond service processor produces Processing tasks according to described user's service request, described Processing tasks is distributed to the resource pool scheduler module of described database PaaS processor;
Described resource pool scheduler module is dispatched each database connection pool according to the described Processing tasks getting, and produce result, wherein, database connection pool is according to the example information architecture of each database instance and/or database instance cluster, database instance is according to database product configuration, and database product, database instance and/or database instance cluster are stored in database resource pond;
Described pond service processor obtains described result, and to user, returns to result by described database service interface.
Further, described method also comprises: the database product administration module of described database PaaS processor is managed registration, renewal and the deletion of described database product; The database instance administration module of described database PaaS processor is registered, issues, stops using and reclaim described database instance; The database instance cluster management module of described database PaaS processor is registered, issues, stops using and reclaim described database instance cluster; The authority management module of described database PaaS processor carries out rights management according to user's grade to the scheduling of described database connection pool.
Further, also comprise: the database instance administration module of described database PaaS processor, according to the setting feature of database product in database resource pond, carries out parameter configuration for described database product automatically, form database instance.
Further, described method also comprises: the pond of described database PaaS service processing engine is served factory and provided issue, establishment, modification and deletion action to the database table in database product, database instance and/or database instance cluster.
Further, described pond is served factory and is provided issue to the database table in database product, database instance and/or database instance cluster, comprise: the service that factory is served in pond to be provided the database table in database product, database instance and/or database instance cluster defines, and the service of definition is encapsulated, by external database service interface, be distributed to user.
Further, the service of described encapsulation comprises web services, Java API or Restful API.
Further, described pond service processor produces Processing tasks according to described user's service request, and the resource pool scheduler module of described Processing tasks being distributed to described database PaaS processor specifically comprises: the server of described pond service processor is monitored module and received user's service request; The server module of described pond service processor is resolved described user's service request according to COS, and serves from described pond the service definition that obtains described user's service request factory; The requirement analysis module of described pond service processor produces Processing tasks according to described service definition, and the server request analysis module of described pond service processor is distributed to described Processing tasks the resource pool scheduler module of described database PaaS processor.
Further, described pond service processor obtains described result, and by described database service interface, to user, return to result and specifically comprise: the result set package module of described pond service processor obtains described result, by described result group encapsulates; The result set package module of described pond service processor returns to result by described database service interface to user.
Second aspect, the embodiment of the present invention also provides a kind of platform to serve implement device, described device comprises that database resource pond, database PaaS processor and database PaaS service processing engine and pond serve factory, described database PaaS service processing engine comprises pond service processor, described database PaaS processor comprises resource pool scheduler module, database instance administration module and database instance cluster management module, wherein:
Described database resource pond, for stored data base product, database instance and/or database instance cluster, wherein, database instance is to configure according to database product;
Described pond service processor, for obtaining user's service request by external database service interface, according to described user's service request, produce Processing tasks, described Processing tasks is distributed to the resource pool scheduler module of described database PaaS processor, and obtain result, by described database service interface, to user, return to result;
Described resource pool scheduler module, for dispatching each database connection pool according to the described Processing tasks getting, and produces result;
Described database instance administration module, for according to the database connection pool of the example information architecture database instance of each database instance, and offers described resource pool scheduler module by described database connection pool and carries out dispatching management;
Described database instance cluster management module, for according to the database connection pool of the example information architecture database instance cluster of each database instance cluster, and offers described resource pool scheduler module by described database connection pool and carries out dispatching management;
Factory is served in described pond, for providing issue, establishment, modification and deletion action to the database table of database product, database instance and/or database instance cluster.
Further, the database PaaS processor that described platform serves implement device also comprises database product administration module and authority management module; Wherein, described database product administration module, for managing registration, renewal and the deletion of described database product; The database instance administration module of described database PaaS processor, also for registering described database instance, issue, stop using and reclaiming; The database instance cluster management module of described database PaaS processor, also for registering described database instance cluster, issue, stop using and reclaiming; Described authority management module, for carrying out rights management according to user's grade to the scheduling of database connection pool.
Further, the database instance administration module of described database PaaS processor, also, for according to the setting feature of database resource pond database product, carries out parameter configuration for described database product automatically, forms database instance.
Further, factory is served in the pond of described database PaaS service processing engine, also for providing issue, establishment, modification and deletion action to the database table of database product, database instance and/or database instance cluster.
Further, the service that factory is served in pond to be provided specifically for the database table in database product, database instance and/or database instance cluster defines, and the service of definition is encapsulated, by external database service interface, be distributed to user.
Further, described pond service processor comprises service monitor module, request analyser module, result set package module and service monitoring module; Wherein, described server is monitored module, for receiving user's service request; Described request analyzer module, for according to COS, described user's service request being resolved, and serves in pond the service definition that obtains described user's service request in factory; Described result set package module, resolves encapsulation for resource pool scheduler module is processed to the result of returning according to service request information, service definition, and returns to user; Described service monitoring module, for the whole life cycle of monitor service request, comprises and asks the time of advent, request content, requestor, request service title, request service type and the monitoring of response time.
Further, the log-on message of described database instance comprises following at least one: manufacturer, database instance default service grade, database product version, Java database link driver package, the default port of database instance and the acquiescence of database instance coding under database product; Described database instance information comprises following at least one: dynamic retractility and dynamic retractility threshold values are encoded, whether supported to database instance title, the corresponding database product of database instance, the database instance grade of service, the maximum number of concurrent that allows access mode, access username, access code, database link mode, support, database acquiescence.
Further, database instance registering unit in described database instance administration module, applies for that by user interface receives log-on message or examines interface reception log-on message or the log-on message according to storehouse example according to platform operation management person's deployment automatically generating by keeper.
The present invention is by being deployed as a database resource pond a plurality of relevant database products and database instance thereof etc., the drawback of solve existing database repeated construction, disperseing construction, the present invention simultaneously also uses database resource pond as platform service, make database resource pond possess the various characteristics of PaaS platform, as many tenants, resource-sharing, access to netwoks, resource resilient expansion etc.
Accompanying drawing explanation
Fig. 1 is the flow chart that platform in first embodiment of the invention serves PaaS implementation method.
Fig. 2 is the flow chart that platform in second embodiment of the invention serves PaaS implementation method.
Fig. 3 A is the structure chart that platform in third embodiment of the invention serves PaaS implement device.
Fig. 3 B is that described pond service processor in third embodiment of the invention produces Processing tasks according to described user's service request, described Processing tasks is distributed to the flow chart of concrete steps of the resource pool scheduler module of described database PaaS processor.
Fig. 3 C is that the described pond service processor in third embodiment of the invention obtains described result, and to user, returns to the flow chart of the concrete steps of result by described database service interface.
Fig. 4 A is the structure chart that platform in fourth embodiment of the invention serves PaaS implement device.
Fig. 4 B is the system architecture schematic diagram of fourth embodiment of the invention.
Embodiment
Below in conjunction with drawings and Examples, the present invention is described in further detail.Be understandable that, specific embodiment described herein is only for explaining the present invention, but not limitation of the invention.It also should be noted that, for convenience of description, in accompanying drawing, only show part related to the present invention but not entire infrastructure.
Figure 1 illustrates the first embodiment of the present invention.The embodiment of the present invention is applicable to a kind of platform service, be PaaS platform, this platform is configured to database resource pond by database, and using it as PaaS platform service, make database resource pond possess the characteristic of PaaS, such as many tenants, resource-sharing, access to netwoks and resource resilient expansion etc.
Fig. 1 is the flow chart that platform in first embodiment of the invention serves PaaS implementation method, this realization flow 100 can be served by platform (PaaS) implement device and carry out, this device can be realized by software and/or hardware, controls the implementation procedure that platform serves PaaS.Details are as follows for the method:
In step 101, the pond service processor of database PaaS service processing engine obtains user's service request by external database service interface.
In the present embodiment, during user's service request PaaS platform of outside, the service monitor of the pond service processor of database PaaS service processing engine will receive request, and this request can be web services, API Calls etc.Database PaaS service processing engine comprises that pond serves factory, pond processor, wherein the establishment center that factory is the service of PaaS platform database is served in pond, comprise the various operations of database maintenance, the data manipulation of database table, database or storehouse table handling customization operations etc. are issued as service, the form of service can be the service interface of web service, api interface, various other agreements; Pond processor for when operation platform the processing center of data, services is externally provided, comprise that service monitors module, request analysis module, data result collection package module and service monitoring module.
In step 102, described pond service processor produces Processing tasks according to described user's service request, described Processing tasks is distributed to the resource pool scheduler module of described database PaaS processor.
In the present embodiment, the server of described pond service processor is monitored module monitoring users, when listening to user's service request, receive user's service request, and produce Processing tasks according to this user's service request, and the Processing tasks of generation is sent to the resource pool scheduler module of database PaaS processor.Wherein, described Processing tasks is that the requirement analysis module of described pond service processor is resolved and produced described user's service request according to COS.The requirement analysis module of described pond service processor also serves from sent pond the service definition that obtains described user's service request factory.Described in this, service definition is also sent to database PaaS processor in the lump with Processing tasks.
In step 103, described resource pool scheduler module is dispatched each database connection pool according to the described Processing tasks getting, and produce result, wherein, database connection pool is according to the example information architecture of each database instance and/or database instance cluster, database instance is according to database product configuration, and database product, database instance and/or database instance cluster are stored in database resource pond.
In the present embodiment, resource pool scheduler module, by dispatching each database connection pool according to the Processing tasks getting, is done load balancing, and data processing response speed is provided.Resource pool scheduler module, according to the running state data of database instance in the grade of service of requested database instance name, database instance and resource pool, calculates optimum database instance and carries out data manipulation processing.Certain database instance in database connection pool or data-base cluster example are processed performing database SQL, and by result feedback to database PaaS processor.Wherein database connection pool is according to the example information architecture of each database instance and/or database instance cluster, comprises each database instance and/or database instance cluster are registered, issue, stopped using and reclaim.
In resource pool running state monitoring database resource pond, the scanning of the running status of all database instances, as performance index such as cpu usage, internal memory service condition, request answer speed, disk I/O, is the basis that resource pool carries out database instance scheduling.
In step 104, described pond service processor obtains described result, and to user, returns to result by described database service interface.
In the present embodiment, described database PaaS processor receives the result in database resource pond, and this result is fed back to database PaaS service-Engine, in described database PaaS service-Engine, the result set package module of pond service processor encapsulates conversion according to COS by this result, and transformation result is fed back to user by database service interface.Wherein, database service interface comprises the service interface of web service, api interface, various other agreements.
First embodiment of the invention is used data resource pond as platform, make database resource pond possess the various characteristics of PaaS platform, as many tenants, resource-sharing, access to netwoks, resource resilient expansion etc.
Figure 2 illustrates the second embodiment of the present invention.
Fig. 2 is the flow chart that platform in second embodiment of the invention serves PaaS implementation method.The present embodiment is on the basis of the various embodiments described above, and the embodiment of the present invention is further comprising the steps of:
In step 201, the database product administration module of described database PaaS processor is managed registration, renewal and the deletion of described database product.
In the present embodiment, the database product administration module of database PaaS processor is registered database product that can pond in database resource pond, log-on message comprises database manufacturer, database instance default service grade (each database manufacturer, the database instance that is its structure according to its Market Feedback situation is preset a grade of service), database product version, database JDBC driver package, the default port of database instance, the configuration informations such as the acquiescence coding of database instance are safeguarded, provide simultaneously database product is upgraded, the operations such as deletion.
In step 202, the database instance administration module of described database PaaS processor is registered, issues, stops using and reclaim described database instance.
In the present embodiment, the management that the database instance administration module of described database PaaS processor is realized database comprises registration, issue, stops using and reclaims, and database instance is the Installation Example of database product, is the component in database resource pond.Database instance can manually be disposed, then through database instance administration module, be registered to database PaaS platform, database instance information comprises instance name, the corresponding database product of database instance, the example grade of service, access mode (account mode, certificate), access username, access code, database link mode (whether SSL), maximum number of concurrent, the database acquiescence coding supported, whether supports the information such as dynamic retractility, dynamic retractility threshold values.After this example of issue, instance management module will build the database connection pool of this database instance according to instance configuration information, will transfer to resource pool scheduler module to carry out dispatching management simultaneously.
In step 203, the database instance cluster management module of described database PaaS processor is registered, issues, stops using and reclaim described database instance.
In the present embodiment, the same with above-mentioned steps 202.
In step 204, described each database connection pool of the resource pool scheduler module of described database PaaS processor scheduling.
In the present embodiment, resource pool scheduler module, by dispatching each database connection pool according to the Processing tasks getting, is done load balancing, and data processing response speed is provided.Resource pool scheduler module, according to the running state data of database instance in the grade of service of requested database instance name, database instance and resource pool, calculates optimum database instance and carries out data manipulation processing.
In step 205, the authority management module of described database PaaS processor carries out rights management according to user's grade to the scheduling of described database connection pool.
In the present embodiment, the Service Privileges management of resource pool database instance, role, user management, empowerment management, user gradation etc., the effect of user gradation is when miscellaneous service arrives the large scale database request of same database instance title, can, according to the user gradation processing of ranking, so just can preferentially guarantee the data response of key client or core business application.
Step in second embodiment of the invention and above-described embodiment limits without necessary timing.Compare with above-described embodiment, the embodiment of the present invention is deployed as a database resource pond by a plurality of relevant database products and database instance thereof etc., the drawback of solve existing database repeated construction, disperseing construction.
On the basis of above-described embodiment, the database instance administration module of described database PaaS processor, according to the setting feature of database product in database resource pond, carries out parameter configuration for described database product automatically, forms database instance.
Figure 3 illustrates the third embodiment of the present invention.
Fig. 3 A is the flow chart that platform in third embodiment of the invention serves PaaS implementation method.Fig. 3 B is that the described pond service processor in third embodiment of the invention produces Processing tasks according to described user's service request, described Processing tasks is distributed to the flow chart of concrete steps of the resource pool scheduler module of described database PaaS processor, Fig. 3 C is that the described pond service processor in third embodiment of the invention obtains described result, and to user, returns to the flow chart of the concrete steps of result by described database service interface.The present embodiment is on the basis of the various embodiments described above, and the embodiment of the present invention is further comprising the steps of:
In step 301, the pond of described database PaaS service processing engine is served factory and is provided issue, establishment, modification and deletion action to the database table in database product, database instance and/or database instance cluster.
In the present embodiment, the service that factory is served in pond to be provided the database table in database product, database instance and/or database instance cluster defines, and the service of definition is encapsulated, and by external database service interface, is distributed to user.Wherein the form of the service of definition can be the service interface of web service, api interface, various other agreements.The service of wherein said encapsulation comprises web services, Java API or Restful API.
Pond is served factory the data manipulation of the various operations of database maintenance, database table, database or storehouse table handling customization operations etc. is issued as to service, the additions and deletions of database table are changed and automatically support externally to provide for serving by operations such as major key inquiries, and for the complicated SQL query of database, need user that the service encapsulates list of types of this SQL query, needs is provided, there is service definition module to remove to resolve this SQL, if legal, transfer to service encapsulates module SQL to be encapsulated as to the service that can directly use according to selected service encapsulates list of types.
Step in third embodiment of the invention and above-described embodiment limits without necessary timing.Compare with above-described embodiment, the embodiment of the present invention provides issue, establishment, modification and deletion action encapsulation to be defined as service the database table in database product, database instance and/or database instance cluster and externally provides, can make user directly by database service interface, send service request to database PaaS service processing engine, read quickly and easily user's service request.
On the basis of such scheme, as shown in Figure 3 B, described pond service processor produces Processing tasks according to described user's service request, and the resource pool scheduler module of described Processing tasks being distributed to described database PaaS processor specifically comprises:
The server of described pond service processor is monitored module and is received user's service request.
In the present embodiment, the server of described pond service processor is monitored the request of module monitoring users, when listening to user and have service request, receives user's service request.
The server module of described pond service processor is resolved described user's service request according to COS, and serves from described pond the service definition that obtains described user's service request factory.
In the present embodiment, the request analysis module parses user service request of pond service processor, and to pond, serve the corresponding service definition of inquiry service in factory according to the information such as service name in request results.
The requirement analysis module of described pond service processor produces Processing tasks according to described service definition, and the server request analysis module of described pond service processor is distributed to described Processing tasks the resource pool scheduler module of described database PaaS processor.
In the present embodiment, the request analysis module parses user service request of pond service processor, and to pond, serve the corresponding service definition of inquiry service in factory according to the information such as service name in request results, pond service processor sends to database PaaS processor together by service definition, service request information.Database PaaS processor receives after request, transfers to resource pool scheduler module to carry out dispatch deal.
On the basis of such scheme, as shown in Figure 3 C, described pond service processor obtains described result, and by described database service interface, to user, returns to result and specifically comprise:
The result set package module of described pond service processor obtains described result, by described result group encapsulates.
In the present embodiment, database PaaS processor receives after the result of database resource pond, and its result set package module is by described result group encapsulates.
The result set package module of described pond service processor returns to result by described database service interface to user.
In the present embodiment, database PaaS processor feeds back to PaaS pond service-Engine by the result collection after encapsulation.PaaS pond service-Engine receives after the data acquisition system of database PaaS processor, gives data set encapsulation and carries out data acquisition system and encapsulate conversion according to COS, and transformation result is fed back to service request.
Figure 4 illustrates the fourth embodiment of the present invention.
Fig. 4 A is the structure chart that platform in fourth embodiment of the invention serves PaaS implement device.Fig. 4 B is the system architecture schematic diagram of fourth embodiment of the invention.The device of the present embodiment is all applicable to above-described embodiment.As shown in Figure 4 A, this device comprises database resource pond 401, database PaaS processor 402 and database PaaS service processing engine 403, described database PaaS service processing engine 403 comprises that pond service processor 4031 and pond serve factory 4032, and described database PaaS processor 402 comprises resource pool scheduler module 4021, database instance administration module 4022 and database instance cluster management module 4023.
Wherein, described database resource pond 401, for stored data base product, database instance and/or database instance cluster, wherein, database instance is to configure according to database product.
Described resource pool scheduler module 4021, for dispatching each database connection pool according to the described Processing tasks getting, and produces result.
Described database instance administration module 4022, for according to the database connection pool of the example information architecture database instance of each database instance, and offers described resource pool scheduler module by described database connection pool and carries out dispatching management.
Described database instance cluster management module 4023, for according to the database connection pool of the example information architecture database instance cluster of each database instance cluster, and offers described resource pool scheduler module by described database connection pool and carries out dispatching management.
Described pond service processor 4031, for obtaining user's service request by external database service interface, according to described user's service request, produce Processing tasks, described Processing tasks is distributed to the resource pool scheduler module of described database PaaS processor, and obtain result, by described database service interface, to user, return to result.
Factory 4032 is served in described pond, for providing issue, establishment, modification and deletion action to the database table of database product, database instance and/or database instance cluster.
Fourth embodiment of the invention is used data resource pond as platform, make database resource pond possess the various characteristics of PaaS platform, as many tenants, resource-sharing, access to netwoks, resource resilient expansion etc.
In the present embodiment, described database PaaS processor also comprises database product administration module 4024 and authority management module 4025.Wherein, described database product administration module 4024, for managing registration, renewal and the deletion of described database product.Described authority management module 4025, for carrying out rights management according to user's grade to the scheduling of database connection pool.
In such scheme, the database instance administration module of described database PaaS processor, also, for according to the setting feature of database resource pond database product, carries out parameter configuration for described database product automatically, forms database instance.
In such scheme, the service that factory is served in pond to be provided specifically for the database table in database product, database instance and/or database instance cluster defines, and the service of definition is encapsulated, by external database service interface, be distributed to user.
In the present embodiment, described pond service processor comprises service monitor module, request analyser module, result set package module and service monitoring module; Wherein, described server is monitored module, for receiving user's service request; Described request analyzer module, for according to COS, described user's service request being resolved, and serves in pond the service definition that obtains described user's service request in factory; Described result set package module, resolves encapsulation for resource pool scheduler module is processed to the result of returning according to service request information, service definition, and returns to user; Described service monitoring module, for the whole life cycle of monitor service request, comprises and asks the time of advent, request content, requestor, request service title, request service type and the monitoring of response time.
On the basis of such scheme, the log-on message of described database instance comprises following at least one: manufacturer, database instance default service grade, database product version, Java database link driver package, the default port of database instance and the acquiescence of database instance coding under database product;
Described database instance information comprises following at least one: dynamic retractility and dynamic retractility threshold values are encoded, whether supported to database instance title, the corresponding database product of database instance, the database instance grade of service, the maximum number of concurrent that allows access mode, access username, access code, database link mode, support, database acquiescence.
On the basis of such scheme, database instance registering unit in described database instance administration module, applies for that by user interface receives log-on message or examines interface reception log-on message or the log-on message according to storehouse example according to platform operation management person's deployment automatically generating by keeper.
Note, above are only preferred embodiment of the present invention and institute's application technology principle.Skilled person in the art will appreciate that and the invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious variations, readjust and substitute and can not depart from protection scope of the present invention.Therefore, although the present invention is described in further detail by above embodiment, the present invention is not limited only to above embodiment, in the situation that not departing from the present invention's design, can also comprise more other equivalent embodiment, and scope of the present invention is determined by appended claim scope.

Claims (16)

1. platform serves a PaaS implementation method, it is characterized in that, described method comprises:
The pond service processor of database PaaS service processing engine obtains user's service request by external database service interface;
Described pond service processor produces Processing tasks according to described user's service request, described Processing tasks is distributed to the resource pool scheduler module of described database PaaS processor;
Described resource pool scheduler module is dispatched each database connection pool according to the described Processing tasks getting, and produce result, wherein, database connection pool is according to the example information architecture of each database instance and/or database instance cluster, database instance is according to database product configuration, and database product, database instance and/or database instance cluster are stored in database resource pond;
Described pond service processor obtains described result, and to user, returns to result by described database service interface.
2. implementation method according to claim 1, is characterized in that, described method also comprises:
The database product administration module of described database PaaS processor is managed registration, renewal and the deletion of described database product;
The database instance administration module of described database PaaS processor is registered, issues, stops using and reclaim described database instance;
The database instance cluster management module of described database PaaS processor is registered, issues, stops using and reclaim described database instance;
Described each database connection pool of resource pool scheduler module scheduling of described database PaaS processor;
The authority management module of described database PaaS processor carries out rights management according to user's grade to the scheduling of described database connection pool.
3. implementation method according to claim 2, is characterized in that, also comprises:
The database instance administration module of described database PaaS processor, according to the setting feature of database product in database resource pond, carries out parameter configuration for described database product automatically, forms database instance.
4. implementation method according to claim 1, is characterized in that, described method also comprises:
The pond of described database PaaS service processing engine is served factory and is provided issue, establishment, modification and deletion action to the database table in database product, database instance and/or database instance cluster.
5. implementation method according to claim 4, is characterized in that, described pond is served factory and provided issue to the database table in database product, database instance and/or database instance cluster, comprising:
The service that factory is served in pond to be provided the database table in database product, database instance and/or database instance cluster defines, and the service of definition is encapsulated, and by external database service interface, is distributed to user.
6. implementation method according to claim 5, is characterized in that, the service of described encapsulation comprises web services, Java API or Restful API.
7. implementation method according to claim 4, is characterized in that, described pond service processor produces Processing tasks according to described user's service request, and the resource pool scheduler module of described Processing tasks being distributed to described database PaaS processor specifically comprises:
The server of described pond service processor is monitored module and is received user's service request;
The server module of described pond service processor is resolved described user's service request according to COS, and serves from described pond the service definition that obtains described user's service request factory;
The requirement analysis module of described pond service processor produces Processing tasks according to described service definition, and the server request analysis module of described pond service processor is distributed to described Processing tasks the resource pool scheduler module of described database PaaS processor.
8. implementation method according to claim 7, is characterized in that, described pond service processor obtains described result, and by described database service interface, to user, returns to result and specifically comprise:
The result set package module of described pond service processor obtains described result, by described result group encapsulates;
The result set package module of described pond service processor returns to result by described database service interface to user.
9. a platform serves PaaS implement device, it is characterized in that, described device comprises database resource pond, database PaaS processor and database PaaS service processing engine, described database PaaS service processing engine comprises that pond service processor and pond serve factory, described database PaaS processor comprises resource pool scheduler module, database instance administration module and database instance cluster management module, wherein:
Described database resource pond, for stored data base product, database instance and/or database instance cluster, wherein, database instance is to configure according to database product;
Described pond service processor, for obtaining user's service request by external database service interface, according to described user's service request, produce Processing tasks, described Processing tasks is distributed to the resource pool scheduler module of described database PaaS processor, and obtain result, by described database service interface, to user, return to result;
Described resource pool scheduler module, for dispatching each database connection pool according to the described Processing tasks getting, and produces result;
Described database instance administration module, for according to the database connection pool of the example information architecture database instance of each database instance, and offers described resource pool scheduler module by described database connection pool and carries out dispatching management;
Described database instance cluster management module, for according to the database connection pool of the example information architecture database instance cluster of each database instance cluster, and offers described resource pool scheduler module by described database connection pool and carries out dispatching management;
Factory is served in described pond, for providing issue, establishment, modification and deletion action to the database table of database product, database instance and/or database instance cluster.
10. implement device according to claim 9, is characterized in that:
Described database PaaS processor also comprises database product administration module and authority management module; Wherein,
Described database product administration module, for managing registration, renewal and the deletion of described database product;
Described authority management module, for carrying out rights management according to user's grade to the scheduling of database connection pool.
11. implement devices according to claim 10, is characterized in that:
The database instance administration module of described database PaaS processor, also, for according to the setting feature of database resource pond database product, carries out parameter configuration for described database product automatically, forms database instance.
12. implement devices according to claim 9, is characterized in that,
Factory is served in the pond of described database PaaS service processing engine, also for providing issue, establishment, modification and deletion action to the database table of database product, database instance and/or database instance cluster.
13. implement devices according to claim 12, it is characterized in that, the service that factory is served in pond to be provided specifically for the database table in database product, database instance and/or database instance cluster defines, and the service of definition is encapsulated, by external database service interface, be distributed to user.
14. implement devices according to claim 13, is characterized in that, described pond service processor comprises service monitor module, request analyser module, result set package module and service monitoring module;
Wherein, described server is monitored module, for receiving user's service request;
Described request analyzer module, for according to COS, described user's service request being resolved, and serves in pond the service definition that obtains described user's service request in factory;
Described result set package module, resolves encapsulation for resource pool scheduler module is processed to the result of returning according to service request information, service definition, and returns to user;
Described service monitoring module, for the whole life cycle of monitor service request, comprises and asks the time of advent, request content, requestor, request service title, request service type and the monitoring of response time.
15. implement devices according to claim 9, is characterized in that:
The log-on message of described database instance comprises following at least one: manufacturer, database instance default service grade, database product version, Java database link driver package, the default port of database instance and the acquiescence of database instance coding under database product;
Described database instance information comprises following at least one: dynamic retractility and dynamic retractility threshold values are encoded, whether supported to database instance title, the corresponding database product of database instance, the database instance grade of service, the maximum number of concurrent that allows access mode, access username, access code, database link mode, support, database acquiescence.
16. implement devices according to claim 10, it is characterized in that, database instance registering unit in described database instance administration module, applies for that by user interface receives log-on message or examines interface reception log-on message or the log-on message according to storehouse example according to platform operation management person's deployment automatically generating by keeper.
CN201310522856.0A 2013-10-29 2013-10-29 Platform-as-a-service (PaaS) realizing method and device Active CN103546571B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310522856.0A CN103546571B (en) 2013-10-29 2013-10-29 Platform-as-a-service (PaaS) realizing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310522856.0A CN103546571B (en) 2013-10-29 2013-10-29 Platform-as-a-service (PaaS) realizing method and device

Publications (2)

Publication Number Publication Date
CN103546571A true CN103546571A (en) 2014-01-29
CN103546571B CN103546571B (en) 2017-02-22

Family

ID=49969610

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310522856.0A Active CN103546571B (en) 2013-10-29 2013-10-29 Platform-as-a-service (PaaS) realizing method and device

Country Status (1)

Country Link
CN (1) CN103546571B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105069108A (en) * 2015-08-07 2015-11-18 新浪网技术(中国)有限公司 Method and device for massive data query based on PaaS (Platform as a Service) system
CN105704154A (en) * 2016-04-01 2016-06-22 金蝶软件(中国)有限公司 RESTful-based service processing method, device and system
CN106027616A (en) * 2016-05-11 2016-10-12 广东浪潮大数据研究有限公司 Connection pool implementing method and system of PaaS (Platform As A Service) platform
CN106230985A (en) * 2016-09-21 2016-12-14 广东工业大学 A kind of based on the big data processing method of Internet of Things, system and service processing end
CN106339386A (en) * 2015-07-08 2017-01-18 阿里巴巴集团控股有限公司 Flexible scheduling method and device for database
CN106815027A (en) * 2017-01-22 2017-06-09 山东鲁能软件技术有限公司 A kind of high resiliency calculating platform for power network multidimensional business composite computing
CN106874343A (en) * 2016-12-24 2017-06-20 上海七牛信息技术有限公司 The data-erasure method and system of a kind of time series database
CN106897947A (en) * 2017-01-04 2017-06-27 上海易谷网络科技有限公司 A kind of multi-tenant service quick deployment method based on cloud platform
CN108964968A (en) * 2018-03-27 2018-12-07 深圳市康拓普信息技术有限公司 Service access management method and system under a kind of container cloud environment
TWI644571B (en) * 2015-03-27 2018-12-11 林勝雄 Method and loading balance distributor for multiple-dispatch strategy
CN109144974A (en) * 2018-07-27 2019-01-04 浪潮软件集团有限公司 Database management system
CN112765243A (en) * 2019-10-21 2021-05-07 千寻位置网络有限公司 Method and system for constructing GNSS algorithm unified operation environment on equipment and cloud
CN113467966A (en) * 2021-05-31 2021-10-01 珠海大横琴科技发展有限公司 Data processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120266156A1 (en) * 2011-04-12 2012-10-18 Vmware, Inc. Release lifecycle management system for a multi-node application
CN102903011A (en) * 2012-09-25 2013-01-30 浙江图讯科技有限公司 Mass data processing system used for safety production cloud service platform facing industrial and mining enterprises
CN102917031A (en) * 2012-09-25 2013-02-06 浙江图讯科技有限公司 Data computing system of safety production cloud service platform for industrial and mining enterprises
CN103067486A (en) * 2012-12-26 2013-04-24 广州杰赛科技股份有限公司 Big-data processing method based on platform-as-a-service (PaaS) platform

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120266156A1 (en) * 2011-04-12 2012-10-18 Vmware, Inc. Release lifecycle management system for a multi-node application
CN102903011A (en) * 2012-09-25 2013-01-30 浙江图讯科技有限公司 Mass data processing system used for safety production cloud service platform facing industrial and mining enterprises
CN102917031A (en) * 2012-09-25 2013-02-06 浙江图讯科技有限公司 Data computing system of safety production cloud service platform for industrial and mining enterprises
CN103067486A (en) * 2012-12-26 2013-04-24 广州杰赛科技股份有限公司 Big-data processing method based on platform-as-a-service (PaaS) platform

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI644571B (en) * 2015-03-27 2018-12-11 林勝雄 Method and loading balance distributor for multiple-dispatch strategy
US10613898B2 (en) 2015-07-08 2020-04-07 Alibaba Group Holding Limited Apparatuses and methods for flexible scheduling in a database system
CN106339386A (en) * 2015-07-08 2017-01-18 阿里巴巴集团控股有限公司 Flexible scheduling method and device for database
CN106339386B (en) * 2015-07-08 2019-12-24 阿里巴巴集团控股有限公司 Database flexible scheduling method and device
CN105069108A (en) * 2015-08-07 2015-11-18 新浪网技术(中国)有限公司 Method and device for massive data query based on PaaS (Platform as a Service) system
CN105069108B (en) * 2015-08-07 2019-05-07 新浪网技术(中国)有限公司 Based on PaaS system big data querying method and device
CN105704154A (en) * 2016-04-01 2016-06-22 金蝶软件(中国)有限公司 RESTful-based service processing method, device and system
CN105704154B (en) * 2016-04-01 2019-11-05 金蝶软件(中国)有限公司 A kind of service processing method based on RESTful, apparatus and system
CN106027616A (en) * 2016-05-11 2016-10-12 广东浪潮大数据研究有限公司 Connection pool implementing method and system of PaaS (Platform As A Service) platform
CN106230985B (en) * 2016-09-21 2017-11-17 广东工业大学 One kind is based on Internet of Things big data processing method, system and service processing end
CN106230985A (en) * 2016-09-21 2016-12-14 广东工业大学 A kind of based on the big data processing method of Internet of Things, system and service processing end
CN106874343A (en) * 2016-12-24 2017-06-20 上海七牛信息技术有限公司 The data-erasure method and system of a kind of time series database
CN106874343B (en) * 2016-12-24 2020-07-14 上海七牛信息技术有限公司 Data deletion method and system for time sequence database
CN106897947A (en) * 2017-01-04 2017-06-27 上海易谷网络科技有限公司 A kind of multi-tenant service quick deployment method based on cloud platform
CN106815027B (en) * 2017-01-22 2020-06-09 山东鲁能软件技术有限公司 High-elasticity computing platform for power grid multi-dimensional service composite computing
CN106815027A (en) * 2017-01-22 2017-06-09 山东鲁能软件技术有限公司 A kind of high resiliency calculating platform for power network multidimensional business composite computing
CN108964968B (en) * 2018-03-27 2022-01-11 南方电网深圳数字电网研究院有限公司 Service access management method and system in container cloud environment
CN108964968A (en) * 2018-03-27 2018-12-07 深圳市康拓普信息技术有限公司 Service access management method and system under a kind of container cloud environment
CN109144974A (en) * 2018-07-27 2019-01-04 浪潮软件集团有限公司 Database management system
CN112765243A (en) * 2019-10-21 2021-05-07 千寻位置网络有限公司 Method and system for constructing GNSS algorithm unified operation environment on equipment and cloud
CN113467966A (en) * 2021-05-31 2021-10-01 珠海大横琴科技发展有限公司 Data processing method and device

Also Published As

Publication number Publication date
CN103546571B (en) 2017-02-22

Similar Documents

Publication Publication Date Title
CN103546571A (en) Platform-as-a-service (PaaS) realizing method and device
CN109643312B (en) Hosted query service
US20140344340A1 (en) Service request processing
CN108234612B (en) Multi-terminal mode high-resolution resource dynamic allocation and on-demand service release system
US20070255843A1 (en) Configuration of clients for multiple computer services
CN105809356A (en) Information system resource management method based on application integrated cloud platform
CN108737176B (en) Data gateway control method, electronic equipment, storage medium and architecture
AU2012337242A1 (en) Systems and methods for dynamic service integration
CN105681115A (en) OnAir all-media cloud platform application method and system
CN117296049A (en) Invoking external table functions
CN102306370A (en) Digital image processing system based on cloud computing
US20220108031A1 (en) Cloud Core Architecture for Managing Data Privacy
CN112199353A (en) Data processing method and electric power customer service platform
CN111310230B (en) Spatial data processing method, device, equipment and medium
CN113794652A (en) Data processing method and device, electronic equipment and storage medium
CN106022727B (en) Enterprise supply chain management method
CN104601378A (en) Virtual resource flexible scheduling implementation method combining application performance indicator monitoring data
US10944814B1 (en) Independent resource scheduling for distributed data processing programs
CN102034170B (en) Service encapsulates method and the integrated system of the business datum based on SOA
CN106412094A (en) A method for organizing and managing scattered resources in a public cloud mode
Akingbesote et al. Performance modeling of proposed guiset middleware for mobile healthcare services in e‐marketplaces
WO2018188607A1 (en) Stream processing method and device
CN103561113B (en) The generation method and device of Web Service interface
CN101834902A (en) Front-end processor system and method for comprehensive management of remote power distribution room
CN111045928A (en) Interface data testing method, device, terminal and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant