Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for managing testing environment on the basis of container technology

A test environment and container technology technology, applied in the computer field, can solve the problems of waste of resources, occupying resources, limiting the ability of system testing services, etc., to achieve the effect of overcoming the inability to recycle management, reducing resource occupation, and avoiding integrity problems

Active Publication Date: 2018-10-23
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF2 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Usually, the test environment for the application needs to be consistent with the online environment. However, the manually configured test environment in the prior art may have a version different from the online environment, which reduces the completeness of the test.
In addition, there are many test requirements and a test virtual machine with complete resources needs to be provided correspondingly. However, the test environment solution in the prior art usually uses a manual allocation of a specified number of test virtual machines, and the virtual machines are always running even when they are not performing computing tasks. Occupying resources and being unable to reclaim the resources of idle virtual machines leads to a large waste of resources, which limits the ability of the system to provide testing services, which makes the resource management of the testing environment an urgent problem to be solved

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for managing testing environment on the basis of container technology
  • Method and device for managing testing environment on the basis of container technology
  • Method and device for managing testing environment on the basis of container technology

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038]Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0039] The technical solution of the embodiment of the present invention is a test environment management technology implemented based on LXC (Linux Containers, Linux software container)—container technology for short. figure 2 The system architecture of container technology is illustrated. Container technology is a user space interface of the Linux kernel container funct...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method and device for managing a testing environment on the basis of a container technology, electronic equipment and a readable storage medium, and solves the problem of theresource management of the testing environment through the implementation of the automatic startup and stop of the testing environment. The method comprises the following steps that: maintaining a container monitoring lookup table, wherein the container monitoring lookup table comprises one or a plurality of entries independently corresponding to one or a plurality of created test containers, andeach entry comprises the time-out time, the container state and the last access time of the corresponding test container; responding when an access request for the specific test container is received,inquiring the container monitoring lookup table to determine the state of the specific test container; responding when the state of the specific test container is off: starting the specific test container, updating the state corresponding to the specific test container in the container monitoring lookup table to be active, and in addition, updating the corresponding last access time as current time; and routing the access to the specific test container.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method, device, electronic equipment and readable storage medium for managing a test environment. Background technique [0002] Software application testing is an important link in the software development process. It is necessary to provide a corresponding test environment for various test requirements. For a test system that provides a large number of test services for multiple development projects at the same time, the resource management of the test environment is challenging. sex. [0003] In order to provide a corresponding test environment for testing requirements at the same time, existing technical solutions usually use a virtual machine test system to allocate a virtual machine test environment to a tester, and the tester maintains the environment. A virtual machine can be a software implementation of a computing device with complete hardware system functions, runs...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/36
CPCG06F11/3664G06F11/3688
Inventor 逯晓斌
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products