CN107888673A - A kind of unified management implementation method suitable for isomery cloud platform - Google Patents

A kind of unified management implementation method suitable for isomery cloud platform Download PDF

Info

Publication number
CN107888673A
CN107888673A CN201711072226.2A CN201711072226A CN107888673A CN 107888673 A CN107888673 A CN 107888673A CN 201711072226 A CN201711072226 A CN 201711072226A CN 107888673 A CN107888673 A CN 107888673A
Authority
CN
China
Prior art keywords
api
parameter
class
function
cloud platform
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.)
Withdrawn
Application number
CN201711072226.2A
Other languages
Chinese (zh)
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.)
G Cloud Technology Co Ltd
Original Assignee
G Cloud 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 G Cloud Technology Co Ltd filed Critical G Cloud Technology Co Ltd
Priority to CN201711072226.2A priority Critical patent/CN107888673A/en
Publication of CN107888673A publication Critical patent/CN107888673A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/22Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention relates to field of cloud computer technology, particularly relates to a kind of unified management implementation method suitable for isomery cloud platform.Method of the present invention is to define the API of unified standard to dock with the management platform of cloud platform;New cloud platform is merged when accessing with card format with API.The inventive method is flexibly simple, and the different skimble-scamble problems of cloud platform API definition specification are avoided by the API definition of unified standard;Scalability is strong, easy to maintain;Unified management available for isomery cloud platform.

Description

