Summary of the invention
In view of above, the purpose of the present invention is to provide a kind of detection method of access point parameters, system and mobile terminal,
For solving the problems, such as APN parameter detection in the prior art.
In order to achieve the above objects and other related objects, an aspect of of the present present invention provides a kind of access point parameters detection side
Method, comprising the following steps: starting dial;Receive an inputted private mark;Judge whether the private mark is identical as default private mark;
When the private mark is identical as the default private mark, then enter dial input interface;Receive inputted a MCC/MNC code;
Corresponding items access point parameters to be measured are searched in a testing data library according to the MCC/MNC code;According to the MCC/
MNC code searches corresponding every default access point parameters in the preset database;By every access point parameters to be measured and items
Default access point parameters are compared;According to the every access point parameters to be measured of comparison result judgement and every default access point parameters
It is whether identical;And when every default access point parameters and not identical every access point parameters to be measured, it is determined that described
Access point parameters in testing data library have missing.
In one embodiment of the present invention, access point parameters detection method further include: when in the testing data library
When access point parameters have missing, then a testing result is returned.
In one embodiment of the present invention, when the access point parameters in the presetting database have missing, it will lack
Parameter in the presetting database from being directed into the testing data library.
In one embodiment of the present invention, every access point parameters to be measured or every default access point parameters include multiple
Subparameter.
In one embodiment of the present invention, every access point parameters to be measured and items are preset into access point parameters in step
In being compared, comprising: successively join the son in the subparameter of every access point parameters to be measured and every default access point parameters
Number is compared.
In order to achieve the above objects and other related objects, another aspect of the present invention provides a kind of access point parameters detection system
System, comprising: dial, comprising: start unit, to start dial;Receiving unit, to receive an inputted private mark and
Receive inputted a MCC/MNC code;Judging unit, to judge whether the private mark is identical as default private mark, when described dark
When code is identical as the default private mark, then enter dial input interface, and described in inputting by the dial input interface
MCC/MNC code;Testing data library, to store access point parameters to be measured;Presetting database, to store default access point ginseng
Number;Searching module, to search corresponding items access point to be measured in the testing data library according to the MCC/MNC code
Parameter searches corresponding every default access point parameters according to the MCC/MNC code in the preset database;Comparison module,
Every access point parameters to be measured are compared with the default access point parameters of items;Judgment module judges each according to comparison result
Whether access point parameters to be measured and every default access point parameters identical, when every default access point parameters and items to
When survey access point parameters are not identical, it is determined that the access point parameters in the testing data library have missing.
In one embodiment of the present invention, access point parameters detection system further include: return module, when the judgement mould
When block judges that the access point parameters in the testing data library have missing, then the return module returns to a testing result.
In one embodiment of the present invention, access point parameters detection system further include: import modul, when the judgement mould
When block judges that the access point parameters in the presetting database have missing, then the import modul presets default parameters from described
It is directed into database in the testing data library.
In one embodiment of the present invention, every access point parameters to be measured or every default access point parameters include multiple
Subparameter, wherein the comparison module is successively by the subparameter of every access point parameters to be measured and every default access point parameters
In subparameter be compared.
In order to achieve the above objects and other related objects, another aspect of the invention provides a kind of mobile terminal, comprising: on
The described in any item access point parameters detection systems stated.
As described above, the detection method of access point parameters of the invention, system and mobile terminal, have below beneficial to effect
Fruit:
Detection method, system and the mobile terminal of access point parameters provided by the invention, can rapidly detect access point
Whether parameter has missing, to realize effective verifying, and the access point parameters lacked is directed into testing data library,
To improve access point parameters.
Specific embodiment
Illustrate embodiments of the present invention below by way of specific specific example, those skilled in the art can be by this specification
Other advantages and efficacy of the present invention can be easily understood for disclosed content.The present invention can also pass through in addition different specific realities
The mode of applying is embodied or practiced, the various details in this specification can also based on different viewpoints and application, without departing from
Various modifications or alterations are carried out under spirit of the invention.It should be noted that in the absence of conflict, following embodiment and implementation
Feature in example can be combined with each other.
It should be noted that illustrating the basic structure that only the invention is illustrated in a schematic way provided in following embodiment
Think, only shown in schema then with related component in the present invention rather than component count, shape and size when according to actual implementation
Draw, when actual implementation kenel, quantity and the ratio of each component can arbitrarily change for one kind, and its assembly layout kenel
It is likely more complexity.
Referring to Fig. 1, the flow diagram of access point parameters detection method of the invention.
In step S01, start dial.
In step S02, an inputted private mark is received, that is, a private mark is inputted in dial.
In step S03, judges whether private mark is identical as default private mark, when private mark is identical as default private mark, then enter
Otherwise step S04 corresponds to other operations, such as corresponding other private mark operations.
In step S04, then enter dial input interface;
In step S05, inputted a MCC/MNC code is received, that is, what reception was inputted from dial input interface
MCC/MNC code, MCC/MNC code here are not representing MCC code or MNC code, but an entirety, that is, "/" is not table herein
Show "or", for example, the MCC/MNC code of input is 46000, it is an entirety, wherein 460 indicate MCC code, 00 indicates MNC code.
In step S06, corresponding items access point ginseng to be measured is searched in a testing data library according to MCC/MNC code
Number.
In step S07, corresponding every default access point ginseng is searched according to MCC/MNC code in the preset database
Number.
It should be noted that step S06, the sequence of S07 does not limit, step S07 can also be first carried out, after execute step again
S06。
In step S08, every access point parameters to be measured are compared with the default access point parameters of items.
In step S09, it is according to the every access point parameters to be measured of comparison result judgement and the default access point parameters of items
It is no identical.
In step slo, when the default access point parameters of items and not identical every access point parameters to be measured, it is determined that
Access point parameters in measured data library have missing.
In one embodiment, every access point parameters to be measured or every default access point parameters may include multiple sub- ginsengs
Number, for example may include ID number, title, MCC/MNC code, proxy server etc..
Correspondingly, in step S08, every access point parameters to be measured are compared with the default access point parameters of items
In, sequentially the subparameter of every access point parameters to be measured and the subparameter in every default access point parameters can be compared
It is right, for example, first comparing title, comparing the similar operations such as MCC/MNC code again.
Referring to Fig. 2, another flow diagram of access point parameters detection method of the invention.
As shown in Figure 2, access point parameters detection method shown in Fig. 2 are relative to shown in Fig. 1, more step S11 and steps
S12。
In step s 11, when the access point parameters in testing data library have missing, then a testing result is returned.
In step s 12, when the access point parameters in presetting database have missing, by default parameters from presetting database
In be directed into testing data library.
Equally, in one embodiment, every access point parameters to be measured or every default access point parameters may include multiple
Correspondingly in step S08, every access point parameters to be measured are preset during access point parameters are compared with every for subparameter,
Sequentially the subparameter of every access point parameters to be measured can be compared with the subparameter in every default access point parameters.
It should be noted that it is also not necessary to step S11 in Fig. 2, that is, directly from step S10 to step S12, simply
Ground is said, when the access point parameters in presetting database have missing, is not then needed to return to corresponding testing result, but directly will
Default parameters in presetting database from being directed into testing data library.
Referring to Fig. 3, the schematic diagram of an embodiment of access point parameters listed by testing data library of the invention.
The detailed process of access point parameters is illustrated below in conjunction with Fig. 1, Fig. 2 and Fig. 3.
It is now assumed that default private mark is * #123#*, need to detect China Mobile's access point parameters.
When the private mark inputted received is just * #123#*, then enter dial input interface, at this point, then right
The MCC/MCN code 46000 of China Mobile should be inputted.
Then searched from testing data library respectively according to MCC/MCN code 46000 corresponding access point parameters to be measured and
Corresponding every default access point parameters are searched from presetting database, are searched from testing data library as elder generation, or from
It searches, does not limit in presetting database.
As shown in figure 3, by MCC/MNC code, can be found out in testing data library access point cmnet to be measured,
cmwap……
Then, by each subparameter of access point cmnet, cmwap to be measured (such as id, name, numeric, mcc, mnc, apn,
Proxy it) is sequentially compared with each subparameter of default access point cmnet, cmwap in presetting database.
According to comparison result, then can determine whether the access point parameters to be measured in testing data library have a missing, after missing
A search result and being directed into testing data library missing can be returned to, for example, access point to be measured as shown in Figure 3
Cmnet lacks proxy, then can return to the testing result of a cmnet proxy, the form of expression of certain testing result can be
Other forms, the proxy subparameter in cmnet is directed into testing data library from presetting database again later
In cmnet.
Certainly, if cmnet all lack, i.e., subparameter all lacks, then can return to detection knot of cmnet all
Fruit, and cmnet are all directed into testing data library from presetting database.
It should be noted that wherein detecting China Mobile, China Telecom, China Unicom three if necessary by taking China as an example
The access point parameters of operator can then input 460**, i.e. input MCC code can compare.
It should be noted that when discovery has missing item, can be imported by private mark for being verified in real network
Corresponding access point parameters to reach an efficient purpose, also, can also will support single net to become to support by this function
The whole network only supports China Mobile (to import other operators by the method under conditions of the hardware supported of terminal originally
Access point parameters) after can support China Mobile, China Unicom, China Telecom etc..
Referring to Fig. 4, the module diagram of access point parameters detection system of the invention.
As shown in figure 4, access point parameters detection system 4 include dial 41, testing data library 42, presetting database 43,
Searching module 44, comparison module 45, judgment module 46.Wherein, dial 41 includes start unit 411, receiving unit 412, sentences
Disconnected unit 413.
Start unit 411, to start dial;Receiving unit 412, to receive an inputted private mark and receive institute
One MCC/MNC code of input;Judging unit 413, to judge whether inputted private mark identical as default private mark, when private mark with
When default private mark is identical, then enter dial input interface, and MCC/MNC code is inputted by dial input interface.
Testing data library 42, to store access point parameters to be measured;Presetting database 43, to store default access point ginseng
Number.
Searching module 44, to search corresponding items access to be measured in testing data library 42 according to MCC/MNC code
Point parameter, and, corresponding every default access point parameters are searched in presetting database 43 according to MCC/MNC code.
Every access point parameters to be measured are compared comparison module 45 with the default access point parameters of items.
Judgment module 46 judges whether every access point parameters to be measured and items preset access point parameters according to comparison result
It is identical, when the default access point parameters of items and not identical every access point parameters to be measured, it is determined that in testing data library 42
Access point parameters have missing.
Detection system 4 can also include return module 47 or import modul 48, can also include simultaneously return module 47, lead
Enter module 48.
When judgment module 46 judges that the access point parameters in testing data library 42 have missing, then return module 47 returns to one
Testing result;Import modul 48 is then imported when judgment module 46 judges that the access point parameters in presetting database 42 have missing
Default parameters are directed into testing data library 42 by module 48 from presetting database 43.
Wherein, every access point parameters to be measured or every default access point parameters, may include multiple subparameters, and compare
Module 45 can successively carry out the subparameter in the subparameter of every access point parameters to be measured and every default access point parameters
It compares.
The invention also provides a kind of mobile terminal (not shown), including above-mentioned access point parameters detection system 4, in order to
Narration briefly, is no longer described here.
In conclusion the detection method of access point parameters provided by the invention, system and mobile terminal, can rapidly examine
It surveys whether access point parameters have missing, to realize effective verifying, and the access point parameters lacked is directed into be measured
In database, to improve access point parameters.So the present invention effectively overcomes various shortcoming in the prior art and has height
Value of industrial utilization.
The above-described embodiments merely illustrate the principles and effects of the present invention, and is not intended to limit the present invention.It is any ripe
The personage for knowing this technology all without departing from the spirit and scope of the present invention, carries out modifications and changes to above-described embodiment.Cause
This, institute is complete without departing from the spirit and technical ideas disclosed in the present invention by those of ordinary skill in the art such as
At all equivalent modifications or change, should be covered by the claims of the present invention.