CN111857733B - Construction method, device and system of service environment and readable storage medium - Google Patents

Construction method, device and system of service environment and readable storage medium Download PDF

Info

Publication number
CN111857733B
CN111857733B CN201911416660.7A CN201911416660A CN111857733B CN 111857733 B CN111857733 B CN 111857733B CN 201911416660 A CN201911416660 A CN 201911416660A CN 111857733 B CN111857733 B CN 111857733B
Authority
CN
China
Prior art keywords
service
environment
container
address
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.)
Active
Application number
CN201911416660.7A
Other languages
Chinese (zh)
Other versions
CN111857733A (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 Didi Infinity Technology and Development Co Ltd
Original Assignee
Beijing Didi Infinity Technology and Development 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 Didi Infinity Technology and Development Co Ltd filed Critical Beijing Didi Infinity Technology and Development Co Ltd
Priority to CN201911416660.7A priority Critical patent/CN111857733B/en
Publication of CN111857733A publication Critical patent/CN111857733A/en
Application granted granted Critical
Publication of CN111857733B publication Critical patent/CN111857733B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides a construction method, a device, a system and a readable storage medium of a service environment, wherein at least one set of service environment to be constructed is determined according to a received service environment construction request of a target service; generating an environment container corresponding to each business environment and comprising a basic application container and at least one service configuration container, and determining a basic service address of a basic service application in each environment container; adding the obtained at least one service module into a corresponding environment container, and respectively replacing the container address of the at least one service module added in each environment container with the basic service address of the corresponding environment container; and arranging the at least one service module which is replaced by the corresponding container address in each environment container to obtain at least one set of constructed service environment. Therefore, the construction efficiency and the construction flexibility of the service environment are improved, and the workload of workers is reduced.

Description

Construction method, device and system of service environment and readable storage medium
Technical Field
The present application relates to the field of computer software technology, and in particular, to a method, an apparatus, and a system for constructing a service environment, and a readable storage medium storing computer instructions readable by an electronic device.
Background
When a developer develops software aiming at a new function required by a user, in order to ensure that the developed software can provide stable and reliable service, before the software is released, a complete offline environment test is required to be performed aiming at the new function, and a complete offline environment test process comprises a test environment, a development environment, a gray scale environment and the like, so that the whole process before the software is developed and tested on line is penetrated.
At present, for a developer, a plurality of service environments need to be built from development to online, but only one service environment needs to be built, the developer needs to write an installation and maintenance manual, apply for a plurality of virtual machines, install and configure basic applications on each virtual machine, then deploy services corresponding to new functions to corresponding machines in a manual or automatic mode, and meanwhile, in the development process, the maintenance documents need to be updated in time, and for different service environments, the environment configuration needs to be changed correspondingly, so that time and labor are wasted and errors are easy to occur.
Disclosure of Invention
Accordingly, the present application is directed to a method, apparatus, system, and readable storage medium for constructing a service environment, which can quickly construct at least one set of service environments required by a target service according to a received service environment construction request of the target service, and can ensure that there is no interference between at least one set of service environments, thereby improving construction efficiency of the service environments, being helpful for reducing workload of staff, and improving flexibility of service environment construction.
According to one aspect of the application, an electronic device is provided that may include a storage medium and a processor in communication with the storage medium. The storage medium stores machine-readable instructions executable by the processor. When the electronic device is in operation, the processor and the storage medium communicate via the bus, and the processor executes the machine-readable instructions, one or more of the following operations may be performed:
according to a received service environment construction request of a target service, determining at least one set of service environments to be constructed indicated by the service environment construction request;
generating an environment container corresponding to each business environment and comprising a basic application container and at least one service deployment container, and determining a basic service address of the basic application container in each environment container;
Acquiring a plurality of groups of at least one service module forming the target service, adding each group of at least one service module into at least one service deployment container of a corresponding environment container, and respectively replacing a basic service address in at least one service module configuration file added in each environment container with a basic service address of a corresponding basic application container;
and arranging the at least one service module which is replaced by the basic service address of the corresponding basic application container in each environment container to obtain at least one set of constructed service environment.
In some embodiments of the application, the machine-readable instructions, when executed by a processor, may perform one or more of the following:
determining a service module which needs to be updated in the at least one service module;
acquiring a service replacement module corresponding to a service module to be updated, and respectively replacing a basic service address in a configuration file of the service replacement module with a basic service address of a corresponding basic application container;
and replacing the service module to be updated at the corresponding position in the environment container by using the service replacement module, and arranging the service replacement module with the basic service address of the corresponding basic application container in each environment container.
In some embodiments of the application, the machine-readable instructions, when executed by the processor, may perform one or more of the following:
the transmission mode between the at least one service module comprises hypertext transfer protocol transmission and/or remote procedure call protocol transmission.
In some embodiments of the application, the machine-readable instructions, when executed by the processor, may perform one or more of the following:
determining a service receiver and a service provider for data transmission through hypertext transfer protocol transmission in the two service modules;
and changing the service calling address of the service receiver into a deployment service address of a service deployment container of the corresponding service provider.
In some embodiments of the application, the machine-readable instructions, when executed by the processor, may perform one or more of the following:
determining a base application container in the environment container, and a registry address of a registry deployed in the base application container;
and replacing the registry address with the basic service address, and replacing the service call addresses of the two service modules with the registry address.
In some embodiments of the application, the machine-readable instructions, when executed by the processor, may perform one or more of the following:
obtaining a corresponding message source category allocated to the environment container and a message identifier of the message source category from a message resource pool of a message middleware;
and when a service module deployed in a service environment corresponding to the environment container sends a transmission message to the message resource pool, replacing the message identifier into configuration data of the transmission message.
In some embodiments of the application, the machine-readable instructions, when executed by the processor, may perform one or more of the following:
acquiring a corresponding database allocated to the environment container from a database resource pool, and determining a basic application address corresponding to the database;
and replacing the storage container address of the at least one service module with the basic application address of the corresponding database.
According to an aspect of the present application, there is provided a construction method of a service environment, the construction method including:
according to a received service environment construction request of a target service, determining at least one set of service environments to be constructed indicated by the service environment construction request;
Generating an environment container corresponding to each business environment and comprising a basic application container and at least one service deployment container, and determining a basic service address of the basic application container in each environment container;
acquiring a plurality of groups of at least one service module forming the target service, adding each group of at least one service module into at least one service deployment container of a corresponding environment container, and respectively replacing a basic service address in at least one service module configuration file added in each environment container with a basic service address of a corresponding basic application container;
and arranging the at least one service module which is replaced by the basic service address of the corresponding basic application container in each environment container to obtain at least one set of constructed service environment.
In some embodiments of the present application, after the deploying, in each environment container, the at least one service module replaced with the base service address of the corresponding base application container, to obtain the constructed at least one service environment, the construction method further includes:
determining a service module which needs to be updated in the at least one service module;
acquiring a service replacement module corresponding to a service module to be updated, and respectively replacing a basic service address in a configuration file of the service replacement module with a basic service address of a corresponding basic application container;
And replacing the service module to be updated at the corresponding position in the environment container by using the service replacement module, and arranging the service replacement module with the basic service address of the corresponding basic application container in each environment container.
In some embodiments of the application, the transmission means between the at least one service module comprises hypertext transfer protocol transmission and/or remote procedure call protocol transmission.
In some embodiments of the present application, when the data transmission manner between two service modules in the at least one service module is a hypertext transfer protocol transmission, the construction method further includes:
determining a service receiver and a service provider for data transmission through hypertext transfer protocol transmission in the two service modules;
and changing the service calling address of the service receiver into a deployment service address of a service deployment container of the corresponding service provider.
In some embodiments of the present application, when the data transmission manner between two service modules in the at least one service module is a remote procedure call protocol transmission, the construction method further includes:
determining a base application container in the environment container, and a registry address of a registry deployed in the base application container;
And replacing the registry address with the basic service address, and replacing the service call addresses of the two service modules with the registry address.
In some embodiments of the present application, after the at least one service module having the base service address of the corresponding base application container replaced in each environment container is deployed, the constructing method further includes:
obtaining a corresponding message source category allocated to the environment container and a message identifier of the message source category from a message resource pool of a message middleware;
and when a service module deployed in a service environment corresponding to the environment container sends a transmission message to the message resource pool, adding the message identifier into configuration data of the transmission message.
In some embodiments of the present application, after the at least one service module having the base service address of the corresponding base application container replaced in each environment container is deployed, the constructing method further includes:
acquiring a corresponding database allocated to the environment container from a database resource pool, and determining a basic application address corresponding to the database;
And replacing the storage container address of the at least one service module with the basic application address of the corresponding database.
According to a second aspect of the present application, there is provided a construction apparatus of a service environment, the construction apparatus comprising:
the construction request receiving module is used for determining at least one set of service environments to be constructed indicated by the service environment construction request according to the received service environment construction request of the target service;
a container determining module, configured to generate an environment container corresponding to each service environment, where the environment container includes a base application container and at least one service deployment container, and determine a base service address of the base application container in each environment container;
the service address replacement module is used for acquiring a plurality of groups of at least one service module forming the target service, adding each group of at least one service module into at least one service deployment container of a corresponding environment container, and respectively replacing a basic service address in at least one service module configuration file added into each environment container with a basic service address of a corresponding basic application container;
and the business environment construction module is used for arranging the at least one service module which is replaced with the basic service address of the corresponding basic application container in each environment container to obtain at least one set of constructed business environment.
In some embodiments of the application, the building apparatus further comprises a service update module for:
determining a service module which needs to be updated in the at least one service module;
acquiring a service replacement module corresponding to a service module to be updated, and respectively replacing a basic service address in a configuration file of the service replacement module with a basic service address of a corresponding basic application container;
and replacing the service module to be updated at the corresponding position in the environment container by using the service replacement module, and arranging the service replacement module with the basic service address of the corresponding basic application container in each environment container.
In some embodiments of the application, the transmission means between the at least one service module comprises hypertext transfer protocol transmission and/or remote procedure call protocol transmission.
In some embodiments of the present application, when the data transmission manner between two service modules in the at least one service module is a hypertext transfer protocol transmission, the constructing apparatus further includes a first call address replacing module, where the first call address replacing module is configured to:
Determining a service receiver and a service provider for data transmission through hypertext transfer protocol transmission in the two service modules;
and changing the service calling address of the service receiver into a deployment service address of a service deployment container of the corresponding service provider.
In some embodiments of the present application, when the data transmission manner between two service modules in the at least one service module is a remote procedure call protocol transmission, the constructing apparatus further includes a second call address replacement module, where the second call address replacement module is configured to:
determining a base application container in the environment container, and a registry address of a registry deployed in the base application container;
and replacing the registry address with the basic service address, and replacing the service call addresses of the two service modules with the registry address.
In some embodiments of the application, the constructing means further comprises a transmission message configuration module for:
obtaining a corresponding message source category allocated to the environment container and a message identifier of the message source category from a message resource pool of a message middleware;
And when a service module deployed in a service environment corresponding to the environment container sends a transmission message to the message resource pool, replacing the message identifier into configuration data of the transmission message.
In some embodiments of the application, the building apparatus further comprises a storage space configuration module for:
acquiring a corresponding database allocated to the environment container from a database resource pool, and determining a basic application address corresponding to the database;
and replacing the storage container address of the at least one service module with the basic application address of the corresponding database.
In a third aspect of the present application, there is provided a construction system of a service environment, the construction system comprising: an information receiving layer, an information processing layer, a task scheduling layer and a task executing layer for executing the construction method of the service environment;
the information receiving layer is used for receiving construction information and construction instructions of the service environment input by a user and sending the construction information to the information processing layer;
the information processing layer is used for determining a construction task list of the service environment according to the received construction information sent by the information receiving layer and sending the construction task list to the task scheduling layer;
The task scheduling layer is used for generating a control instruction corresponding to the task construction list according to the received construction task list and sending the control instruction to the task execution layer;
the task execution layer is used for receiving the control instruction sent by the task scheduling layer and constructing the service environment according to the control instruction.
In some embodiments of the application, the task execution layer comprises: the system comprises a construction request receiving module, a container determining module, a service address replacing module and a service environment construction module.
The embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program is executed by a processor to execute the steps of the method for constructing the service environment.
According to the construction method, the device, the system and the readable storage medium of the service environment, provided by the embodiment of the application, at least one set of service environment to be constructed, indicated by the service environment construction request, is determined according to the received service environment construction request of the target service; generating an environment container corresponding to each business environment and comprising a basic application container and at least one service deployment container, and determining a basic service address of the basic application container in each environment container; acquiring a plurality of groups of at least one service module forming the target service, adding each group of at least one service module into at least one service deployment container of a corresponding environment container, and respectively replacing a basic service address in at least one service module configuration file added in each environment container with a basic service address of a corresponding basic application container; and arranging the at least one service module which is replaced by the basic service address of the corresponding basic application container in each environment container to obtain at least one set of constructed service environment.
Compared with the construction method of the service environment in the prior art, the construction method of the service environment can quickly construct at least one set of service in the service environment construction request by determining the environment container corresponding to each service environment according to the received service environment construction request of the target service and replacing the container address of the environment container into the configuration file of at least one service module of the target service, and the construction efficiency of the service environment and the construction flexibility of the service environment are improved on the premise that no interference between each service environment can be ensured, so that the method is beneficial to reducing the workload of workers.
In order to make the above objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic architecture diagram of a system for constructing a service environment according to an embodiment of the present application;
fig. 2 is a flowchart of a method for constructing a service environment according to an embodiment of the present application;
FIG. 3 is a flowchart of a method for constructing a service environment according to another embodiment of the present application;
fig. 4 is a schematic structural diagram of a device for constructing a service environment according to an embodiment of the present application;
FIG. 5 is a second schematic structural diagram of a device for constructing a service environment according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. Based on the embodiments of the present application, every other embodiment obtained by a person skilled in the art without making any inventive effort falls within the scope of protection of the present application.
In order to enable a person skilled in the art to use the present disclosure, the following embodiments are presented in connection with a specific application scenario "build at least one set of business environments to be built in a target business". It will be apparent to those having ordinary skill in the art that the general principles defined herein may be applied to other embodiments and applications without departing from the spirit and scope of the application. Although the present application is primarily described in terms of building at least one set of business environments to be built in a target business, it should be understood that this is but one exemplary embodiment.
It should be noted that the term "comprising" will be used in embodiments of the application to indicate the presence of the features stated hereafter, but not to exclude the addition of other features.
One aspect of the present application relates to a business environment building system. The system comprises an information receiving layer, an information processing layer, a task scheduling layer and a task executing layer, wherein the information receiving layer receives construction information and construction instructions of a service environment input by a user and sends the construction information to the information processing layer; the information processing layer determines a construction task list of the service environment according to the received construction information sent by the information receiving layer, and sends the construction task list to the task scheduling layer; the task scheduling layer generates a control instruction corresponding to the task construction list according to the received construction task list, and sends the control instruction to the task execution layer; the task execution layer comprises: the system comprises a construction request receiving module, a container determining module, a service address replacing module and a service environment construction module, wherein the construction request receiving module, the container determining module, the service address replacing module and the service environment construction module are used for receiving a control instruction sent by the task scheduling layer and constructing a service environment according to the control instruction.
It should be noted that before the application of the present application is provided, a plurality of service environments need to be built from development to online for a developer, but only one service environment needs to be built, so that the developer needs to write an installation and maintenance manual, apply for a plurality of virtual machines, install and configure a basic application on each virtual machine, then deploy services corresponding to new functions to corresponding machines in a manual or automatic manner, and update maintenance documents in time during the development process, and for different service environments, the environment configuration needs to be changed accordingly, which is time-consuming, labor-consuming and error-prone. However, according to the method for constructing the service environment provided by the application, at least one set of service environment to be constructed of the target service can be determined according to the received service environment construction request of the target service, meanwhile, the environment container corresponding to each service environment is determined, the container address of the environment container is replaced to the obtained configuration file of at least one service module forming the target service, and at least one service module with the corresponding container address is arranged in each environment container, so that at least one set of service environment is constructed. On the premise of ensuring that no interference exists between each service environment, the construction efficiency of the service environment and the construction flexibility of the service environment are improved, and the workload of workers is reduced.
Fig. 1 is a schematic architecture diagram of a service environment construction system 100 according to an embodiment of the present application. The business environment building system 100 includes an information receiving layer 110, an information processing layer 120, a task scheduling layer 130, and a task execution layer 140.
The method for constructing a service environment according to the embodiment of the present application will be described in detail with reference to the description of the system 100 for constructing a service environment shown in fig. 1.
Referring to fig. 2, a flow chart of a method for constructing a service environment according to an embodiment of the present application is shown, where the method may be executed by a task execution layer 140 in a service environment construction system 100, and as shown in fig. 2, the specific execution process is as follows:
s201, determining at least one set of service environment to be constructed indicated by the service environment construction request according to the received service environment construction request of the target service.
In the step, according to the received service environment construction request of the target service, at least one set of service environments to be constructed, which are indicated in the service environment construction request of the target service, is determined, and the service environments may be: offline environments of the target business, such as test environments, development environments, and the like.
Therefore, at least one set of service environment required by the target service can be constructed according to the received service environment construction request of the target service, and manual construction and configuration of developers one by one are not needed.
S202, generating environment containers corresponding to each business environment, wherein the environment containers comprise a basic application container and at least one service deployment container, and determining basic service addresses of the basic application containers in each environment container.
In this step, in order to ensure that no interference exists between the service environments, it is necessary to isolate different service environments, first, generate an environment container corresponding to each service environment and including a base application container and at least one service deployment container through a dock mirror image, and determine a base service address of the base application container in each environment container. Since each environment container has its unique base service address, the base service address of the base application container in each environment container is generated simultaneously when the environment container corresponding to each business environment is generated.
The application realizes isolation between different service environments by configuring corresponding environment containers for each service environment.
S203, acquiring a plurality of groups of at least one service module forming the target service, adding each group of at least one service module into at least one service deployment container of a corresponding environment container, and respectively replacing a basic service address in at least one service module configuration file added in each environment container with a basic service address of a corresponding basic application container.
In the step, a target service is formed by at least one service module, but for the target service, the service modules in each service environment to be constructed of the target service are the same, for one service environment to be constructed, multiple groups of at least one service module which is already packaged and forms the target service are obtained from a code base, each group of at least one service module is added into at least one service deployment container of a corresponding environment container, and a basic service address in at least one service module configuration file added into each environment container is replaced by a basic service address of a corresponding basic application container respectively, namely, a basic service address in a configuration file of each service module in each service environment is replaced by a basic service address of a basic application container corresponding to the service environment.
For example, there are 3 service environments that the target service needs to construct, service environment 1, service environment 2, and service environment 3, service environment 1 corresponds to one basic application container a, service environment 2 corresponds to one basic application container B, service environment 3 corresponds to one basic application container C, the container address in the configuration file of each service module in service environment 1 is replaced with the basic service address of basic application container a, the container address in the configuration file of each service module in service environment 2 is replaced with the basic service address of basic application container B, and the container address in the configuration file of each service module in service environment 3 is replaced with the basic service address of basic application container C.
In the present application, the target service may correspond to an application software in which a plurality of functions are included, that is, a function corresponds to a service module in the present application.
Wherein the environment container comprises a base application container and/or a service deployment container, each service module is to be deployed into the service deployment container, and the service deployment container is obtained based on the base application container and is used for bearing the service modules.
The base application container is run on a mirrored basis, and once the base application container is started, the base application container can be logged into to install the required software or applications, including zookeeper, kedis, mysql, etc.
The service deployment container, i.e. the Docker container, is an open-source application container engine, allowing developers to package their applications and rely on packages into a portable container, then release them to any popular Linux machine, and also implement virtualization. The containers are completely using a sandbox mechanism without any interface to each other (an app like an iPhone). Almost no performance overhead, can be easily run in machines and data centers. Most importantly, they do not rely on any language, framework, or system.
The service environment adopts the Docker as a deployment container, so that the resource expenditure of a machine room is greatly reduced, the automation degree is high, and a plurality of service environments of a plurality of service lines can be maintained by only one person and two persons.
S204, the at least one service module with the basic service address of the corresponding basic application container is arranged in each environment container, and at least one set of constructed service environment is obtained.
In the step, at least one service module which replaces the basic service address of the corresponding basic application container is deployed in each environment container, so as to obtain at least one set of constructed service environment.
Corresponding to the above embodiment, the deployment is performed in the at least one service module service environment 1 with the basic service address of the basic application container a replaced, the deployment is performed in the at least one service module service environment 2 with the basic service address of the basic application container B replaced, and the deployment is performed in the at least one service module service environment 3 with the basic service address of the basic application container C replaced.
In addition, after at least one set of service environment is obtained, the application also verifies the constructed service environment, and after verification is passed, at least one set of constructed service environment is obtained.
According to the construction method of the service environment, provided by the embodiment of the application, according to the received service environment construction request of the target service, at least one set of service environment to be constructed, indicated by the service environment construction request, is determined; generating an environment container corresponding to each business environment and comprising a basic application container and at least one service deployment container, and determining a basic service address of the basic application container in each environment container; acquiring a plurality of groups of at least one service module forming the target service, adding each group of at least one service module into at least one service deployment container of a corresponding environment container, and respectively replacing a basic service address in at least one service module configuration file added in each environment container with a basic service address of a corresponding basic application container; and arranging the at least one service module which is replaced by the basic service address of the corresponding basic application container in each environment container to obtain at least one set of constructed service environment.
Compared with the construction method of the service environment in the prior art, the construction method of the service environment can determine the environment container corresponding to each service environment according to the received service environment construction request of the target service, replace the container address of the environment container into the configuration file of at least one service module of the target service, quickly construct at least one set of service environment needed by the target service, improve construction efficiency of the service environment and flexibility of construction of the service environment on the premise of ensuring that interference between each service environment does not exist, and contribute to reduction of workload of staff.
Referring to fig. 3, fig. 3 is a flowchart of a method for constructing a service environment according to another embodiment of the present application, where the method may be executed by a task execution layer 140 in a service environment construction system 100, and as shown in fig. 3, the specific execution process is as follows:
s301, determining at least one set of service environment to be constructed indicated by the service environment construction request according to the received service environment construction request of the target service.
S302, generating an environment container corresponding to each business environment, wherein the environment container comprises a basic application container and at least one service deployment container, and determining a basic service address of the basic application container in each environment container.
S303, acquiring a plurality of groups of at least one service module forming the target service, adding each group of at least one service module into at least one service deployment container of a corresponding environment container, and respectively replacing a basic service address in at least one service module configuration file added in each environment container with a basic service address of a corresponding basic application container.
S304, the at least one service module with the basic service address of the corresponding basic application container is arranged in each environment container, and at least one set of constructed service environment is obtained.
S305, determining the service module which needs to be updated in the at least one service module.
In this step, during the testing process or the using process of the target service, some service modules need to be updated or optimized for some problems, and at this time, the service module that needs to be updated needs to be determined from at least one service module.
S306, acquiring a service replacement module corresponding to the service module to be updated, and replacing the basic service address in the configuration file of the service replacement module with the basic service address of the corresponding basic application container respectively.
In the step, a service replacement module corresponding to the service module to be updated is obtained from the code library in a packing manner, and similarly, for each service environment to be constructed, the basic service address in the configuration file of the service replacement module is replaced by the basic service address of the corresponding basic application container.
Corresponding to the above embodiment, for the service environment a, if the service module D needs to be updated, the service update module D is generated by packaging the updated relevant configuration file of the service module D in the code library, the packaged service update module D is obtained, and the container address in the configuration file of the service update module D is replaced with the container address of the environment container a corresponding to the service environment.
S307, replacing the service module to be updated at the corresponding position in the environment container by using the service replacement module, and arranging the service replacement module with the basic service address of the corresponding basic application container in each environment container.
In the step, a service replacement module obtained from a code base is used for replacing a service module which needs to be updated at a corresponding position in an environment container, and a service replacement module with a basic service address of a corresponding basic application container is arranged in each environment container.
The service modules to be updated can be multiple, and only the service replacement module corresponding to each service module to be updated is required to be added to the position of the service module in the replacement process.
In each service environment, the data transmission mode between the two service modules can comprise hypertext transmission protocol transmission and/or remote procedure call protocol transmission.
Corresponding to the above embodiment, the service update module D is deployed to the corresponding location of the service module D.
The descriptions of step S301 to step S304 may refer to the descriptions of step S201 to step S204, which are not described herein.
Further, when the data transmission mode between two service modules in the at least one service module is hypertext transfer protocol transmission, the construction method further includes: determining a service receiver and a service provider for data transmission through hypertext transfer protocol transmission in the two service modules; and changing the service calling address of the service receiver into a deployment service address of a service deployment container of the corresponding service provider.
In the step, when the data transmission mode between two service modules in at least one service module is hypertext transmission protocol transmission, a service receiver and a service provider are determined from two service modules which perform data transmission in the hypertext transmission protocol transmission mode, and the service calling address of the service receiver is changed into the deployment service address of the corresponding service provider.
The hypertext transfer protocol (HTTP) is a protocol of the application layer and is the core of the web ecosystem. The original use of HTTP was to transport text and images, but the development of Web services models required a large number of Web-related protocols and components to build tools that run in Web browsers. Is one of the most widely used network protocols on the internet. All WWW files must comply with this standard. HTTP was originally designed to provide a method of publishing and receiving HTML pages.
For example, there is data transmission between the service module E and the service module F, and the data transmission is performed by using a hypertext transfer protocol, the service module E is a service receiver, and the service module F is a service provider, so that the service call address of the service receiver E is changed to the deployment service address of the corresponding service provider F.
Further, when the data transmission mode between two service modules in the at least one service module is remote procedure call protocol transmission, the construction method further includes: determining a base application container in the environment container, and a registry address of a registry deployed in the base application container; and replacing the registry address with the basic service address, and replacing the service call addresses of the two service modules with the registry address.
In the step, when the data transmission mode between two service modules in at least one service module is remote procedure call protocol transmission, a basic application container in an environment container corresponding to a service environment is determined for the service environment, and a registry address of a registry disposed in the basic container, and service call addresses of the two service modules transmitting data through the registry are replaced by the registry address of the registry.
Remote procedure call protocol transport (Remote Procedure Call Protocol, RPC) refers to remote procedure calls, such as two servers, a first server on which an application is deployed and a second server on which a service is deployed, the application on the second server wants to invoke an interface provided by the service on the second server, and since it cannot be invoked directly without being in a memory space, it is necessary to express the semantics of the call and convey the data of the call over the network. The framework includes three important roles: (1) A registry that maintains names of all services, a list of IP (Internet Protocol, IP) addresses of service providers, a list of IP (Internet Protocol, IP) addresses of service consumers; (2) a service provider capable of providing a cross-process service; (3) service consumer: a named service can be found and consumed.
IP (Internet Protocol, IP), the protocol of the interconnection between networks, is a protocol designed for communication over computer network interconnections. In the internet, it is a set of rules that enables all computer networks connected to the network to communicate with each other, specifying the rules that the computer should follow when communicating over the internet. Any manufacturer's computer system can be interconnected with the Internet as long as it complies with the IP protocol, and the IP address has uniqueness.
Corresponding to the above embodiment, there is data transmission between the service module G and the service module H, and the data transmission mode is remote procedure call protocol transmission, the service module G is a service receiver, and the service module H is a service provider, so that the service call addresses of the service receiver G and the service provider H are changed into the registry addresses of the registries.
Further, after the at least one service module having the base service address of the corresponding base application container replaced in each environment container is deployed, the building method further includes: obtaining a corresponding message source category allocated to the environment container and a message identifier of the message source category from a message resource pool of a message middleware; and when a service module deployed in a service environment corresponding to the environment container sends a transmission message to the message resource pool, replacing the message identifier into configuration data of the transmission message.
In the step, for a service environment, after replacing the container address of the environment container corresponding to the service environment in the configuration file of at least one service module in the service environment, a corresponding message source category allocated to the environment container corresponding to each service environment and a message identifier of the message source category can be obtained from a message resource pool of a message middleware; when the service module deployed in the service environment corresponding to the environment container sends the transmission message to the message resource pool, the message identifier of the message source type is replaced to the configuration data of the transmission message, so that the service module in each service environment can be ensured not to be interfered by the transmission messages of the service modules in other service environments when the message is transmitted, and message isolation is realized.
In addition, when the number of unobtained message source categories in the message resource pool is lower than a preset first threshold, generating a new message source category, and storing the new message source category into the message resource pool.
The message middleware utilizes an efficient and reliable message passing mechanism for platform independent data communication and for integration of the distributed system based on the data communication. By providing a messaging and message queuing model, it can extend inter-process communication in a distributed environment. Message middleware is suitable for distributed environments where reliable data transfer is required. In a system adopting a message middleware mechanism, different objects activate events of the other party by transmitting messages, and corresponding operations are completed. The sender sends the message to a message server, which stores the message in several queues and forwards the message to the recipient when appropriate. Message middleware can communicate between different platforms, is often used to mask features between various platforms and protocols, and enables collaboration between applications, which has the advantage of being able to provide both synchronous and asynchronous connections between clients and servers, and can transfer or store forward messages at any time, which is why it is a further factor than remote procedure calls.
Further, after the at least one service module having the base service address of the corresponding base application container replaced in each environment container is deployed, the building method further includes: acquiring a corresponding database allocated to the environment container from a database resource pool, and determining a basic application address corresponding to the database; and replacing the storage container address of the at least one service module with the basic application address of the corresponding database.
In this step, for a service environment, after replacing the container address of the environment container corresponding to the service environment in the configuration file of at least one service module in the service environment, a corresponding database can be allocated to the environment container, so as to ensure that no data storage error occurs in different service environments when data is stored, the storage container address of the at least one service module in each environment container is replaced with the basic application address of the corresponding database, thereby ensuring that no storage error occurs in different service environments in the data storage process.
In addition, when the number of the databases which are not acquired in the database resource pool is lower than a preset second threshold value, the databases in the database resource pool are increased.
According to the construction method of the service environment, provided by the embodiment of the application, according to the received service environment construction request of the target service, at least one set of service environment to be constructed, indicated by the service environment construction request, is determined; generating an environment container corresponding to each business environment and comprising a basic application container and at least one service deployment container, and determining a basic service address of the basic application container in each environment container; acquiring a plurality of groups of at least one service module forming the target service, adding each group of at least one service module into at least one service deployment container of a corresponding environment container, and respectively replacing a basic service address in at least one service module configuration file added in each environment container with a basic service address of a corresponding basic application container; deploying the at least one service module with the basic service address of the corresponding basic application container in each environment container to obtain at least one set of constructed service environment; determining a service module which needs to be updated in the at least one service module; acquiring a service replacement module corresponding to a service module to be updated, and respectively replacing a basic service address in a configuration file of the service replacement module with a basic service address of a corresponding basic application container; and replacing the service module to be updated at the corresponding position in the environment container by using the service replacement module, and arranging the service replacement module with the basic service address of the corresponding basic application container in each environment container.
Compared with the construction method of the service environment in the prior art, the construction method of the service environment can determine the environment container corresponding to each service environment according to the received service environment construction request of the target service, replace the container address of the environment container into the configuration file of at least one service module of the target service, quickly construct at least one set of service environment needed by the target service, acquire the corresponding service replacement module when the service module needs to be updated, replace the service module needed to be updated by using the service update module, and improve the construction efficiency of the service environment and the construction flexibility of the service environment on the premise of ensuring that no interference exists between each service environment, thereby being beneficial to reducing the workload of staff.
Referring to fig. 4 and 5, fig. 4 is a schematic structural diagram of a device for constructing a service environment according to an embodiment of the present application, and fig. 5 is a second schematic structural diagram of a device for constructing a service environment according to an embodiment of the present application. As shown in fig. 4, the construction apparatus 400 includes:
a construction request receiving module 410, configured to determine at least one set of service environments to be constructed indicated by the service environment construction request according to a received service environment construction request of a target service;
A container determining module 420, configured to generate an environment container corresponding to each service environment, where the environment container includes a base application container and at least one service deployment container, and determine a base service address of the base application container in each environment container;
a service address replacing module 430, configured to obtain multiple groups of at least one service module that forms the target service, add each group of at least one service module to at least one service deployment container of a corresponding environment container, and replace a basic service address in at least one service module configuration file added in each environment container with a basic service address of a corresponding basic application container;
the service environment construction module 440 is configured to deploy the at least one service module in each environment container, where the service module replaces the basic service address of the corresponding basic application container, to obtain at least one service environment that is constructed.
Further, the construction apparatus 400 further includes a service update module 450, where the service update module 450 is configured to:
determining a service module which needs to be updated in the at least one service module;
acquiring a service replacement module corresponding to a service module to be updated, and respectively replacing a basic service address in a configuration file of the service replacement module with a basic service address of a corresponding basic application container;
And replacing the service module to be updated at the corresponding position in the environment container by using the service replacement module, and arranging the service replacement module with the basic service address of the corresponding basic application container in each environment container.
In some embodiments of the application, the transmission means between the at least one service module comprises hypertext transfer protocol transmission and/or remote procedure call protocol transmission.
Further, the construction apparatus 400 further includes a first calling address replacement module 460, where when the data transmission manner between two service modules in the at least one service module is a hypertext transfer protocol transmission, the first calling address replacement module 460 is specifically configured to:
determining a service receiver and a service provider for data transmission through hypertext transfer protocol transmission in the two service modules;
and changing the service calling address of the service receiver into a deployment service address of a service deployment container of the corresponding service provider.
Further, the construction apparatus 400 further includes a second call address replacement module 470, where when the data transmission manner between two service modules in the at least one service module is a remote procedure call protocol transmission, the second call address replacement module 470 is configured to:
Determining a base application container in the environment container, and a registry address of a registry deployed in the base application container;
and replacing the registry address with the basic service address, and replacing the service call addresses of the two service modules with the registry address.
Further, the construction apparatus 400 further comprises a transmission message configuration module 480, and the transmission message configuration module 480 is configured to:
obtaining a corresponding message source category allocated to the environment container and a message identifier of the message source category from a message resource pool of a message middleware;
and when a service module deployed in a service environment corresponding to the environment container sends a transmission message to the message resource pool, replacing the message identifier into configuration data of the transmission message.
Further, the construction apparatus 400 further includes a storage space configuration module 490, where the storage space configuration module 490 is configured to:
acquiring a corresponding database allocated to the environment container from a database resource pool, and determining a basic application address corresponding to the database;
and replacing the storage container address of the at least one service module with the basic application address of the corresponding database.
According to the construction device of the service environment, provided by the embodiment of the application, according to the received service environment construction request of the target service, at least one set of service environment to be constructed, indicated by the service environment construction request, is determined; generating an environment container corresponding to each business environment and comprising a basic application container and at least one service deployment container, and determining a basic service address of the basic application container in each environment container; acquiring a plurality of groups of at least one service module forming the target service, adding each group of at least one service module into at least one service deployment container of a corresponding environment container, and respectively replacing a basic service address in at least one service module configuration file added in each environment container with a basic service address of a corresponding basic application container; and arranging the at least one service module which is replaced by the basic service address of the corresponding basic application container in each environment container to obtain at least one set of constructed service environment.
Compared with the construction method of the service environment in the prior art, the construction method of the service environment can be used for quickly constructing at least one set of service environment needed by the target service by determining the environment container corresponding to each service environment according to the received service environment construction request of the target service and replacing the container address of the environment container into the configuration file of at least one service module of the target service, and the construction efficiency of the service environment and the construction flexibility of the service environment are improved on the premise that no interference between each service environment can be ensured, so that the workload of workers is reduced.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the application. As shown in fig. 6, the electronic device 600 includes a processor 610, a memory 620, and a bus 630.
The memory 620 stores machine-readable instructions executable by the processor 610, which when executed by the processor 610, may perform one or more of the following operations, when the electronic device 600 is in operation, the processor 610 and the memory 620 communicate over a bus 630:
according to a received service environment construction request of a target service, determining at least one set of service environments to be constructed indicated by the service environment construction request;
generating an environment container corresponding to each business environment and comprising a basic application container and at least one service deployment container, and determining a basic service address of the basic application container in each environment container;
acquiring a plurality of groups of at least one service module forming the target service, adding each group of at least one service module into at least one service deployment container of a corresponding environment container, and respectively replacing a basic service address in at least one service module configuration file added in each environment container with a basic service address of a corresponding basic application container;
And arranging the at least one service module which is replaced by the basic service address of the corresponding basic application container in each environment container to obtain at least one set of constructed service environment.
In some embodiments of the application, the processor 610, when executing the machine-readable instructions, may perform one or more of the following:
determining a service module which needs to be updated in the at least one service module;
acquiring a service replacement module corresponding to a service module to be updated, and respectively replacing a basic service address in a configuration file of the service replacement module with a basic service address of a corresponding basic application container;
and replacing the service module to be updated at the corresponding position in the environment container by using the service replacement module, and arranging the service replacement module with the basic service address of the corresponding basic application container in each environment container.
In some embodiments of the application, the machine-readable instructions, when executed by the processor, may perform one or more of the following:
the transmission mode between the at least one service module comprises hypertext transfer protocol transmission and/or remote procedure call protocol transmission.
In some embodiments of the application, the processor 610, when executing the machine-readable instructions, may perform one or more of the following:
determining a service receiver and a service provider for data transmission through hypertext transfer protocol transmission in the two service modules;
and changing the service calling address of the service receiver into a deployment service address of a service deployment container of the corresponding service provider.
In some embodiments of the application, the processor 610, when executing the machine-readable instructions, may perform one or more of the following:
determining a base application container in the environment container, and a registry address of a registry deployed in the base application container;
and replacing the registry address with the basic service address, and replacing the service call addresses of the two service modules with the registry address.
In some embodiments of the application, the processor 610, when executing the machine-readable instructions, may perform one or more of the following:
obtaining a corresponding message source category allocated to the environment container and a message identifier of the message source category from a message resource pool of a message middleware;
And when a service module deployed in a service environment corresponding to the environment container sends a transmission message to the message resource pool, adding the message identifier into configuration data of the transmission message.
In some embodiments of the application, the processor 610, when executing the machine-readable instructions, may perform one or more of the following:
acquiring a corresponding database allocated to the environment container from a database resource pool, and determining a basic application address corresponding to the database;
and replacing the storage container address of the at least one service module with the basic application address of the corresponding database.
The embodiment of the present application further provides a computer readable storage medium, where a computer program is stored, where the computer program when executed by a processor may perform the steps of the method for constructing a service environment in the method embodiment shown in fig. 2 and fig. 3, and the specific implementation manner may refer to the method embodiment and will not be described herein.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer readable storage medium executable by a processor. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the above examples are only specific embodiments of the present application, and are not intended to limit the scope of the present application, but it should be understood by those skilled in the art that the present application is not limited thereto, and that the present application is described in detail with reference to the foregoing examples: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (11)

1. The construction method of the service environment is characterized by comprising the following steps:
according to a received service environment construction request of a target service, determining at least one set of service environments to be constructed indicated by the service environment construction request;
generating an environment container corresponding to each business environment and comprising a basic application container and at least one service deployment container, and determining a basic service address of the basic application container in each environment container;
acquiring a plurality of groups of at least one service module forming the target service, adding each group of at least one service module into at least one service deployment container of a corresponding environment container, and respectively replacing a basic service address in at least one service module configuration file added in each environment container with a basic service address of a corresponding basic application container;
and arranging the at least one service module which is replaced by the basic service address of the corresponding basic application container in each environment container to obtain at least one set of constructed service environment.
2. The building method according to claim 1, wherein after deploying the at least one service module with the base service address of the corresponding base application container in each environment container, the building method further comprises:
Determining a service module which needs to be updated in the at least one service module;
acquiring a service replacement module corresponding to a service module to be updated, and respectively replacing a basic service address in a configuration file of the service replacement module with a basic service address of a corresponding basic application container;
and replacing the service module to be updated at the corresponding position in the environment container by using the service replacement module, and arranging the service replacement module with the basic service address of the corresponding basic application container in each environment container.
3. The method of claim 1, wherein the transmission between the at least one service module comprises a hypertext transfer protocol transmission and/or a remote procedure call protocol transmission.
4. A method of constructing as claimed in claim 3, wherein when the data transmission between two of said at least one service modules is a hypertext transfer protocol transmission, the method further comprises:
determining a service receiver and a service provider for data transmission through hypertext transfer protocol transmission in the two service modules;
And changing the service calling address of the service receiver into a deployment service address of a service deployment container of the corresponding service provider.
5. A method of constructing as claimed in claim 3, wherein when the data transmission manner between two service modules of said at least one service module is a remote procedure call protocol transmission, the method of constructing further comprises:
determining a base application container in the environment container, and a registry address of a registry deployed in the base application container;
and replacing the registry address with the basic service address, and replacing the service call addresses of the two service modules with the registry address.
6. The building method according to claim 1, wherein after said at least one service module having a base service address of a corresponding base application container replaced with is deployed in each environment container, the building method further comprises:
obtaining a corresponding message source category allocated to the environment container and a message identifier of the message source category from a message resource pool of a message middleware;
and when a service module deployed in a service environment corresponding to the environment container sends a transmission message to the message resource pool, adding the message identifier into configuration data of the transmission message.
7. The building method according to claim 1, wherein after said at least one service module having a base service address of a corresponding base application container replaced with is deployed in each environment container, the building method further comprises:
acquiring a corresponding database allocated to the environment container from a database resource pool, and determining a basic application address corresponding to the database;
and replacing the storage container address of the at least one service module with the basic application address of the corresponding database.
8. A construction apparatus for a service environment, the construction apparatus comprising:
the construction request receiving module is used for determining at least one set of service environments to be constructed indicated by the service environment construction request according to the received service environment construction request of the target service;
a container determining module, configured to generate an environment container corresponding to each service environment, where the environment container includes a base application container and at least one service deployment container, and determine a base service address of the base application container in each environment container;
the service address replacement module is used for acquiring a plurality of groups of at least one service module forming the target service, adding each group of at least one service module into at least one service deployment container of a corresponding environment container, and respectively replacing a basic service address in at least one service module configuration file added into each environment container with a basic service address of a corresponding basic application container;
And the business environment construction module is used for arranging the at least one service module which is replaced with the basic service address of the corresponding basic application container in each environment container to obtain at least one set of constructed business environment.
9. A system for building a business environment, the system comprising: an information receiving layer, an information processing layer, a task scheduling layer, and a task execution layer that executes the construction method of the service environment according to any one of claims 1 to 7;
the information receiving layer is used for receiving construction information and construction instructions of the service environment input by a user and sending the construction information to the information processing layer;
the information processing layer is used for determining a construction task list of the service environment according to the received construction information sent by the information receiving layer and sending the construction task list to the task scheduling layer;
the task scheduling layer is used for generating a control instruction corresponding to the task construction list according to the received construction task list and sending the control instruction to the task execution layer;
the task execution layer is used for receiving the control instruction sent by the task scheduling layer and constructing the service environment according to the control instruction.
10. An electronic device, comprising: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating over the bus when the electronic device is running, the processor executing the machine-readable instructions to perform the steps of the method of constructing a business environment according to any one of claims 1 to 7.
11. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of the method of constructing a business environment according to any of claims 1 to 7.
CN201911416660.7A 2019-12-31 2019-12-31 Construction method, device and system of service environment and readable storage medium Active CN111857733B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911416660.7A CN111857733B (en) 2019-12-31 2019-12-31 Construction method, device and system of service environment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911416660.7A CN111857733B (en) 2019-12-31 2019-12-31 Construction method, device and system of service environment and readable storage medium

Publications (2)

Publication Number Publication Date
CN111857733A CN111857733A (en) 2020-10-30
CN111857733B true CN111857733B (en) 2023-12-05

Family

ID=72970894

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911416660.7A Active CN111857733B (en) 2019-12-31 2019-12-31 Construction method, device and system of service environment and readable storage medium

Country Status (1)

Country Link
CN (1) CN111857733B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112698970A (en) * 2020-12-31 2021-04-23 北京千方科技股份有限公司 Service calling method and device for micro-service architecture and computer storage medium
CN113805858B (en) * 2021-02-10 2024-04-05 京东科技控股股份有限公司 Method and device for continuously deploying software developed by scripting language
CN113553133B (en) * 2021-07-26 2022-11-04 上海哔哩哔哩科技有限公司 Page display method and system
CN115277652B (en) * 2022-06-29 2024-03-22 北京百度网讯科技有限公司 Streaming media processing method and device based on reasoning service and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109104467A (en) * 2018-07-25 2018-12-28 北京京东尚科信息技术有限公司 Develop environment construction method, apparatus and plateform system and storage medium
CN110457115A (en) * 2019-07-26 2019-11-15 武汉中海庭数据技术有限公司 A kind of KHB service publishing method, device and storage medium based on Docker

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100198651A1 (en) * 2009-01-31 2010-08-05 Stephen Michael Johnson Integrated infrastructure operations management system and method
US10348808B2 (en) * 2015-10-30 2019-07-09 International Business Machines Corporation Hybrid cloud applications

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109104467A (en) * 2018-07-25 2018-12-28 北京京东尚科信息技术有限公司 Develop environment construction method, apparatus and plateform system and storage medium
CN110457115A (en) * 2019-07-26 2019-11-15 武汉中海庭数据技术有限公司 A kind of KHB service publishing method, device and storage medium based on Docker

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
企业开发、测试环境快速部署方案的设计与实现;徐星;李银桥;刘学锋;毛建华;;工业控制计算机(第03期);全文 *
用微服务构架下一代图书馆服务平台――以FOLIO为例;肖铮;林俊伟;;图书馆杂志(第11期);全文 *

Also Published As

Publication number Publication date
CN111857733A (en) 2020-10-30

Similar Documents

Publication Publication Date Title
CN111857733B (en) Construction method, device and system of service environment and readable storage medium
US9569266B2 (en) Apparatus, method, and computer program product for solution provisioning
CN111290865A (en) Service calling method and device, electronic equipment and storage medium
CN111726399B (en) Docker container secure access method and device
US20150186129A1 (en) Method and system for deploying a program module
CN112104723B (en) Multi-cluster data processing system and method
US10574724B2 (en) Automatic discovery of management nodes and generation of CLI using HA module
CN110289983B (en) Load balancing application creation method and device, computer equipment and storage medium
US10831575B2 (en) Invoking enhanced plug-ins and creating workflows having a series of enhanced plug-ins
US20100131859A1 (en) Systems and methods for managing a collaboration space having application hosting capabilities
CN112882792B (en) Information loading method, computer device and storage medium
US11531526B1 (en) Creating portable serverless applications
CN109104368B (en) Connection request method, device, server and computer readable storage medium
CN115248692A (en) Device and method for supporting cloud deployment of multiple deep learning framework models
US11243755B1 (en) Resource aware patching service
US8990286B2 (en) Integration of web services with a clustered actor based model
US11494184B1 (en) Creation of transportability container files for serverless applications
CN112698930B (en) Method, device, equipment and medium for obtaining server identification
KR102623631B1 (en) Method for automatically configuring virtualized network function, and network function virtualization management and orchestration for the same
CN109729177B (en) Method and apparatus for generating information
JP2022542203A (en) Mini-program batch processing method, device, electronic device and readable storage medium
US11381665B2 (en) Tracking client sessions in publish and subscribe systems using a shared repository
CN113472638B (en) Edge gateway control method, system, device, electronic equipment and storage medium
US11513833B1 (en) Event listener interface for container-based execution of serverless functions
AU2022245632A1 (en) Run-time communications protocol parameter adjustment in containerized applications

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