Unlock instant, AI-driven research and patent intelligence for your innovation.

Network setting method and device

A network and cellular network technology, applied in the field of communication, can solve problems such as loading driver failure, poor compatibility, and complicated operation steps, and achieve the effects of reducing adaptation work, stable performance, and simple operation

Inactive Publication Date: 2017-07-11
CHINA MOBILE COMM GRP CO LTD
View PDF1 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the method in the prior art has complicated operation steps and poor compatibility. When loading the driver, due to the different storage paths of different mobile phone drivers, the loading of the driver often fails.

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
  • Network setting method and device
  • Network setting method and device
  • Network setting method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] An embodiment of the present invention provides a network setting method, such as figure 1 As shown, the method may include:

[0039] Step 101. When the first network is started, the network setting device obtains DNS information of the first network according to a preset command, and saves the DNS information.

[0040] Wherein, the first network is a cellular network. Cellular network is a kind of mobile communication hardware architecture, which divides the service area of ​​mobile phones into small regular hexagonal sub-areas, and each cell has a base station, forming a structure that resembles a "beehive". Therefore, this mobile communication method Called cellular mobile communication. In the embodiment of the present invention, the cellular network may be a 3G / 4G network, or may be a cellular network of various standards such as 5G in the future.

[0041] Specifically, the preset command is an adb shell command. When the cellular network is enabled, the networ...

Embodiment 2

[0053] An embodiment of the present invention provides a network setting method, such as figure 2 As shown, the method may include:

[0054] Step 201, the network setting device determines whether the second network is enabled.

[0055] Specifically, the second network is a wireless WiFi network. The network setting device judges whether the WiFi is turned on, and the judging method can be realized through an adb shell command, that is, the network setting device judges whether the WiFi is turned on through the adb shell command.

[0056] Step 202, when the second network is turned on, the network setting device turns off the second network according to the preset command.

[0057] Specifically, if the WiFi is enabled, the network setting device uses the adb command to disable the WiFi.

[0058] Step 203, the network setting device determines whether the first network is enabled.

[0059] Specifically, the first network is a cellular network, and the network setting devic...

Embodiment 3

[0079] An embodiment of the present invention provides a network setting device 1, such as image 3 As shown, the device 1 may include: an acquisition unit 10, a storage unit 11, and a processing unit 12, wherein,

[0080] The acquiring unit 10 is configured to acquire Domain Name System (DNS) information of the first network according to a preset command when the first network is turned on;

[0081] The storage unit 11 is configured to save the DNS information;

[0082] The processing unit 12 is configured to open the second network according to the preset command, and is also used to set DNS according to the saved DNS information; and is also used to call an application programming interface API every preset time to open the second network. a network, and set routing information according to the first network.

[0083] Further, the preset command is an adb shell command.

[0084] Further, the processing unit 12 is configured to invoke the startUsingNetworkFeature() method...

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 embodiment of the invention discloses a network setting method and device. The method comprises steps of: acquiring and saving the domain name system (DNS) information of a first network according to a preset command when the first network is activated; and activating a second network according to a preset command and setting the DNS according to the saved DNS information; and calling an application programming interface (API) at preset intervals to active the first network and setting routing information according to the first network. The method and device may achieve the coexistence and activation of the first network and the second network.

Description

technical field [0001] The present invention relates to the communication field, in particular to a network setting method and device. Background technique [0002] In recent years, with the continuous development of electronic technology, smart phones have become more and more common in people's lives. Currently, the mainstream operating systems for smartphones are Apple's iOS system and Google's Android system. The Android operating system has been widely used for its openness. Generally, smartphones have the functions of WiFi network and cellular network. Cellular network refers to various cellular networks such as 3G / 4G and future 5G. Users can access the Internet through WiFi network or 3G / 4G network. When the Android mobile phone turns on the WiFi network, the system turns off the cellular network by default, and ordinary users cannot interfere with this behavior of the system in the interface. However, in some actual use scenarios, especially in some test scenarios...

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): H04W48/02H04W48/16H04W88/02H04M1/725
CPCH04M1/72513H04W48/02H04W48/16H04W88/02H04M1/72448
Inventor 陈超邵春菊姜雪松
Owner CHINA MOBILE COMM GRP CO LTD