CN106792637A - International mobile equipment identification number wiring method, device and mobile terminal - Google Patents
International mobile equipment identification number wiring method, device and mobile terminal Download PDFInfo
- Publication number
- CN106792637A CN106792637A CN201611145091.3A CN201611145091A CN106792637A CN 106792637 A CN106792637 A CN 106792637A CN 201611145091 A CN201611145091 A CN 201611145091A CN 106792637 A CN106792637 A CN 106792637A
- Authority
- CN
- China
- Prior art keywords
- code
- written
- coding tools
- imei
- write
- 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 41
- 230000015654 memory Effects 0.000 claims abstract description 97
- 230000005540 biological transmission Effects 0.000 claims abstract description 11
- 238000012795 verification Methods 0.000 claims description 12
- 238000010200 validation analysis Methods 0.000 claims description 11
- 238000004321 preservation Methods 0.000 claims description 6
- 230000005055 memory storage Effects 0.000 claims description 2
- 230000006870 function Effects 0.000 abstract description 16
- 238000004891 communication Methods 0.000 abstract description 10
- 238000003860 storage Methods 0.000 description 11
- 238000005516 engineering process Methods 0.000 description 7
- 230000005611 electricity Effects 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000010295 mobile communication Methods 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 210000004209 hair Anatomy 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000003795 chemical substances by application Substances 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000002073 mitogenetic effect Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 229920000642 polymer Polymers 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
- H04W8/183—Processing at user equipment or user record carrier
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/26—Network addressing or numbering for mobility support
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Computer Security & Cryptography (AREA)
- Storage Device Security (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses a kind of international mobile equipment identification number wiring method, device and mobile terminal, communication technical field is applied to, the method includes:The read-write mode of target non-volatile memory is set to a reading mode, coding tools are authenticated, if by authentication, then the read-write mode of the target non-volatile memory is set to can WriteMode, receive the IMEI code to be written of coding tools transmission and write code instruction, and by the IMEI code to be written, code instruction is write according to this to be written in the target non-volatile memory, so a reading mode is set to by by the read-write mode of target non-volatile memory, and third party's coding tools are authenticated, can effectively prevent that IMEI code is random to be distorted by third party's instrument of unauthorized, and then the conflict for avoiding caused by if different mobile phones is with identical IMEI code, allow the network of the normal access carrier of mobile phone, realize normal talking function.
Description
Technical field
The invention belongs to the communications field, more particularly to a kind of international mobile equipment identification number wiring method, device and movement
Terminal.
Background technology
International mobile equipment identification number (IMEI, International Mobile Equipment Identity) be by
The electronics string number of 15 bit digitals or 17 bit digitals composition.Each mobile phone is endowed a unique IMEI code.The IMEI
Code can be used for inquiry guarantee or production information.
In the prior art, either high-pass platform or Lian Fake (MTK, MediaTek) platform, the mobile electricity of IMEI write-ins
The mode of words is all disclosed, therefore is easy to be cracked, and can write instrument by third party and arbitrarily distort IMEI code, different
If mobile phone possesses identical IMEI code and when licensed operator needs IMEI code to verify, mobile phone can be influenceed to connect
Enter the network of operator, and then influence the registration of mobile phone proper network and use.
The content of the invention
The present invention provides a kind of international mobile equipment identification number wiring method, device and mobile terminal, it is intended to solve because
If IMEI code can possess identical IMEI code and in registration operator by random caused different mobile phone of distorting
When network needs IMEI code to authenticate, the network of mobile phone access carrier can be influenceed, and then influence mobile phone proper network
The problem registered and use.
First aspect present invention provides a kind of international mobile equipment identification number wiring method, including:
The read-write mode of target non-volatile memory is set to a reading mode;Coding tools are authenticated, if logical
Authentication is crossed, being then set to the read-write mode of the target non-volatile memory can WriteMode;Receive the coding tools hair
The international mobile equipment identification number IMEI code to be written sent and code instruction is write, and by the IMEI code to be written, write according to described
Code instruction is written in the target non-volatile memory.
Second aspect present invention provides a kind of international mobile equipment identification number writing station, including:
Setup module, for the read-write mode of target non-volatile memory to be set into a reading mode;Authentication module, uses
Authenticated in coding tools;Setup module, if being additionally operable to by authentication, by the reading of the target non-volatile memory
WriteMode is set to can WriteMode;Writing module, refers to for receiving the IMEI code to be written of the coding tools transmission and writing code
Order, and by the IMEI code to be written, be written in the target non-volatile memory according to the code instruction of writing.
Third aspect present invention provides a kind of mobile terminal, including:
Memory and processor;
The memory storage has executable program code;
The processor coupled with the memory, calls the executable program generation stored in the memory
Code, performs the international mobile equipment identification number wiring method provided such as above-mentioned first aspect.
International mobile equipment identification number wiring method, device and mobile terminal that the present invention is provided, by target non-volatile
The read-write mode of memory is set to a reading mode, and coding tools are authenticated, if by authentication, the target is non-volatile
Property memory read-write mode be set to can WriteMode, receive the coding tools transmission IMEI code to be written and write code instruction,
And by the IMEI code to be written, write code instruction according to this and be written in the target non-volatile memory, so by by target
The read-write mode of nonvolatile memory is set to a reading mode, and third party's coding tools are authenticated, can be effective
Prevent that IMEI code is random to be distorted by third party's instrument of unauthorized, and if then avoiding that there is identical because of different mobile phones
IMEI code and the conflict that causes so that mobile phone can normal access carrier network, realize normal talking function.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention.
Fig. 1 is a kind of structured flowchart of mobile terminal;
Fig. 2 be first embodiment of the invention provide international mobile equipment identification number wiring method realize flow illustrate
Figure;
Fig. 3 be second embodiment of the invention provide international mobile equipment identification number wiring method realize flow illustrate
Figure;
Fig. 4 is the structural representation of the international mobile equipment identification number writing station that third embodiment of the invention is provided;
Fig. 5 is the structural representation of the international mobile equipment identification number writing station that fourth embodiment of the invention is provided.
Specific embodiment
To enable that goal of the invention of the invention, feature, advantage are more obvious and understandable, below in conjunction with the present invention
Accompanying drawing in embodiment, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described reality
It is only a part of embodiment of the invention to apply example, and not all embodiments.Based on the embodiment in the present invention, people in the art
The every other embodiment that member is obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Fig. 1 shows a kind of structured flowchart of mobile terminal.International mobile equipment identification number provided in an embodiment of the present invention
Wiring method, can be applied in mobile terminal 10 as shown in Figure 1, and mobile terminal 10 can be, but not limited to include:Need to be by electricity
Pond maintains the mobile call equipment normally run, support network and have access to carrier network.
As shown in figure 1, mobile terminal 10 includes memory 101, storage control 102, one or more (only show in figure
One) processor 103, Peripheral Interface 104, radio-frequency module 105 and the Touch Screen 106 that are coupled with memory 101.These groups
Part is mutually communicated by one or more communication bus/holding wire 107.
It is appreciated that the structure shown in Fig. 1 is only to illustrate, it does not cause to limit to the structure of mobile terminal 10.It is mobile
Terminal 10 may also include components more more than shown in Fig. 1 or less, or with the configuration different from shown in Fig. 1.Shown in Fig. 1
Each component can using hardware, software or its combination realize.
Memory 101 can be used for be stored with executable program code software program and module, such as in the embodiment of the present invention
International mobile equipment identification number wiring method and the corresponding programmed instruction/module of mobile terminal 10, processor 103 is by calling
Be stored with executable program code software program and module of the operation storage in memory 101, so as to perform various functions
Using and data processing, that is, realize above-mentioned international mobile equipment identification number wiring method.
Memory 101 may include high speed random access memory, may also include nonvolatile memory, such as one or more magnetic
Property storage device, flash memory or other non-volatile solid state memories.In some instances, memory 101 can be further included
The memory remotely located relative to processor 103, these remote memories can be by network connection to mobile terminal 10.On
State example including but not limited to internet, intranet, LAN, mobile radio communication and combinations thereof of network.Processor 103
And access of other possible components to memory 101 can be carried out under the control of storage control 102.
Various input/output devices are coupled to CPU and memory 101 by Peripheral Interface 104.The operation of processor 103 is deposited
Various softwares in reservoir 101, instruction are performing the various functions of mobile terminal 10 and carry out data processing.
In certain embodiments, Peripheral Interface 104, processor 103 and storage control 102 can be in one single chips
Realize.In some other example, they can be realized by independent chip respectively.
Radio-frequency module 105 is used to receive and send electromagnetic wave, realizes the mutual conversion of electromagnetic wave and electric signal, so that with
Communication network or other equipment are communicated.Radio-frequency module 105 may include the various existing electricity for performing these functions
Circuit component, for example, antenna, RF transceiver, digital signal processor, encryption/deciphering chip, subscriber identity module (SIM) card,
Memory etc..Radio-frequency module 105 can with various networks for example internet, intranet, preset type wireless network carry out
Communication or the wireless network by preset type are communicated with other equipment.The wireless network of above-mentioned preset type can be wrapped
Include cellular telephone networks, WLAN or Metropolitan Area Network (MAN).The wireless network of above-mentioned preset type can use various communications
Standard, agreement and technology, including but not limited to global system for mobile communications (Global System for Mobile
Communication, GSM), enhanced mobile communication technology (Enhanced Data GSM Environment, EDGE) is wide
Band CDMA (Wideband Code Division Multiple Access, W-CDMA), CDMA
(Code Division Access, CDMA), tdma (Time Division Multiple Access, TDMA),
Bluetooth, adopting wireless fidelity technology (Wireless-Fidelity, WiFi) (such as IEEE-USA's standard IEEE
802.11a, IEEE 802.11b, IEEE802.11g and/or IEEE 802.11n), NFC technique, the networking telephone (Voice
Over Internet Protocal, VoIP), worldwide interoperability for microwave accesses (Worldwide Interoperability for
Microwave Access, Wi-Max), other are used for the agreement of mail, instant messaging and short message, and any other is suitable
Communications protocol.
Touch Screen 106 provides an output and inputting interface simultaneously between mobile terminal and user.Specifically, touch-control
Screen 106 shows video frequency output to user, and the content of these video frequency outputs may include word, figure, video and its any group
Close.Some output results correspond to some user interface objects.Touch Screen 106 also receives the input of user, such as user
The gesture operation such as click, slip, the input so as to user interface object to these users responds.Detection user input
Technology can be based on resistance-type, condenser type or other any possible touch control detection technologies.The display unit of Touch Screen 106
Instantiation include but is not limited to liquid crystal display or light emitting polymer displays.
Fig. 2 is referred to, Fig. 2 realizes stream for the international mobile equipment identification number wiring method that first embodiment of the invention is provided
Journey schematic diagram, in can be applied to terminal as shown in Figure 1.International mobile equipment identification number wiring method shown in Fig. 2, main bag
Include following steps:
S201, the read-write mode of target non-volatile memory is set to a reading mode.
The target non-volatile memory be built in perform IMEI code wiring method terminal in, it is as non-volatile with
Machine accesses memory (NVRAM, Non-Volatile Random Access Memory).
The external interface of the target non-volatile memory is set to a reading mode, not authenticated the 3rd can be prevented
The IMEI code stored in the direct erasable NVRAM of square instrument.
S202, coding tools are authenticated, if by authentication, by the read-write mode of the target non-volatile memory
Being set to can WriteMode.
Can be authenticated by way of identifying code or identification code, it is also possible to by the coding tools and execution IMEI code
The mode of the authentication protocol pre-build between the terminal of wiring method is authenticated.Only opened to authenticating successful coding tools
Can WriteMode, can so be effectively prevented from unknown third party's instrument and write-in arbitrarily is performed to the target non-volatile memory
Operation, improves the security that IMEI code writes memory.
The coding tools can run on equipment (such as computer, the hand being connected with the terminal for performing IMEI code wiring method
Machine etc.) in, the coding tools have generation IMEI code, and the IMEI code of generation is written to the function of NVRAM.
S203, the IMEI code to be written for receiving coding tools transmission and code instruction is write, and by the IMEI code to be written, pressed
Code instruction is write according to this to be written in the target non-volatile memory.
This writes code instruction, for indicating the target non-volatile memory by the IMEI code to be written, is written to specific bit
Put.It can be developer or user by running the instruction that the equipment of the coding tools sends that this writes code instruction.Actually should
In, the target non-volatile memory includes a field (item) for fixed storage IMEI code.
It should be noted that the embodiment of the present invention can apply to be write for the first time before mobile call terminal dispatches from the factory
The scene of IMEI code, it is also possible to be applied to after mobile call terminal dispatches from the factory, because owner's error of mobile call terminal is deleted
Except having stored IMEI code, it is necessary to pass through the scene that IMEI code is write third party's coding tools the mobile call terminal again.
In the embodiment of the present invention, the read-write mode of target non-volatile memory is set to a reading mode, to writing a yard work
Tool authenticated, if by authentication, by the read-write mode of the target non-volatile memory be set to can WriteMode, receive should
IMEI code to be written and write code instruction that coding tools send, and by the IMEI code to be written, write code instruction according to this and be written to
In the target non-volatile memory, a reading mode so is set to by by the read-write mode of target non-volatile memory,
And third party's coding tools are authenticated, can effectively prevent that IMEI code is random to be usurped by third party's instrument of unauthorized
Change, and if then the conflict that avoids caused by different mobile phones is with identical IMEI code so that mobile phone can be just
The network of normal access carrier, realizes normal talking function.
Refer to Fig. 3, the realization of the international mobile equipment identification number wiring method that Fig. 3 is provided for second embodiment of the invention
Schematic flow sheet, in can be applied to terminal as shown in Figure 1.International mobile equipment identification number wiring method shown in Fig. 3, mainly
Comprise the following steps:
301st, the read-write mode of target non-volatile memory is set to a reading mode.
The target non-volatile memory is to be built in the terminal for performing IMEI code wiring method, as NVRAM.Should
The external interface of target non-volatile memory is set to a reading mode, can prevent not authenticated third party's instrument from directly wiping
Write the IMEI code stored in NVRAM.
302nd, coding tools are authenticated, if by authentication, by the read-write mode of the target non-volatile memory
Being set to can WriteMode.
Can be authenticated by way of identifying code or identification code, it is also possible to write with the coding tools and execution IMEI code
The mode of the authentication protocol pre-build between the terminal for entering method is authenticated, only can to authenticating successful coding tools opening
WriteMode, can so be effectively prevented from unknown third party's instrument arbitrarily can not write to target non-volatile memory execution
Enter operation, improve the security that IMEI code writes memory.
The coding tools can run on equipment (such as computer, the hand being connected with the terminal for performing IMEI code wiring method
Machine etc.) in, the coding tools have generation IMEI code, and the IMEI code of generation is written to the function of NVRAM.
Further, coding tools are authenticated specially:
Generation authentication code;
The authentication code of the generation is preserved, and the authentication code of the generation is sent to the coding tools;
Receive the coding tools transmission authentication code to be authenticated, and by the authentication code to be authenticated with preserve authentication code
Compare;
If the authentication code to be authenticated is consistent with the authentication code of the preservation, it is determined that the coding tools are by authentication.
Comprising the combination of one or more in numeral, character, pattern in the authentication code.If there is multiple coding tools,
The plurality of coding tools can unify correspondence only one authentication code, or each coding tools is set and coding tools pair
The authentication code answered.
303rd, generate encryption information and be sent to the coding tools, so that the coding tools are treated according to the encryption information to this
Write-in IMEI code is encrypted.
Further, generate encryption information and be sent to the coding tools, so that the coding tools are according to the encryption information
The IMEI code to be written is encrypted specially:
Generation public key private key corresponding with the public key, and the public key is sent to the coding tools so that the coding tools
The IMEI code to be written is encrypted according to the public key.
Public key and private key are generations in pairs, if using public key by data encryption, can be according to corresponding with the public key
The data of private key pair encryption be decrypted.
The encryption information can be the rule of encryption IMEI code to be written, or encrypt the close of IMEI code to be written
Key.
304th, the IMEI code to be written and the write instruction after the encryption of coding tools transmission are received, the encryption is decrypted
IMEI code to be written afterwards, and by the IMEI code to be written after decryption, writing code instruction according to this, to be written to the target non-easily
In the property lost memory.
This writes code instruction, for indicating the target non-volatile memory by the IMEI code to be written, is written to specific bit
Put.It can be developer or user by running the instruction that the equipment of the coding tools sends that this writes code instruction.Actually should
In, the target non-volatile memory includes a field for fixed storage IMEI code.
Further, the IMEI code to be written after the encryption is decrypted, and by the IMEI code to be written after decryption, according to
This is write code instruction and is written to the target non-volatile memory and includes:
By the IMEI code to be written after encryption, it is decrypted according to the private key;
Validation verification is carried out to the IMEI code to be written after decryption;
If the IMEI code to be written after decryption, by the IMEI code to be written after decryption, is pressed by validation verification
Code instruction is write according to this to be written in the target non-volatile memory.
The security of IMEI code can further be ensured by way of being encrypted to IMEI code to be written, it is to avoid not
The third party's coding tools known obtain or distort IMEI code.
The string number that IMEI code is made up of 15-17 bit digitals.(being in early days 6) class that Part I is made up of 8 bit digitals
Type assigned code (TAC, Type Allocation Code) is to discriminate between the coding of mobile phone brand and model;Part II is by 2
Final assembling ground code (FAC, Final Assembly Code) that numeral is constituted, FAC yards is used for the mitogenetic product in manufacturer inner area
Ground code;The sequence number of dispatching from the factory (SNR, Serial Number) that Part III is made up of 6 bit digitals of the 9th beginning, for area
Divide every production sequence number of mobile phone;Part IV is identifying code (CD, Check Digit);Part V is software version number
(SVN, Software Version Number), for distinguishing the different software versions used when same model mobile phone dispatches from the factory, only exists
Exist in the part type of part brand.
Can verify that the IMEI code to be written after decryption is by the identifying code in the IMEI code to be written of this after decryption
No is valid data, if being proved to be successful, it is determined that the IMEI code to be written after decryption passes through validation verification;Can also priori
Whether that demonstrate,proves the IMEI code to be written after decryption includes 15 bit digitals or 17 bit digitals, if so, then performing by after decryption
The step of identifying code in the IMEI code to be written is verified;Can also to verify sum in the way of it is to be written to this after decryption
Whether the IMEI code to be written after IMEI code checking decryption is valid data, if being proved to be successful, it is determined that this after decryption is treated
Write-in IMEI code passes through validation verification.
It should be noted that the embodiment of the present invention can apply to be write for the first time before mobile call terminal dispatches from the factory
The scene of IMEI code, it is also possible to be applied to after mobile call terminal dispatches from the factory, because owner's error of mobile call terminal is deleted
Except having stored IMEI code, it is necessary to pass through the scene that IMEI code is write third party's coding tools the mobile call terminal again.
In the embodiment of the present invention, the read-write mode of target non-volatile memory is set to a reading mode, to writing a yard work
Tool authenticated, if by authentication, by the read-write mode of the target non-volatile memory be set to can WriteMode, generation plus
Confidential information is simultaneously sent to the coding tools, so that the coding tools are added according to the encryption information to the IMEI code to be written
It is close, the IMEI code to be written and the write instruction after the encryption of coding tools transmission are received, this for decrypting after the encryption is treated
Write-in IMEI code, and by the IMEI code to be written after decryption, write code instruction according to this and be written to target non-volatile storage
In device, a reading mode so is set to by by the read-write mode of target non-volatile memory, and to third party's coding tools
Authenticated, can effectively be prevented that IMEI code is random to be distorted by third party's instrument of unauthorized, and then avoided because different
If the conflict that mobile phone is caused with identical IMEI code so that mobile phone can normal access carrier net
Network, realizes normal talking function.
Fig. 4 is referred to, Fig. 4 is the structure of the international mobile equipment identification number writing station that third embodiment of the invention is provided
Schematic diagram, for convenience of description, illustrate only the part related to the embodiment of the present invention.The international mobile device of Fig. 4 examples is known
Other code writing station can be holding for the international mobile equipment identification number wiring method that earlier figures 2 and embodiment illustrated in fig. 3 are provided
A control module in row main body, such as mobile terminal or mobile terminal.The international mobile equipment identification number write-in of Fig. 4 examples
Device, mainly includes:Setup module 401, authentication module 402 and writing module 403.Each functional module is described in detail such as above
Under:
Setup module 401, for the read-write mode of target non-volatile memory to be set into a reading mode.
The target non-volatile memory is to be built in the terminal for performing IMEI code wiring method, as NVRAM.Should
The external interface of target non-volatile memory is set to a reading mode, can prevent not authenticated third party's instrument from directly wiping
Write the IMEI code stored in NVRAM.
Authentication module 402, for being authenticated to coding tools.
Setup module 401, if being additionally operable to, by authentication, the read-write mode of the target non-volatile memory is set to
Can WriteMode.
Writing module 403 is for receiving the IMEI code to be written of coding tools transmission and writing code instruction and this is to be written
Enter IMEI code, writing code instruction according to this is written in the target non-volatile memory.
This writes code instruction, for indicating the target non-volatile memory by the IMEI code to be written, is written to specific bit
Put.
The present embodiment details not to the greatest extent, refers to the description of foregoing embodiment illustrated in fig. 2, and here is omitted.
It should be noted that in the implementation method of the international mobile equipment identification number writing station of figure 4 above example, each work(
The division of energy module is merely illustrative of, can as needed in practical application, such as the configuration requirement or soft of corresponding hardware
The convenient consideration of the realization of part, and above-mentioned functions distribution is completed by different functional modules.And, in practical application, this reality
It can be realized by corresponding hardware to apply the corresponding functional module in example, it is also possible to perform corresponding software by corresponding hardware
Complete.Each embodiment that this specification is provided can all apply foregoing description principle, below repeat no more.
In the embodiment of the present invention, the read-write mode of target non-volatile memory is set to read-only mould by setup module 401
Formula, authentication module 402 is authenticated to coding tools, if setup module 401 is by authentication, by target non-volatile storage
The read-write mode of device be set to can WriteMode, writing module 403 receive the coding tools send IMEI code to be written and write code
Instruction, by the IMEI code to be written, writes code instruction and is written in the target non-volatile memory according to this, so by by mesh
The read-write mode for marking nonvolatile memory is set to a reading mode, and third party's coding tools are authenticated, can be effective
Prevent that IMEI code is random to be distorted by third party's instrument of unauthorized, and if then avoid because different mobile phones have it is identical
IMEI code and the conflict that causes so that mobile phone can normal access carrier network, realize normal talking function.
Refer to Fig. 5, the structural representation of the international mobile equipment identification number writing station that fourth embodiment of the invention is provided
Figure, for convenience of description, illustrate only the part related to the embodiment of the present invention.The international mobile equipment identification number of Fig. 5 examples
Writing station can be the executive agent of the international mobile equipment identification number wiring method that foregoing embodiment illustrated in fig. 3 is provided, such as
A control module in mobile terminal or mobile terminal.The international mobile equipment identification number writing station of Fig. 5 examples, main bag
Include:Setup module 501, authentication module 502, encrypting module 503, deciphering module 504 and writing module 505.Each function mould of the above
Block describes in detail as follows:
Setup module 501, for the read-write mode of target non-volatile memory to be set into a reading mode.
The target non-volatile memory is to be built in the terminal for performing IMEI code wiring method, as NVRAM.Should
The external interface of target non-volatile memory is set to a reading mode, can prevent not authenticated third party's instrument from directly wiping
Write the IMEI code stored in NVRAM.
Authentication module 502, for being authenticated to coding tools.
Setup module 501, if being additionally operable to, by authentication, the read-write mode of the target non-volatile memory is set to
Can WriteMode.
Authentication module 502 can be authenticated by way of identifying code or identification code, it is also possible to the coding tools and
The mode of the authentication protocol pre-build between the terminal for performing IMEI code wiring method is authenticated.Only authentication is successfully write
Code instrument open can WriteMode, can so be effectively prevented from unknown third party's instrument can not arbitrarily to the target non-volatile
Memory performs write operation, improves the security that IMEI code writes memory.
The coding tools can run on equipment (such as computer, the hand being connected with the terminal for performing IMEI code wiring method
Machine etc.) in, the coding tools have generation IMEI code, and the IMEI code of generation is written to the function of NVRAM.
Further, authentication module 502 is additionally operable to generate authentication code, preserves the authentication code of the generation, and by the generation
Authentication code is sent to the coding tools, and receives the authentication code to be authenticated that the coding tools send, and this is to be authenticated
Authentication code with preserve authentication code compared with, if the authentication code to be authenticated is consistent with the authentication code of the preservation, it is determined that this is write
Code instrument is by authentication.
Comprising the combination of one or more in numeral, character, pattern in the authentication code.If there is multiple coding tools,
The plurality of coding tools can unify correspondence only one authentication code, or each coding tools is set and coding tools pair
The authentication code answered.
Encrypting module 503, for generating encryption information and being sent to the coding tools, so that the coding tools add according to this
Confidential information is encrypted to the IMEI code to be written.
The encryption information can be the rule of encryption IMEI code to be written, or encrypt the close of IMEI code to be written
Key.
Further, encrypting module 503, are additionally operable to generation public key private key corresponding with the public key, and the public key is sent
To the coding tools so that the coding tools are encrypted according to the public key to the IMEI code to be written.
Public key and private key are generations in pairs, if using public key by data encryption, can be according to corresponding with the public key
The data of private key pair encryption be decrypted.
Writing module 505, refers to for the IMEI code to be written after the encryption for receiving coding tools transmission and the write-in
Order.
This writes code instruction, for indicating the target non-volatile memory by the IMEI code to be written, is written to specific bit
Put.It can be developer or user by running the instruction that the equipment of the coding tools sends that this writes code instruction.Actually should
In, the target non-volatile memory includes a field for fixed storage IMEI code.
Deciphering module 504, for decrypting the IMEI code to be written after the encryption, and by the IMEI to be written after decryption
Code, writes code instruction and is written in the target non-volatile memory according to this.
Further, deciphering module 504, are additionally operable to, by the IMEI code to be written after encryption, be solved according to the private key
It is close, and validation verification is carried out to the IMEI code to be written after decryption.
Further, writing module 505, if the IMEI code to be written being additionally operable to after decryption is by validation verification,
By the IMEI code to be written after decryption, write code instruction according to this and be written in the target non-volatile memory.
Deciphering module 504 can be by the identifying code in the IMEI code to be written of this after decryption, and this after checking decryption is treated
Whether write-in IMEI code is valid data, if being proved to be successful, it is determined that the IMEI code to be written after decryption is tested by validity
Card;Deciphering module 504 can also first verify decryption after the IMEI code to be written whether comprising 15 bit digitals or 17 bit digitals,
If so, then performing the step of the identifying code in the IMEI code to be written after decryption is verified;Deciphering module 504 may be used also
Whether it is effective with the IMEI code to be written after being decrypted to IMEI code checking to be written after decryption in the way of verification sum
Data, if being proved to be successful, it is determined that the IMEI code to be written after decryption passes through validation verification.
It should be noted that the embodiment of the present invention can apply to be write for the first time before mobile call terminal dispatches from the factory
The scene of IMEI code, it is also possible to be applied to after mobile call terminal dispatches from the factory, because owner's error of mobile call terminal is deleted
Except having stored IMEI code, it is necessary to pass through the scene that IMEI code is write third party's coding tools the mobile call terminal again.
The present embodiment details not to the greatest extent, refers to the description of earlier figures 2 and embodiment illustrated in fig. 3, and here is omitted.
In the embodiment of the present invention, the read-write mode of target non-volatile memory is set to read-only mould by setup module 501
Formula, authentication module 502 is authenticated to coding tools, if setup module 501 is by authentication, by target non-volatile storage
The read-write mode of device be set to can WriteMode, encrypting module 503 generation encryption information simultaneously be sent to the coding tools so that this is write
Code instrument is encrypted according to the encryption information to the IMEI code to be written, and writing module 505 receives what the coding tools sent
The IMEI code to be written and the write instruction after encryption, deciphering module 504 are decrypted the IMEI code to be written after the encryption, are write
Enter module 505 by the IMEI code to be written after decryption, write code instruction according to this and be written in the target non-volatile memory,
A reading mode so is set to by by the read-write mode of target non-volatile memory, and third party's coding tools are reflected
Power, can effectively prevent that IMEI code is random to be distorted by third party's instrument of unauthorized, and then avoid because of different mobile electricity
If the conflict that is caused with identical IMEI code of words so that mobile phone can normal access carrier network, realization
Normal talking function.
In multiple embodiments provided herein, it should be understood that disclosed system, apparatus and method, can be with
Realize by another way.For example, device embodiment described above is only schematical, for example, the module
Divide, only a kind of division of logic function there can be other dividing mode when actually realizing, such as multiple module or components
Can combine or be desirably integrated into another system, or some features can be ignored, or do not perform.It is another, it is shown or
The coupling each other for discussing or direct-coupling or communication linkage can be the indirect couplings of device or module by some interfaces
Close or communication linkage, can be electrical, mechanical or other forms.
The module that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as module
The part for showing can be or may not be physical module, you can with positioned at a place, or can also be distributed to multiple
On mixed-media network modules mixed-media.Some or all of module therein can be according to the actual needs selected to realize the mesh of this embodiment scheme
's.
In addition, during each functional module in each embodiment of the invention can be integrated in a processing module, it is also possible to
It is that modules are individually physically present, it is also possible to which two or more modules are integrated in a module.Above-mentioned integrated mould
Block can both be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.
It should be noted that for foregoing each method embodiment, in order to simplicity is described, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should know, the present invention not by described by sequence of movement limited because
According to the present invention, some steps can sequentially or simultaneously be carried out using other.Secondly, those skilled in the art should also know
Know, embodiment described in this description belongs to preferred embodiment, and involved action and module might not all be this hairs
Necessary to bright.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion described in detail in certain embodiment
Point, may refer to the associated description of other embodiments.
It is more than that international mobile equipment identification number wiring method provided by the present invention, device and mobile terminal are retouched
State, for those skilled in the art, according to the thought of the embodiment of the present invention, can in specific embodiments and applications
There is change part, to sum up, this specification content should not be construed as limiting the invention.
Claims (11)
1. a kind of international mobile equipment identification number wiring method, it is characterised in that including:
The read-write mode of target non-volatile memory is set to a reading mode;
Coding tools are authenticated, if by authentication, the read-write mode of the target non-volatile memory is set to
Can WriteMode;
Receive the international mobile equipment identification number IMEI code to be written of the coding tools transmission and write code instruction, and treated described
Write-in IMEI code, is written in the target non-volatile memory according to the code instruction of writing.
2. method according to claim 1, it is characterised in that described authentication is carried out to coding tools to include:
Generation authentication code;
The authentication code of the generation is preserved, and the authentication code of the generation is sent to the coding tools;
Receive the authentication code to be authenticated that the coding tools send, and by the mirror of the authentication code to be authenticated and the preservation
Weighted code compares;
If the authentication code to be authenticated is consistent with the authentication code of the preservation, it is determined that the coding tools are by authentication.
3. method according to claim 1 and 2, it is characterised in that it is to be written that the reception coding tools send
International mobile equipment identification number IMEI code and write code instruction, and will the IMEI code to be written, write code instruction write-in according to described
Include before in the target non-volatile memory:
Generation encryption information is simultaneously sent to the coding tools, so that the coding tools are treated according to the encryption information to described
Write-in IMEI code is encrypted;
International mobile equipment identification number IMEI code to be written and write code instruction that then the reception coding tools send, and will
The IMEI code to be written, according to it is described write code instruction and be written to the target non-volatile memory include:
The IMEI code described to be written after the encryption that the coding tools send and said write instruction are received, the encryption is decrypted
IMEI code described to be written afterwards, and by decryption after IMEI code described to be written, according to it is described write code instruction be written to it is described
In target non-volatile memory.
4. method according to claim 3, it is characterised in that the generation encryption information is simultaneously sent to and described writes a yard work
Tool so that the coding tools according to the encryption information IMEI code to be written is encrypted including:
Generation public key and the corresponding private key of the public key, and the public key is sent to the coding tools so that it is described to write code
Instrument is encrypted according to the public key to the IMEI code to be written.
5. method according to claim 4, it is characterised in that the IMEI described to be written after the decryption encryption
Code, and by decryption after IMEI code described to be written, be written to the target non-volatile memory according to the code instruction of writing
Include:
IMEI code described to be written after by encryption, is decrypted according to the private key;
IMEI code described to be written after to decryption carries out validation verification;
If the IMEI code described to be written after decryption is by validation verification, by decryption after IMEI code described to be written, press
It is written in the target non-volatile memory according to the code instruction of writing.
6. a kind of international mobile equipment identification number writing station, it is characterised in that described device includes:
Setup module, for the read-write mode of target non-volatile memory to be set into a reading mode;
Authentication module, for being authenticated to coding tools;
The setup module, if being additionally operable to, by authentication, the read-write mode of the target non-volatile memory is set to
Can WriteMode;
Writing module, for receiving the IMEI code to be written of the coding tools transmission and writing code instruction, and will be described to be written
IMEI code, is written in the target non-volatile memory according to the code instruction of writing.
7. device according to claim 6, it is characterised in that
The authentication module, is additionally operable to generate authentication code, preserves the authentication code of the generation, and the authentication code of the generation is sent out
The coding tools are given, and, receive the authentication code to be authenticated that the coding tools send, and by the mirror to be authenticated
Weighted code is compared with the authentication code of the preservation, if the authentication code to be authenticated is consistent with the authentication code of the preservation, really
The fixed coding tools are by authentication.
8. the device according to claim 6 or 7, it is characterised in that
Described device also includes:
Encrypting module, for generating encryption information and being sent to the coding tools, so that the coding tools add according to
Confidential information is encrypted to the IMEI code to be written;
Said write module, the IMEI code described to be written for being additionally operable to receive after the encryption that the coding tools send and described writes
Enter instruction;
Described device also includes:
Deciphering module, for decrypting the IMEI code described to be written after the encryption;
Said write module, the IMEI code described to be written after being additionally operable to decryption, according to it is described write code instruction be written to it is described
In target non-volatile memory.
9. device according to claim 8, it is characterised in that
The encrypting module, is additionally operable to generate public key and the corresponding private key of the public key, and the public key is sent to described write
Code instrument so that the coding tools are encrypted according to the public key to the IMEI code to be written.
10. device according to claim 9, it is characterised in that
The deciphering module, the IMEI code described to be written after being additionally operable to encryption, is decrypted according to the private key, and to solution
IMEI code described to be written after close carries out validation verification;
Said write module, if the IMEI code described to be written being additionally operable to after decryption is by validation verification, after decryption
The IMEI code to be written, is written in the target non-volatile memory according to the code instruction of writing.
11. a kind of mobile terminals, it is characterised in that the mobile terminal includes:
Memory and processor;
The memory storage has executable program code;
The processor coupled with the memory, calls the executable program code stored in the memory, holds
International mobile equipment identification number wiring method of the row as described in claim 1 to any one of claim 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611145091.3A CN106792637B (en) | 2016-12-13 | 2016-12-13 | International mobile equipment identification number wiring method, device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611145091.3A CN106792637B (en) | 2016-12-13 | 2016-12-13 | International mobile equipment identification number wiring method, device and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106792637A true CN106792637A (en) | 2017-05-31 |
CN106792637B CN106792637B (en) | 2019-08-16 |
Family
ID=58880554
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611145091.3A Expired - Fee Related CN106792637B (en) | 2016-12-13 | 2016-12-13 | International mobile equipment identification number wiring method, device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106792637B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107506665A (en) * | 2017-08-30 | 2017-12-22 | 惠州Tcl移动通信有限公司 | A kind of method, storage medium and mobile phone for rewriting encryption mobile phone MEID |
CN107613493A (en) * | 2017-08-02 | 2018-01-19 | 捷开通讯(深圳)有限公司 | Intelligent terminal and its antitheft method, the device with store function |
CN108024242A (en) * | 2017-12-01 | 2018-05-11 | 广东欧珀移动通信有限公司 | Information Authentication method and device, terminal and computer-readable recording medium |
CN109446234A (en) * | 2018-10-12 | 2019-03-08 | Oppo广东移动通信有限公司 | Data processing method, device and electronic equipment |
CN109558755A (en) * | 2018-12-03 | 2019-04-02 | Oppo(重庆)智能科技有限公司 | Method for writing data, electronic equipment and computer readable storage medium |
CN109618327A (en) * | 2018-11-27 | 2019-04-12 | Oppo(重庆)智能科技有限公司 | A kind of method and apparatus of software adaptation, electronic equipment, readable storage medium storing program for executing |
CN111093190A (en) * | 2019-12-10 | 2020-05-01 | 爱讯智联科技(北京)有限公司 | Method, device and system for writing key data, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101111018A (en) * | 2006-07-21 | 2008-01-23 | 中兴通讯股份有限公司 | Method for implementing PHS mobile phone network locking and unlocking |
CN103391537A (en) * | 2013-06-24 | 2013-11-13 | 上海天奕达电子科技有限公司 | Method and device for writing international mobile equipment identify (IMEI) number through mobile terminal |
CN105120451A (en) * | 2015-09-07 | 2015-12-02 | 广东欧珀移动通信有限公司 | Method for realizing card-less operation of mobile terminal, operator business platform and mobile terminal |
CN105933888A (en) * | 2016-06-28 | 2016-09-07 | 宇龙计算机通信科技(深圳)有限公司 | Burning method and device of eSIM (Subscriber Identity Module) card based on NFC |
-
2016
- 2016-12-13 CN CN201611145091.3A patent/CN106792637B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101111018A (en) * | 2006-07-21 | 2008-01-23 | 中兴通讯股份有限公司 | Method for implementing PHS mobile phone network locking and unlocking |
CN103391537A (en) * | 2013-06-24 | 2013-11-13 | 上海天奕达电子科技有限公司 | Method and device for writing international mobile equipment identify (IMEI) number through mobile terminal |
CN105120451A (en) * | 2015-09-07 | 2015-12-02 | 广东欧珀移动通信有限公司 | Method for realizing card-less operation of mobile terminal, operator business platform and mobile terminal |
CN105933888A (en) * | 2016-06-28 | 2016-09-07 | 宇龙计算机通信科技(深圳)有限公司 | Burning method and device of eSIM (Subscriber Identity Module) card based on NFC |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107613493A (en) * | 2017-08-02 | 2018-01-19 | 捷开通讯(深圳)有限公司 | Intelligent terminal and its antitheft method, the device with store function |
CN107506665A (en) * | 2017-08-30 | 2017-12-22 | 惠州Tcl移动通信有限公司 | A kind of method, storage medium and mobile phone for rewriting encryption mobile phone MEID |
WO2019042344A1 (en) * | 2017-08-30 | 2019-03-07 | 捷开通讯(深圳)有限公司 | Method for rewriting meid number of encrypted cell phone, storage medium and cell phone |
CN108024242A (en) * | 2017-12-01 | 2018-05-11 | 广东欧珀移动通信有限公司 | Information Authentication method and device, terminal and computer-readable recording medium |
CN109446234A (en) * | 2018-10-12 | 2019-03-08 | Oppo广东移动通信有限公司 | Data processing method, device and electronic equipment |
CN109618327A (en) * | 2018-11-27 | 2019-04-12 | Oppo(重庆)智能科技有限公司 | A kind of method and apparatus of software adaptation, electronic equipment, readable storage medium storing program for executing |
CN109558755A (en) * | 2018-12-03 | 2019-04-02 | Oppo(重庆)智能科技有限公司 | Method for writing data, electronic equipment and computer readable storage medium |
CN109558755B (en) * | 2018-12-03 | 2022-03-29 | Oppo(重庆)智能科技有限公司 | Data writing method, electronic device, and computer-readable storage medium |
CN111093190A (en) * | 2019-12-10 | 2020-05-01 | 爱讯智联科技(北京)有限公司 | Method, device and system for writing key data, electronic equipment and storage medium |
CN111093190B (en) * | 2019-12-10 | 2024-02-20 | 爱讯智联科技(北京)有限公司 | Method, device, system, electronic equipment and storage medium for writing key data |
Also Published As
Publication number | Publication date |
---|---|
CN106792637B (en) | 2019-08-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106792637B (en) | International mobile equipment identification number wiring method, device and mobile terminal | |
EP3698535B1 (en) | Privacy preserving tag | |
CN106484484B (en) | Application program installs management method and terminal device | |
US11962616B2 (en) | Protection against rerouting a communication channel of a telecommunication device having an NFC circuit and a secure data circuit | |
JP4792037B2 (en) | System and method for user certificate initialization, distribution, and distribution in a centralized WLAN-WWAN interaction network | |
CN103650554B (en) | For the method for the trusted communications between mobile device, mobile device and computer-readable medium | |
CN104519480B (en) | Communication control unit, authentication device, central controller and communication system | |
EP2988470A1 (en) | Automatic purposed-application creation | |
CN102917338B (en) | Method for achieving SIM (subscriber identity module) card function on terminal, terminal and UICC (universal integrated circuit card) | |
BRPI0816328A2 (en) | update mobile devices with additional elements | |
CN106302381A (en) | Device authentication | |
CN103455349B (en) | Application program accesses the method and apparatus of smart card | |
CN109218263A (en) | A kind of control method and device | |
CN103988465B (en) | Method and apparatus for implementing key stream hierarchy | |
CN106656958A (en) | Mobile-terminal-based account login method, login apparatus and login system | |
CN106296900A (en) | A kind of method opening smart lock | |
CN105577375A (en) | Identity authentication method and device | |
CA2821487A1 (en) | Secure key distribution with general purpose mobile device | |
CN105376059A (en) | Method and system for performing application signature based on electronic key | |
CN107733652A (en) | For sharing the method for unlocking and system and lock of the vehicles | |
CN105959947A (en) | Method for safely having access to network and system thereof | |
US20130073840A1 (en) | Apparatus and method for generating and managing an encryption key | |
CN107809437A (en) | A kind of converged communication login method, device and computer-readable recording medium | |
US7366901B2 (en) | Device, system, method and computer readable medium for identifying and authenticating a cellular device using a short-range radio address | |
CN102711089B (en) | Mobile terminal is carried out to method and the device of locking network and card |
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 | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190816 |
|
CF01 | Termination of patent right due to non-payment of annual fee |