CN110191463A - A kind of fast access method and relevant device of GSM network - Google Patents
A kind of fast access method and relevant device of GSM network Download PDFInfo
- Publication number
- CN110191463A CN110191463A CN201910397671.9A CN201910397671A CN110191463A CN 110191463 A CN110191463 A CN 110191463A CN 201910397671 A CN201910397671 A CN 201910397671A CN 110191463 A CN110191463 A CN 110191463A
- Authority
- CN
- China
- Prior art keywords
- gsm network
- imei code
- operational form
- terminal
- output valve
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- 230000000694 effects Effects 0.000 claims abstract description 33
- 238000003860 storage Methods 0.000 claims description 103
- 238000004590 computer program Methods 0.000 claims description 12
- 230000014759 maintenance of location Effects 0.000 claims description 5
- 230000006870 function Effects 0.000 claims description 4
- 238000001514 detection method Methods 0.000 claims description 3
- 230000008569 process Effects 0.000 abstract description 11
- 238000004519 manufacturing process Methods 0.000 description 5
- 238000010295 mobile communication Methods 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 238000004422 calculation algorithm Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/009—Security arrangements; Authentication; Protecting privacy or anonymity specially adapted for networks, e.g. wireless sensor networks, ad-hoc networks, RFID networks or cloud networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/08—Access security
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/60—Context-dependent security
- H04W12/69—Identity-dependent
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/22—Processing or transfer of terminal data, e.g. status or physical capabilities
- H04W8/24—Transfer of terminal data
Abstract
The present invention provides a kind of fast access method of GSM network and its relevant devices, by obtaining the IMEI code carried in the solicited message when listening to terminal access GSM network solicited message;According to each number for including in the IMEI code and operational form corresponding to each number is preset, from output valve of each number under corresponding operational form is found out in memory space, obtains the corresponding final output value of the IMEI code;Effect is carried out to the IMEI code according to the final output value found out, if effect success, access GSM network control is carried out to the terminal.The method and relevant device of offer of the present invention, originally the calculating process to number each in IMEI code is converted into the process inquired operation result, reduce operand, improve the authentication efficiency of terminal IMEI code, reduce the effect time, accesses network for user's using terminal and provide convenience.
Description
Technical field
The present invention relates to communication of mobile terminal technical field more particularly to a kind of fast access methods of GSM network
And relevant device.
Background technique
GSM(Global System for Mobile Communication, global system for mobile communications) it is currently to answer
With most commonly used mobile phone standard.GSM compared with its pervious standard maximum the signaling for not being both it and voice channel all
It is digital, therefore GSM is counted as the second generation (2G) mobile telephone system.GSM is earliest by European Telecommunications Standards Organization
The digital mobile communication standard that ETSI is worked out, GSM is global system for mobile communications, its air interface uses time division multiple acess
Technology.Since the mid-90 puts it into commercial operation, by more than 100, the whole world, country is used.The equipment of GSM standard occupies current complete
80% or more ball cellular mobile communication equipment Market.From User Perspective, the main advantage of GSM is that user can be from higher
Digital speech quality and low expense short message between make a choice.The advantage of network operator is that they can be according to different
Their device configuration of customization, because GSM provides easier interoperability as open standard.In this way, standard is just
Network operator is allowed to provide roaming service, user can use their mobile phone in the whole world.GSM as one after
The standard of continuous exploitation, the GSM phone for keeping back compatible original, such as MESSAGE EXCHANGE ability is in the mark of 97 version of Release '
Standard is just added into, that is, GPRS.High-speed data exchange is also just to introduce in 99 editions standards of Release ', mainly
EDGE and UMTS standard.
When mobile terminal is when GSM network is registered, base station can obtain IMEI code from mobile terminal, and then carrying out verifying is
It is no to allow to register, in order to guarantee not malfunctioning in wireless data transmission, need to verify IMEI code, and in general
The code is longer, until end of transmission generally requires certain time, so registion time is caused slightly to lag.
Therefore, the prior art is defective, has much room for improvement and develops.
Summary of the invention
In view of the above shortcomings in the prior art, it is an object of the invention to provide a kind of GSM network for user
Fast access method and relevant device, the defect for overcoming GSM network access efficiency in the prior art slow.
The technical proposal for solving the technical problem of the invention is as follows:
One embodiment provided by the invention is a kind of fast access method of GSM network, wherein the method includes following steps
It is rapid:
A, when listening to terminal access GSM network solicited message, the IMEI code carried in the solicited message is obtained;
B, according to include in the IMEI code it is each number and preset it is each number corresponding to operational form, from memory space
In find out each output valve of the number under corresponding operational form, obtain the corresponding final output value of the IMEI code;
C, effect is carried out to the IMEI code according to the final output value found out, if effect success, to the terminal
Carry out access GSM network control.
Optionally, the step B includes:
It successively finds out and operational form corresponding to current bit digital, the output valve of preceding one-bit digital and works as from memory space
The associated output valve of preceding number three, until finding out the output valve with IMEI code bit digital second from the bottom;It is described
The output valve of IMEI code bit digital second from the bottom is final output value.
Optionally, before the step A, the method also includes:
Multiple level-one storage units are opened up in memory space;The multiple level-one storage unit, be respectively used to storage with it is each
First order output valve associated by first bit digital of different numerical value and the corresponding input operational form of first bit digital;
Multiple secondary storages are opened up in multiple level-one storage units;The multiple secondary storage is respectively used to deposit
It stores up and the corresponding input operation shape of the second-order digit of each different numerical value, the first order output valve and the second-order digit
Second level output valve associated by formula;
Successively multiple N+1 grades of storage units are opened up in multiple N grades of storage units;The multiple N+1 grades of storage unit, respectively
It is inputted for storing from corresponding to the N bit digital of each different numerical value, the N grades of output valves and the N+1 bit digital
N+1 grades of output valves associated by operational form;Wherein, N is natural number.
Optionally, operational form corresponding to each number for including in the IMEI code is same operational form.
Optionally, operational form corresponding to each number for including in the IMEI code is corresponding with sequence where it,
Coming operational form corresponding to the number of even bit is same operational form, comes operation corresponding to the number of odd bits
Form is same operational form.
Optionally, the method also includes:
By successively from finding out each output valve of the number under corresponding operational form in memory space, and by each output
Value is saved to spatial cache;
Output valve of the one-bit digital under corresponding operational form before being obtained out of described spatial cache, and according to getting
The preceding one-bit digital operational form of one-bit digital corresponding to it after the output valve under corresponding operational form is searched
Under output valve.
Optionally, the step A further include:
When being switched on to terminal or exit offline mode, the accessible each frequency band network of detection terminal and a frequency band network institute are right
The signal strength answered, and sort;
When GSM network signal strength arrange first, or when listen to terminal only limit access GSM network when, then obtain terminal
The terminal IMEI code carried in access GSM network solicited message.
Another embodiment provided by the invention is a kind of fast speed access systems of GSM network, wherein includes:
Identification code obtains module, for obtaining and taking in the solicited message when listening to terminal access GSM network solicited message
The IMEI code of band;
As a result searching module, for according to include in the IMEI code it is each number and preset it is each number corresponding to operation
Form obtains the IMEI code pair from output valve of each number under corresponding operational form is found out in memory space
The final output value answered;
Control module is accessed, for carrying out effect to the IMEI code is located at according to the final output value found out, if effect
Success is tested, then access GSM network control is carried out to the terminal.
9, a kind of server, including memory and processor, the memory are stored with computer program, and feature exists
In the step of processor realizes any one of claims 1 to 7 the method when executing the computer program.
Another embodiment provided by the invention is a kind of computer readable storage medium, is stored thereon with computer program,
Wherein, the step of realizing the method when computer program is executed by processor.
Beneficial effect, the present invention provides a kind of fast access method of GSM network and its relevant devices, by terminal
Access GSM network solicited message is monitored, and then includes number according to terminal IMEI code after getting the solicited message
It puts in order, the output valve of number input operational form corresponding with its number is successively found out from memory space;According to looking into
The each output valve found out calculates the effect value of the terminal using IMEI effect code algorithm;By the calculated effect
Compared with last check code of value and terminal IMEI code, if equal, access GSM network control is carried out to the terminal.
The method and relevant device of offer of the present invention, by the result that will input operation mode to the possibility of terminal IMEI code in advance
It is saved in storage unit, after needing to get terminal IMEI code, according to the fortune to number each in IMEI code got
Calculation mode, directly inquires operation result from storage unit, thus by the calculating process originally to number each in IMEI code
The process inquired operation result is converted to, operand is reduced, the authentication efficiency of terminal IMEI code is improved, reduces
The effect time accesses network for user's using terminal and provides convenience.
Detailed description of the invention
Fig. 1 is the step flow chart of the fast access method of GSM network of the present invention;
Fig. 2 is the functional block diagram of the Quick access device of GSM network of the present invention;
Fig. 3 is the functional block diagram of server of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer and more explicit, right as follows in conjunction with drawings and embodiments
The present invention is further described.It should be appreciated that specific embodiment described herein is used only for explaining the present invention, and do not have to
It is of the invention in limiting.
IMEI code (International Mobile Equipment Identity, international mobile equipment identification number) is
" the electronics string number " being made of 15 bit digitals, it is corresponded with every mobile phone, and the code is that the whole world is unique.
Each mobile phone will all be endowed a globally unique sets of numbers after finishing assembly, this number from production to
Being delivered for use will all be recorded by the manufacturer of manufacture production.IMEI code is made of 15 bit digitals, wherein preceding 6 bit digital is " model
Approval code " generally represents type, 2 digits then are as follows: " finally assembly number " generally represents the place of production, 6 digits later are
" string number ", general code production sequence number, last 1 digit are usually " 0 ", are effect code.
The present invention provides a kind of fast access methods of GSM network, as shown in Figure 1, the described method comprises the following steps:
Step S1, when listening to terminal access GSM network solicited message, the IMEI code carried in the solicited message is obtained.
When terminal issues access GSM network solicited message to certificate server, then certificate server is believed from the request
Terminal IMEI code wherein included is got in breath, opens and effect is carried out to the terminal IMEI code, and when effect passes through, just control is connect
Enter GSM network.
Specifically, can just execute step S2 in this step first to get whole terminal IMEI codes, can also be first when
After getting the first bit digital of terminal IMEI code, start to execute step S2.
Step S2, according to each number for including in the IMEI code and operational form corresponding to each number is preset,
From output valve of each number under corresponding operational form is found out in memory space, it is corresponding most to obtain the IMEI code
Whole output valve.
Specifically, the method for obtaining the final output value in this step are as follows: successively find out and work as from memory space
Operational form corresponding to preceding bit digital, the output valve of preceding one-bit digital and the associated output valve of Contemporary Digital three, until
Find out the output valve with IMEI code bit digital second from the bottom;The output valve of the IMEI code bit digital second from the bottom is most
Whole output valve.
After getting terminal IMEI code, input operation side corresponding with the first bit digital of terminal IMEI code is obtained
Formula finds out the number according to input operation mode corresponding to the numerical value of first number and the number from storage unit
With the operation result for inputting operation mode corresponding to the number.
In order to realize going on smoothly for above-mentioned query steps, the method also includes:
Multiple level-one storage units are opened up in memory space;The multiple level-one storage unit, be respectively used to storage with it is each
First order output valve associated by first bit digital of different numerical value and the corresponding input operational form of first bit digital;
Multiple secondary storages are opened up in multiple level-one storage units;The multiple secondary storage is respectively used to deposit
It stores up and the corresponding input operation shape of the second-order digit of each different numerical value, the first order output valve and the second-order digit
Second level output valve associated by formula;
Successively multiple N+1 grades of storage units are opened up in multiple N grades of storage units;The multiple N+1 grades of storage unit, respectively
It is inputted for storing from corresponding to the N bit digital of each different numerical value, the N grades of output valves and the N+1 bit digital
N+1 grades of output valves associated by operational form;Wherein, N is natural number.
Due to opening multiple level-one storage units in the memory space in certificate server, stored in multiple level-ones single
Operation result corresponding to operational form may be inputted by storing the possible numerical value of the first bit digital and the first bit digital in member respectively,
And establish the first bit digital, in preset operation rule input operational form corresponding to the first bit digital and its corresponding to
Incidence relation between operation result three can then pass through the tool of the first bit digital when establishing the incidence relation between three
Body numerical value, the operation mode for obtaining the first bit digital, find out corresponding input results from multiple level-one storage units.
Due to pre-saving the possible operation result of the first bit digital using memory space, root is needed before eliminating
The process that operational form calculates the first bit digital is inputted according to it, directly searches, can get as a result, therefore improving
The efficiency of effect.
Specifically, the putting in order comprising number according to terminal IMEI code, successively finds out this from memory space
It is digital to include: with the step of output valve of its digital corresponding input operational form
According to the operational form that the first bit digital is inputted with it in the IMEI code, first is found out from level-one storage unit
First order output valve of the number under the operational form of corresponding input;
It is defeated described first in the multiple secondary storages opened up in the level-one storage unit for being stored with first order output valve
Being found out in the secondary storage opened up in the level-one storage unit being worth out with second is the digital operation shape in corresponding input
Second level output valve under formula;
Multiple tertiary storage units are opened up in the secondary storage for being stored with second level output valve, from the tertiary storage list
The third level output valve with third bit digital under the operational form of corresponding input is found out in member;
According to the above method, successively from the storage unit for finding out preceding one-bit digital output valve under the operational form of corresponding input
In, output valve of next bit digital under the operational form of corresponding input is found out, until obtaining falling in the terminal IMEI code
The output valve of number second digit.
Such as: since the first bit digital might have any situation in 0-9 number, and operational form may
Have: with or operation, XOR operation or operation, plus and minus calculation or and operation, this 6 kinds of situations, then in order to realize all it is possible
Operation result is respectively stored into level-one storage unit, needs to open up 60 level-one storage units in memory space, uses respectively
In 60 kinds of results that 10 numbers of storage obtain under different operational forms.
For the effect of second-order digit, then due to the first bit digital it is known that in the case where, in one opened up
Operation corresponding with its operational form is searched in the secondary storage that corresponding first bit digital of grade storage unit is opened up
As a result.
Due in a particular embodiment, by being all using same operational form or identical number to each number
Word uses identical operational form, or corresponding operational form is arranged according to the arrangement position where each number, therefore can
To greatly reduce the lookup amount of output valve in storage unit, the high efficiency for searching output valve ensure that.For example, due to getting
First bit digital of terminal IMEI code is 3, and the operational form of the corresponding input of the first bit digital are as follows: adds operation, when from first
Bit digital is 3, and operation mode be plus the associated level-one storage unit of operation in the is carried out in the secondary storage opened up
The inquiry of operation result corresponding to binary digit and its operational form.
If second-order digit is 7, and corresponding operational form is to add operation, then inquires from 60 secondary storages
Operation result corresponding thereto.
By above-mentioned lookup method, the number for being followed successively by each IMEI code is found its corresponding operation mode and is obtained except last
Except one-bit digital, number effect operation result contained by whole IMEI codes.
Step S3, effect is carried out to the IMEI code according to the final output value found out, if effect success, right
The terminal carries out access GSM network control.
Effect value is calculated according to output valve in above-mentioned steps, and by effect value compared with last effect code pair,
Whether identical judge, if they are the same, then the terminal IMEI code is effective, then allows its registration access GSM network.
Further, accurately the output valve found out is calculated in order to realize, is also verified, the method is also wrapped
It includes:
By successively from finding out each output valve of the number under corresponding operational form in memory space, and by each output
Value is saved to spatial cache;
Output valve of the one-bit digital under corresponding operational form before being obtained out of described spatial cache, and according to getting
The preceding one-bit digital operational form of one-bit digital corresponding to it after the output valve under corresponding operational form is searched
Under output valve.
The spatial cache avoids output valve and is carrying out for storing the output valve found out from storage units at different levels
Loss of data occurs when inquiry.
In order to realize only when execute GSM network access when, just start step of the present invention, then the method also includes:
When being switched on to terminal or exit offline mode, detection terminal accessible each frequency band network and each frequency band network institute
Corresponding signal strength, and sort;
When GSM network signal strength arrange first, or when listen to terminal only limit access GSM network when, then obtain terminal
The terminal IMEI code carried in access GSM network solicited message.
Below by taking mobile terminal as an example, to be done the method for the invention into one in concrete application embodiment of the present invention
Walk more detailed description.
It detects that mobile terminal is switched to exit offline mode by offline mode, and starts search network one by one and carry out staying net;
When other network registries fail, or directly register GSM network when, obtain mobile terminal IMEI code and corresponding check code, but
He does not just start next step process until all obtaining above content, just holds in every number for obtaining an IMEI code
The following process of row and eliminate original next step process:
If the operation that GSM network verifies when registering has N kind operational form, then following steps are executed:
G1, N number of storage unit is opened up in memory, store respectively in each storage unit associated with the first bit digital various
Output valve under possible operational form, first possible number are as follows: 1,2,3,4,5,6,7,8,9,0, this N number of storage unit saves
Be the corresponding nonidentity operation form of each number of corresponding input operation result, the storage unit that this step is opened up deposits for the first order
Storage unit;
N number of storage unit is opened up again in G2, each storage unit opened up in G1, this N2What a storage unit saved is corresponding
The operation result of operational form twice is inputted, the storage unit that this step is opened up is second level storage unit;
N number of storage unit is opened up again in G3, each storage unit opened up in G2, this N3What a storage unit saved is corresponding
The operation result of three operational forms is inputted, the storage unit that this step is opened up is third level storage unit;
……
N number of storage unit is opened up again in GK, each storage unit opened up in GK-1, this NKWhat a storage unit saved is pair
The operation result of K operational form should be inputted, the storage unit that this step is opened up is N grades of storage units.
Operation result is obtained from these above-mentioned storage units, and steps are as follows:
H1, it obtains the first bit digital, detects first operational form of input, then the inquiry and first in first order storage unit
Bit digital output valve corresponding with first operational form, is transmitted to caching for corresponding operation result if inquiring
It is saved in space;
H2, second-order digit is obtained, detects second operational form of input, then second in the storage unit that H1 is inquired
The output valve of grade storage unit query second operational form corresponding with second-order digit and the second-order digit, if inquiry
It is saved to then corresponding operation result is transmitted in spatial cache;
H3, third bit digital is obtained, detects input third operational form, then the third in the storage unit that H2 is inquired
Grade storage unit query third operational form corresponding with third bit digital and the third bit digital, will be right if inquiring
The operation result answered is transmitted in spatial cache and saves;
……
HK, K bit digital is obtained, detects input k-th operational form, then the K in the storage unit that HK-1 is inquired
Grade storage unit query third operational form corresponding with third bit digital and the third bit digital, will be right if inquiring
The operation result answered is transmitted in spatial cache and saves;
Therefore, above-mentioned steps are based on, when fully inputting entire IMEI code, effect code has been generated.
In specific application, operational form corresponding to each number for including in the IMEI code is same operation shape
Formula, it is also possible to which operational form corresponding to each number for including in the IMEI code and sequence where it is arranged relatively
It answers, coming operational form corresponding to the number of even bit is same operational form, is come corresponding to the number of odd bits
Operational form is same operational form.
If operational form in above-mentioned steps with the corresponding operational form of each number for same operational form, IMEI
The calculation step of each number is as follows in code:
G1, N number of storage unit is opened up in memory: being 1,2,3,4,5,6,7,8,9,0 respectively in each storage unit, due to
One input number be 1, therefore search after enter store 1 that storage unit
N number of storage unit is opened up again in G2, each storage unit opened up in G1, this N2What a storage unit saved is corresponding
The operation result of two operational forms is inputted, the storage unit that this step is opened up is second level storage unit;Such as it is opened up in G1
Deposited and open up several storage units again in 1 storage unit and be respectively:
1+1=2,1+2=3,1+3=4,1+4=5 ... ..., 1+9=10,1+0=1;Wherein operational form is summation.
What it is due to this input is 1, is searched in that storage unit for entering 1+1=2.
N number of storage unit is opened up again in G3, each storage unit opened up in G2, this N3What a storage unit saved is
The operation result of three operational forms of corresponding input, the storage unit that this step is opened up are third level storage unit;
Such as having deposited of opening up in G2 opens up several storage units again and is respectively in the storage unit of 1+1=2: 1+1+1=3;1+1
+2=4;1+1+3=5;1+1+4=6;..., 1+1+9=11,1+1+0=2;
Wherein operational form is summation.
What it is due to this input is 7, is searched in that storage unit for entering 1+1+7=9.
G4, lookup finish.
If it is corresponding with sequence where it that operational form corresponding to each number for including in the IMEI code is arranged, row
The operational form corresponding to the number of even bit is same operational form, comes operation shape corresponding to the number of odd bits
Formula is same operational form, then the calculation step of each number is as follows in IMEI code:
(1), even number bit digital is calculated separately into the sum of units and tens respectively multiplied by 2
(2), odd number bit digital is added, adds the counted value of previous step
(3), check bit is 0 if the several positions obtained are 0, otherwise subtracts units for 10
Such as: 35 89 01 80 69 72 41 even bits obtain 5*2=10,9*2=18,1*2=02,0*2=00,9*2=18 multiplied by 2
2*2=04,1*2=02 calculate the sum of the sum of odd number bit digital and even bit position ten, obtain:
3+ (1+0)+8+ (1+8)+0+ (0+2)+8+ (0+0)+6+ (1+8)+7+ (0+4)+4+ (0+2)=63=> check bit 10-3
= 7
Wherein, MEID check code algorithm:
(1), even number bit digital is calculated separately into the sum of units and tens respectively multiplied by 2, pays attention to being 16 system numbers
(2), odd number bit digital is added, adds the counted value of previous step.
(3), check bit is 0 if the several positions obtained in step (2) are 0, otherwise for 10 (10 here be 16 into
System) subtract units
Such as: 01 23 45 0A BC DE even bit of AF obtains the 3*2 of F*2=1E 1*2=02=06 5*2=A*2=14 0A multiplied by 2
C*2=18 E*2=1C calculates the sum of the sum of odd number bit digital and even bit position ten, obtains A+ (1+E)+0+2+2+6+4+A
+ 0+ (1+4)+B+ (1+8)+D+ (1+C)=64=> check bit 10-4=C.
Network fast access method provided by the present invention, so that when mobile terminal carries out GSM network connection registration, energy
The verification of enough IMEI codes for more quickly completing registration promotes user experience to keep entire registration process quicker, for
Family provides convenient.
Another embodiment provided by the invention is a kind of fast speed access systems of GSM network, as shown in Figure 2, comprising:
Identification code obtains module 210, for obtaining the solicited message when listening to terminal access GSM network solicited message
The IMEI code of middle carrying;Its function is as described in step S1.
As a result searching module 220, for according to include in the IMEI code it is each number and preset it is each number institute it is right
The operational form answered obtains described from output valve of each number under corresponding operational form is found out in memory space
The corresponding final output value of IMEI code;Its function is as described in step S2.
Control module 230 is accessed, for carrying out effect to the IMEI code according to the final output value found out, if
Effect success then carries out access GSM network control to the terminal, and function is as described in step S3.
It is provided by the invention it is another be embodied as a kind of server, as shown in figure 3, include memory 320 and processor 310,
The memory 320 is stored with computer program, wherein described in the processor 310 is realized when executing the computer program
The step of method.
Another embodiment provided by the invention is a kind of computer readable storage medium, is stored thereon with computer program,
Wherein, the step of realizing the method when computer program is executed by processor.
The present invention provides a kind of fast access method of GSM network and its relevant devices, by accessing GSM net to terminal
Network solicited message is monitored, and then includes putting in order for number according to terminal IMEI code after getting the solicited message,
The output valve of number input operational form corresponding with its number is successively found out from memory space;It is each according to what is found out
Output valve calculates the effect value of the terminal using IMEI effect code algorithm;By the calculated effect value and terminal
Last check code of IMEI code compares, if equal, carries out access GSM network control to the terminal.Institute of the present invention
The method and relevant device that offer is provided, by being in advance saved in the result for inputting operation mode to the possibility of terminal IMEI code
Storage unit, after needing to get terminal IMEI code, according to the operation mode to number each in IMEI code got, from
Operation result is directly inquired in storage unit, to being converted to the calculating process originally to number each in IMEI code to fortune
The process that result is inquired is calculated, operand is reduced, improves the authentication efficiency of terminal IMEI code, reduce the effect time,
Network is accessed for user's using terminal to provide convenience.
It, can according to the technique and scheme of the present invention and its hair it is understood that for those of ordinary skills
Bright design is subject to equivalent substitution or change, and all these changes or replacement all should belong to the guarantor of appended claims of the invention
Protect range.
Claims (10)
1. a kind of fast access method of GSM network, which is characterized in that the described method comprises the following steps:
A, when listening to terminal access GSM network solicited message, the IMEI code carried in the solicited message is obtained;
B, according to include in the IMEI code it is each number and preset it is each number corresponding to operational form, from memory space
In find out each output valve of the number under corresponding operational form, obtain the corresponding final output value of the IMEI code;
C, effect is carried out to the IMEI code according to the final output value found out, if effect success, to the terminal
Carry out access GSM network control.
2. the fast access method of GSM network according to claim 1, which is characterized in that the step B includes:
It successively finds out and operational form corresponding to current bit digital, the output valve of preceding one-bit digital and works as from memory space
The associated output valve of preceding number three, until finding out the output valve with IMEI code bit digital second from the bottom;It is described
The output valve of IMEI code bit digital second from the bottom is final output value.
3. the fast access method of GSM network according to claim 1, which is characterized in that before the step A, institute
State method further include:
Multiple level-one storage units are opened up in memory space;The multiple level-one storage unit, be respectively used to storage with it is each
First order output valve associated by the corresponding input operational form of first bit digital of different numerical value, first bit digital;
Multiple secondary storages are opened up in multiple level-one storage units;The multiple secondary storage is respectively used to deposit
It stores up and the corresponding input operation shape of the second-order digit of each different numerical value, the first order output valve and the second-order digit
Second level output valve associated by formula;
Successively multiple N+1 grades of storage units are opened up in multiple N grades of storage units;The multiple N+1 grades of storage unit, respectively
It is inputted for storing from corresponding to the N bit digital of each different numerical value, the N grades of output valves and the N+1 bit digital
N+1 grades of output valves associated by operational form;Wherein, N is natural number.
4. the fast access method of GSM network according to claim 3, which is characterized in that include in the IMEI code
Operational form corresponding to each number is same operational form.
5. the fast access method of GSM network according to claim 3, which is characterized in that include in the IMEI code
Operational form corresponding to each number is corresponding with sequence where it, and coming operational form corresponding to the number of even bit is
Same operational form, coming operational form corresponding to the number of odd bits is same operational form.
6. the fast access method of GSM network according to claim 1-5, which is characterized in that the method is also
Include:
By successively from finding out each output valve of the number under corresponding operational form in memory space, and by each output
Value is saved to spatial cache;
Output valve of the one-bit digital under corresponding operational form before being obtained out of described spatial cache, and according to getting
The preceding one-bit digital operational form of one-bit digital corresponding to it after the output valve under corresponding operational form is searched
Under output valve.
7. the fast access method of GSM network according to claim 1, which is characterized in that the step A further include:
When being switched on to terminal or exit offline mode, detection terminal accessible each frequency band network and each frequency band network institute
Corresponding signal strength, and sort;
When GSM network signal strength arrange first, or when listen to terminal only limit access GSM network when, then obtain terminal
The terminal IMEI code carried in access GSM network solicited message.
8. a kind of fast speed access systems of GSM network characterized by comprising
Identification code obtains module, for obtaining and taking in the solicited message when listening to terminal access GSM network solicited message
The IMEI code of band;
As a result searching module, for according to include in the IMEI code it is each number and preset it is each number corresponding to operation
Form obtains the IMEI code pair from output valve of each number under corresponding operational form is found out in memory space
The final output value answered;
Access control module, for carrying out effect to the IMEI code according to the final output value that finds out, if effect at
Function then carries out access GSM network control to the terminal.
9. a kind of server, including memory and processor, the memory are stored with computer program, which is characterized in that institute
State the step of realizing any one of claims 1 to 7 the method when processor executes the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The step of method described in any one of claims 1 to 7 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910397671.9A CN110191463B (en) | 2019-05-14 | 2019-05-14 | Rapid access method of GSM network and related equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910397671.9A CN110191463B (en) | 2019-05-14 | 2019-05-14 | Rapid access method of GSM network and related equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110191463A true CN110191463A (en) | 2019-08-30 |
CN110191463B CN110191463B (en) | 2022-03-25 |
Family
ID=67716169
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910397671.9A Active CN110191463B (en) | 2019-05-14 | 2019-05-14 | Rapid access method of GSM network and related equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110191463B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110798544A (en) * | 2019-11-05 | 2020-02-14 | Oppo(重庆)智能科技有限公司 | Method and device for verifying validity of mobile terminal, terminal and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102098659A (en) * | 2011-02-11 | 2011-06-15 | 王兰睿 | Method and system for fast verifying international mobile equipment identity (IMEI) |
CN102905266A (en) * | 2012-10-11 | 2013-01-30 | 大唐移动通信设备有限公司 | Mobile equipment (ME) attaching method and device |
WO2013087718A1 (en) * | 2011-12-12 | 2013-06-20 | Buzzinbees | Method of controlling access to a cellular network |
CN104918250A (en) * | 2015-06-03 | 2015-09-16 | 广东欧珀移动通信有限公司 | Security identification method and device of mobile phone access network |
US20180007559A1 (en) * | 2016-06-13 | 2018-01-04 | T-Mobile Usa, Inc. | Securing identities of chipsets of mobile devices |
CN108093429A (en) * | 2017-12-01 | 2018-05-29 | 广东欧珀移动通信有限公司 | The detection method and device of LTE network access result, computer storage media |
CN108512650A (en) * | 2018-02-28 | 2018-09-07 | 深圳沃链科技有限公司 | Dynamic Hash calculation method, apparatus, node and storage medium towards block chain |
CN108901020A (en) * | 2018-05-29 | 2018-11-27 | 维沃移动通信有限公司 | Method, mobile terminal and the server of network insertion |
CN109451817A (en) * | 2017-08-10 | 2019-03-08 | 北京小米移动软件有限公司 | unmanned aerial vehicle access method and device |
-
2019
- 2019-05-14 CN CN201910397671.9A patent/CN110191463B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102098659A (en) * | 2011-02-11 | 2011-06-15 | 王兰睿 | Method and system for fast verifying international mobile equipment identity (IMEI) |
WO2013087718A1 (en) * | 2011-12-12 | 2013-06-20 | Buzzinbees | Method of controlling access to a cellular network |
US20140335831A1 (en) * | 2011-12-12 | 2014-11-13 | Buzzinbees | Method of Controlling Access to a Cellular Network |
CN102905266A (en) * | 2012-10-11 | 2013-01-30 | 大唐移动通信设备有限公司 | Mobile equipment (ME) attaching method and device |
CN104918250A (en) * | 2015-06-03 | 2015-09-16 | 广东欧珀移动通信有限公司 | Security identification method and device of mobile phone access network |
US20180007559A1 (en) * | 2016-06-13 | 2018-01-04 | T-Mobile Usa, Inc. | Securing identities of chipsets of mobile devices |
CN109451817A (en) * | 2017-08-10 | 2019-03-08 | 北京小米移动软件有限公司 | unmanned aerial vehicle access method and device |
CN108093429A (en) * | 2017-12-01 | 2018-05-29 | 广东欧珀移动通信有限公司 | The detection method and device of LTE network access result, computer storage media |
CN108512650A (en) * | 2018-02-28 | 2018-09-07 | 深圳沃链科技有限公司 | Dynamic Hash calculation method, apparatus, node and storage medium towards block chain |
CN108901020A (en) * | 2018-05-29 | 2018-11-27 | 维沃移动通信有限公司 | Method, mobile terminal and the server of network insertion |
Non-Patent Citations (1)
Title |
---|
张永杰: "4G无线网络安全接入技术的研究", 《中国优秀硕士学位论文辑》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110798544A (en) * | 2019-11-05 | 2020-02-14 | Oppo(重庆)智能科技有限公司 | Method and device for verifying validity of mobile terminal, terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110191463B (en) | 2022-03-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100445717B1 (en) | Method for converting an existing subscriber to a wireless communications system | |
US6957062B2 (en) | Method, apparatus and article to remotely associate wireless communications devices with subscriber identities and/or proxy wireless communications devices | |
US7774502B2 (en) | Determining an international destination address | |
US20070207775A1 (en) | Method for registering with a communication service | |
KR950703242A (en) | CALL TRANSFER WITHIN CELLULAR COMMUNICATIONS SYSTEMS | |
CN1247007A (en) | Selective carrier densial for mobile subscribers | |
CN103379560A (en) | Automatic roaming number switching system and method | |
CN106171019B (en) | Determine the method, apparatus, terminal and server of terminal roaming status | |
US10638310B2 (en) | Number or subscriber porting | |
CN102067674A (en) | Controlling access to a communication network using a local device database and a shared device database | |
AU750033B2 (en) | Method for managing a foreign mobile subscriber in VLR of a mobile switching center | |
CN105959934A (en) | Repeated network access identification method and system | |
CN110191463A (en) | A kind of fast access method and relevant device of GSM network | |
US20060203733A1 (en) | Methods, apparatuses, and articles to remotely test communications networks using digital fingerprints of content | |
US8452271B2 (en) | Port initiated number gateway | |
WO1998051020A1 (en) | Communication routing method by satellite in a network | |
US8320892B2 (en) | Method and system for providing linkage service of address book data between telematics and mobile terminal | |
CN106850922B (en) | Processing method, system and equipment for communication number | |
CN109121132A (en) | A kind of information processing method, device and computer readable storage medium | |
WO2008143434A1 (en) | Method and system for providing linkage service of address book data between telematics and mobile terminal | |
CN100428810C (en) | Realization method for calling fixed terminal via mobile communication network | |
CN115623583A (en) | Method, device and equipment for identifying single-terminal double-card user | |
KR100336626B1 (en) | Service method using a network of different types of mobile phones | |
US9544760B2 (en) | Method of activation on a second network of a terminal comprising a memory module associated with a first network | |
US20080242276A1 (en) | Method for Saving Communication Fee by Wireless Communication Interface of Mobile Phones |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240108 Address after: Room 501, 85 Xiaguang Dongli, Haicang District, Xiamen City, Fujian Province, 361000 Patentee after: Xiamen reliable intellectual property service Co.,Ltd. Address before: 516006 Zhongkai hi tech Zone, Huizhou, Guangdong, 86 Chang seven Road West Patentee before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd. |