A kind of unified management implementation method suitable for isomery cloud platform
Technical field
The present invention relates to field of cloud computer technology, particularly relates to a kind of unified management realization side suitable for isomery cloud platform Method.
Background technology
With the fast development of cloud computing, domestic cloud platform producer is more and more, and client would generally select multiple cloud platforms To run the application of oneself.One side is due to that the service of different cloud platforms has the characteristics of respective, can meet answering for different demands With operation;Another aspect client wishes standby to application progress calamity by different platform.In this case multiple cloud platforms are managed The administration interface that server usually requires to log in each platform offer is managed, and mode of operation disunity and user management are not united One, which result in many enterprises, can all select the product that isomery cloud is managed collectively to solve the problems, such as enterprise internal management.Traditional isomery Cloud management is typically to directly invoke the API of each cloud platform switching platform on administration interface to go to operate, and this mode exists following Drawback:
(1) API format disunity, the API displaying development difficulties that management platform will adapt to various forms are big.
(2) scalability and maintainability are poor, and increasing cloud platform or API change managements platform every time will modify.
The content of the invention
Present invention solves the technical problem that being to provide a kind of unified management implementation method suitable for isomery cloud platform, solve It is certainly insufficient existing for conventional method, a kind of simple and flexible is provided the user, scalability is strong, solution easy to maintain.
The present invention solve above-mentioned technical problem technical scheme be:
Described method is to define the API of unified standard to dock with the management platform of cloud platform;New cloud platform connects It is fashionable to be merged with card format with API.
Described method comprises the following steps:
Step 1:Define API and unify access path and function name parameter;
Step 2:The other specification needed for concrete function is defined, and uses reflex mechanism initialization input parameter class;
Step 3:Class is realized according to what function title and cloud platform type searched the function in internal memory;
Step 4:The SDK or API completion feature operations that cloud platform provides are called in class is realized, and returns to output parameter Class;
Step 5:Formatting Output parameter class simultaneously returns.
Described API unifies access path and refers to that function API all in system uses unified API service path, In http://api.xxx.com/, increase function need to only provide different functional parameter values, without defining new API paths;
Described function name parameter refers to judge that this time request represents what function, Action=by the parameter CreateInstance, which is represented, creates Cloud Server.
Other specification needed for certain described concrete function refers to use Key=Value forms, and Key and value are The parameter that can be transmitted with character string forms;
Described represents that each function can define an input parameter class using reflex mechanism initialization input parameter class, The process of such instantiation is exactly that API input parameter name and parameter value are instantiated into an object by reflex mechanism.
The SDK that described cloud platform provides refers to SDK, and the kit is according to different development languages It is packaged into different calling cloud platform API instrument.
Described Formatting Output parameter class simultaneously returns and refers to being converted to the class object of return into unified form, information system It is typically JSON or XML that the API of system, which returns to form,.
The inventive method is flexibly simple, and different cloud platform API definition specifications are avoided not by the API definition of unified standard The problem of unified, management platform developer only need to carry out systems design and development according to a kind of API specification.Present invention side Method scalability is strong, easy to maintain, with the concrete function implementation method of the format management different type cloud platform of plug-in unit, increase by one The cloud platform access of type need to only develop a plug-in unit, and upper layer application system is without change.Meanwhile the API energy of definition Support the general function of isomery cloud and the featured function of certain platform simultaneously.The inventive method purpose is to be managed collectively multiple realizations The information system of the different manufacturers of same or like function, is not limited to field of cloud calculation, and other field has same requirements It can be realized with reference to the method.
Brief description of the drawings
The present invention is further described below in conjunction with the accompanying drawings:
Fig. 1 is the flow chart of the present invention.
Embodiment
To make the purpose, technical scheme and advantage of this discovery clearer, below in conjunction with accompanying drawing and with actual implementation case Example is made further to explain in detail, as shown in figure 1, specific implementation process is as follows:
The API definition of this case study on implementation and realization use java language and spring boot frameworks, can also use other Development language is realized.
1st, define API and unify access path and function name parameter.
The root path for defining API service is unified access path, functional parameter Action.Access method:http:// api.xxx.com/Action=xxx&xxx=xxx
2nd, the other specification needed for certain concrete function is defined, and uses reflex mechanism initialization input parameter class.Obtaining please Ask all parameters and processing parameter in url
Map < String, String [] > params=request.getParameterMap ();
Map < String, Object > newParams=getAllParamAsString (params);
Reflection is converted into DeleteImageRequest objects
DeleteImageRequest request=
ConvertRequestParamsUtil.convert (DeleteImageRequest.class, params);
3rd, class is realized according to what function title and cloud platform type searched the function in internal memory.
Define action and represent function, platformType represents cloud platform type, Map < String, Class > CommandMap is that the function of being loaded in Installed System Memory realizes class.
Function realizes that the management of class uses plug-in type management, and One function can be achieved and only realized in a platform, or one Function has different characteristics, such as the realizing route of Huawei's cloud and Ali's cloud in different platform
gcloud-cloud-adapter-hwcloud
com\gcloud\cloud\adapter\hwcloud\command
gcloud-cloud-adapter-aliyun
com\gcloud\cloud\adapter\aliyun\command
Realize that class defines, being used for Installed System Memory loading using note mode realizes class
Acquisition is realized class and performed
4th, the SDK or API completion feature operations that cloud platform provides are called in class is realized, and returns to output parameter class.
Openstack4j SDK such as can be used using the cloud platform that openstack is bottom, or use the flat of Ali's cloud The SDK that platform is provided using Ali official.If the platform accessed is not provided with the SDK of official, the SDK that may be referred to increase income is realized Method is realized.
DeleteImageResponse reponse=
osClient.images().delete(request.getImageId());
5th, Formatting Output parameter class and return.
Spring boot frameworks support the java classes of pojo types to change into json or xml automatically.

