Supercharge Your Innovation With Domain-Expert AI Agents!

Application environment switching method and system, storage medium and electronic equipment

An application environment and environment technology, applied in the computer field, can solve the problems of difficult deployment, long development cycle, waste of development cycle, etc., and achieve the effect of high efficiency and flexibility of environment switching, reduced manpower and material resources, and low access cost.

Pending Publication Date: 2022-01-21
BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In related technologies, by tampering with the local HOST (a local DNS (Domin Name System, Domain Name System) service) file, hijacking the domain name address query request initiated by the browser to the DNS server, and querying the domain name IP (Internet Protocol , Internet Protocol) address is changed to a specific IP address to switch the environment, but this method needs to confirm whether the modification takes effect multiple times, which wastes the development cycle; in another related technology, the environment is realized by aggregating multiple environments Seamless switching, however, requires a lot of changes to the code of the network communication layer to realize the switching function, and the server in all environments needs to complete the configuration to support cross-domain requests, which requires more third-party systems and a long development cycle; another related technology , through the reverse proxy of the local R&D environment to achieve environment switching, but its switching logic can only be used in the local R&D environment, and the configuration is complex, inflexible or even difficult to deploy in server environments such as testing and pre-release

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
  • Application environment switching method and system, storage medium and electronic equipment
  • Application environment switching method and system, storage medium and electronic equipment
  • Application environment switching method and system, storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] Example embodiments will now be described more fully with reference to the accompanying drawings. Exemplary embodiments may, however, be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete and will fully convey the concept of exemplary embodiments. communicated to those skilled in the art. The same reference numerals in the drawings denote the same or similar structures, and thus their detailed descriptions will be omitted.

[0032] Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced ...

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 relates to the technical field of computers, in particular to an application environment switching method, device and system, a storage medium and electronic equipment. The method comprises the following steps: acquiring a project identifier and an environment request parameter of a current service request in response to an environment switching operation of a user; according to the project identifier and the environment request parameter, screening out a target switching rule from pre-configured switching rules, and determining a target environment corresponding to the target switching rule; and according to the target switching rule, judging whether to perform a rewriting operation on the current service request, and according to a judgment result, sending the current service request to the target environment for processing. According to the invention, after various environment switching rules are self-defined, the target switching rule and the corresponding target environment can be determined based on the environment switching operation of the user, so that the service request is sent to the target environment for processing according to the target switching rule, the code invasiveness is low, and the multi-test environment switching capability can be quickly and concisely endowed to a project.

Description

technical field [0001] The present disclosure relates to the field of computer technology, and more specifically, to an application environment switching method, an application environment switching system, a computer storage medium, and an electronic device. Background technique [0002] In the iterative process of project R&D, developers or testers are usually required to debug the project in various application environments. For example, most projects have at least two environments, namely, the test environment and the production environment, and some projects also exist between the two environments. To make the same set of code applicable to multiple environments needs to be realized through environment switching. [0003] In related technologies, by tampering with the local HOST (a local DNS (Domin Name System, Domain Name System) service) file, hijacking the domain name address query request initiated by the browser to the DNS server, and querying the domain name IP (I...

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/3696G06F11/3664
Inventor 翟一鸣饶恩慧钱晶周廉贵冯春宇肖宁
Owner BEIJING WODONG TIANJUN INFORMATION TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More