Environment switching method and system, computer equipment and computer readable storage medium

A technology for switching systems and environments, applied in the direction of software testing/debugging, etc., can solve the problem of low efficiency of environment switching, and achieve the effect of improving the efficiency of environment switching and easy and convenient operation of environment switching.

Pending Publication Date: 2022-07-08
WEIKUN (SHANGHAI) TECH SERVICE CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of this, the purpose of the embodiments of the present invention is to provide a context switching method, system, computer equipment, and computer-readable storage medium to solve the problem of low context switching efficiency

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
  • Environment switching method and system, computer equipment and computer readable storage medium
  • Environment switching method and system, computer equipment and computer readable storage medium
  • Environment switching method and system, computer equipment and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] see figure 1 , showing a flow chart of the steps of the environment switching method according to the first embodiment of the present invention. It can be understood that the flowchart in this embodiment of the method is not used to limit the sequence of executing steps. The following description will be exemplified by taking the computer device 2 as the execution subject. details as follows.

[0043] Step S100: Receive a user's request for environment switching based on the target system.

[0044] Specifically, the target system may be a Mock system or a joint debugging system. When the operation needs to be performed on the corresponding system, the corresponding environment parameters need to be modified to jump to the corresponding system. When users test business functions, they usually use the Mock system. Through the joint debugging test between the front end and the Mock system, the Mock system provides corresponding business scenarios according to the front ...

Embodiment 2

[0062] please continue figure 2 , showing a schematic diagram of the program modules of the second embodiment of the environment switching system of the present invention. In this embodiment, the environment switching system 20 may include or be divided into one or more program modules, and one or more program modules are stored in a storage medium and executed by one or more processors to complete the present invention. The invention can realize the above-mentioned environment switching method. The program modules referred to in the embodiments of the present invention refer to a series of computer program instruction segments capable of performing specific functions, and are more suitable for describing the execution process of the environment switching system 20 in the storage medium than the programs themselves. The following description will specifically introduce the functions of each program module in this embodiment:

[0063] The receiving module 200 is configured t...

Embodiment 3

[0081] see image 3 , is a schematic diagram of the hardware architecture of the computer device according to the third embodiment of the present invention. In this embodiment, the computer device 2 is a device that can automatically perform numerical calculation and / or information processing according to pre-set or stored instructions. The computer equipment 2 may be a rack-type server, a blade-type server, a tower-type server or a cabinet-type server (including an independent server, or a server cluster composed of multiple servers) and the like. like image 3 As shown, the computer device 2 at least includes, but is not limited to, a memory 21 , a processor 22 , a network interface 23 , and an environment switching system 20 that can communicate with each other through a system bus. in:

[0082] In this embodiment, the memory 21 includes at least one type of computer-readable storage medium, and the readable storage medium includes a flash memory, a hard disk, a multimed...

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 discloses an environment switching method, which is applied to an architecture management and control platform tool, and comprises the following steps: receiving an environment switching request of a user based on a target system; obtaining a corresponding environment configuration page based on the environment switching request, and displaying the environment configuration page to the user; receiving target configuration information input by the user based on the environment configuration page, and sending the target configuration information to a configuration server so as to perform information change on the target system based on the target configuration information through the configuration server; and when the information returned by the configuration server is successfully changed, restarting the target system so as to realize environment switching of the target system. According to the invention, rapid switching of the environment is realized, the environment switching operation is easier and more convenient, and the environment switching efficiency is improved.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of system environment management, and in particular, to an environment switching method, system, computer device, and computer-readable storage medium. Background technique [0002] At present, there are many application configurations and service configurations in the microservice architecture, which is not conducive to management. In order to manage the microservice platform more agilely and easily, an architecture management and control platform is designed based on DNS and RPC service discovery, which supports the management of application configuration and service configuration in all environments. In the testing process, due to the special external joint debugging environment, it is often impossible to call and return normally, so a mock environment is built to support the test. In the process of testing different business scenarios, it is often necessary to switch back and forth...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3664
Inventor 孙明威
Owner WEIKUN (SHANGHAI) TECH SERVICE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products