The invention discloses a switching method and computer, using non-volatile memory data and data read and write speed of the characteristics of long-term preservation in the case of no power supply, in the computer shutdown, the register state controller chip set value, input / output (I / O) register interface the value of effective data in memory and fast write non-volatile memory, fast shutdown; while in the boot, you can register from valid data register state controller chip nonvolatile memory read fast computer shutdown time, the value of I / O interface and memory, fast restore the realization of operating system. The invention can realize the fast switching machine of the computer, and can not lose data because of the closing of the power supply.
【技术实现步骤摘要】
本专利技术涉及计算机领域,尤其涉及一种开关机方法和计算机。
技术介绍
随着信息技术的发展,以处理器为基础的电子设备,如计算机(PC, Personal Computer),已经得到广泛普及。对于一般的PC来说,在开机之后需要经过基 本输入输出系统(BIOS, Basic Input Output System)的开机自检、操作系统载 入和应用程序的加载等过程,这个过程通常需要1 2分钟的时间;并且在关机 时也需要较长的时间对当前工作数据进行备份保存。尤其是在PC使用较久的 情况下,由于OS文件的积累越来越多,会使得操作系统载入时间越来越长, 从而导致开关机的速度越来越慢。上述的问题,会给用户使用PC时带来不便; 由于PC开关机时需要漫长的等待,因此比较浪费时间,会导致工作效率降低, 而且容易让用户对PC产生厌倦情绪,降低使用PC的积极性。现有技术中通常釆用S3方式来实现PC的快速开关机,S3是指将PC挂起 到内存的一种休眠状态。PC在进入S3状态时,将当前操作系统运行的程序和 数据都暂存到内存中,此时内存需要相应的电源来维持工作,而包括硬盘在内 的其他硬件则处 ...
【技术保护点】
一种开机方法,其特征在于,所述方法包括: 获得计算机的开启命令; 中央处理器CPU根据所述开启命令读取所述CPU内部寄存器的初始值,使所述CPU处于工作状态; 控制模块将所述计算机关机时刻存储在非易失性存储器中的芯片组控制 器的寄存器状态值和输入/输出I/O接口的寄存器状态值写入到基本输入输出系统BIOS中;所述芯片组控制器从所述BIOS中读取所述芯片组控制器的寄存器状态值,使所述芯片组控制器恢复至所述计算机关机时刻的工作状态,所述I/O接口从所述BIOS中读取所述I/O接口的寄存器状态值,使所述I/O接口恢复至所述计算机关机时刻的工作状态 ...
【技术特征摘要】
【专利技术属性】
技术研发人员:安岩,郑中华,
申请(专利权)人:联想北京有限公司,
类型:发明
国别省市:11[中国|北京]
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。