CN104516746B - A kind of information processing method and electronic equipment - Google Patents

A kind of information processing method and electronic equipment Download PDF

Info

Publication number
CN104516746B
CN104516746B CN201310452232.6A CN201310452232A CN104516746B CN 104516746 B CN104516746 B CN 104516746B CN 201310452232 A CN201310452232 A CN 201310452232A CN 104516746 B CN104516746 B CN 104516746B
Authority
CN
China
Prior art keywords
bios
preset program
unit
program unit
central processing
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
CN201310452232.6A
Other languages
Chinese (zh)
Other versions
CN104516746A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310452232.6A priority Critical patent/CN104516746B/en
Publication of CN104516746A publication Critical patent/CN104516746A/en
Application granted granted Critical
Publication of CN104516746B publication Critical patent/CN104516746B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of information processing method, the security that is communicated between the program discharged for improving basic input output system and its.Methods described includes:Control central processing unit in running order;The BIOS of the firmware unit is loaded, to cause the BIOS to enjoy control;During the BIOS enjoys the control, the BIOS discharges a preset program unit into internal memory, and the preset program unit is a subelement being set in advance in the BIOS;When controlling the BIOS to transfer the control to the OS by the central processing unit, by central processing unit control during the OS is loaded, the preset program unit is loaded, the preset program unit performs M function items, and M is the integer more than or equal to 1.The invention also discloses the electronic equipment for realizing methods described.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to field of computer technology, more particularly to a kind of information processing method and electronic equipment.
Background technology
In the prior art, basic input output system(Basic Input Output System, BIOS)It is one group of solidification A ROM on mainboard in computer(Read Only Memory, read-only storage)Program on chip, its in store calculating Self-check program and system self-triggered program after the machine most important program of input and output, system set-up information, start substantially, it is led It is to provide the bottom, most direct hardware setting and control for computer to want function.
In the prior art, after the completion of basic input output system loading, for example, after the completion of POST, operating system OS exists It is to load kernel, driving and service to complete the loading of operating system and operation during loading.
In the prior art, operating system is usually that a service being stored on hard disk is discharged during load driver Specific region in program module to internal memory, pass through a program in the operating system loading system service process(For example, Win7 is autocheck.exe, win8 wpbbin.exe)The service routine module is loaded and performed so that behaviour Make system and use the service routine module;But this process of the prior art, rogue program are easy in the operating system Drive load during distort or delete the service routine module, to cause one malice of the operating system System service, such as, wooden horse, virus.So as to cause whole operation system dangerous.
The content of the invention
The embodiment of the present invention provides a kind of information processing method and electronic equipment, exists for solving prior art Computer The technical problem of potential safety hazard in start-up course be present.
A kind of information processing method, methods described are applied in electronic equipment, and the electronic equipment includes central processing unit And firmware unit, the firmware unit is interior to have basic input-output system BIOS, and the electronic equipment is provided with operating system OS, methods described include:
One triggering command is obtained by the central processing unit, the triggering command is used to start the electronic equipment;
The triggering command is responded by the central processing unit, to cause the electronic equipment in running order;
Wherein, it is described to be included by the central processing unit response triggering command:
Control the central processing unit in running order;
The BIOS of the firmware unit is loaded, to cause the BIOS to enjoy control;
During the BIOS enjoys the control, the BIOS is controlled to discharge a preset program unit to internal memory In, the preset program unit is a subelement being set in advance in the BIOS;
When controlling the BIOS to transfer the control to the OS by the central processing unit, in described Central processor control loads the preset program unit during the OS is loaded, and the preset program unit performs M Function items, M are the integer more than or equal to 1.
Preferably, responding the triggering command by the central processing unit also includes:
After the preset program unit completion start completion performed based on the OS and/or M function items of execution are completed Afterwards, the preset program unit is communicated by escape way with the BIOS, to determine the preset program of the OS execution Unit is the preset program unit of BIOS releases.
Preferably, during the BIOS enjoys the control, by described in central processing unit control BIOS discharges a preset program unit into internal memory, including:
Determine the identification information of the OS;
Based on the identification information of the OS, it is determined that the configuration processor unit corresponding with the identification information of the OS, to cause The OS is able to carry out the preset program unit in start-up course by the configuration processor unit.
Preferably, the preset program unit includes random number, the preset program list performed based on the OS After member completion start completion and/or after the completion of M function items of execution, the preset program is entered by escape way and the BIOS Row communication, the preset program unit discharged using determining the preset program unit that the OS is performed as the BIOS, including:
The random number is based on based on the preset program unit that the OS is performed generation is encrypted to transmission data First encryption information;
First encryption information is decrypted by the random number by the BIOS, obtains the transmission data.
Preferably, the preset program unit includes random number, the preset program list performed based on the OS After member completion start completion and/or after the completion of M function items of execution, the preset program is entered by escape way and the BIOS Row communication, the preset program unit discharged using determining the preset program unit that the OS is performed as the BIOS, including:
Based on the OS preset program unit generation public keys performed and private key, based on the random number to the public affairs The second encryption information of generation is encrypted in key;
The BIOS is decrypted by the random number, obtains the public key;
Random number described in the preset program element deletion performed based on the OS, with the private key to transmitting number The 3rd encryption information is generated according to being encrypted;
The 3rd encryption information is decrypted by the public key by the BIOS, obtains the transmission data.
Preferably, the BIOS generation public keys and private key, and the private key is transferred in the preset program unit, institute State based on the OS perform the preset program unit complete start completion after and/or perform M function items after the completion of, it is described Preset program is communicated by escape way with the BIOS, to determine that the preset program unit that the OS is performed is described The preset program unit of BIOS releases, including:
Generation the 4th is encrypted to transmission data with the private key based on the preset program unit that the OS is performed Encryption information;
The 4th encryption information is decrypted by the public key by the BIOS, obtains the transmission data.
Preferably, the function items of the preset program unit are checking and killing virus;Or the preset program unit The function items obtain N number of program to be connected by network with a network service terminal, from the service terminal, N for more than etc. In 1 integer.
A kind of electronic equipment, the electronic equipment include central processing unit and firmware unit, had in the firmware unit Basic input-output system BIOS, the electronic equipment are provided with operating system OS, and the central processing unit includes:
Acquiring unit, for obtaining a triggering command by the central processing unit, the triggering command is used to start institute State electronic equipment;
Response unit, for responding the triggering command by the central processing unit, to cause at the electronic equipment In working condition;
Wherein, the response unit specifically includes:
First control subelement, for controlling the central processing unit in running order;
Subelement is loaded, for loading the BIOS of the firmware unit, to cause the BIOS to enjoy control;
Subelement is discharged, during enjoying the control in the BIOS, controls the BIOS releases one pre- Program unit is determined into internal memory, and the preset program unit is a subelement being set in advance in the BIOS;
Second control subelement, for transferring the control to when by the central processing unit control BIOS During the OS, by central processing unit control during the OS is loaded, the preset program unit is loaded, it is described Preset program unit performs M function items, and M is the integer more than or equal to 1.
Preferably, the response unit also includes:
Communicate subelement, for is performed based on the OS the preset program unit completion start completion after and/or hold After the completion of M function items of row, the preset program unit is communicated by escape way with the BIOS, to determine the OS The preset program unit of execution is the preset program unit of BIOS releases.
Preferably, the release subelement is specifically used for:Determine the identification information of the OS;Mark letter based on the OS Breath, it is determined that the configuration processor unit corresponding with the identification information of the OS, to cause the OS in start-up course by described Configuration processor unit is able to carry out the preset program unit.
Preferably, the preset program unit includes random number, the communication subelement is specifically used for:Held based on the OS The capable preset program unit is based on the random number and the first encryption information of generation is encrypted to transmission data;The BIOS First encryption information is decrypted by the random number, obtains the transmission data.
Preferably, the preset program unit includes random number, the communication subelement is specifically used for:Held based on the OS Capable preset program unit generation public key and private key, generation second is encrypted to the public key based on the random number and adds Confidential information;The BIOS is decrypted by the random number, obtains the public key;It is described based on the OS perform it is described pre- Determine program unit and delete the random number, the 3rd encryption information of generation is encrypted to transmission data with the private key;It is described BIOS is decrypted by the public key, obtains the transmission data.
Preferably, the BIOS generations have public key and private key, and the private key is transferred in the preset program unit, The communication subelement is specifically used for:Transmission data are entered with the private key based on the preset program unit that the OS is performed Row encryption the 4th encryption information of generation;The BIOS is decrypted by the public key, obtains the transmission data.
Preferably, the function items of the preset program unit are checking and killing virus;Or the preset program unit The function items obtain N number of program to be connected by network with a network service terminal, from the service terminal, N for more than etc. In 1 integer.
In the embodiment of the present invention, because the preset program unit of BIOS releases is transferred in internal memory, thus it is described Preset program unit no longer has tamper, so as to prevent rogue program distorting or deleting to preset program unit, then The preset program unit can be loaded in the OS start-up courses, the preset program unit can perform the M work( Energy item, for example, in the M function items, can there is checking and killing virus function items, driving function item, etc..If in electronic equipment The program of more serious error or malice be present, performing the M function items can by the preset program unit completes Reparation, killing etc. operate, i.e. before user logs in the OS, the electronic equipment just passes through the described predetermined of loading Program unit performs the M function items, has ensured the stability and security of the OS, has realized the electronic equipment Clean boot.
Brief description of the drawings
Fig. 1 is the broad flow diagram of information processing method in the embodiment of the present invention;
Fig. 2 is the broad flow diagram that central processing unit responds triggering command in the embodiment of the present invention;
Fig. 3 is the structure chart of electronic equipment in the embodiment of the present invention.
Embodiment
Information processing method in the embodiment of the present invention is applied in electronic equipment, and the electronic equipment includes central processing Device and firmware unit, the firmware unit is interior to have basic input-output system BIOS, and the electronic equipment is provided with operation system Unite OS, and methods described includes:One triggering command is obtained by the central processing unit, the triggering command is used to start the electricity Sub- equipment;The triggering command is responded by the central processing unit, to cause the electronic equipment in running order;Its In, it is described to be included by the central processing unit response triggering command:Control the central processing unit in running order; The BIOS of the firmware unit is loaded, to cause the BIOS to enjoy control;The control is enjoyed in the BIOS During, control the BIOS to discharge a preset program unit into internal memory, the preset program unit is to be set in advance in A subelement in the BIOS;It is described when being transferred to the control by the central processing unit control BIOS During OS, by central processing unit control during the OS is loaded, the preset program unit is loaded, it is described predetermined Program unit performs M function items, and M is the integer more than or equal to 1.
In the embodiment of the present invention, because the preset program unit of BIOS releases is transferred in internal memory, thus it is described Preset program unit no longer has tamper, so as to prevent rogue program distorting or deleting to preset program unit, then The preset program unit can be loaded in the OS start-up courses, the preset program unit can perform the M work( Energy item, for example, in the M function items, can there is checking and killing virus function items, driving function item, etc..If in electronic equipment The program of more serious error or malice be present, performing the M function items can by the preset program unit completes Reparation, killing etc. operate, i.e. before user logs in the OS, the electronic equipment just passes through the described predetermined of loading Program unit performs the M function items, has ensured the stability and security of the OS, has realized the electronic equipment Clean boot.
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is Part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
In the embodiment of the present invention, the electronic equipment can be PC(Personal computer), notebook, PAD(Tablet personal computer)、 The different electronic equipment of mobile phone etc., the invention is not limited in this regard.
Illustrate first, herein presented term "and/or", only a kind of incidence relation for describing affiliated partner, table Show there may be three kinds of relations, for example, A and/or B, can be represented:Individualism A, while A and B be present, individualism B this three Kind situation.In addition, character "/" herein, it is a kind of relation of "or" to typically represent forward-backward correlation object.It is right below in conjunction with the accompanying drawings The preferred embodiment of the present invention is described in detail.
Embodiment one
Fig. 1 is referred to, the embodiment of the present invention provides a kind of information processing method, and methods described is applied in electronic equipment, The electronic equipment includes central processing unit and firmware unit, has basic input-output system BIOS in the firmware unit, The electronic equipment is provided with OS(Operating System, operating system), methods described may comprise steps of:
S10:One triggering command is obtained by the central processing unit, the triggering command is set for starting the electronics It is standby.
In the embodiment of the present invention, when the electronic equipment obtains the triggering command, the electronic equipment can control Make itself and enter starting state.
In the embodiment of the present invention, the triggering command can be the physical button that user presses the electronic equipment The electronic equipment is caused afterwards instructs, such as the physical button can be the power switch of the electronic equipment, then user The electronic equipment generation triggering command can just be triggered by pressing the operation of the physical button.
Or the triggering command can be to the electronics by another electronic equipment being connected with the electronic equipment The instruction that equipment is sent, such as another electronic equipment is remote control.
Or the triggering command can also the electronic equipment obtained by other approach, and can make described Electronic equipment enters the instruction of starting state.
S20:The triggering command is responded by the central processing unit, to cause the electronic equipment to be in work shape State.
In the embodiment of the present invention, after the triggering command is obtained, the electronic equipment can pass through the central processing Device responds the triggering command, to cause the electronic equipment to be in the working condition.
Preferably, in the embodiment of the present invention, Fig. 2 is referred to, S20 specifically may comprise steps of:
S201:Control the central processing unit in running order.
In the embodiment of the present invention, after the electronic equipment obtains the triggering command, the electronic equipment powers up first Self-test, the central processing unit can control and itself be in the working condition.
S202:The BIOS of the firmware unit is loaded, to cause the BIOS to enjoy control.
In the embodiment of the present invention, after the central processing unit is in running order, the central processing unit can start The instruction being stored in ROM is performed, that is, the BIOS in the firmware unit is loaded, to cause the BIOS to enjoy control Power.
In the embodiment of the present invention, the control can perform a series of operation by the part in the electronic equipment Come what is realized.Such as when the BIOS enjoys the control, the BIOS can function, production according to corresponding to command adapted thereto Raw corresponding operating control signal, is sent to corresponding part, so as to control these parts to be acted according to the requirement of instruction, Or can also be that temporal timing controlled is implemented to various operations, such as in the implementation procedure of an instruction, at what Time does any operation by strict control, so that the electronic equipment can be operated without any confusion.
S203:During the BIOS enjoys the control, the BIOS discharges a preset program unit in In depositing, the preset program unit is a subelement being set in advance in the BIOS.
In the embodiment of the present invention, the preset program unit can be the subelement pre-set in the BIOS, Such as can be function program for realizing specific function, such as the function such as checking and killing virus.
In the embodiment of the present invention, the internal memory can be used for depositing depositing in the central processing unit of the electronic equipment Program and data are stored up, and the storage program and the data can be protected to be not tampered with.
Preferably, in the embodiment of the present invention, after the BIOS obtains the control, the central processing unit can Control the BIOS to discharge the preset program unit into internal memory, on the one hand can protect the preset program unit not It is tampered, on the other hand, can be directly from described when needing to load the preset program unit to realize its corresponding function Loaded after being transferred in internal memory.
In the embodiment of the present invention, during the BIOS enjoys the control, the BIOS releases are described predetermined Program unit can include into internal memory:Determine the identification information of the OS;Based on the identification information of the OS, it is determined that and institute Configuration processor unit corresponding to OS identification information is stated, to cause the OS to be able to carry out the predetermined journey in start-up course Sequence unit.
In the embodiment of the present invention, the mark of the OS can be determined by the central processing unit in the electronic equipment Information, wherein the identification information can be generated according to the OS, and the different OS can be corresponding with different institutes State identification information, you can think the identification information corresponding to the OS settings, for example, in windows7 systems, the mark It can be Win7 to know information, in windows8(A kind of operating system)In system, the identification information can be Win8.
In the embodiment of the present invention, it is determined that after the identification information, can be based on the identification information determine with it is described The configuration processor unit corresponding to OS identification information, to cause the OS in start-up course by the configuration processor list Member can load and perform the preset program unit.Such as, if it is determined that identification information when being Win8, then can be with Determine that configuration processor unit corresponding to the identification information can be wpbbin.exe, then can be with the OS start-up courses Loaded by the configuration processor unit wpbbin.exe and perform the preset program unit.
Preferably, in the embodiment of the present invention, the preset program unit and the configuration processor unit can have one corresponding Relation, the corresponding relation are set at once when electronic equipment dispatches from the factory, so as to when user installation or the replacing electronics During the OS of equipment, the central processing unit can be determined corresponding with the new OS identification information based on the corresponding relation The configuration processor unit, to cause in the OS start-up courses, it can be loaded by the configuration processor unit newly confirmed And perform the preset program unit.
For example, when dispatching from the factory, the OS for determining the electronic equipment is windows7, identification information Win7, with institute It is autocheck.exe to state configuration processor unit corresponding to identification information Win7, then can is led in the OS start-up courses Preset program unit described in the configuration processor unit autocheck.exe load and executions is crossed, and may be used also in the electronic equipment To be provided with another corresponding relation, i.e. corresponding with the identification information Win8 described to hold when the identification information is Win8 Line program unit is wpbbin.exe.Then after the electronic equipment dispatches from the factory, if user by the OS of the electronic equipment by Windows7 upgrades to windows8, due to being provided with Win8 pairs of the identification information with windows8 in the electronic equipment The configuration processor unit answered, then, upgrading successfully, when the electronic equipment restarts, based on the identification information It is wpbbin.exe that the new configuration processor unit, which can be determined, so as to be held in the windows8 start-up courses by described Line program unit wpbbin.exe cans load and perform the preset program unit, so as to ensure that preset program unit exists Use upper sustainability.
S204:When controlling the BIOS to transfer the control to the OS by the central processing unit, pass through The central processing unit control loads the preset program unit, the preset program unit during the OS is loaded M function items are performed, M is the integer more than or equal to 1.
In the embodiment of the present invention, after the BIOS releases the preset program unit into internal memory, the centre Reason device controls the BIOS to transfer the control to the OS, it is determined that corresponding with the identification information of the OS is described Configuration processor unit, controlled by the central processing unit during the OS is loaded, the OS can be by described Configuration processor unit loads the preset program unit, then the preset program unit can performs the M function items, from And the specific function of the preset program unit can be realized.
In the embodiment of the present invention, the possible function items of one of which of the preset program unit can for example be looked into for virus Kill, such as the preset program unit is a software program for being used for checking and killing virus, by described in central processing unit control After OS loads the preset program unit, it is possible to perform the checking and killing virus function by the preset program unit.Or The possible function items of one of which of the preset program unit can also be to be connected by network with a network service terminal, with N number of program is obtained from the network service terminal, N is the integer more than or equal to 1, to improve the performance of the electronic equipment. Now, such as from the network service terminal program obtained is the driver for driving the OS, such as from The program that the network service terminal obtains is the ROMPaq for upgrading the BIOS, or whole from the network service What end obtained can also be other any applications.
Preferably, in the embodiment of the present invention, the triggering command is responded by the central processing unit, can also be included: After the preset program unit performed based on the OS completes start completion and/or after the completion of M function items of execution, pass through The central processing unit controls the preset program unit to be communicated by escape way with the BIOS, to determine the OS The preset program unit of execution is the preset program unit of BIOS releases.
In the embodiment of the present invention, the escape way can be the BIOS be discharged into it is described predetermined in OS The passage for information interchange between program unit, the passage can be one by encrypt or other means reach it is a kind of compared with Safely, it is not easy the communication path for being disturbed or being destroyed by other programs.
Optionally, in the embodiment of the present invention, can include in the preset program unit of the BIOS releases random Number, the preset program is controlled to be communicated by escape way with the BIOS by the central processing unit, to determine The preset program unit for stating OS execution is the preset program unit of BIOS releases, can be included:Pass through the central processing Device control is based on the random number based on the preset program unit that the OS is performed and generation the is encrypted to transmission data One encryption information;The BIOS is controlled to be carried out by the random number to first encryption information by the central processing unit Decryption, obtains the transmission data.
In the embodiment of the present invention, the random number can be generated by the BIOS, and discharge the preset program unit During discharged in the lump, for example, the random number can be carried in the preset program unit, so as to described random Number can be transferred in the internal memory together with the preset program unit.
Preferably, in the embodiment of the present invention, it is described when the central processing unit controls the OS to enjoy the control OS cans load the preset program unit, and are based on the preset program unit execution M function items, described in generation Transmit data.Now, the preset program unit transmission data can be encrypted based on the random number, generate institute The first encryption information is stated, then the central processing unit can control the OS by described first in the preset program unit Encryption information passes to the BIOS, then the central processing unit can control the random numbers pair of the BIOS based on generation First encryption information is decrypted, and so as to which the BIOS can obtain the transmission data, and can determine that the OS is held Capable preset program unit is the preset program unit of BIOS releases.Based on the transmission data, the central processing unit The BIOS or described OS can be controlled to take further measures, such as antivirus, driving etc..
So, the security of communication process had both been ensure that, the BIOS is determined that the transmission data are really The preset program unit is generated, and avoids the interference of rogue program.
Optionally, in the embodiment of the present invention, if including the random number in the preset program unit, then be based on After the preset program unit completion start completion that the OS is performed and/or after the completion of the execution M function items, pass through institute Stating central processing unit controls the preset program to be communicated by the escape way with the BIOS, to determine that the OS is held Capable preset program unit is the preset program unit of BIOS releases, can be included:Controlled by the central processing unit Based on the OS preset program unit generation public keys performed and private key, the public key is added based on the random number It is dense into the second encryption information;Control the BIOS to be decrypted by the random number by the central processing unit, obtain The public key;By described in the central processing unit control preset program element deletion performed based on the OS with Machine number, the 3rd encryption information of generation is encrypted to transmission data with the private key;By described in central processing unit control The 3rd encryption information is decrypted by the public key by BIOS, obtains the transmission data.
Specifically, after BIOS releases include the preset program unit of the random number, the centre Reason device can control the preset program unit to generate a pair of public and private keys, i.e. public key and private key, and based on the random number to institute State public key and generation second encryption information is encrypted, and second encryption information is passed into the BIOS, in described Central processor can controls the BIOS that second encryption information is decrypted based on the random number, and described in acquisition Public key, also correspond to verify the public key.After the BIOS obtains the public key, pass through the central processing unit control Random number described in the preset program element deletion is made, to prevent the random number from being used by other programs malice.
Afterwards, the preset program unit can utilize the private key to described when needing to transmit the transmission data Transmission data are encrypted, and generate the 3rd encryption information, when the 3rd encryption information is delivered into the BIOS, institute Stating central processing unit controls the BIOS that the 3rd encryption information is decrypted by the public key, then can obtain described Transmit data.Based on the transmission data, the central processing unit can control the BIOS or described OS to take and further arrange Apply, such as display reminding information, alarm etc..
Optionally, in the embodiment of the present invention, the BIOS can generate public key and private key, and the private key is transferred to institute State in preset program unit, it is described based on the OS perform the preset program unit complete start completion after and/or perform M After the completion of individual function items, the preset program is controlled to be led to by escape way and the BIOS by the central processing unit Letter, the preset program unit discharged using determining the preset program unit that the OS is performed as the BIOS, can include:Pass through institute Central processing unit control is stated transmission data are encrypted with the private key based on the preset program unit that the OS is performed Generate the 4th encryption information;Control the BIOS by the public key to the 4th encryption information by the central processing unit It is decrypted, obtains the transmission data.
Preferably, in the embodiment of the present invention, the central processing unit can control the BIOS to generate the public key and institute Private key is stated, and wherein described private key is transmitted to the preset program unit, so that the private key can be carried described predetermined In program unit, so as to which the private key can be transferred in the internal memory together with the preset program unit.Then, in described Central processor controls the OS to enjoy the control, and the OS loads the preset program by the configuration processor unit Unit, and during transmission data described based on the preset program unit execution M function items generation, the preset program list Member can be based on the private key and the transmission data are encrypted, and generate the 4th encryption information, add by the described 4th When confidential information is transmitted to the BIOS, the central processing unit can controls the BIOS to be based on the public key to the described 4th Encryption information is verified, after being proved to be successful, then the BIOS obtains the transmission data, may thereby determine that the OS is held Capable preset program unit is the preset program unit of BIOS releases.
So, by way of generating key pair, the security of communication process is both effectively ensure that, can also be made described BIOS determines that the transmission data are generated by the preset program unit really, avoids the interference of rogue program.
Embodiment two
Fig. 3 is referred to, the embodiment of the invention discloses a kind of electronic equipment, the electronic equipment can include central processing Device and firmware unit, the firmware unit is interior to have basic input-output system BIOS, and the electronic equipment is provided with operation system Unite OS.The central processing unit can include acquiring unit 301 and response unit 302.
Preferably, the response unit 302 can also include the first control subelement 303, loading subelement 304, release Subelement 305, second controls subelement 306 and communication subelement 307.
The acquiring unit 301 can be used for obtaining a triggering command, the triggering command by the central processing unit For starting the electronic equipment.
The response unit 302 can be used for responding the triggering command by the central processing unit, described to cause Electronic equipment is in running order.
The first control subelement 303 can be used for controlling the central processing unit in running order.
The loading subelement 304 can be used for loading described in the firmware unit by the central processing unit BIOS, to cause the BIOS to enjoy control.
The release subelement 305 can be used for during the BIOS enjoys the control, and the BIOS is released A preset program unit is put into internal memory, the preset program unit is a subelement being set in advance in the BIOS.
Preferably, the release subelement 305 can be used for during the BIOS enjoys the control, control The BIOS discharges a preset program unit into internal memory, and the preset program unit is one be set in advance in the BIOS Individual subelement.
The second control subelement 306 can be used for working as controls the BIOS by the control by the central processing unit When power processed transfers the OS to, by central processing unit control during the OS is loaded, the predetermined journey is loaded Sequence unit, the preset program unit perform M function items, and M is the integer more than or equal to 1.
The preset program unit that the communication subelement 307 can be used for performing based on the OS completes start completion Afterwards and/or after the completion of M function items of execution, the preset program unit is controlled to pass through escape way by the central processing unit Communicated with the BIOS, the preset program list discharged using determining the preset program unit that the OS is performed as the BIOS Member.
The specific identification information that can be used for determining the OS by the central processing unit of release subelement 305; Based on the identification information of the OS, it is determined that the configuration processor unit corresponding with the identification information of the OS, to cause the OS to exist The preset program unit is able to carry out in start-up course.
When the preset program unit includes random number, the communication subelement 307 specifically can be used for by described Central processing unit control is based on the random number based on the preset program unit that the OS is performed and transmission data is added It is dense into the first encryption information;The BIOS is controlled to be encrypted by the random number to described first by the central processing unit Information is decrypted, and obtains the transmission data.
When the preset program unit includes random number, the communication subelement 307 specifically can be used for by described Central processing unit control is based on the OS preset program unit generation public keys performed and private key, based on the random number pair The second encryption information of generation is encrypted in the public key;The BIOS is controlled to pass through the random number by the central processing unit It is decrypted, obtains the public key;Pass through the central processing unit control preset program performed based on the OS Random number described in element deletion, the 3rd encryption information of generation is encrypted to transmission data with the private key;Pass through the center Processor controls the BIOS to be decrypted by the public key, obtains the transmission data.
When BIOS generations have public key and private key, and the private key is transferred in the preset program unit, institute State the specific preset program that can be used for performing based on the OS by central processing unit control of communication subelement 307 The 4th encryption information of generation is encrypted to transmission data with the private key in unit;By described in central processing unit control BIOS is decrypted by the public key, obtains the transmission data.
In the embodiment of the present invention, the function items of the preset program unit are checking and killing virus;Or the predetermined journey The function items of sequence unit obtain N number of program, N to be connected by network with a network service terminal from the service terminal For the integer more than or equal to 1.
Information processing method in the embodiment of the present invention is applied in electronic equipment, and the electronic equipment includes central processing Device and firmware unit, the firmware unit is interior to have basic input-output system BIOS, and the electronic equipment is provided with operation system Unite OS, and methods described includes:One triggering command is obtained by the central processing unit, the triggering command is used to start the electricity Sub- equipment;The triggering command is responded by the central processing unit, to cause the electronic equipment in running order;Its In, it is described to be included by the central processing unit response triggering command:Control the central processing unit in running order; The BIOS of the firmware unit is loaded, to cause the BIOS to enjoy control;The control is enjoyed in the BIOS During, control the BIOS to discharge a preset program unit into internal memory, the preset program unit is to be set in advance in A subelement in the BIOS;It is described when being transferred to the control by the central processing unit control BIOS During OS, by central processing unit control during the OS is loaded, the preset program unit is loaded, it is described predetermined Program unit performs M function items, and M is the integer more than or equal to 1.
In the embodiment of the present invention, because the preset program unit of BIOS releases is transferred in internal memory, thus it is described Preset program unit no longer has tamper, so as to prevent rogue program distorting or deleting to preset program unit, then The preset program unit can be loaded in the OS start-up courses, the preset program unit can perform the M work( Energy item, for example, in the M function items, can there is checking and killing virus function items, driving function item, etc..If in electronic equipment The program of more serious error or malice be present, performing the M function items can by the preset program unit completes Reparation, killing etc. operate, i.e. before user logs in the OS, the electronic equipment just passes through the described predetermined of loading Program unit performs the M function items, has ensured the stability and security of the OS, has realized the electronic equipment Clean boot.
It is apparent to those skilled in the art that for convenience and simplicity of description, only with above-mentioned each function The division progress of module, can be as needed and by above-mentioned function distribution by different function moulds for example, in practical application Block is completed, i.e., the internal structure of device is divided into different functional modules, to complete all or part of work(described above Energy.The specific work process of the system, apparatus, and unit of foregoing description, it may be referred to corresponding in preceding method embodiment Journey, it will not be repeated here.
In several 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 or The division of unit, only a kind of division of logic function, can there are other dividing mode, such as multiple units when actually realizing Or component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, institute Display or the mutual coupling discussed or direct-coupling or communication connection can be by some interfaces, device or unit INDIRECT COUPLING or communication connection, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, the technical scheme of the application is substantially The part to be contributed in other words to prior art or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer Equipment(Can be personal computer, server, or network equipment etc.)Or processor(processor)It is each to perform the application The all or part of step of embodiment methods described.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory(RAM, Random Access Memory), magnetic disc or CD Etc. it is various can be with the medium of store program codes.
Described above, above example is implemented above only the technical scheme of the application to be described in detail The explanation of example is only intended to help the method and its core concept for understanding the present invention, should not be construed as limiting the invention.This Those skilled in the art the invention discloses technical scope in, the change or replacement that can readily occur in should all be covered Within protection scope of the present invention.

Claims (14)

1. a kind of information processing method, methods described is applied in electronic equipment, the electronic equipment include central processing unit and Firmware unit, the firmware unit is interior to have basic input-output system BIOS, and the electronic equipment is provided with operating system OS, Methods described includes:
One triggering command is obtained by the central processing unit, the triggering command is used to start the electronic equipment;
The triggering command is responded by the central processing unit, to cause the electronic equipment in running order;
Wherein, it is described to be included by the central processing unit response triggering command:
Control the central processing unit in running order;
The BIOS of the firmware unit is loaded, to cause the BIOS to enjoy control;
During the BIOS enjoys the control, the BIOS is controlled to discharge a preset program unit into internal memory, The preset program unit is a subelement being set in advance in the BIOS;
When controlling the BIOS to transfer the control to the OS by the central processing unit, pass through the centre Device control is managed during the OS is loaded, loads the preset program unit, the preset program unit performs M function , M is the integer more than or equal to 1.
2. the method as described in claim 1, it is characterised in that the triggering command is responded by the central processing unit and also wrapped Include:
Completed based on the preset program unit that the OS is performed after starting and/or after the completion of M function items of execution, it is described pre- Determine program unit to be communicated with the BIOS by escape way, to determine that the preset program unit that the OS is performed is described The preset program unit of BIOS releases.
3. method as claimed in claim 1 or 2, it is characterised in that during the BIOS enjoys the control, institute State BIOS and discharge a preset program unit into internal memory, including:
Determine the identification information of the OS;
Based on the identification information of the OS, it is determined that the configuration processor unit corresponding with the identification information of the OS, described to cause OS is able to carry out the preset program unit in start-up course by the configuration processor unit.
4. method as claimed in claim 2, the preset program unit includes random number, it is characterised in that described to be based on institute The preset program unit for stating OS execution is completed after starting and/or after the completion of M function items of execution, the preset program unit Communicated by escape way with the BIOS, what the preset program unit to determine the OS execution discharged as the BIOS Preset program unit, including:
The random number is based on based on the preset program unit that the OS is performed generation first is encrypted to transmission data Encryption information;
First encryption information is decrypted by the random number by the BIOS, obtains the transmission data.
5. method as claimed in claim 2, the preset program unit includes random number, it is characterised in that described to be based on institute The preset program unit for stating OS execution is completed after starting and/or after the completion of M function items of execution, the preset program unit Communicated by escape way with the BIOS, what the preset program unit to determine the OS execution discharged as the BIOS Preset program unit, including:
Based on the OS preset program unit generation public keys performed and private key, the public key is entered based on the random number Row encryption the second encryption information of generation;
The BIOS is decrypted by the random number, obtains the public key;
Random number described in the preset program element deletion performed based on the OS, transmission data are added with the private key It is dense into the 3rd encryption information;
The 3rd encryption information is decrypted by the public key by the BIOS, obtains the transmission data.
6. method as claimed in claim 2, the BIOS generation public keys and private key, and the private key are transferred to described predetermined In program unit, it is characterised in that the preset program unit performed based on the OS is completed after starting and/or performed After the completion of M function items, the preset program unit is communicated by escape way with the BIOS, to determine that the OS is held Capable preset program unit is the preset program unit of BIOS releases, including:
The encryption of generation the 4th is encrypted to transmission data with the private key based on the preset program unit that the OS is performed Information;
The 4th encryption information is decrypted by the public key by the BIOS, obtains the transmission data.
7. the method as described in any one of claim 1-2,4-6, it is characterised in that the function of the preset program unit Item is checking and killing virus;Or
The function items of the preset program unit is are connected by network with a network service terminal, from the service terminal N number of program is obtained, N is the integer more than or equal to 1.
8. a kind of electronic equipment, the electronic equipment includes central processing unit and firmware unit, has base in the firmware unit This input-output system BIOS, the electronic equipment are provided with operating system OS, and the central processing unit includes:
Acquiring unit, for obtaining a triggering command by the central processing unit, the triggering command is used to start the electricity Sub- equipment;
Response unit, for responding the triggering command by the central processing unit, to cause the electronic equipment to be in work Make state;
Wherein, the response unit specifically includes:
First control subelement, for controlling the central processing unit in running order;
Subelement is loaded, for loading the BIOS of the firmware unit, to cause the BIOS to enjoy control;
Subelement is discharged, during enjoying the control in the BIOS, controls the BIOS to discharge a predetermined journey For sequence unit into internal memory, the preset program unit is a subelement being set in advance in the BIOS;
Second control subelement, for described when being transferred to the control by the central processing unit control BIOS During OS, by central processing unit control during the OS is loaded, the preset program unit is loaded, it is described predetermined Program unit performs M function items, and M is the integer more than or equal to 1.
9. electronic equipment as claimed in claim 8, it is characterised in that the response unit also includes:
Communicate subelement, and M function is completed after starting and/or performed to the preset program unit for being performed based on the OS After the completion of, the preset program unit is communicated by escape way with the BIOS, to determine that the OS is performed pre- Determine the preset program unit that program unit is BIOS releases.
10. electronic equipment as claimed in claim 8 or 9, it is characterised in that the release subelement is specifically used for:Determine institute State OS identification information;Based on the identification information of the OS, it is determined that the configuration processor unit corresponding with the identification information of the OS, To cause the OS to be able to carry out the preset program unit by the configuration processor unit in start-up course.
11. electronic equipment as claimed in claim 9, the preset program unit includes random number, it is characterised in that described logical Letter subelement is specifically used for:The random number is based on based on the preset program unit that the OS is performed to carry out transmission data Encryption the first encryption information of generation;First encryption information is decrypted by the random number by the BIOS, obtains institute State transmission data.
12. electronic equipment as claimed in claim 9, the preset program unit includes random number, it is characterised in that described logical Letter subelement is specifically used for:Based on the OS preset program unit generation public keys performed and private key, based on described random It is several the public key to be encrypted the second encryption information of generation;The BIOS is decrypted by the random number, described in acquisition Public key;Random number described in the preset program element deletion performed based on the OS, transmission data are carried out with the private key Encryption the 3rd encryption information of generation;The BIOS is decrypted by the public key, obtains the transmission data.
13. electronic equipment as claimed in claim 9, the BIOS generations have public key and private key, and the private key is transferred to In the preset program unit, it is characterised in that the communication subelement is specifically used for:Performed based on the OS described predetermined The 4th encryption information of generation is encrypted to transmission data with the private key in program unit;The BIOS is carried out by the public key Decryption, obtains the transmission data.
14. the electronic equipment as described in any one of claim 8-9,11-13, it is characterised in that the preset program unit The function items are checking and killing virus;Or
The function items of the preset program unit is are connected by network with a network service terminal, from the service terminal N number of program is obtained, N is the integer more than or equal to 1.
CN201310452232.6A 2013-09-27 2013-09-27 A kind of information processing method and electronic equipment Active CN104516746B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310452232.6A CN104516746B (en) 2013-09-27 2013-09-27 A kind of information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310452232.6A CN104516746B (en) 2013-09-27 2013-09-27 A kind of information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104516746A CN104516746A (en) 2015-04-15
CN104516746B true CN104516746B (en) 2018-03-23

Family

ID=52792111

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310452232.6A Active CN104516746B (en) 2013-09-27 2013-09-27 A kind of information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104516746B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101038556A (en) * 2007-04-30 2007-09-19 中国科学院软件研究所 Trusted bootstrap method and system thereof
CN101207565A (en) * 2006-12-22 2008-06-25 英业达股份有限公司 Network communication method
CN102693140A (en) * 2011-03-25 2012-09-26 鸿富锦精密工业(深圳)有限公司 Preemptive test system and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200805157A (en) * 2006-07-06 2008-01-16 Asustek Comp Inc Method for modifying a booting screen in a computer system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101207565A (en) * 2006-12-22 2008-06-25 英业达股份有限公司 Network communication method
CN101038556A (en) * 2007-04-30 2007-09-19 中国科学院软件研究所 Trusted bootstrap method and system thereof
CN102693140A (en) * 2011-03-25 2012-09-26 鸿富锦精密工业(深圳)有限公司 Preemptive test system and method

Also Published As

Publication number Publication date
CN104516746A (en) 2015-04-15

Similar Documents

Publication Publication Date Title
CN103150514B (en) A kind of trusted module based on mobile device and trusted service method thereof
CN106529308B (en) data encryption method and device and mobile terminal
CN106687985B (en) Method for the safe input mechanism based on privileged mode
CN107667347A (en) Techniques for virtualized access to security services provided by a converged manageability and security engine
CN105378747A (en) One-touch device personalization
CN108701191A (en) Hardware integrity inspection
CN102473098A (en) Entropy pools for virtual machines
CN105844146B (en) Method and device for protecting driver and electronic equipment
CN109657448A (en) A kind of method, apparatus, electronic equipment and storage medium obtaining Root authority
CN110334522A (en) Start the method and device of measurement
CN109753793A (en) A kind of hot patch method and hot patch device
CN106897640A (en) The computer encryption lock of effective separation
CN103793644B (en) Information safety devices realize method, information safety devices and the system of many applications
KR102439832B1 (en) Add-on modem for wireless devices and methods useful in conjunction therewith
WO2018026628A1 (en) Systems and methods for storing administrator secrets in management controller-owned cryptoprocessor
CN104516746B (en) A kind of information processing method and electronic equipment
CN103442291A (en) Set top box upgrading method and device
WO2024131018A1 (en) Verification method and apparatus for server
CN110069922B (en) System interface hijacking detection method and device and terminal
CN113660645B (en) Device configuration method and device, electronic device and storage medium
CN110196741A (en) Method for setting basic input/output system, terminal and computer storage medium
US10778650B2 (en) Systems and methods for management domain attestation service
CN109376550A (en) A kind of starting control method, device and the equipment of target component
CN112099901B (en) Method and device for configuring virtual machine memory data encryption mode and CPU chip
CN108510289A (en) Ios device tests machine method, apparatus and terminal

Legal Events

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