CN105120470B - A kind of method and apparatus of network access capacity detection - Google Patents

A kind of method and apparatus of network access capacity detection Download PDF

Info

Publication number
CN105120470B
CN105120470B CN201510475948.7A CN201510475948A CN105120470B CN 105120470 B CN105120470 B CN 105120470B CN 201510475948 A CN201510475948 A CN 201510475948A CN 105120470 B CN105120470 B CN 105120470B
Authority
CN
China
Prior art keywords
network access
geographical location
terminal device
location information
configuration file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510475948.7A
Other languages
Chinese (zh)
Other versions
CN105120470A (en
Inventor
冯质干
陈世娇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201510475948.7A priority Critical patent/CN105120470B/en
Publication of CN105120470A publication Critical patent/CN105120470A/en
Application granted granted Critical
Publication of CN105120470B publication Critical patent/CN105120470B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information

Abstract

The embodiment of the invention discloses a kind of methods of network access capacity detection, the method comprise the steps that mobile network or GPS are opened in terminal device selection, determine the geographical location information in locating region, network access capacity detection service device configuration file synchronization request is sent to server, the configuration file that the server returns and update are received, connected with corresponding network access capacity detection service device and shows testing result on the screen.The present invention realizes detection and prompt to network access capacity.

Description

A kind of method and apparatus of network access capacity detection
Technical field
The present invention relates to development of Mobile Internet technology, more particularly to a kind of method of network access capacity detection.
Background technique
With the development of internet industry, the especially development of mobile Internet industry, Internet application user is increasingly More, user experience requires also higher and higher.This just forces operator and service provider to realize lean operation, enhances user experience. In order to promote user experience, QQ chat tool sees that other side is inputting the prompt of information and can promoted to software used at interface Availability consciousness, same terminal device is also required for such prompt facility, realizes the addressable energy to accessed network The detection of power.
The network access capacity detection of terminal device on the market at present, mainly use two ways: one is dispatching from the factory Setting network access ability detection service device configuration file in setting only interacts with fixed network ability detection service device and Network access capacity is detected, this method scalability is poor, can not change according to scene changes dynamic;Another is in order to prevent user That experiences is inconsistent, and network access capacity detection function is removed in selection, and user knows whether have after accessing network at this time Network access capacity is realized by access network address, on the one hand needs user's operation using this method, even if on the other hand network address It is inaccessible can not also judge whether be because of no access ability caused by.
Inventor has found in the implementation of the present invention:
Current network scenarios is intricate, and country variant, the network management strategy in area are different, using single network Access ability detection service device can not detect the network access capacity of all areas.Such as the default of current Android In sight, the network access capacity detection service device provided is inaccessible in China, this is because Chinese Government is to its screen It covers.On the other hand when terminal device geographical location, which changes, enters another network access restriction area, previous network Access ability detection service device can not reuse.
Summary of the invention
The technical problem to be solved by the embodiment of the invention is that providing a kind of method of network access capacity detection, make end End equipment realizes the detection of network access capacity under different geographical and scene.
In order to solve the above technical problems, the embodiment of the present invention adopts the following technical scheme that
A kind of method of network access capacity detection, comprising:
Mobile network or GPS are opened in terminal device selection, determine the geographical location information in locating region;
Terminal device sends network access capacity detection service device configuration file synchronization request to server, and the synchronization is asked It include the geographical location information that terminal device obtains in asking;
Terminal device receives the network access capacity detection service device configuration file that server returns, according in configuration file Address establish connection with corresponding network access capacity detection service device;
Terminal device will test as the result is shown on the screen;
In conclusion network access capacity detection method proposed by the present invention, by determining region locating for terminal device Geographical location information obtains the network access capacity detection service device configuration file with the Region Matching, takes with corresponding detection Business device connection, will test as the result is shown on terminal device screen.
Detailed description of the invention
Fig. 1 is the schematic diagram of network access capacity detection method
Fig. 2 is terminal device network access capacity detection method flow chart one
Fig. 3 is terminal device network access capacity detection method flow chart two
Fig. 4 is network access capacity detection method flow chart one when terminal device enters the second network access authority region
Fig. 5 is network access capacity detection method flow chart two when terminal device enters the second network access authority region
Fig. 6 is network access capacity detection method flow chart three when terminal device enters the second network access authority region
Fig. 7 is the device figure of terminal device network access capacity detection.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, with reference to the accompanying drawing and specific embodiment to this Invention is described in further detail, it is clear that described embodiment is a part of the embodiment of the present invention, rather than all real Apply example.Based on the embodiment of the present invention, those skilled in the art obtain without creative efforts other Embodiment shall fall within the protection scope of the present invention.
As shown in Figures 2 and 3, the embodiment of the invention provides a kind of method of network access capacity detection, this method is logical It crosses and determines that the geographical location information in region locating for terminal device obtains corresponding network access capacity detection service device configuration file It realizes the detection and prompt to current region network access capacity, specifically includes:
201: mobile network or GPS are opened in terminal device selection, determine the geographical location information in locating region;
Terminal device can select to open one or two in mobile data network and GPS when being switched on setting, One in mobile data network and GPS or two can be opened according to demand in use.
Specific step is as follows for the geographical location information in the determining locating region of terminal device:
Judge whether that mobile data network can be accessed;
If so, obtaining the MCC/MNC code geographical location information of present access network;
If it is not, obtaining the latitude and longitude coordinates geographical location information in locating region using GPS positioning system.
Wherein, it is returned when the MCC/MNC code geographical location information of terminal device accesses mobile data network except through receiving The MCC/MNC code returned can also be obtained except obtaining by directly reading the MCC/MNC code of SIM card.
202: terminal device sends network access capacity detection service device configuration file synchronization request to server;
Server, which is needed to have, returns to corresponding network access capacity detection service according to the geographical location information received The ability of device configuration file.
Configuration file synchronization request refers to the acquisition and current region network access capacity that terminal device is sent to server The request for the configuration file that detection service device matches.
203: terminal device receives the network access capacity detection service device configuration file that server returns;
204: connection is established with corresponding network access capacity detection service device in the address in configuration file based on the received;
205: will test as the result is shown on the screen.
The method of network access capacity detection provided in an embodiment of the present invention, terminal device obtain the geographical position of current region Confidence breath, the configuration file of access ability detection service device corresponding with server connection acquisition.Compared with prior art, it uses Terminal user may be implemented to the understanding of certain Local Area Network access ability, whole process in method provided in an embodiment of the present invention User's operation is not needed, so that user obtains preferable experience.
As shown in Figure 4 and Figure 5, when terminal device enters another network access authority region, the net of the embodiment of the present invention Network access ability detection method includes:
401: terminal device determines the geographical location information in locating region, judges whether to enter the second network access authority area Domain;
Specific steps are as follows:
Judge whether the terminal device can access mobile data network;
If so, obtaining the MCC/MNC code geographical location information of access network;
If it is not, installation condition is monitored, the MCC/MNC for accessing network is reacquired after waiting mobile data network state change Code geographical location information;
Terminal device judges whether to enter the second network access authority according to whether the MCC/MNC code of acquisition has occurred variation Region.
402: if so, sending the synchronization request for updating network access capacity detection service device configuration file to server;
It wherein include the geographical location information in the second network access authority region that terminal device obtains in synchronization request;
403: the network access capacity that terminal device receives the second network access authority region that server returns detects clothes Business device configuration file simultaneously updates;
Specifically, including:
Terminal device judges whether to receive the network access capacity detection service device configuration file of server return;
If so, updating network access capacity detection service device configuration file;
If it is not, check that current sync requests initiation number, and if being less than maximum synchronization request number, installation timer delay 402 are re-execute the steps after a period of time, if alreading exceed maximum synchronization request number, synchronization request failure.
404: terminal device is according to address and the corresponding network access capacity detection service in the configuration file received Device establishes connection;
405: will test as the result is shown on the screen.
The method of network access capacity detection provided in an embodiment of the present invention is visited when terminal device judgement enters the second network When asking permission region, network access capacity detection service device configuration file, the detection with the second network access authority region are updated Server connection, will test result and shows on the screen.It compared with prior art, can using method provided in an embodiment of the present invention It remains to detect network access capacity when terminal device enters the second network access authority region to realize, whole process User's operation is not needed, so that user obtains preferable experience.
As shown in fig. 6, terminal device judges whether to enter the mode that GPS also can be used in the second network access authority region, Specific step is as follows:
601: installing terminal equipment GPS heartbeat timer, realization periodically update geographical location;
402: while judging that GPS timer is triggered, whether terminal device screen is lighted;
603: if so, initiating geographic location information query request, obtaining the geographical location information in region locating for terminal device;
604: handling the GPS timer when if it is not, waiting the bright screen of next terminal device, trigger corresponding location updating.
605: a network access capacity before the geographical location information of acquisition and the terminal device is detected into configuration file The geographical location information obtained when synchronous is made comparisons, and geographical location variable quantity is calculated, by the geographical location variable quantity and in advance If threshold value is compared;
The specific geographical location variable quantity that calculates is to be converted to distance change value according to the longitude and latitude obtained twice.
606: if calculated geographical location variable quantity is more than preset threshold, judgement enters the second network access authority Region.
Whether the longitude and latitude changing value which is obtained by GPS is more than whether preset threshold realization enters terminal device The judgement in the second network access authority region.
As shown in fig. 7, the embodiment of the invention also provides a kind of device of network access capacity detection, described device packet It includes:
701: determining device, for determining the geographical location information in region locating for terminal device, including the detection of MCC/MNC code One or two in module and GPS positioning module;
Wherein MCC/MNC code detection module, for obtaining the MCC/MNC code of the terminal equipment access network, GPS positioning The latitude and longitude information of the available terminal device of module.
702: judgment means, for judging whether geographical location occurs substantial variation, i.e., whether terminal device enters Two network access authority regions, including one or two of MCC/MNC code judgment module and GPS judgment module;
MCC/MNC code judgment module can know the MCC/MNC code variation of terminal equipment access network.GPS judgment module It is obtained when synchronous with a preceding network access capacity detection service device configuration file by the longitude and latitude for obtaining terminal device Longitude and latitude compares, and judges whether variable quantity is more than preset threshold.
Wherein GPS judgment module specifically includes GPS timer, obtains module, computing module and comparison module:
GPS timer obtains geographical location information for realizing periodic;
Module is obtained, for obtaining geographical location information;
Computing module, for calculating the geographical location in the second network access authority region and first network access authority region Changing value;
Contrast module, for judging whether the geographical location information changing value is more than preset threshold.
703: sending device, for that will include the network access capacity detection of regional geography location information locating for terminal device Server profile request is sent to server;
704: reception device, for receiving the network access capacity detection service device configuration file of server return;
705: display device, for according to address and the corresponding network access capacity detection service in the configuration file Device connection, will test as the result is shown on the terminal device screen.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Modification, equivalent replacement for being made within spirit of that invention and principle etc. are all contained in claims of the invention It is interior.

Claims (10)

1. a kind of method of network access capacity detection, it is characterised in that:
Mobile network or GPS are opened in terminal device selection, determine the geographical location information in first network access authority region;
The terminal device sends the request for obtaining network access capacity detection service device configuration file, the request to server In include the acquisition geographical location information, the network access in heterogeneous networks access ability region is stored in the server Ability detection service device configuration file and corresponding geographical location information;
Terminal device receives the network access capacity detection service device configuration file that server returns, according in the configuration file Address establish connection with corresponding network access capacity detection service device;
It will test as the result is shown on the terminal device screen.
2. method according to claim 1, it is characterised in that
The terminal device determines the geographical location information in locating region, judges whether to enter the second network access authority region;
If so, sending the request for updating network access capacity detection service device configuration file to server, include in the request The geographical location information in second network access authority region;
Receive the network access capacity detection service device configuration file and more in the second network access authority region that server returns Newly;
Connection is established with corresponding network access capacity detection service device according to the address in the configuration file of the update;
It will test as the result is shown on the screen.
3. method according to claim 1 or claim 2, which is characterized in that the geographical location in the determining network access authority region Information includes:
Judge whether terminal device can be connected into mobile data network, if obtaining the MCC/MNC code geographical location of access network Information obtains latitude and longitude coordinates geographical location information using GPS positioning system if not;
What the MCC/MNC code geographical location information of the access network returned when accessing data mobile data network by receiving MCC/MNC code obtains.
4. method according to claim 2, which is characterized in that the terminal device judges whether to enter the second network access right Limit region specifically includes:
Whether detection MCC/MNC code changes;
Or judge whether geographical location variable quantity is more than preset threshold by GPS positioning system.
5. method according to claim 1, which is characterized in that the network of address and corresponding region in the configuration file is visited Ask that ability detection service device is one-to-one.
6. method according to claim 4, which is characterized in that described to judge geographical location variable quantity by GPS positioning system Whether more than preset threshold include:
GPS heartbeat timer is installed, realization periodically updates geographical location information;
While judging that the GPS timer is triggered, whether terminal device screen is lighted, and is looked into if initiating geographical location information Request is ask, geographical location information is obtained;It is corresponding that the GPS timers trigger is handled when waiting the bright screen of next terminal device if not Location updating;
A network access capacity detection service device configuration file before the geographical location information and terminal device of the acquisition is same The geographical location information obtained when step is made comparisons, and geographical location variable quantity is calculated, and by the geographical location variable quantity and is preset Threshold value is compared.
7. a kind of terminal device of network access capacity detection characterized by comprising
Determining device, for determining the geographical location information in region locating for terminal device;
Judgment means, for determining whether geographical location occurs substantial variation, the substantial variation refer to terminal device into Enter the second network access authority region;
Sending device, for that will include the network access capacity detection service device configuration file request hair of the geographical location information Give server;
Reception device, the network access capacity detection service device configuration file returned for receiving the server;
Display device, for being connected according to the address in the configuration file with corresponding network access capacity detection service device, Show testing result.
8. terminal device according to claim 7, which is characterized in that the determining device includes:
MCC/MNC code detection module, for obtaining the MCC/MNC code of the terminal equipment access network;
Or GPS positioning module, for obtaining the latitude and longitude information of the terminal device.
9. terminal device according to claim 7, which is characterized in that the judgment means include:
MCC/MNC code judgment module, for judging whether the MCC/MNC code of the terminal equipment access network changes;
GPS judgment module, for judging that the longitude and latitude that the terminal device GPS positioning obtains is examined with a preceding network access capacity Survey whether the longitude and latitude variable quantity obtained when server profile synchronizes is more than preset threshold.
10. terminal device according to claim 9, which is characterized in that the GPS judgment module includes:
GPS timer obtains geographical location information for realizing periodic;
Module is obtained, for obtaining geographical location information;
Computing module, the geographical location for obtaining the second network access authority region and first network access authority region change Amount;
Contrast module, for judging whether the geographical location information variable quantity is more than preset threshold.
CN201510475948.7A 2015-08-06 2015-08-06 A kind of method and apparatus of network access capacity detection Active CN105120470B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510475948.7A CN105120470B (en) 2015-08-06 2015-08-06 A kind of method and apparatus of network access capacity detection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510475948.7A CN105120470B (en) 2015-08-06 2015-08-06 A kind of method and apparatus of network access capacity detection

Publications (2)

Publication Number Publication Date
CN105120470A CN105120470A (en) 2015-12-02
CN105120470B true CN105120470B (en) 2019-03-12

Family

ID=54668303

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510475948.7A Active CN105120470B (en) 2015-08-06 2015-08-06 A kind of method and apparatus of network access capacity detection

Country Status (1)

Country Link
CN (1) CN105120470B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106411878B (en) * 2016-09-23 2020-02-14 杭州华为数字技术有限公司 Method, device and system for making access control strategy
CN107995063B (en) * 2017-12-08 2021-01-15 宇龙计算机通信科技(深圳)有限公司 Network detection method, device, terminal and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026459A (en) * 2006-02-17 2007-08-29 联想(北京)有限公司 Terminal, system and method for searching service via geographical position information
CN102118736A (en) * 2011-02-22 2011-07-06 中兴通讯股份有限公司 Mobile terminal and self-adaptive method and system thereof
CN103491529A (en) * 2013-09-27 2014-01-01 中国联合网络通信集团有限公司 Network access processing method and device for mobile terminal
CN103731801A (en) * 2012-10-16 2014-04-16 联想(北京)有限公司 Network connection method and device and electronic device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102547660B (en) * 2011-12-09 2014-07-02 惠州Tcl移动通信有限公司 Method and device for selecting server
US8983447B2 (en) * 2012-08-14 2015-03-17 Qualcomm Incorporated Methods, systems and devices for dynamic HPLMN configuration

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026459A (en) * 2006-02-17 2007-08-29 联想(北京)有限公司 Terminal, system and method for searching service via geographical position information
CN102118736A (en) * 2011-02-22 2011-07-06 中兴通讯股份有限公司 Mobile terminal and self-adaptive method and system thereof
CN103731801A (en) * 2012-10-16 2014-04-16 联想(北京)有限公司 Network connection method and device and electronic device
CN103491529A (en) * 2013-09-27 2014-01-01 中国联合网络通信集团有限公司 Network access processing method and device for mobile terminal

Also Published As

Publication number Publication date
CN105120470A (en) 2015-12-02

Similar Documents

Publication Publication Date Title
KR101478617B1 (en) Method and system for location identification
CN105163368A (en) Wireless network access method and device
CN103581828A (en) Method for inquiring nearby mobile terminals, server and system
CN112788639B (en) Network state synchronization method and device, storage medium and electronic equipment
CN103401907A (en) Synchronous processing method and system for login information of application program
WO2016041171A1 (en) Method and apparatus for determining terminal roaming status, terminal and server
CN106685891A (en) Verification method and apparatus for accessing network
CN103517405A (en) Network positioning method and system, mobile terminal and network-side apparatus
CN113055878B (en) Cloud card distribution method and device, electronic equipment and storage medium
CN104754610A (en) Pseudo base station positioning method, device and system
CN111093182B (en) Network optimal resource selection system for CPE (customer premises equipment)
WO2020087505A1 (en) Data transmission method and apparatus
CN105120470B (en) A kind of method and apparatus of network access capacity detection
CN103916435A (en) Method and device for judging authenticity of information
CN106817381A (en) Data processing method and device
US10111047B2 (en) Positioning method and device
CN114253774A (en) Disaster recovery method, device and storage medium for service management platform
CN111915250B (en) Store arrival detection method and device, storage medium and electronic equipment
EP3467547B1 (en) Service provision device, service provision method, and program recording medium
CN108153827A (en) Traffic congestion area determination method and device
WO2017020748A1 (en) Method and device for processing signalling tracking task
CN107396313B (en) Positioning triggering method and system
EP4131886A1 (en) Positioning method, device, and system, and storage medium
CN112601176B (en) Acceleration method and system based on user terminal positioning information
CN105163335B (en) A kind of network access management method, server, mobile terminal and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant