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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


