Running environment switching method and device and computer-readable storage medium

A technology for operating environment and switching equipment, which is applied in the field of communication, can solve the problems of low development and testing efficiency and cumbersome process, and achieve the effect of improving development and testing efficiency and reducing the process

Inactive Publication Date: 2018-03-30
PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
View PDF6 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The main purpose of the present invention is to provide an operating environment switching method, device and computer-readable storage medium, aiming to solve the existing operating environment switching method, which needs to go through links such as code modification, compilation and packaging, and the process is relatively cumbersome. Development and testing less efficient technical issues

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
  • Running environment switching method and device and computer-readable storage medium
  • Running environment switching method and device and computer-readable storage medium
  • Running environment switching method and device and computer-readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0052] The main solution of the embodiment of the present invention is: send a configuration file download request to the server at an interval preset time, and receive the configuration file fed back by the server based on the configuration file download request, then obtain the configuration environment variable from the configuration file, and The configuration environment variable is compared with the local environment variable, and finally when the configuration environment variable is different from the local environment variable, the current running environment is switched to the running environment corresponding to the configuration environment variable.

[0053]Changing the environment variables in the program code to switch the operating environment requires code modification, compilation, and packaging. Ther...

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 a running environment switching method and device and a computer-readable storage medium. The running environment switching method includes the following steps: sending a configuration-file downloading request to a server at a preset-time interval, and receiving a configuration file fed back by the server on the basis of the configuration-file downloading request; acquiringa configuration environment variable from the configuration file, and comparing the configuration environment variable with a local environment variable; and switching a current running environment to a running environment, which corresponds the configuration environment variable, when the configuration environment variable is different from the local environment variable. According to the method, the configuration file is read in a polled manner by a terminal through setting the configuration file in the background server, whether the running environment needs to be switched is verified according to the configuration environment variable in the configuration file, thus dynamic safe switching of the running environment is realized without the need for changing program code, processes areeffectively reduced, and development and test efficiency is improved.

Description

technical field [0001] The present invention relates to the communication field, in particular to a method, equipment and computer-readable storage medium for switching operating environments. Background technique [0002] There are a lot of application software installed in the mobile terminal, and each application software has different functions, which can realize the multifunctional requirements of the mobile terminal. However, before the application software goes online, a large number of tests will be carried out, including non-functional testing, functional testing, client performance testing, adaptation and compatibility testing, weak network testing, power consumption testing, protocol testing, security testing, and server performance testing. [0003] During the test, it is necessary to frequently switch the operating environment of the mobile terminal, and switching the operating environment requires changing the environment variable in the program code. Switchin...

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/36H04L29/08
CPCG06F11/3688H04L67/34
Inventor 林泽全
Owner PINGAN PUHUI ENTERPRISE MANAGEMENT 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