CN100596219C - Communication terminal and its method and device for system bootstrapping - Google Patents

Communication terminal and its method and device for system bootstrapping Download PDF

Info

Publication number
CN100596219C
CN100596219C CN200610137637A CN200610137637A CN100596219C CN 100596219 C CN100596219 C CN 100596219C CN 200610137637 A CN200610137637 A CN 200610137637A CN 200610137637 A CN200610137637 A CN 200610137637A CN 100596219 C CN100596219 C CN 100596219C
Authority
CN
China
Prior art keywords
characteristic information
burning program
treatment
burning
treat
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN200610137637A
Other languages
Chinese (zh)
Other versions
CN101175269A (en
Inventor
刘宇
鹿甲寅
陈庆
宋任儒
吴绍荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN200610137637A priority Critical patent/CN100596219C/en
Publication of CN101175269A publication Critical patent/CN101175269A/en
Application granted granted Critical
Publication of CN100596219C publication Critical patent/CN100596219C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Storage Device Security (AREA)

Abstract

The present invention discloses the method of communication terminal system bootstrap, which includes four steps. Firstly, the first characteristic information of an application waiting for being burnt is read; secondly, the second characteristic information of the application waiting for being burnt is determined; thirdly, the first characteristic information is compared with the second characteristic information; fourthly, when the first characteristic information and the second characteristic information are the same, the application waiting for being burnt is burnt in the memory of a communication terminal which waits for being burnt. Based on the method, the present invention also discloses the communication terminal and the device of communication terminal system bootstrap. Before acommunication terminal system is booted, the present invention performs validity detection on the application waiting for being burnt, thus effectively guaranteeing safety in the course of communication terminal system bootstrap.

Description

The method and the device of communication terminal and communication terminal system bootstrapping
Technical field
The present invention relates to the security fields of communication terminal, relate in particular to the method and the device of a kind of communication terminal and communication terminal system bootstrapping.
Background technology
Communication terminal such as mobile phone is when just having made, and the electricity of its chip exterior is wiped in the non-volatile type memorizer (FLASH) and is not written into data.Usually in advance communication terminal system is carried out bootstrapping, promptly the electricity of communication terminal is wiped non-volatile type memorizer and carry out initialization burning processing.In the bootstrapping process, communication terminal treat that data such as burning program and operating system, application software are burnt to electricity and wipe in the non-volatile type memorizer, can finish test by the test program after the operation burning to communication terminal system.
After the bootstrapping process finishes, when communication terminal system begins to start, just wipe and read and move the program of being entered the non-volatile type memorizer with startup communication terminal software systems by burning from the electricity of communication terminal.Therefore, guaranteeing to write above-mentioned electricity, to wipe the program of non-volatile type memorizer be not by the clean program of unauthorized amendment, and then guarantee that the fail safe of communication terminal system bootstrapping process is very important.
The program that guarantees to be burnt to above-mentioned non-volatile type memorizer that do not take appropriate measures in the bootstrapping process of communication terminal system at present all is clean program.Therefore, above-mentioned non-volatile type memorizer program may appear being burnt to owing to the situation of being introduced virus by unauthorized amendment.Communication terminal system may find that just the program of being moved not is clean program after above-mentioned non-volatile type memorizer fetch program and operation.In this case, can cause communication terminal system destroyed, even cause communication terminal system system information or user privacy information to be stolen.As seen, the fail safe of existing communication terminal system bootstrapping is relatively poor.
Summary of the invention
First aspect of embodiment of the invention purpose is: a kind of method of communication terminal system bootstrapping is provided, guarantees the fail safe of communication terminal system bootstrapping.
Second aspect of embodiment of the invention purpose is: a kind of device of communication terminal system bootstrapping is provided, guarantees the fail safe of communication terminal system bootstrapping.
The 3rd aspect of embodiment of the invention purpose is: a kind of communication terminal is provided, guarantees the fail safe of communication terminal system bootstrapping.
First aspect of embodiment of the invention purpose is achieved through the following technical solutions:
A kind of method of communication terminal system bootstrapping comprises:
Pre-determine first characteristic information for the treatment of burning program;
Read first characteristic information for the treatment of burning program;
Read and treat burning program, determine to treat second characteristic information of burning program; The method of described second characteristic information of determining to treat burning program is identical with the method for first characteristic information of determining to treat burning program; More described first characteristic information and described second characteristic information;
When definite described first characteristic information is identical with described second characteristic information, will treat that burning program is burnt to treating in the burning memory of communication terminal.
Second aspect of embodiment of the invention purpose is achieved through the following technical solutions:
The device of a kind of communication terminal system bootstrapping comprises: memory, detection module, control module and treat the burning memory;
Described memory is used to store first characteristic information for the treatment of burning program and treating burning program;
Described detection module is used to determine to treat second characteristic information of burning program, more described first characteristic information and described second characteristic information, and comparative result exported; Described detection module adopts with determining to treat the identical method of burning program first characteristic information determines to treat second characteristic information of burning program;
Described control module is used to receive the comparative result of detection module, when comparative result is described first characteristic information when identical with described second characteristic information, will treat that burning program is burnt to treat in the burning memory;
The described burning memory for the treatment of is used to receive the program that comes from control module, and storage.
The 3rd aspect of embodiment of the invention purpose is achieved through the following technical solutions:
A kind of communication terminal comprises:
The device of communication terminal system bootstrapping is used to utilize the communication interface of communication terminal to obtain and preserve first characteristic information for the treatment of burning program and treating burning program, and the burning memory for the treatment of in the communication terminal is done bootstrapping and handled;
The device of described communication terminal system bootstrapping comprises: memory, detection module, control module and treat the burning memory;
Described memory is used to store first characteristic information for the treatment of burning program and treating burning program;
Described detection module is used to determine to treat second characteristic information of burning program, more described first characteristic information and described second characteristic information, and comparative result exported; Described detection module adopts the method identical with first characteristic information of determining to treat burning program to determine to treat second characteristic information of burning program;
Described control module is used to receive the comparative result of detection module, when comparative result is described first characteristic information when identical with described second characteristic information, will treat that burning program is burnt to treat in the burning memory;
The described burning memory for the treatment of is used to receive the program that comes from control module, and storage.
By foregoing as seen, the technical scheme that the embodiment of the invention provides is before communication terminal system is carried out bootstrapping, treat the program of burning earlier and do the legitimacy detection, after first characteristic information of determining to treat burning program is identical with second characteristic information, to treat just that burning program is burnt to and treat the burning memory, thereby effectively guarantee the fail safe of communication terminal system bootstrapping process.
Description of drawings
Fig. 1 is the method flow diagram of software systems bootstrapping in the present invention's first preferred embodiment;
Fig. 2 is the first embodiment flow chart that pre-determines first characteristic information among Fig. 1;
Fig. 3 is the second embodiment flow chart that pre-determines first characteristic information among Fig. 1;
Fig. 4 is the method flow diagram of software systems bootstrapping in the present invention's second preferred embodiment;
Fig. 5 is the method flow diagram of software systems bootstrapping in the present invention's the 3rd preferred embodiment;
Fig. 6 is the structural representation of device first preferred embodiment of software systems bootstrapping of the present invention;
Fig. 7 is the structural representation of device second preferred embodiment of software systems bootstrapping of the present invention;
Fig. 8 is the structural representation of detection module preferred embodiment among Fig. 6 or Fig. 7;
Fig. 9 is the structural representation of device the 3rd preferred embodiment of software systems bootstrapping of the present invention;
Figure 10 is a communication terminal preferred embodiment structural representation provided by the invention.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention is clearer, describe in further detail below in conjunction with accompanying drawing.
Fig. 1 is the method flow diagram of software systems bootstrapping in first preferred embodiment of the present invention.Present embodiment may further comprise the steps:
Step 101, read first characteristic information for the treatment of burning program.
Step 102, determine to treat second characteristic information of burning program.
Step 103, comparison first characteristic information and second characteristic information.
Step 104, when definite first characteristic information is identical with second characteristic information, will treat that burning program is burnt to treating in the burning memory of communication terminal.
This electricity for the treatment of that the burning memory can be above-mentioned communication terminal is wiped non-volatile type memorizer, memories such as hard disk.
Explanation above-mentionedly treats that the burning program for the treatment of of the first characteristic information correspondence of burning program is not by the clean program of unauthorized amendment once more.This treats that the burning program and first characteristic information produced, and promptly needed to pre-determine first characteristic information for the treatment of burning program before execution in step 101 before software systems are carried out bootstrapping.Fig. 2 is the first embodiment flow chart that pre-determines the first characteristic information process for the treatment of burning program, and this process may further comprise the steps:
Step 201, set up the burning program for the treatment of of communication terminal.
Step 202, determine to treat first characteristic information of burning program.
In this step, first characteristic information can be a message digest value for the treatment of burning program.Wherein, message digest value is a kind of characteristic value of program.Message digest value is widely used in the numeric security field as a kind of digital finger-print.The algorithm that calculates message digest value can be Hash (hash) algorithm commonly used, message authentication code (MAC) algorithm, perhaps simple CRC (CRC) algorithm etc. comparatively.Certainly, also can adopt other algorithms to calculate message digest value.
In this step, first characteristic information for the treatment of burning program can also be to treat burning program through after the encryption, the encrypted message digest value for the treatment of burning program.
In the practical application, first characteristic information also can corresponding to other forms of, through as the operation deformation process of encrypting and so on after treat burning program.
Step 203, will treat that the burning program and first characteristic information write in the communication terminal random-access memory (ram).
After further guaranteeing to treat that burning program can be by unauthorized amendment, also can treat the burning program or first characteristic information to do further deformation process, write in the random access memory again.Deformation process can be: encrypt first characteristic information; Perhaps encrypt first characteristic information, and encrypt and treat burning program; Perhaps encrypt this and treat burning program, or the like.
Wherein, treat burning program or first characteristic information encrypted to adopt symmetric cryptography method or asymmetric encryption method.When utilizing symmetric encryption method, can adopt root key to encrypt.Root key can comprise hardwired root key and disposable programmable (OTP) root key, or the key of realizing by other technology that can not change.Root key is a kind of key that is retained in communication terminal inside, owing to this key is stored at the communication terminal chip internal, and does not have line with the external world, therefore can not read from communication terminal by any way.Like this, just further guarantee the fail safe of encrypted content.For the software provider who utilizes root key to encrypt, this software provider may grasp the telecom terminal product design side of this root key technology exactly, or the partner of this telecom terminal product design side, therefore, can obtain the root key technology from telecom terminal product design side, perhaps directly finish cryptographic operation by telecom terminal product design side.If utilize root key to encrypt, so accordingly, when deciphering, need utilize this root key to be decrypted.When adopting asymmet-ric encryption method, can utilize the above-mentioned private key for the treatment of that the burning program provider provides to encrypt.When deciphering, need to utilize the PKI corresponding with this private key to be decrypted so, this PKI also need be by treating that burning program bag provider provides.When utilizing encrypted private key, also need the PKI corresponding with this private key also put into and treat the burning program bag, and can do encryption PKI, treat the fail safe of burning program bag with raising.
Set up above-mentioned when treating burning program, if treat that burning program can be split as a plurality of subprograms.Can move the precedence of these subprograms according to after treating that burning program is by burning, layout first subprogram, second subprogram ..., to last subprogram of forming program.Fig. 3 is the second embodiment flow chart that pre-determines first characteristic information for the treatment of burning program.This process may further comprise the steps:
Step 301, set up each subprogram for the treatment of burning program of communication terminal.
In this step, can be after burning program be treated in foundation, treat burning program and split to handle and obtain each subprogram.
Step 302, read clean subprogram successively, the clean subprogram that is read is determined first characteristic information of current clean subprogram as current clean subprogram.
Determine in this step each clean subprogram first characteristic information explanation can referring in the step 202 to the explanation of first characteristic information of determining to treat burning program.
Step 303, judge whether to exist next subprogram, if, execution in step 302; Otherwise, execution in step 304.
Step 304, will treat that the burning program and first characteristic information write in the communication terminal random access memory.
As needs, also can be to each clean subprogram in the step 302, or first characteristic information of clean subprogram writes in the communication terminal chip after doing further encryption deformation process.
Fig. 4 is the method flow diagram of communication terminal system bootstrapping in the present invention's second preferred embodiment.This embodiment may further comprise the steps:
Step 401, communication terminal system reset.
Step 402, enter the interactive command state.
This step is finished by the mutual control program in the read-only memory that starts communication terminal.Treat that when communication terminal system detects the burning memory content for empty, just enters this interactive command state, go to the bootstrapping operation of communication terminal system.
Above-mentioned steps 401 is the preceding preparation of bootstrapping flow process of existing communication terminal system with step 402.
Read step 403, the random access memory in communication terminal and treat burning program.
The burning program for the treatment of that writes the communication terminal chip in advance is clean program, in case after this clean program is written into, just exist by unauthorized amendment may.Therefore, also need this is treated that burning program does detection.
Step 404, determine to treat second characteristic information of burning program.
In this step, the same way that need take to determine in the above-mentioned steps 202 to treat first characteristic information of burning program determines to treat second characteristic information of burning program.That is,
If treating first characteristic information of burning program is the message digest value for the treatment of burning program that adopts hash algorithm to calculate, so when determining to treat second characteristic information of burning program, also need to adopt hash algorithm to recomputate and draw the message digest value for the treatment of burning program, this message digest value is to treat second characteristic information of burning program.If treating first characteristic information of burning program is the encrypted message digest value for the treatment of burning program that adopts the CRC algorithm computation to draw, this treats that burning program encrypted by the root key of communication terminal inside, so when determining to treat second characteristic information of burning program, also need to adopt the CRC algorithm to recomputate and draw the encrypted message digest value for the treatment of burning program, this message digest value is to treat second characteristic information of burning program, certainly, treat that burning program is by the same root key encryption of same communication terminal inside.
Step 405, comparison second characteristic information and first characteristic information judge whether both are identical, if identical, execution in step 406, otherwise, execution in step 407.
If treat that second characteristic information of burning program is identical with first characteristic information for the treatment of burning program, then decidable is treated burning program not by unauthorized amendment, is clean program.If treat second characteristic information of burning program and treat that first characteristic information of burning program is inequality, decidable is treated burning program by unauthorized amendment so, poor stability.
Determine second characteristic information based on adopting the way identical with determining first characteristic information, like this, first characteristic information and second characteristic information just have comparativity, otherwise, even communication terminal is treated to treat that burning program is not by unauthorized amendment in the burning program bag, owing to determine that the way of first characteristic information is different with the way of determining second characteristic information, also cause shortage comparativity between these two characteristic informations and can't judge and treat that whether burning program is by unauthorized amendment.As, first characteristic information is the message digest value for the treatment of burning program that adopts hash algorithm to calculate, and second characteristic information is the message digest value for the treatment of burning program that adopts the message authentication code algorithm computation to draw, first characteristic information and second characteristic information that draw like this are normally inequality, do not have comparativity between the two.
Step 406, will treat that burning program is burnt to and treat in the burning memory.
Step 407, the bootstrapping flow process of this communication terminal system of finishing.
Fig. 5 is the method flow diagram of communication terminal system bootstrapping in the present invention's the 3rd preferred embodiment.Wherein, being split as at least one subprogram if be written into the burning program for the treatment of of the memory in the communication terminal, is the mini system program as first subprogram, and this mini system program can comprise: the Memory Controller initialize routine, other communication interface drivers, CPU operating frequency lifting program etc.Second subprogram is an operating system, and the 3rd subprogram is an application program, etc.Wherein, also first subprogram can be continued to be split as a plurality of subprograms.This embodiment may further comprise the steps:
Step 501, communication terminal system reset.
Step 502, enter the interactive command state.
Step 503, read subprogram from random access memory, the subprogram that reads is current subprogram.
Step 504, determine second characteristic information of current subprogram.
In this step, the same way of first characteristic information that need take in the above-mentioned steps 302 to determine the clean subprogram of current subprogram correspondence is determined second characteristic information of current subprogram.
First characteristic information of the clean subprogram that second characteristic information of step 505, more current subprogram is corresponding with current subprogram judges whether both are identical, if identical, execution in step 506; Otherwise, execution in step 507.
In this step, if first characteristic information is identical with second characteristic information, then current subprogram is clean subprogram, otherwise current subprogram may be by unauthorized amendment, poor stability.
Step 506, current subprogram is burnt to treats the burning memory, execution in step 509.
Step 507, illegal current subprogram is done the processing that further legalizes.
The processing that legalizes can be to search this program to be damaged part and to do repair process; Perhaps, remove the virus that is introduced in this program, repair this program, or the like, these treatment technologies that legalize all can adopt existing technology.
Step 508, execution in step 502 wait for that the legalize current subprogram handled of this process is detected once more.
In this step, also execution in step 502 not.For further guaranteeing the fail safe of software systems bootstrapping, can directly withdraw from this bootstrapping process.
Step 509, judge the current next subprogram that whether exists, if, execution in step 503, otherwise, this bootstrapping flow process finished.
So far, present embodiment can effectively guarantee the fail safe of communication terminal system bootstrapping by carrying out above-mentioned steps, and promotes the bootstrapping speed of communication terminal system.
The present invention also provides a kind of device of communication terminal system bootstrapping based on above-mentioned method shown in Figure 1, Fig. 6 installs the structural representation of first preferred embodiment for this.Wherein, this device comprises: memory 601, detection module 602, control module 603 and treat burning memory 604.
Memory 601 is used to store first characteristic information for the treatment of burning program and treating burning program.
Memory 601 is random access memory.
Detection module 602 is used to determine to treat second characteristic information of burning program, relatively first characteristic information and second characteristic information, and comparative result exported.
Control module 603 is used to receive the comparative result of detection module 602, when comparative result is first characteristic information when identical with second characteristic information, will treat that burning program is burnt to treat in the burning memory 604.
Treat burning memory 604, be used to receive the burning program for the treatment of by control module 603 burnings, and with the procedure stores that receives among self.
When will treat burning program be burnt to treat in the burning memory after, read by the program of burning from treating burning memory 604 by control module 603, and move these programs.
Fig. 7 is the structural representation of second preferred embodiment of apparatus of the present invention.Wherein, the device of communication terminal system bootstrapping also can increase deciphering module 701 on the device basic of Fig. 7 correspondence, be used for getting and treat burning program from memory read 601, and this treats first characteristic information of burning program, encrypted treat burning program or this encrypted first characteristic information for the treatment of burning program are decrypted processing, and with deciphering draw treat burning program maybe this first characteristic information for the treatment of burning program offer detection module 602.
Deciphering module 701 is done corresponding decryption processing according to encipherment scheme to encrypted data.Encrypted by root key as data, deciphering module 701 need utilize same root key that data are done decryption processing so.If data are by encrypted private key, deciphering module 701 need obtain the PKI data decryption corresponding with this private key from memory 601 so.
In the preferred embodiment of the present invention about detection module 602, detection module 602 can comprise unit shown in Figure 8: reading unit 801, characteristic information determining unit 802 and detecting unit 803.
Reading unit 801 is used for reading from memory 601 and treats the burning program and first characteristic information, and will read treat burning program and the output of first characteristic information.
Characteristic information determining unit 802 is used for the burning program for the treatment of according to reading unit 801 input, determines second characteristic information for the treatment of burning program that receives, and second characteristic information is offered detecting unit 803.
Detecting unit 803 is used to receive first characteristic information by the reading unit input, receives second characteristic information from characteristic information determining unit 802, compares first characteristic information and second characteristic information, and comparative result is exported.
If treat that the program of burning memory 604 is encrypted, the program for the treatment of burning memory 604 that deciphering module 701 will decrypt so offers characteristic information determining unit 802; If treat that the message digest value of burning program is encrypted, the message digest value for the treatment of burning program that deciphering module 701 will decrypt so offers detecting unit 803.
Fig. 9 is the structural representation of the 3rd preferred embodiment of apparatus of the present invention.Wherein, the device of communication terminal system bootstrapping also can increase the processing module 901 that legalizes on Fig. 6 basis, be used for obtaining comparative result from detection module 602, when described comparative result be described first characteristic information and described second characteristic information not simultaneously, the described burning program for the treatment of is done the processing that legalizes, and 602 pairs of processes of detection trigger module burning program for the treatment of that processing module handles that legalizes is done detection.
The device embodiment of the communication terminal system bootstrapping that the invention described above provides can effectively guarantee the fail safe of communication terminal system bootstrapping, and promotes the speed of communication terminal system operation.
Figure 10 is the structural representation of the embodiment of a kind of communication terminal provided by the invention.In the present embodiment, communication terminal comprises: the device of communication terminal system bootstrapping, be used to utilize the communication interface of communication terminal to obtain and preserve first characteristic information for the treatment of burning program and treating burning program, the burning memory 604 for the treatment of in the communication terminal is done bootstrapping and handled.
The starting drive that is applied to communication terminal comprises each functional module shown in Figure 6, to wherein explaining of each functional module can be referring to corresponding contents above.In the preferred embodiment of detection module 602, detection module can comprise each unit shown in Figure 8, to wherein explaining of each unit can be referring to corresponding contents above.
The starting drive that is applied to communication terminal also can comprise deciphering module 701 wherein as shown in Figure 7.
The starting drive that is applied to communication terminal also can comprise the processing module 901 that legalizes wherein as shown in Figure 9.
In sum, the embodiment of the invention is before communication terminal system is carried out bootstrapping, the program for the treatment of burning is earlier done legitimacy and is detected, and after first characteristic information of determining to treat burning program is identical with second characteristic information, will treat just that burning program is burnt to treat the burning memory.Thereby effectively guarantee the fail safe of communication terminal system bootstrapping process.
The technical scheme of the embodiment of the invention can be done fail safe to ROMPaq and detect when system upgrade, and then ensures the fail safe of communication terminal system upgrading back system bootstrapping process.
In addition, the embodiment of the invention will treat that burning program is split as a plurality of subprograms, and successively each subprogram is done detection, after definite this subprogram is legal, this subprogram is burnt to treats the burning memory, and can move this subprogram, because some subprogram wherein can be accelerated system running speed, therefore, first this class subprogram of operation, and do not need to wait for that all programs are finished to be burnt to after the detection again treats to rerun behind the burning memory, thereby effectively promote the speed of service of communication terminal system, shorten the time of communication terminal system bootstrapping, when producing telecom terminal product in batches, enhance productivity.

Claims (16)

1, a kind of method of communication terminal system bootstrapping is characterized in that this method comprises:
Pre-determine first characteristic information for the treatment of burning program;
Read first characteristic information for the treatment of burning program;
Read and treat burning program, determine to treat second characteristic information of burning program; The method of described second characteristic information of determining to treat burning program is identical with the method for first characteristic information of determining to treat burning program;
More described first characteristic information and described second characteristic information;
When definite described first characteristic information is identical with described second characteristic information, will treat that burning program is burnt to treating in the burning memory of communication terminal.
2, method according to claim 1, it is characterized in that, pre-determining first characteristic information for the treatment of burning program is: the described burning program for the treatment of is done encryption, and calculates the encrypted message digest value for the treatment of burning program, with this message digest value as described first characteristic information;
Describedly determine to treat further to comprise before second characteristic information of burning program: treat burning program and do decryption processing and obtain treating burning program.
3, method according to claim 2, it is characterized in that, describedly determine that second characteristic information for the treatment of burning program is: adopt the algorithm identical that the burning program for the treatment of that decryption processing obtains is done encryption with calculating described first characteristic information, and calculate the encrypted message digest value for the treatment of burning program, with this message digest value as described second characteristic information.
4, method according to claim 1 is characterized in that, pre-determines first characteristic information for the treatment of burning program to be: calculate the message digest value for the treatment of burning program, with this message digest value as first characteristic information for the treatment of burning program.
5, method according to claim 4, it is characterized in that, describedly determine that second characteristic information for the treatment of burning program is: adopt the described message digest value for the treatment of burning program of the algorithm computation identical with calculating described first characteristic information, with this message digest value as described second characteristic information.
6, method according to claim 1 is characterized in that, when definite described first characteristic information and described second characteristic information are inequality, treat burning program and does the processing that legalizes.
7, method according to claim 1 is characterized in that, the described burning program for the treatment of comprises at least one subprogram, pre-determines first characteristic information of the clean subprogram of each subprogram correspondence, and the method for communication terminal system bootstrapping is specially:
A1, determine second characteristic information of current subprogram, first characteristic information of second characteristic information of more current subprogram and the current clean subprogram of this current subprogram correspondence, when first characteristic information of second characteristic information of current subprogram and current clean subprogram is identical, current subprogram is burnt to the non-volatile type memory block of communication terminal;
A2, judge whether to exist next subprogram, if, return execution in step A1, otherwise, this bootstrapping flow process finished.
8, method according to claim 1 is characterized in that, described pre-determining before first characteristic information for the treatment of burning program further comprises: set up and treat burning program.
9, the device of a kind of communication terminal system bootstrapping is characterized in that, comprising: memory, detection module, control module and treat the burning memory;
Described memory is used to store first characteristic information for the treatment of burning program and treating burning program;
Described detection module is used to determine to treat second characteristic information of burning program, more described first characteristic information and described second characteristic information, and comparative result exported; Described detection module adopts with determining to treat the identical method of burning program first characteristic information determines to treat second characteristic information of burning program;
Described control module is used to receive the comparative result of detection module, when comparative result is described first characteristic information when identical with described second characteristic information, will treat that burning program is burnt to treat in the burning memory;
The described burning memory for the treatment of is used to receive the burning program for the treatment of by the control module burning, and storage.
10, device according to claim 9, it is characterized in that, described device further comprises: deciphering module, be used for reading the described burning program for the treatment of from described memory, and this treats first characteristic information of burning program, encrypted described burning program or this encrypted first characteristic information for the treatment of burning program treated is decrypted processing, and with deciphering draw described treat burning program maybe this first characteristic information for the treatment of burning program offer detection module.
11, according to claim 9 or 10 described devices, it is characterized in that described detection module comprises: reading unit, characteristic information determining unit and detecting unit;
Described reading unit is used for reading from described memory and treats burning program and described first characteristic information, and will read treat burning program and the output of described first characteristic information;
Described characteristic information determining unit is used for the burning program for the treatment of according to reading unit input, determines second characteristic information for the treatment of burning program that receives, and described second characteristic information is offered detecting unit;
Described detecting unit is used to receive described first characteristic information by the reading unit input, receives described second characteristic information from the characteristic information determining unit, more described first characteristic information and described second characteristic information, and comparative result exported.
12, device according to claim 9 is characterized in that, described device further comprises: processing module legalizes;
The described processing module that legalizes, be used for obtaining comparative result from described detection module, when described comparative result be described first characteristic information and described second characteristic information not simultaneously, the described burning program for the treatment of is done the processing that legalizes, and the detection trigger module is done detection to the burning program of handling through the processing module that legalizes for the treatment of.
13, a kind of communication terminal is characterized in that, comprising:
The device of communication terminal system bootstrapping, be used to utilize the communication interface of communication terminal to obtain and preserve first characteristic information for the treatment of burning program and treating burning program, the burning memory for the treatment of in the communication terminal is done bootstrapping and handled, comprising: memory, detection module, control module and treat the burning memory;
Described memory is used to store first characteristic information for the treatment of burning program and treating burning program;
Described detection module is used to determine to treat second characteristic information of burning program, more described first characteristic information and described second characteristic information, and comparative result exported; Described detection module adopts the method identical with first characteristic information of determining to treat burning program to determine to treat second characteristic information of burning program;
Described control module is used to receive the comparative result of detection module, when comparative result is described first characteristic information when identical with described second characteristic information, will treat that burning program is burnt to treat in the burning memory;
The described burning memory for the treatment of is used to receive the burning program for the treatment of by the control module burning, and storage.
14, communication terminal according to claim 13, it is characterized in that, the device of described communication terminal system bootstrapping further comprises: deciphering module, be used for reading the described burning program for the treatment of from described memory, and this treats first characteristic information of burning program, encrypted described burning program or this encrypted first characteristic information for the treatment of burning program treated is decrypted processing, and with deciphering draw described treat burning program maybe this first characteristic information for the treatment of burning program offer detection module.
15, according to claim 13 or 14 described communication terminals, it is characterized in that described detection module comprises: memory cell, reading unit, characteristic information determining unit and detecting unit;
Described memory cell is used to store first characteristic information for the treatment of burning program,
Described reading unit is used for reading from read-only memory and treats burning program, and will read treat burning program output;
Described characteristic information determining unit is used for the burning program for the treatment of according to reading unit input, determines second characteristic information for the treatment of burning program that receives, and described second characteristic information is offered detecting unit;
Described detecting unit, be used for reading described first characteristic information from memory cell, reception is from described second characteristic information of characteristic information determining unit, more described first characteristic information and described second characteristic information, and be described first characteristic information when identical with described second characteristic information at comparative result, trigger control module is treated that burning program is burnt to and is treated the burning memory described.
16, communication terminal according to claim 13 is characterized in that, the device of described communication terminal system bootstrapping further comprises: processing module legalizes;
The described processing module that legalizes, be used for obtaining comparative result from described detection module, when described comparative result be described first characteristic information and described second characteristic information not simultaneously, the described burning program for the treatment of is done the processing that legalizes, and the detection trigger module is done detection to the burning program of handling through the processing module that legalizes for the treatment of.
CN200610137637A 2006-10-31 2006-10-31 Communication terminal and its method and device for system bootstrapping Active CN100596219C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200610137637A CN100596219C (en) 2006-10-31 2006-10-31 Communication terminal and its method and device for system bootstrapping

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200610137637A CN100596219C (en) 2006-10-31 2006-10-31 Communication terminal and its method and device for system bootstrapping

Publications (2)

Publication Number Publication Date
CN101175269A CN101175269A (en) 2008-05-07
CN100596219C true CN100596219C (en) 2010-03-24

Family

ID=39423464

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200610137637A Active CN100596219C (en) 2006-10-31 2006-10-31 Communication terminal and its method and device for system bootstrapping

Country Status (1)

Country Link
CN (1) CN100596219C (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101577923A (en) * 2008-05-08 2009-11-11 鸿富锦精密工业(深圳)有限公司 Mobile phone testing system and mobile phone testing method
CN103294496B (en) * 2012-02-29 2016-12-14 新唐科技股份有限公司 Programming system
CN107026741A (en) * 2017-03-31 2017-08-08 科世达(上海)管理有限公司 Method and device is write with a brush dipped in Chinese ink in a kind of encryption based on network security
CN108509205B (en) * 2018-03-07 2022-01-07 深圳市海浦蒙特科技有限公司 Frequency converter software programming safety verification method and device, storage medium and equipment
CN111245697B (en) * 2020-01-07 2022-04-01 深圳市蓝海华腾技术股份有限公司 Communication method and system of parallel bus, master station and slave station

Also Published As

Publication number Publication date
CN101175269A (en) 2008-05-07

Similar Documents

Publication Publication Date Title
JP5344716B2 (en) Secure remote startup, boot, and login methods, systems, and programs from a mobile device to a computer
US20150222438A1 (en) System and method for data authentication among processors
CN109145628B (en) Data acquisition method and system based on trusted execution environment
CN111404682B (en) Android environment key segmentation processing method and device
CN102508791A (en) Method and device for encrypting hard disk partition
WO2013182154A1 (en) Method, system and terminal for encrypting/decrypting application program on communication terminal
CN100596219C (en) Communication terminal and its method and device for system bootstrapping
US20120084855A1 (en) Secure pin reset process
US7693675B2 (en) Method for protection of sensor node's data, a systems for secure transportation of a sensor node and a sensor node that achieves these
CN102163267A (en) Solid state disk as well as method and device for secure access control thereof
US20170201528A1 (en) Method for providing trusted service based on secure area and apparatus using the same
CN112862481B (en) Block chain digital asset key management method and system based on SIM card
CN108768941B (en) Method and device for remotely unlocking safety equipment
CN111191252A (en) Encryption and decryption method and device for smart card operating system and storage medium
CN101504622B (en) Method and device for information interaction between threads
CN102196317A (en) Set-top box protection method and set-top box
WO2015168878A1 (en) Payment method and device and payment factor processing method and device
WO2022052665A1 (en) Wireless terminal and interface access authentication method for wireless terminal in uboot mode
CN109889334A (en) Embedded firmware encrypting method, apparatus, wifi equipment and storage medium
CN109075974B (en) Binding authentication method of fingerprint algorithm library and fingerprint sensor and fingerprint identification system
CN111093190B (en) Method, device, system, electronic equipment and storage medium for writing key data
US9977907B2 (en) Encryption processing method and device for application, and terminal
CN101175270B (en) Communication terminal and its start-up method and device
CN106650328A (en) Terminal function authorization method and device
CN110956723A (en) Encryption verification communication method and device for Bluetooth intelligent lock and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant