CN113608721A - Implementation method and implementation system of container-based service center - Google Patents
Implementation method and implementation system of container-based service center Download PDFInfo
- Publication number
- CN113608721A CN113608721A CN202110844743.7A CN202110844743A CN113608721A CN 113608721 A CN113608721 A CN 113608721A CN 202110844743 A CN202110844743 A CN 202110844743A CN 113608721 A CN113608721 A CN 113608721A
- Authority
- CN
- China
- Prior art keywords
- service
- external
- agent
- container
- center
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0823—Network architectures or network communication protocols for network security for authentication of entities using certificates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- Stored Programmes (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a method and a system for realizing a container-based service center, which relate to the technical field of application of containers in service realization; based on a container, integrating software and middleware into a service center by adopting an open service agent protocol to provide other service applications for use, wherein the service center establishes a cluster service agent through a service registration process, triggers and acquires the call of an external service by utilizing the cluster service agent, establishes a service instance through a service access process, instantiates the external service, inquires the service through a service application use process, binds a corresponding service application, and acquires a corresponding external service instance certificate and a service account so as to use the service.
Description
Technical Field
The invention discloses a realization method and a realization system, relating to the technical field of application of a container in service realization, in particular to a realization method and a realization system of a container-based service center.
Background
In the information-based construction process, due to the difference between the development environment and the operation environment, the situations of high system service development cost, non-uniform development standards, disjointed development, operation and maintenance, poor system adaptability, low integration level and insufficient process monitoring strength generally exist. Meanwhile, limited by factors such as computer network, database selection, application system architecture and the like, a series of relatively closed information islands are easily formed in a service form taking an application system as a unit objectively, effective cooperative application cannot be realized among different service systems, and interconnection and intercommunication of services cannot be effectively realized among upper and lower-level similar systems.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides a method and a system for realizing a container-based service center, and the specific scheme provided by the invention is as follows:
a realization method of a container-based service center integrates software and middleware into the service center based on a container by adopting an open service agent protocol to provide other service applications for use, wherein the service center establishes a cluster service agent through a service registration process, the cluster service agent is used for triggering and acquiring external service calling, the service center establishes a service instance through a service access process and instantiates the external service, the service center inquires the service through a service application use process, binds corresponding service applications, and acquires corresponding external service instance certificates and service account numbers so as to use the service.
Further, the service registration process of the service center in the implementation method of the container-based service center is as follows:
and establishing a cluster service agent according to all used external services through the external connection information, utilizing the communication of the cluster service agent and the external service agent to trigger the calling of obtaining the external services, and returning an external available service list and specification options by the external service agent.
Further, the service access process of the service center in the implementation method of the container-based service center is as follows:
a service instance is created from the list of available services and the specification options,
the external service agent is instructed to create an instance according to the service directory.
Further, in the implementation method of the container-based service center, the service application and use process of the service center is as follows:
querying the available service list and specification options, using an external service agent to obtain the service list and specification options,
receiving a business application, binding corresponding business application, acquiring a corresponding external service instance certificate and a service account, and using corresponding external service.
The system for realizing the container-based service center comprises a service registration module, a service access module and a service application and use module,
the system is based on a container, adopts an open service agent protocol, integrates software and middleware into a service center and provides other service applications for use, wherein the service center executes a service registration process through a service registration module, creates a cluster service agent, triggers and acquires external service calling by using the cluster service agent, executes the service access process through a service access module, creates a service instance, instantiates the external service, executes the service application use process through a service application use module, inquires the service, binds the corresponding service application, and acquires a corresponding external service instance certificate and a service account number so as to use the service.
Further, the service registration module in the implementation system of the container-based service center executes a service registration process:
and establishing a cluster service agent according to all used external services through the external connection information, utilizing the communication of the cluster service agent and the external service agent to trigger the calling of obtaining the external services, and returning an external available service list and specification options by the external service agent.
Further, the service access module in the implementation system of the container-based service center executes a service access process:
a service instance is created from the list of available services and the specification options,
the external service agent is instructed to create an instance according to the service directory.
Further, the service application using module in the implementation system of the container-based service center executes the service application using process:
querying the available service list and specification options, using an external service agent to obtain the service list and specification options,
receiving a business application, binding corresponding business application, acquiring a corresponding external service instance certificate and a service account, and using corresponding external service.
An apparatus for implementing a container-based service center, comprising at least one memory and at least one processor;
the at least one memory to store a machine readable program;
the at least one processor is configured to invoke the machine-readable program to execute the method for implementing the container-based service center.
The invention has the advantages that:
the invention provides a method for realizing the container-based service center, which can realize the unified management of the architecture, key components, development process and the like of service application, ensure the high availability and high performance of the service of the whole system and avoid the occurrence of systematic risks. And the stable and reliable operation of the service is ensured. The method has the advantages of simplifying service application integration, shortening construction period, reducing development cost, improving the overall level and quality of service application, enhancing the vitality of service application and ensuring the continuity of technical progress. The unification of normalization, effectiveness, advancement and practicability is realized.
Drawings
FIG. 1 is a schematic flow diagram of the process of the present invention.
FIG. 2 is a schematic diagram of a front-end interface relating to service classification of the system of the present invention.
Detailed Description
The container is a sandbox technology, and the main purpose is to run the application in the container and isolate the application from the outside; and facilitates that this sandbox may be transferred to other host machines. In essence, it is a special process. Resources, files, devices, states and configurations are divided into a single space by name space (Namespace), Control groups (Control groups), and root cut (root) techniques.
The open service broker protocol allows developers to provide services for applications running in the cloud native platform. The essence of the method is abstraction of service life cycle, and the method mainly comprises a service directory (Catalog) which provides description information of service content; service instance creation (Provisioning), creating a service instance; service instance update (Updating), Updating service instances; acquiring a service instance state (Polling last operation); binding (Binding) a service instance to an application so that the application can use the service instance; unbinding (Unbinding) the service instance, Unbinding the service instance from the application; service instance destruction (provisioning), deleting service instance.
The present invention is further described below in conjunction with the following figures and specific examples so that those skilled in the art may better understand the present invention and practice it, but the examples are not intended to limit the present invention.
The invention provides a method for realizing a container-based service center, which is based on a container and adopts an open service agent protocol to integrate software and middleware into the service center and provide other service applications for use, wherein the service center establishes a cluster service agent through a service registration process, triggers and obtains external service calling by using the cluster service agent, establishes a service instance through a service access process, instantiates the external service, inquires service through a service application use process, binds corresponding service applications, and obtains corresponding external service instance certificates and service account numbers so as to use the service.
The method can realize the unified management of the architecture, key components, development process and the like of the service application, ensure the high availability and high performance of the service of the whole system and avoid the occurrence of systematic risks. And the stable and reliable operation of the service is ensured. The method has the advantages of simplifying service application integration, shortening construction period, reducing development cost, improving the overall level and quality of service application, enhancing the vitality of service application and ensuring the continuity of technical progress. The unification of normalization, effectiveness, advancement and practicability is realized.
In a specific application, in some embodiments of the present invention, software and middleware are integrated into a service center based on a container by using an open service agent protocol, so as to provide other service applications.
Wherein the service center performs a service registration process:
and in a corresponding visual page, submitting necessary information such as URL (uniform resource locator) and the like to a background by connecting an external service agent endpoint service broker endpoint, and creating a cluster service broker in a service category.k 8s.io group by the background, wherein the cluster service broker is responsible for the communication details with the external service agent service broker and is created and managed according to all used external services. And the service broker in the cluster is responsible for encapsulating details related to low-level communication, once the ClusterServiceBroker is created, the call for acquiring the external service is automatically triggered, and the external service broker returns an external available service list and available specification options.
The service center performs a service access process:
and receiving the returned available Service list and available specification options, creating a Service instance to instantiate an external Service, commanding an external Service broker to create an instance through a Service directory Catalog, and creating the instance and returning an HTTP response by the external Service broker.
The service center applies for the use process through the service:
querying available service lists and specification selection: the background uses an external service agent service broker to obtain a service list and specification options thereof by calling a kubecect command,
and receiving a service application, and executing binding operation after approval to obtain an external service instance certificate, a service account and the like required to be used when the connection is established for application in the cluster. And accessing the external service instance certificate when the back end creates the ServiceBinding, mounting the certificate to the pod of the application after the certificate is created, and storing the certificate in the volume provider-group-key. The application may mount this volume under the/var/secrets/provider/key.
The implementation process of the invention is applied to project construction, and the problems of information isolated island and the like in information development and construction can be prevented. The advantages of the container technology are fully utilized, a service center is created, effective integration is implemented, and the system adaptability and the integration level are improved; and a unified technical support environment is established for the construction of an application system, a unified development standard is provided, and repeated development is reduced.
The invention also provides a system for realizing the container-based service center, which comprises a service registration module, a service access module and a service application and use module,
the system is based on a container, adopts an open service agent protocol, integrates software and middleware into a service center and provides other service applications for use, wherein the service center executes a service registration process through a service registration module, creates a cluster service agent, triggers and acquires external service calling by using the cluster service agent, executes the service access process through a service access module, creates a service instance, instantiates the external service, executes the service application use process through a service application use module, inquires the service, binds the corresponding service application, and acquires a corresponding external service instance certificate and a service account number so as to use the service.
The information interaction, execution process and other contents between the modules in the system are based on the same concept as the method embodiment of the present invention, and specific contents can be referred to the description in the method embodiment of the present invention, and are not described herein again.
Similarly, the system can realize the unified management of the architecture, key components, development process and the like of the service application, ensure the high availability and high performance of the service of the whole system and avoid the occurrence of systematic risks. And the stable and reliable operation of the service is ensured. The method has the advantages of simplifying service application integration, shortening construction period, reducing development cost, improving the overall level and quality of service application, enhancing the vitality of service application and ensuring the continuity of technical progress. The unification of normalization, effectiveness, advancement and practicability is realized.
The invention also provides a device for implementing the container-based service center, which comprises at least one memory and at least one processor;
the at least one memory to store a machine readable program;
the at least one processor is configured to invoke the machine-readable program to execute the method for implementing the container-based service center.
The contents of information interaction, readable program process execution and the like of the processor in the device are based on the same concept as the method embodiment of the present invention, and specific contents can be referred to the description in the method embodiment of the present invention, and are not described herein again. Similarly, the device can realize the unified management of the architecture, key components, development process and the like of the service application, ensure the high availability and high performance of the service of the whole system and avoid the occurrence of systematic risks. And the stable and reliable operation of the service is ensured. The method has the advantages of simplifying service application integration, shortening construction period, reducing development cost, improving the overall level and quality of service application, enhancing the vitality of service application and ensuring the continuity of technical progress. The unification of normalization, effectiveness, advancement and practicability is realized.
It should be noted that not all steps and modules in the above flows and system structure diagrams are necessary, and some steps or modules may be omitted according to actual needs. The execution order of the steps is not fixed and can be adjusted as required. The system structure described in the above embodiments may be a physical structure or a logical structure, that is, some modules may be implemented by the same physical entity, or some modules may be implemented by a plurality of physical entities, or some components in a plurality of independent devices may be implemented together.
The above-mentioned embodiments are merely preferred embodiments for fully illustrating the present invention, and the scope of the present invention is not limited thereto. The equivalent substitution or change made by the technical personnel in the technical field on the basis of the invention is all within the protection scope of the invention. The protection scope of the invention is subject to the claims.
Claims (9)
1. A method for realizing a container-based service center is characterized in that software and middleware are integrated into the service center based on a container by adopting an open service agent protocol to provide other service applications for use, wherein the service center establishes a cluster service agent through a service registration process, the cluster service agent is used for triggering and obtaining external service calling, the service center establishes a service instance through a service access process and instantiates the external service, the service center inquires the service through a service application use process, binds corresponding service applications, and obtains corresponding external service instance certificates and service account numbers so as to use the service.
2. The method for implementing a container-based service center as claimed in claim 1, wherein the service registration process of the service center comprises:
and establishing a cluster service agent according to all used external services through the external connection information, utilizing the communication of the cluster service agent and the external service agent to trigger the calling of obtaining the external services, and returning an external available service list and specification options by the external service agent.
3. The method of claim 2, wherein the service access procedure of the service center comprises:
a service instance is created from the list of available services and the specification options,
the external service agent is instructed to create an instance according to the service directory.
4. A method for implementing a container-based service center according to claim 2 or 3, wherein the service application of the service center is performed by:
querying the available service list and specification options, using an external service agent to obtain the service list and specification options,
receiving a business application, binding corresponding business application, acquiring a corresponding external service instance certificate and a service account, and using corresponding external service.
5. The system for realizing the container-based service center is characterized by comprising a service registration module, a service access module and a service application and use module,
the system is based on a container, adopts an open service agent protocol, integrates software and middleware into a service center and provides other service applications for use, wherein the service center executes a service registration process through a service registration module, creates a cluster service agent, triggers and acquires external service calling by using the cluster service agent, executes the service access process through a service access module, creates a service instance, instantiates the external service, executes the service application use process through a service application use module, inquires the service, binds the corresponding service application, and acquires a corresponding external service instance certificate and a service account number so as to use the service.
6. The system for implementing a container-based service center as claimed in claim 5, wherein the service registration module performs a service registration procedure:
and establishing a cluster service agent according to all used external services through the external connection information, utilizing the communication of the cluster service agent and the external service agent to trigger the calling of obtaining the external services, and returning an external available service list and specification options by the external service agent.
7. The system for implementing a container-based service center as claimed in claim 6, wherein the service access module performs a service access procedure of:
a service instance is created from the list of available services and the specification options,
the external service agent is instructed to create an instance according to the service directory.
8. The system for implementing a container-based service center according to claim 6 or 7, wherein the service application usage module performs a service application usage process of:
querying the available service list and specification options, using an external service agent to obtain the service list and specification options,
receiving a business application, binding corresponding business application, acquiring a corresponding external service instance certificate and a service account, and using corresponding external service.
9. The device for realizing the container-based service center is characterized by comprising at least one memory and at least one processor;
the at least one memory to store a machine readable program;
the at least one processor, configured to invoke the machine readable program to execute the method for implementing the container-based service center according to any one of claims 1 to 4.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110844743.7A CN113608721B (en) | 2021-07-26 | 2021-07-26 | Container-based service center implementation method and implementation system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110844743.7A CN113608721B (en) | 2021-07-26 | 2021-07-26 | Container-based service center implementation method and implementation system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN113608721A true CN113608721A (en) | 2021-11-05 |
| CN113608721B CN113608721B (en) | 2023-07-18 |
Family
ID=78338356
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110844743.7A Active CN113608721B (en) | 2021-07-26 | 2021-07-26 | Container-based service center implementation method and implementation system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN113608721B (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108600360A (en) * | 2018-04-18 | 2018-09-28 | 国电南京自动化股份有限公司 | A kind of REST service system and method based on zookeeper |
| WO2019100605A1 (en) * | 2017-11-21 | 2019-05-31 | 平安科技(深圳)有限公司 | Platform-as-a-service paas container platform construction method, server, system, and storage medium |
| CN213693769U (en) * | 2020-09-28 | 2021-07-13 | 山东国赢大数据产业有限公司 | Distributed property trading system based on container technology |
-
2021
- 2021-07-26 CN CN202110844743.7A patent/CN113608721B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2019100605A1 (en) * | 2017-11-21 | 2019-05-31 | 平安科技(深圳)有限公司 | Platform-as-a-service paas container platform construction method, server, system, and storage medium |
| CN108600360A (en) * | 2018-04-18 | 2018-09-28 | 国电南京自动化股份有限公司 | A kind of REST service system and method based on zookeeper |
| CN213693769U (en) * | 2020-09-28 | 2021-07-13 | 山东国赢大数据产业有限公司 | Distributed property trading system based on container technology |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113608721B (en) | 2023-07-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11856050B2 (en) | Multi-tenant-cloud-aggregation and application-support system | |
| US10296327B2 (en) | Methods and systems that share resources among multiple, interdependent release pipelines | |
| US10440138B2 (en) | Provisioning IaaS services | |
| CN101605056B (en) | J2EE server monitoring device and monitoring method employing same | |
| US8181151B2 (en) | Modeling and managing heterogeneous applications | |
| CN101707399B (en) | Method and system for acquiring electric energy information | |
| CN107682206B (en) | Deployment method and system of micro-service-based business process management system | |
| US20230342183A1 (en) | Management method and apparatus for container cluster | |
| US20200218581A1 (en) | Communication system and method for accessing and deploying temporary microservices on a heterogeneous platform | |
| WO2005106666A1 (en) | A system and method for modeling and dynamically deploying services into a distributed networking architecture | |
| CN110543328A (en) | Ambari-based cross-platform component management method, system, terminal and storage medium | |
| US10970141B2 (en) | Integrating transaction processing system interfaces with event-driven polyglot runtime modules | |
| CN101192937A (en) | A hot deployable method and system thereof | |
| CN111143054A (en) | Heterogeneous domestic CPU resource fusion management method | |
| CN108958708A (en) | A kind of software system architecture component-based and software implementation method | |
| CN111857736B (en) | Cloud computing product generation method, device, equipment and storage medium | |
| US20170163518A1 (en) | Model-based artifact management | |
| US20170163732A1 (en) | Inter-task communication within application-release-management pipelines | |
| CN112685020A (en) | Method and device for dynamically creating service interface, electronic equipment and storage medium | |
| US20170161101A1 (en) | Modularized automated-application-release-management subsystem | |
| CN105721562A (en) | Proxy-based heterogeneous service calling method and collaborative calling system | |
| WO2013162561A1 (en) | Platform runtime abstraction | |
| CN111090823A (en) | A page application integration platform and application access method, device and device | |
| CN109753302B (en) | Service method without service function based on hybrid cloud computing platform | |
| CN116010111B (en) | Cross-cluster resource scheduling method, system and terminal equipment |
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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |