CN110083366A - The generation method of application runtime environment, calculates equipment and storage medium at device - Google Patents
The generation method of application runtime environment, calculates equipment and storage medium at device Download PDFInfo
- Publication number
- CN110083366A CN110083366A CN201810067537.8A CN201810067537A CN110083366A CN 110083366 A CN110083366 A CN 110083366A CN 201810067537 A CN201810067537 A CN 201810067537A CN 110083366 A CN110083366 A CN 110083366A
- Authority
- CN
- China
- Prior art keywords
- application
- container
- identification information
- mirror image
- generation method
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
- G06F8/63—Image based installation; Cloning; Build to order
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
Abstract
This application discloses the generation method of application runtime environment, device, calculate equipment and storage medium.Wherein, a kind of generation method of application runtime environment, comprising: obtain the identification information of application to be disposed;Obtain mirror image corresponding with identification information, wherein mirror image does not include the application to be disposed, and is used to describe using the environment relied at runtime;Container corresponding with mirror image is created, wherein container is for running application;And application corresponding with identification information is obtained, and load acquired application in a reservoir.
Description
Technical field
This application involves technical field of virtualization more particularly to the generation method of application runtime environment, device, calculate equipment
And storage medium.
Background technique
With the development of internet technology, user needs to apply mould in terms of server end is developed and disposes a large number of services
Block.Here, an application module is usually the component that can complete a certain business function.In order to test or application deployment mould
Block, the commonly used virtualization technology of server end (such as linux container technology, abbreviation LXC) are executed in server end building and are answered
With the virtualized environment of module.For example, application container engine Docker can for each application module building comprising application and
The mirror image of the relied on middleware of application.
Summary of the invention
Present applicant proposes a kind of generation schemes of application runtime environment, to solve how to improve building application runtime environment
Flexibility the problem of.
On one side according to the application, a kind of generation method of application runtime environment is provided, comprising: obtain to be disposed answer
Identification information;Obtain corresponding with identification information mirror image, wherein the mirror image do not include it is to be disposed described in answer
With, and the environment relied at runtime for describing the application;Create container corresponding with the mirror image, wherein described
Container is for running the application;And application corresponding with the identification information is obtained, and load is obtained in the above-described container
The application taken.
On one side according to the application, a kind of generating means of application runtime environment are provided, comprising: mirror image acquiring unit,
For obtaining the identification information of application to be disposed, and obtain mirror image corresponding with the identification information, wherein the mirror image is not
Comprising the application to be disposed, and the environment relied at runtime for describing the application;Container creating unit, is used for
Create container corresponding with the mirror image, wherein the container is for running the application;And application management unit, it is used for
Application corresponding with the identification information is obtained, and loads acquired application in the above-described container.
According to the application on one side, a kind of calculating equipment is provided, comprising: one or more processors, memory and
One or more programs.One or more programs are stored in the memory and are configured as by one or more of processors
It executes, one or more of programs include the instruction for the generation method for executing the application runtime environment of the application.
On one side according to the application, a kind of storage medium is provided, one or more programs are stored with, it is one or more
A program include instruction, described instruction when executed by a computing apparatus so that it is described calculate equipment execute the application application fortune
The generation method of row environment.
It to sum up, can determine to be disposed in application, automation acquisition is answered with operation according to the technical solution of the application
With the corresponding mirror image of required middleware, loaded in a reservoir so as to generate the corresponding container of mirror image and will apply automatically
(such as loading module is applied in load in a reservoir first, is then obtained by the module and is loaded application).In other words, the application
Technical solution can automate the environment for generating operation application based on the mirror image and application respectively managed independently.In addition illustrate
It is that, due to that can generate application runtime environment according to mirror image independent and application, the technical solution of the application can be to avoid
When user updates application every time, generation middleware and application are bound together mirror image, and avoid passing through comprising application and centre
The mirror image of part generates the environment of operation application.Typically, it in the application scenarios such as such as agile development, widely applies (i.e. a large amount of
Business module) need frequent iteration to update.When that will apply with Middleware Binding generation mirror image, the mirror image needs of a large amount of iteration are accounted for
According to biggish memory space, and generate biggish network resource consumption.The technical solution of the application can generate to avoid frequent
Mirror image, and make the corresponding mirror image of middleware reusing degree with higher (i.e. a mirror image can be used for the application of multiple versions or
The running environment of the multiple type applications of person constructs).In this way, building application runtime environment can be improved in the technical solution of the application
Flexibility.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for
For those of ordinary skill in the art, without any creative labor, it can also be obtained according to these attached drawings
His attached drawing.
Fig. 1 shows the schematic diagram of the application scenarios 100 according to some embodiments of the application;
Fig. 2 shows the flow charts according to the generation method 200 of the application runtime environments of the application some embodiments;
Fig. 3 shows the user interface schematic diagram according to the client of the application one embodiment;
Fig. 4 shows the flow chart of the generation method 400 of the application runtime environment according to some embodiments of the application;
Fig. 5 shows the user interface schematic diagram according to the client of the application one embodiment;
Fig. 6 shows the schematic diagram of the application scenarios according to some embodiments of the application;
Fig. 7 shows the schematic diagram of the generating means 700 of the application runtime environment according to some embodiments of the application;
Fig. 8 shows the schematic diagram of the generating means 800 of the application runtime environment according to some embodiments of the application;And
Fig. 9 shows the composite structural diagram of a calculating equipment.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that the described embodiments are only a part but not all of the embodiments of the present application.Based on this
Embodiment in application, every other reality obtained by those of ordinary skill in the art without making creative efforts
Example is applied, shall fall in the protection scope of this application.
Fig. 1 shows the schematic diagram of the application scenarios according to some embodiments of the application.As shown in Figure 1, application scenarios 100
Including client 110 and apply operating system 120.Here, client 110 for example can be desktop computer, mobile phone, put down
The various calculating equipment such as plate computer or laptop computer.It is used to dispose the environment of operation application using operating system 120, that is, is used for
Execute application.It for example may include one or more servers using operating system 120.Here, various suitable using can be
Operate in the Service Component (being referred to as business module) using operating system 120.Using e.g. hypertext transfer protocol
(Hyper Text Transport Protocol, abbreviation HTTP) serviced component or business data processing component etc., the application couple
This is with no restrictions.In some embodiments, one apply application operating system 120 in run when need to rely on middleware (
It is properly termed as infrastructure service component).For example, a web is applied and is depended on web service component.Web service component be, for example, Ah
Pa surprise (Apache) serviced component etc..In another example one adds (Java) application to depend on Java platform component.Here, it applies
Operating system 120 can be communicated by network 130 with client 110.Ring is run about application from client 110 receiving
When the generation request in border, cell therefor can be generated according to the mirror image of the relied on middleware of application using operating system 120.
Application can be loaded in container generated using operating system 120.Below with reference to Fig. 2 to the generation side of application runtime environment
Method further illustrates.
Fig. 2 shows the flow charts according to the generation method 200 of the application runtime environments of the application some embodiments.Using
The generation method 200 of running environment can for example execute in application operating system 120, but not limited to this.
As shown in Fig. 2, method 200 may include step S201, the identification information of application to be disposed is obtained.In other words,
Step S201 can be determined wait be deployed in the application for applying operating system 120.
According to the application one embodiment, in step s 201, the fortune comprising identification information from client 110 is received
The request of row environment generation, and identification information is extracted from generating in request.For example, identification information may include the mark of application.Again
For example, identification information may include mark, version number and the downstream application mark of application.Wherein, downstream application mark is for retouching
State the downstream application that operation is triggered after the application operation to be disposed.In other words, the application to be disposed is answered with downstream
With associated.For example, that be disposed applies after executing data processing, data processed result can be transmitted downstream to answer
With so that downstream application carries out subsequent business processing operation (the upstream application touching i.e. by being disposed using data processed result
Send out the business processing operation of downstream application).In another example the application to be disposed can determine whether under starting according to service logic
Trip application.
Fig. 3 shows the user interface schematic diagram of client 110.User interface (i.e. command Window) shown in Fig. 3 can
Deployment order is applied for inputting.Client 110 can generate corresponding running environment according to application deployment order and generate request.
For example, applying deployment order shown in region 301 are as follows: " ./run.sh-s display-u xxxx-v 1.0.228-d
mixer:10.133.1.104:9526".Step S201 receive about in region 301 apply the corresponding operation of deployment order
When environment generation is requested, being identified as " display " to application deployment can be determined, version number is " 1.0.228 ", downstream application
It is identified as " mixer:10.133.1.104:9526 ".Wherein, " mixer " indicates a downstream application title,
" 10.133.1.104 " indicates the access address of downstream application, and " 9526 " indicate the access port of downstream application.
In yet another embodiment, step S201 received running environment generate the mark that request may include multiple applications
Know information.Here, the identification information respectively applied may include the mark for applying corresponding one or more downstream applications.This
Sample, step S201 can determine downstream application corresponding to multiple applications to be disposed and each application.
In step S202, mirror image corresponding with identification information is obtained.Wherein, mirror image does not include application to be disposed, and
For describing using the environment relied at runtime.In other words, step S202 it is available with to be disposed using corresponding
Mirror image.In this way, step S202 can be bound together mirror to avoid middleware is generated when user updates application every time with application
Picture, and avoid passing through the environment that operation application is generated comprising the mirror image of application and middleware.For example, being net in application to be disposed
Page is in application, mirror image is, for example, web services resource (for example, Apache mirror image etc.).In another example being in application to be disposed
Java is in application, mirror image is Java middleware resource (applying required java class for example including Java is executed).In some realities
It applies in example, step S202 can be determined according to identification information and be applied corresponding image banner.For example, step S202 can be looked into
The mapping table for describing mapping relations between set of applications and mirror image set is ask, to obtain and apply corresponding image banner.
According to image banner, the available corresponding mirror image of step S202.For example, step S202 can from mirrored storage server (
It is properly termed as mirror database) pull mirror image.
According to the mirror image obtained in step S202, method 200 can execute step S203, create appearance corresponding with mirror image
Device.Wherein, container is for running application.
In one embodiment, step S203 can be executed by Container Management engine in application operating system 120.Here,
Container Management engine is the application component operated on operating system, is referred to as the module for starting container.
In step S203, Container Management engine can generate the virtual environment for being used for application deployment, and by the virtual ring according to mirror image
Border is as a container.It here, can be with the kernel of sharing operation system using 120 multiple containers of operating system.Each container is (i.e. each
Virtual environment) it can have independent network access address, access port and independent user's space.
In yet another embodiment, after step S202 obtains mirror image corresponding to multiple applications, step S203 can be with needle
To each mirror image, cell therefor is generated.In other words, step S203 can be multiple for running the container of application with parallel generation.
In addition, identification information can also be transferred in container by step S203 in a manner of environmental variance.
In step S204, application corresponding with identification information is obtained, and loads acquired application in a reservoir.According to
The some embodiments of the application can be loaded in a reservoir by Container Management engine in step S204 and apply loading module, so as to
Using loading module, according to container identification information, (i.e. the mark being transferred in a manner of environmental variance in container in step S203 is believed
Breath), application accordingly (being actually using corresponding code resource) is obtained from application memory server, and load in a reservoir
Acquired application.
In one embodiment, step S204 can in a reservoir independent loads one application, without loading multiple answer
With.In this way, step S204 can allow the load application in the above-described container and identified upstream apply and under
Trip application is connected.In the present embodiment, since container and application correspond, applying in step S204 can be with upstream and downstream
Using flexibly being connected, so as to the combination of flexible application deployment.Here, multiple applications being carried out series connection can form
The combination of application.The combination of application is referred to as application system.
To sum up, method 200 can determine to be disposed in application, automation, which is obtained, applies required centre with operation
The corresponding mirror image of part, so as to generate the corresponding container of mirror image and (such as will hold first in a reservoir using load automatically
Loading module is applied in load in device, is then obtained by the module and is loaded application).In other words, method 200 can be based on respectively only
The mirror image of standpipe reason and application, automation generate the environment of operation application.
In addition illustrate, since application runtime environment, method 200 can be generated according to mirror image independent and application
It can be bound together mirror image to avoid middleware is generated when user updates application every time with application, and avoided passing through comprising answering
The environment of operation application is generated with the mirror image with middleware.Typically, it in the application scenarios such as such as agile development, widely applies
(i.e. a large number of services module) needs frequent iteration to update.When that will apply with Middleware Binding generation mirror image, the mirror of a large amount of iteration
As needing to occupy biggish memory space, and generate biggish network resource consumption.Method 200 can generate mirror to avoid frequent
Picture, and make the corresponding mirror image of middleware reusing degree with higher (i.e. a mirror image can be used for the application of multiple versions or
The running environment of multiple type applications constructs).In this way, the flexibility of building application runtime environment can be improved in method 200.
Fig. 4 shows the flow chart of the generation method 400 of the application runtime environment according to some embodiments of the application.Using
The generation method 400 of running environment can for example execute in application operating system 120, but not limited to this.
As shown in figure 4, method 400 may include step S401 to S404.The embodiment and step of step S401 to S404
Rapid S201-S204 is consistent, and which is not described herein again.
In addition, method 400 can also include step S405, after the acquired application of load, automate in a reservoir
Test application.In one embodiment, step S405 can load the test module for test application in a reservoir, to survey
Die trial block carries out usability testing etc. to the application loaded in container.Here, step S405 for example can be by Container Management
Engine obtains the test module for testing an application, and is loaded into container.Here, testing requirement is depended on, mould is tested
Block can execute corresponding automatic test script, and the application is without limitation.
In step S406, in a reservoir after load application, corresponding loading result information is generated.Wherein, load knot
Whether fruit information for example may include: and successfully loads application related description information, the mark of container and loaded application
Port-mark.In step S 407, loading result information is sent to client 110.In yet another embodiment, step S406 is also
Test result information can be generated, step S407 can also send test result information to client 110.
In addition method 400 can also include step S408, when application update when, obtain with by update using corresponding
What is updated is described using loading module, to utilize the application loaded in a reservoir using loading module by updating updated.
Here, by update using the application for referring to that deployment way changes.Update refers to and update using loading module
The consistent loading module of the deployment way of application.In this way, embodiments herein can be to avoid generation in application iterative process
A large amount of mirror images comprising being applied after updating, and updated application is loaded using loading module by updating.
Fig. 5 shows the user interface map of the client according to the application one embodiment.Command Window shown in fig. 5
Showing indicates that the running environment building of application " display " successfully describes 501 (" success to run service
Display "), the mark 502 of container and the port-mark 503 for having loaded application, so as to user's immediate feedback running environment
Construct situation.
To sum up, method 400 can be by the load test module in the container that mirror image generates, and by test module to application
It is tested, so as to automatically complete the test to application, and then the application runtime environment of available High Availabitity.This
In, method 400 can to avoid by user generate test script then in container using the trouble tested.Method 400 is also
It can be to client sending application loading result information and/or test result information, so that client 110 shows these knots immediately
Fruit information.
Fig. 6 shows the schematic diagram of the application scenarios according to some embodiments of the application.As shown in fig. 6, application scenarios 600
It may include calculating equipment 610, mirrored storage server 620, application memory server 630 and client 640.Calculate equipment
610 may include Container Management engine 611, using loading module resource storage unit 612, test module resource storage unit
613。
Client 640 can execute step S601, request to 611 sending application environment generation of Container Management engine.It is connecing
When receiving the request, Container Management engine 611 can execute step S602, pull mirror image from mirrored storage server 620.Herein
On the basis of, Container Management engine 611 can execute step S603, generate container 614 corresponding with mirror image.Here, Container Management
Engine 611 when generating container 614 can will using corresponding identification information (for example including application identities and version number etc.) with
The mode of environmental variance is transferred to container 614.Step S604 and S605 can also be performed in Container Management engine 611.In step
In S604, it will be loaded into container 614 using in loading module resource storage unit 612 using loading module resource.In this way, holding
Device 614 may include using loading module 6141.In step s 605, mould will be tested in test module resource storage unit 613
Block resource is loaded into container 614.In this way, container 614 may include test module 6142.It can be held using loading module 6141
Row step S606 is obtained from application memory server 630 according to identification information and is applied corresponding resource, and loads in container 614
In.In this way, container 614 may include using 6143.On this basis, test module 6142 can execute step S607, corresponding
Automatic test (such as usability testing etc.) is carried out with 6143.In addition, step S608 can also be performed in Container Management engine 611
And S609.In step S608, obtaining result information from container 614 (such as may include using loading result information and/or survey
Test result information etc.).In step S609, client 640 is sent by result information, so that client 640 shows result letter
Breath.
Fig. 7 shows the schematic diagram of the generating means 700 of the application runtime environment according to some embodiments of the application.It generates
Device 700 for example may reside within using in operating system 120, but not limited to this.
As shown in fig. 7, generating means 700 may include mirror image acquiring unit 710, container creating unit 720 and application pipe
Manage unit 730.
Mirror image acquiring unit 710 is used to obtain the identification information of application to be disposed, and obtains corresponding with identification information
Mirror image.Wherein, mirror image does not include application to be disposed, and is used to describe using the environment relied at runtime.In a reality
It applies in example, mirror image acquiring unit 710 can receive the running environment comprising identification information from client 110 and generate request,
And identification information is extracted from generating in request.Here, identification information for example may include that mark, version number and the downstream of application are answered
With mark.Wherein, downstream application of the downstream application mark for describing to trigger operation after using operation.In order to obtain mirror
Picture, mirror image acquiring unit 710 can determine according to identification information and apply corresponding image banner.For example, mirror image acquiring unit
710 can inquire the mapping table for describing mapping relations between set of applications and mirror image set, corresponding with applying to obtain
Image banner.According to image banner, mirror image acquiring unit 710 can obtain corresponding mirror image from mirrored storage server.
Container creating unit 720 is for creating container corresponding with mirror image.Wherein, container is for running application.At one
In embodiment, container creating unit 720 can generate the virtual environment for being used for application deployment, and by the virtual ring according to mirror image
Border is as container.In addition, the identification information can also be transferred to container by container creating unit 720 in a manner of environmental variance.
Application management unit 730 is for obtaining application corresponding with identification information, and answering acquired in load in a reservoir
With.In one embodiment, application management unit 730 can be loaded in a reservoir using loading module, so that application loads mould
Root tuber obtains corresponding application from application memory server according to identification information, and loads acquired application in a reservoir.One
In a embodiment, application management unit 730 can be applied described in independent loads in a reservoir, to load answering in a reservoir
With with identified upstream apply and downstream application connect.The more specific embodiment of generating means 700 and method 200 1
It causes, which is not described herein again.
Fig. 8 shows the schematic diagram of the generating means 800 of the application runtime environment according to some embodiments of the application.It generates
Device 800 for example may reside within using in operating system 120, but not limited to this.
As shown in figure 8, generating means 800 may include mirror image acquiring unit 810, container creating unit 820 and application pipe
Manage unit 830.Here, mirror image acquiring unit 810, container creating unit 820 and the respective embodiment of application management unit 830
Consistent with mirror image acquiring unit 710, container creating unit 720 and application management unit 730 respectively, which is not described herein again.In addition,
Generating means 800 can also include test and management unit 840 and notification unit 850.
In one embodiment, container creating unit 820 can also obtain and the application by updating when application updates
Loading module is applied in corresponding update, so that device 800 is loaded in a reservoir using the application loading module updated by more
New application.
Test and management unit 840 is after the load application of application management unit 830, automatic test application in a reservoir.
In one embodiment, test and management unit 840 loads the test module for test application in a reservoir, so as to test module
Usability testing is carried out to the application loaded in container.
After application management unit 830 loads the application in the above-described container, notification unit 850 be can be generated accordingly
Loading result information.Wherein, loading result information includes: and whether successfully loads the related description information of the application, institute
The mark for stating container and the port-mark for having loaded the application.Notification unit 850 can send loading result to client 110
Information.The more specific embodiment of generating means 800 and method 400 are consistent, and which is not described herein again.
Fig. 9 shows the composite structural diagram of a calculating equipment.As shown in figure 9, the calculating equipment is including one or more
A processor (CPU) 902, communication module 904, memory 906, user interface 910, and the communication for interconnecting these components
Bus 908.
Processor 902 can send and receive data by communication module 904 to realize network communication and/or local communication.
User interface 910 includes one or more output equipments 912 comprising one or more speakers and/or one
Or multiple visual displays.User interface 910 also includes one or more input equipments 914.User interface 910 for example can be with
The instruction of remote controler is received, but not limited to this.
Memory 906 can be high-speed random access memory, such as DRAM, SRAM, DDR RAM or other deposit at random
Take solid storage device;Or nonvolatile memory, such as one or more disk storage equipments, optical disc memory apparatus, sudden strain of a muscle
Deposit equipment or other non-volatile solid-state memory devices.
The executable instruction set of 906 storage processor 902 of memory, comprising:
Operating system 916, including the program for handling various basic system services and for executing hardware dependent tasks;
Using 918, the various programs including the generation method for realizing above-mentioned application runtime environment, this program can
Realize the various embodiments described above in process flow, such as may include application runtime environment shown in Fig. 7 generating means 700 or
The generating means 800 of person's application runtime environment shown in Fig. 8.In this way, the generating means of application runtime environment can determine to
Deployment obtains mirror image corresponding with the operation required middleware of application in application, automating, so as to generate mirror image pair
The container answered simultaneously automatically will (such as load be using loading module in a reservoir first, then by the mould in a reservoir using load
Block obtains and loads application).In other words, the generating means of application runtime environment based on the mirror image respectively managed independently and can answer
With automation generates the environment of operation application.
In addition, each embodiment of the application can pass through the data processing by data processing equipment such as computer execution
Program is realized.Obviously, data processor constitutes the application.
In addition, the data processor being commonly stored in one storage medium is situated between by the way that program is directly read out storage
It is executed in matter or the storage equipment (such as hard disk and/or memory) by program being installed or being copied to data processing equipment.Cause
This, such storage medium also constitutes the application.Any kind of recording mode can be used in storage medium, such as paper is deposited
Storage media (such as paper tape), magnetic storage medium (such as floppy disk, hard disk, flash memory), optical storage media (such as CD-ROM), magneto-optic are deposited
Storage media (such as MO) etc..
Therefore disclosed herein as well is a kind of non-volatile memory mediums, wherein it is stored with data processor, the data
Processing routine is used to execute any embodiment of the generation method of the above-mentioned application runtime environment of the application.
In addition, method and step described herein is with data processor in addition to that can be realized, can also by hardware Lai
It realizes, for example, can be by logic gate, switch, specific integrated circuit (ASIC), programmable logic controller (PLC) and embedding microcontroller etc.
To realize.Therefore this hardware that herein described method may be implemented also may be constructed the application.
The foregoing is merely the preferred embodiments of the application, not to limit the application, all essences in the application
Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the application protection.
Claims (15)
1. a kind of generation method of application runtime environment characterized by comprising
Obtain the identification information of application to be disposed;
Obtain mirror image corresponding with the identification information, wherein the mirror image does not include the application to be disposed, and is used to retouch
State the environment applied and relied at runtime;
Create container corresponding with the mirror image, wherein the container is for running the application;And
Application corresponding with the identification information is obtained, and loads acquired application in the above-described container.
2. generation method as described in claim 1, further includes: after the acquired application of load, in the above-described container certainly
Dynamicization tests the application.
3. generation method as claimed in claim 2, wherein applied described in the automatic test in the above-described container, comprising:
The test module for testing the application is loaded, in the above-described container so that the test module is to institute in the container
The application of load carries out usability testing.
4. generation method as described in claim 1, wherein the identification information for obtaining application to be disposed, comprising:
It receives the running environment comprising the identification information from client and generates request, and extracted from generation request
The identification information.
5. generation method as claimed in claim 4, wherein the identification information include the mark of the application, version number and
Downstream application mark, wherein downstream of the downstream application mark for describing to trigger operation after the application is run
Using.
6. generation method as described in claim 1, wherein described to obtain mirror image corresponding with the identification information, comprising:
According to the identification information, image banner corresponding with the application is determined;
According to the image banner, corresponding mirror image is obtained from mirrored storage server.
7. generation method as claimed in claim 6, wherein determination image banner corresponding with the application, comprising:
The mapping table for describing mapping relations between set of applications and mirror image set is inquired, it is corresponding with the application to obtain
Image banner.
8. generation method as described in claim 1, wherein described to create container corresponding with the mirror image, comprising:
By Container Management engine, according to the mirror image, the virtual environment for disposing the application is generated, and by the virtual environment
As the container;
The identification information is transferred to the container in a manner of environmental variance.
9. generation method as described in claim 1, wherein it is described that the application is obtained according to the identification information, and in institute
It states and loads acquired application in container, comprising:
Loading module is applied in load in the above-described container, so that the application loading module is deposited according to the identification information from application
It stores up server and obtains corresponding application, and load acquired application in the above-described container.
10. generation method as claimed in claim 9, further includes:
When the application updates, obtains and apply loading module using the described of corresponding update with by the described of update, with
Just the application passed through and updated is loaded in the above-described container using loading module using the described of update.
11. generation method as described in claim 1, wherein described to load acquired application in the above-described container, comprising:
Applied described in independent loads in the above-described container, so as to will load the application in the above-described container with it is identified on
Trip application and downstream application are connected.
12. generation method as described in claim 1, further includes:
After loading the application in the above-described container, corresponding loading result information is generated, wherein the loading result information
Include: and whether successfully loads described using related description information, the mark of the container and the end for having loaded the application
Mouth mark;
The loading result information is sent to the client.
13. a kind of generating means of application runtime environment characterized by comprising
Mirror image acquiring unit for obtaining the identification information of application to be disposed, and obtains mirror corresponding with the identification information
Picture, wherein the mirror image does not include the application to be disposed, and is used to describe the ring applied and relied at runtime
Border;
Container creating unit, for creating container corresponding with the mirror image, wherein the container is for running the application;
And
Application management unit, for obtaining corresponding with identification information application, and in the above-described container load acquired in
Using.
14. a kind of calculating equipment, characterized by comprising:
One or more processors;
Memory;And
One or more programs are stored in the memory and are configured as being executed by one or more of processors, described
One or more programs include the finger that the generation method of application runtime environment described in any one of 1-12 is required for perform claim
It enables.
15. a kind of storage medium, is stored with one or more programs, one or more of programs include instruction, described instruction
When executed by a computing apparatus, so that the calculating equipment executes application of any of claims 1-12 such as and runs ring
The generation method in border.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810067537.8A CN110083366B (en) | 2018-01-24 | 2018-01-24 | Application running environment generation method and device, computing equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810067537.8A CN110083366B (en) | 2018-01-24 | 2018-01-24 | Application running environment generation method and device, computing equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110083366A true CN110083366A (en) | 2019-08-02 |
CN110083366B CN110083366B (en) | 2021-06-18 |
Family
ID=67412143
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810067537.8A Active CN110083366B (en) | 2018-01-24 | 2018-01-24 | Application running environment generation method and device, computing equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110083366B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110908675A (en) * | 2019-11-15 | 2020-03-24 | 北京百度网讯科技有限公司 | Operating environment acquisition method and device and electronic equipment |
CN113596958A (en) * | 2021-07-28 | 2021-11-02 | 中移(杭州)信息技术有限公司 | Terminal equipment data interaction method, system, equipment and storage medium |
CN114327779A (en) * | 2021-12-30 | 2022-04-12 | 北京瑞莱智慧科技有限公司 | Application operation environment building method and device and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090150885A1 (en) * | 2007-10-19 | 2009-06-11 | Kubisys Inc. | Appliances in virtual computing environments |
CN103544049A (en) * | 2012-07-10 | 2014-01-29 | 百度在线网络技术(北京)有限公司 | Testing environment automatic processing method, and method and device for realizing testing automation |
CN105224466A (en) * | 2015-11-17 | 2016-01-06 | 广州亦云信息技术有限公司 | A kind of integration test method based on Docker and system |
CN105490860A (en) * | 2015-12-24 | 2016-04-13 | 北京奇虎科技有限公司 | Method, device and system for deploying application program operation environment |
CN106502905A (en) * | 2016-10-26 | 2017-03-15 | 腾讯科技(深圳)有限公司 | A kind of method of testing of application program, apparatus and system |
CN107220100A (en) * | 2016-03-22 | 2017-09-29 | 中国移动(深圳)有限公司 | One kind exploitation O&M method, device and cloud computing PaaS platform |
CN107463432A (en) * | 2017-08-17 | 2017-12-12 | 福建中金在线信息科技有限公司 | Server production environment dispositions method, device, electronic equipment and storage medium |
-
2018
- 2018-01-24 CN CN201810067537.8A patent/CN110083366B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090150885A1 (en) * | 2007-10-19 | 2009-06-11 | Kubisys Inc. | Appliances in virtual computing environments |
CN103544049A (en) * | 2012-07-10 | 2014-01-29 | 百度在线网络技术(北京)有限公司 | Testing environment automatic processing method, and method and device for realizing testing automation |
CN105224466A (en) * | 2015-11-17 | 2016-01-06 | 广州亦云信息技术有限公司 | A kind of integration test method based on Docker and system |
CN105490860A (en) * | 2015-12-24 | 2016-04-13 | 北京奇虎科技有限公司 | Method, device and system for deploying application program operation environment |
CN107220100A (en) * | 2016-03-22 | 2017-09-29 | 中国移动(深圳)有限公司 | One kind exploitation O&M method, device and cloud computing PaaS platform |
CN106502905A (en) * | 2016-10-26 | 2017-03-15 | 腾讯科技(深圳)有限公司 | A kind of method of testing of application program, apparatus and system |
CN107463432A (en) * | 2017-08-17 | 2017-12-12 | 福建中金在线信息科技有限公司 | Server production environment dispositions method, device, electronic equipment and storage medium |
Non-Patent Citations (1)
Title |
---|
周振兴: "基于Docker和持续交付的项目管理系统设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110908675A (en) * | 2019-11-15 | 2020-03-24 | 北京百度网讯科技有限公司 | Operating environment acquisition method and device and electronic equipment |
CN110908675B (en) * | 2019-11-15 | 2023-10-24 | 北京百度网讯科技有限公司 | Method and device for acquiring running environment and electronic equipment |
CN113596958A (en) * | 2021-07-28 | 2021-11-02 | 中移(杭州)信息技术有限公司 | Terminal equipment data interaction method, system, equipment and storage medium |
CN114327779A (en) * | 2021-12-30 | 2022-04-12 | 北京瑞莱智慧科技有限公司 | Application operation environment building method and device and storage medium |
CN114327779B (en) * | 2021-12-30 | 2023-09-01 | 北京瑞莱智慧科技有限公司 | Application running environment building method, device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110083366B (en) | 2021-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Jacobsen et al. | Contain this, unleashing docker for hpc | |
US20190155721A1 (en) | Automated integration testing with mock microservices | |
US10223106B1 (en) | Customized static source code analysis | |
KR101442360B1 (en) | Porting virtual machine images between platforms | |
CN112119374A (en) | Selectively providing mutual transport layer security using alternate server names | |
US9274843B2 (en) | Multi-redundant switchable process pooling for cloud it services delivery | |
US9058571B2 (en) | Tool for automated transformation of a business process definition into a web application package | |
Wettinger et al. | Unified invocation of scripts and services for provisioning, deployment, and management of cloud applications based on TOSCA | |
US8954922B2 (en) | Service emulator substituting for backend components to satisfy needs of front end components | |
US10977167B2 (en) | Application monitoring with a decoupled monitoring tool | |
US10185558B2 (en) | Language-independent program composition using containers | |
WO2016159949A1 (en) | Application analyzer for cloud computing | |
US20150220308A1 (en) | Model-based development | |
US10055393B2 (en) | Distributed version control of orchestration templates | |
US9612947B2 (en) | Code-free testing framework | |
US20170344462A1 (en) | Preservation of Modifications After Overlay Removal from a Container | |
CN110083366A (en) | The generation method of application runtime environment, calculates equipment and storage medium at device | |
US11853749B2 (en) | Managing container images in groups | |
US9760472B2 (en) | Tenant code debugging in multi-tenant systems | |
Weder et al. | Deployable self-contained workflow models | |
Wettinger et al. | Characterizing and evaluating different deployment approaches for cloud applications | |
US20160088067A1 (en) | Dynamic management of restful endpoints | |
US9934019B1 (en) | Application function conversion to a service | |
CN117337429A (en) | Deploying a machine learning model | |
US11704165B2 (en) | Persistently available container services through resurrection of user jobs in new compute container instances designated as lead instances |
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 |