Claims (8)

  1. A kind of 1. unified management implementation method suitable for isomery cloud platform, it is characterised in that:Described method is to define unification The API of specification docks with the management platform of cloud platform;New cloud platform is merged when accessing with card format with API.
  2. 2. unified management implementation method according to claim 1, it is characterised in that:Described method comprises the following steps:
    Step 1:Define API and unify access path and function name parameter;
    Step 2:The other specification needed for concrete function is defined, and uses reflex mechanism initialization input parameter class;
    Step 3:Class is realized according to what function title and cloud platform type searched the function in internal memory;
    Step 4:The SDK or API completion feature operations that cloud platform provides are called in class is realized, and returns to output parameter class;
    Step 5:Formatting Output parameter class simultaneously returns.
  3. 3. unified management implementation method according to claim 2, it is characterised in that:Described API unifies access path All function API use unified API service path in finger system,http://api.xxx.com/, increase function is only Different functional parameter values need to be provided, without defining new API paths;
    Described function name parameter refers to judge that this time request represents what function, Action=by the parameter CreateInstance, which is represented, creates Cloud Server.
  4. 4. unified management implementation method according to claim 2, it is characterised in that:Its needed for certain described concrete function His parameter refers to use Key=Value forms, and the parameter that Key and value can be transmitted with character string forms;
    Described represents that each function can define an input parameter class using reflex mechanism initialization input parameter class, such The process of instantiation is exactly that API input parameter name and parameter value are instantiated into an object by reflex mechanism.
  5. 5. unified management implementation method according to claim 2, it is characterised in that:Its needed for certain described concrete function His parameter refers to use Key=Value forms, and the parameter that Key and value can be transmitted with character string forms;
    Described represents that each function can define an input parameter class using reflex mechanism initialization input parameter class, such The process of instantiation is exactly that API input parameter name and parameter value are instantiated into an object by reflex mechanism.
  6. 6. the unified management implementation method according to any one of claim 2 to 5, it is characterised in that:Described cloud platform carries The SDK of confession refers to SDK, and the kit is that different calling cloud platforms is packaged into according to different development languages API instrument.
  7. 7. the unified management implementation method according to any one of claim 2 to 5, it is characterised in that:Described formatting is defeated Go out parameter class and return to refer to being converted to the class object of return into unified form, the API of information system returns to form and is typically JSON or XML.
  8. 8. unified management implementation method according to claim 6, it is characterised in that:Described Formatting Output parameter class is simultaneously Return and refer to being converted to the class object of return into unified form, it is typically JSON or XML that the API of information system, which returns to form,.
CN201711072226.2A 2017-11-03 2017-11-03 A kind of unified management implementation method suitable for isomery cloud platform Withdrawn CN107888673A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711072226.2A CN107888673A (en) 2017-11-03 2017-11-03 A kind of unified management implementation method suitable for isomery cloud platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711072226.2A CN107888673A (en) 2017-11-03 2017-11-03 A kind of unified management implementation method suitable for isomery cloud platform

Publications (1)

Publication Number Publication Date
CN107888673A true CN107888673A (en) 2018-04-06

Family

ID=61778476

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711072226.2A Withdrawn CN107888673A (en) 2017-11-03 2017-11-03 A kind of unified management implementation method suitable for isomery cloud platform

Country Status (1)

