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

Method and device for quickly switching SDK network interface environments

A network interface and fast switching technology, applied in the field of Internet development, can solve problems such as incorrect test results, incorrect environment, and inconsistent test results, so as to avoid incorrect configuration and environment, ensure consistency, and improve efficiency.

Active Publication Date: 2019-04-16
WUHAN DOUYU NETWORK TECH CO LTD
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the above solutions need to compile the corresponding program packages synchronously after modifying the code, and also need to install different test applications to test during the test. Often due to human negligence or omissions, the environment is incorrect, the test application is incorrect, or the test results are incorrect. At the same time, there is no guarantee The package codes in different environments are consistent during testing (we can only subjectively think that the codes are consistent when developers package them)
Moreover, during the development and testing process of the current solution, there are often inconsistent test results in different environments, which are often caused by inconsistent application package codes in different environments. This cannot be effectively avoided, and it is difficult to locate after it appears.

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 quickly switching SDK network interface environments
  • Method and device for quickly switching SDK network interface environments
  • Method and device for quickly switching SDK network interface environments

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is only some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0038] Such as figure 1 As shown, it is a schematic flowchart of a method for quickly switching the SDK network interface environment provided by an embodiment of the present invention, including:

[0039] S1, define the environment configuration variables used to store the currently configured network interface environment, and add a text contro...

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 a device for quickly switching SDK network interface environments. The method comprises: defining an environment configuration variable used for storing a currentlyconfigured network interface environment, adding a text control used for displaying the currently configured network interface environment in a Demo application interface of an SDK, and monitoring along-press event of the text control; when the long-press event is monitored, popping up an environment configuration dialog box to prompt a user to select a network interface environment to be switched, and storing a result selected by the user into the environment configuration variable; and updating a main environment variable according to the value of the environment configuration variable soas to access a network interface environment address corresponding to the main environment variable when a service function of an SDK requests a network interface. Different interface environments canbe tested only by installing one sdk Demo, and the efficiency of testers and developers is effectively improved.

Description

technical field [0001] The present invention relates to the technical field of Internet development, and more specifically, to a method and device for quickly switching SDK network interface environments. Background technique [0002] A software development kit (SDK) is a collection of development tools that provide interfaces and functions for applications. Before the software development kit (SDK) is released, it has to go through joint debugging, testing, online and other stages. In the joint debugging stage, the software development kit (SDK) function is debugged in the joint debugging environment. After the function is normal, the network interface is submitted to the test environment. In the testing stage, the software development kit (SDK) function is tested in the test environment. After the test function is normal, the network interface is submitted to the formal environment. Before the software development kit (SDK) goes online, the software development kit (SDK) f...

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): G06F8/71G06F11/36
CPCG06F8/71G06F11/3664
Inventor 龚宁张文明陈少杰
Owner WUHAN DOUYU NETWORK 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