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

Method for detecting mobile phone network, and terminal

A technology for detecting mobile phones and networks. It is applied in data exchange networks, digital transmission systems, electrical components, etc. It can solve problems such as inaccessibility, inability to access the Internet, and potential safety hazards, and achieve the effects of eliminating accidental factors, accurate judgment, and improving reliability.

Inactive Publication Date: 2019-04-12
FUJIAN TIANQUAN EDUCATION TECH LTD
View PDF8 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there may be some problems in the above method. For the method of judging whether the network is available by PING an IP, there may be cases where PING an IP or domain name can be pinged, but still cannot access the Internet. For example, the router WIFI at home is not actually connected. On the Internet, but you can PING through; and for the method of requesting a fixed and accessible address through http, it is generally to use other company addresses, such as Baidu homepage, etc. At this time, other people’s addresses are used. If other people's addresses or URLs are unavailable, it will cause big problems when other people's URLs are changed; in addition, self-built URLs can be used to provide verification addresses by themselves, but self-built URLs are generally deployed directly in a computer room There are potential security risks on the server of the computer room. When the network of the computer room is different or the network is not good, it will not be able to access

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 for detecting mobile phone network, and terminal
  • Method for detecting mobile phone network, and terminal
  • Method for detecting mobile phone network, and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0059] Please refer to figure 1 and image 3 , a method for detecting a mobile phone network, comprising steps:

[0060] S1. Select a domain name from a plurality of preset domain names to access, judge whether the access is successful, if yes, the network is smooth, if not, execute S2;

[0061] Among them, each preset domain name corresponds to a computer room, and the number of domain names is not limited, and can be set according to specific circumstances. Preferably, computer rooms and internal services can be set up in three different regions in China, such as North China computer room, East China computer room and The computer room in South China has three domain names corresponding to the three computer rooms, and each computer room is equipped with UPS uninterruptible power supply, which can supply power by itself;

[0062] The nginx cluster service is deployed in each computer room. The nginx cluster service includes the nginx service as the entrance and multiple in...

Embodiment 2

[0070] The difference between this embodiment and embodiment one is:

[0071] Before the step S1, include:

[0072] Preset the initial weight corresponding to each domain name;

[0073] Specifically, the initial weight corresponding to each domain name can be set to an equal value, or different weights can be set according to the characteristics of each domain name. For example, the highest weight is set for the first-level domain name, from the first-level domain name to For multi-level domain names, the corresponding weights decrease in order, and the initial weight of each domain name can be randomly set to different values, etc.;

[0074] The domain name selected for access in the steps S1 and S2 is specifically:

[0075] Modify the network detection method of the bottom layer of the mobile phone, and each time the mobile phone performs network detection, select the domain name from the domain names to be selected according to the weight corresponding to the domain name ...

Embodiment 3

[0080] Please refer to figure 2 , a terminal 1 for detecting a mobile phone network, comprising a memory 2, a processor 3, and a computer program stored in the memory 2 and operable on the processor 3, and the processor 3 implements the computer program when executing the computer program Steps in Example 1.

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 method for detecting a mobile phone network, and a terminal. The method comprises the following steps: selecting a domain name from a plurality of preset domain names for access, judging whether the access is successful, if so, indicating that the network is unobstructed, if not, selecting the remaining domain names in the plurality of preset domain names for access, judging whether a successful accessing domain name exists, if so, indicating that the network is unobstructed, and if not, indicating that the network is unavailable. In the case of access failure of onedomain name, other domain names can be accessed, the current network condition is determined in combination with the access conditions of the plurality of domain names, accidental factors are eliminated as much as possible, the detection reliability of mobile phone network is improved, and the operation condition of the mobile phone network is accurately judged.

Description

technical field [0001] The invention relates to the technical field of Internet products, in particular to a method and a terminal for detecting a mobile phone network. Background technique [0002] With the progress of society, the rapid popularization of smart phones has driven the continuous development of mobile Internet functions. With the massive increase in the number of users and the amount of data, the usage of mobile phones has also expanded dramatically. When the mobile phone surfs the Internet, it usually switches between different networks such as 3G, 4G and WIFI. Every time the network is switched, the bottom layer of the mobile phone will make a network request to ensure whether the network is available. The bottom layer of a general mobile phone judges whether the network is available by PING an IP or http to request a fixed and accessible address, and determine whether the Internet can be accessed through the access results. However, there may be some prob...

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): H04L29/12H04L12/26H04W24/08
CPCH04L43/08H04L43/0817H04W24/08H04L61/4511
Inventor 刘德建林伟郭玉湖
Owner FUJIAN TIANQUAN EDUCATION TECH LTD