Country Link
CN (1) CN107888673A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109450938A (en) * 2018-12-24 2019-03-08 科大国创软件股份有限公司 A kind of cloud aggregation of data method for managing security and platform based on government affairs outer net
CN109617990A (en) * 2018-12-29 2019-04-12 长威信息科技发展股份有限公司 A kind of converged communication resource cloud sharing method and system
CN109656622A (en) * 2018-12-04 2019-04-19 安徽皖通邮电股份有限公司 A kind of packaging method for realizing network tester in communication equipment automatic test
CN110825452A (en) * 2019-10-10 2020-02-21 国云科技股份有限公司 Cloud service adaptation module management method for multi-cloud management
CN111190661A (en) * 2019-12-31 2020-05-22 腾讯科技(深圳)有限公司 Data processing method and equipment
CN112199219A (en) * 2020-11-17 2021-01-08 南开大学 Cross-language operation remote calling method
CN113885892A (en) * 2021-12-08 2022-01-04 浩鲸云计算科技股份有限公司 Low code configuration access method based on multi-cloud platform

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164270A (en) * 2011-12-12 2013-06-19 阿里巴巴集团控股有限公司 Java system application programming interface calling method and system using the same
CN103399734A (en) * 2013-07-10 2013-11-20 北京慧点科技股份有限公司 Method for generating REST service and achieving REST and corresponding equipment
CN104917815A (en) * 2015-04-21 2015-09-16 武大吉奥信息技术有限公司 Heterogeneous cloud isolation system and method for in-cloud GIS service computing
US9612817B2 (en) * 2013-10-30 2017-04-04 Oracle International Corporation System and method for providing a physical plugin for use in a cloud platform environment
CN106777104A (en) * 2016-12-15 2017-05-31 国云科技股份有限公司 A kind of system and implementation method for obtaining heterogeneous software system data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164270A (en) * 2011-12-12 2013-06-19 阿里巴巴集团控股有限公司 Java system application programming interface calling method and system using the same
CN103399734A (en) * 2013-07-10 2013-11-20 北京慧点科技股份有限公司 Method for generating REST service and achieving REST and corresponding equipment
US9612817B2 (en) * 2013-10-30 2017-04-04 Oracle International Corporation System and method for providing a physical plugin for use in a cloud platform environment
CN104917815A (en) * 2015-04-21 2015-09-16 武大吉奥信息技术有限公司 Heterogeneous cloud isolation system and method for in-cloud GIS service computing
CN106777104A (en) * 2016-12-15 2017-05-31 国云科技股份有限公司 A kind of system and implementation method for obtaining heterogeneous software system data

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109656622A (en) * 2018-12-04 2019-04-19 安徽皖通邮电股份有限公司 A kind of packaging method for realizing network tester in communication equipment automatic test
CN109450938A (en) * 2018-12-24 2019-03-08 科大国创软件股份有限公司 A kind of cloud aggregation of data method for managing security and platform based on government affairs outer net
CN109617990A (en) * 2018-12-29 2019-04-12 长威信息科技发展股份有限公司 A kind of converged communication resource cloud sharing method and system
CN109617990B (en) * 2018-12-29 2021-12-07 长威信息科技发展股份有限公司 Converged communication resource cloud sharing method and system
CN110825452A (en) * 2019-10-10 2020-02-21 国云科技股份有限公司 Cloud service adaptation module management method for multi-cloud management
CN111190661A (en) * 2019-12-31 2020-05-22 腾讯科技(深圳)有限公司 Data processing method and equipment
CN112199219A (en) * 2020-11-17 2021-01-08 南开大学 Cross-language operation remote calling method
CN113885892A (en) * 2021-12-08 2022-01-04 浩鲸云计算科技股份有限公司 Low code configuration access method based on multi-cloud platform
CN113885892B (en) * 2021-12-08 2022-03-22 浩鲸云计算科技股份有限公司 Low code configuration access method based on multi-cloud platform

Similar Documents

Publication Publication Date Title
CN107888673A (en) A kind of unified management implementation method suitable for isomery cloud platform
US7756905B2 (en) System and method for building mixed mode execution environment for component applications
US9524283B2 (en) Techniques to remotely access form information and generate a form
US9645989B2 (en) Techniques to generate custom electronic forms using custom content
US8117280B2 (en) Task computing
US8271609B2 (en) Dynamic service invocation and service adaptation in BPEL SOA process
US8056091B2 (en) Systems and methods for using application services
US10452607B2 (en) Reusable transformation mechanism to allow mappings between incompatible data types
US20070220035A1 (en) Generating user interface using metadata
US10635408B2 (en) Method and apparatus for enabling agile development of services in cloud computing and traditional environments
US11256743B2 (en) Intermixing literal text and formulas in workflow steps
US20060047709A1 (en) Technology independent information management
US20170329461A1 (en) Source service mapping for collaborative platforms
US12014216B2 (en) Method for platform-based scheduling of job flow
US20190005228A1 (en) Trusted and untrusted code execution in a workflow
US11430163B2 (en) Displaying a chart without rendering entirely obscured markers
US12019647B2 (en) Accessing application services from forms
US20130111343A1 (en) Load balancing of user interface script execution
US10324692B2 (en) Integration for next-generation applications
KR20130068564A (en) Terminal apparatus having operating system based on web and method for providing service using thereof
US20170329498A1 (en) Polymorph rendering for collaborative platforms
US11960817B2 (en) Web site preview based on client presentation state
US11983483B2 (en) Web site preview generation with action control
US20190384653A1 (en) Hybrid cloud with dynamic bridging between systems of record and systems of engagement
CN113110920B (en) Operation method, device, equipment and storage medium of block chain system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20180406

WW01 Invention patent application withdrawn after publication