CN100428146C - 系统启动时播放音乐的方法 - Google Patents

系统启动时播放音乐的方法 Download PDF

Info

Publication number
CN100428146C
CN100428146C CNB021399379A CN02139937A CN100428146C CN 100428146 C CN100428146 C CN 100428146C CN B021399379 A CNB021399379 A CN B021399379A CN 02139937 A CN02139937 A CN 02139937A CN 100428146 C CN100428146 C CN 100428146C
Authority
CN
China
Prior art keywords
bios
music
initialization
site parameters
register
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.)
Expired - Fee Related
Application number
CNB021399379A
Other languages
English (en)
Other versions
CN1424650A (zh
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 CNB021399379A priority Critical patent/CN100428146C/zh
Publication of CN1424650A publication Critical patent/CN1424650A/zh
Application granted granted Critical
Publication of CN100428146C publication Critical patent/CN100428146C/zh
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

本发明公开了一种系统启动时播放音乐的方法,包括以下步骤:加电自检;初始化声卡;初始化硬盘;保存初始化现场参数到寄存器;调用BIOS中的播放软件播放音乐;从寄存器中取出现场参数,并返回继续执行系统其他设备的初始化程序。本发明所具有的有益效果是:与现有技术相比,由于在系统开机后进行初始化进程的这段时间,暂时保存了现场参数,利用BIOS系统中的播放软件到指定的地址播放音乐,从而使得这段被荒置的时间得到了有效的利用,不仅有利于商家宣传品牌,而且可以满足用户音乐个性化的需求,最终扩充了系统的功能。

Description

系统启动时播放音乐的方法
技术领域
本发明属于多媒体领域,尤其涉及在系统启动时向基本输入/输出系统(BIOS)提供播放音乐的方法。
背景技术
我们知道,打开计算机后,BIOS系统的引导和由BIOS装如操作系统往往需要花去一段时间,而在这段时间,屏幕上只会显示诸如测试统计及结果等BIOS信息,在大多数情况下,这些信息是相同的而且对用户并无用处,因此这段时间最好能生成悦耳的音乐,然而现有的计算机系统并没能提供这种功能,只好让用户百无聊赖地等候在机器前面,白白地浪费掉一段享受轻松的时光。
发明内容
本发明需要解决的技术问题是提供一种在系统启动时播放音乐的方法,以克服现有技术在系统启动这段时间因无任何音乐而只能让用户无聊地浪费时间的缺陷。
为解决上述技术问题,本发明包括以下步骤:
加电自检;
初始化声卡;
初始化硬盘;
保存初始化现场参数到各寄存器;
调用BIOS中的播放软件播放音乐;
从寄存器中取出现场参数,并返回,继续执行系统其他设备的初始化程序。
本发明所具有的有益效果是:与现有技术相比,由于在系统开机后进行初始化进程的这段时间,暂时保存了现场参数,利用BIOS系统中的播放软件到指定的地址播放音乐,从而使得这段被荒置的时间得到了有效的利用,不仅有利于商家宣传品牌,而且可以满足用户音乐个性化的需求,最终扩充了系统的功能。
附图说明
图1为本发明的工作流程图。
具体实施方式
以下结合附图和具体实施例详细说明本发明。
开机后,系统执行第一步,指令001,POST加电自检,系统初始化CPU、内存和BIOS的FLASH块(电可擦写存储器)。然后执行第二步,指令002,初始化声卡,将声卡提前初始化不仅为了播放音乐,也是为了减小以后保存现场参数和调用现场参数的复杂程度。第三步指令003,初始化硬盘。第四步,执行指令004保存现场参数,即将此时已初始化的数据,例如原先已经初始化的内存大小、速度、存放地址、芯片组南北桥信息等数据保存到有关寄存器中,以备继续执行时调用,除了一些执行程序的信息外,其余各个设备的信息都放入各自设备的寄存器中。第五步执行指令005,调用BIOS的FLASH块(电可擦写存储器)中的播放软件播放音乐,实际上这是通过在BIOS中编写播放软件来实现的,该播放软件的内容和功能与常规播放软件类似,但其容量必须足够小,能够放入BIOS中的剩余空间内,一般来讲,不大于5k的播放软件就足够使用了。该软件在出厂前被装入BIOS中,用户无法随意更改。执行这一步时,先从BIOS的FLASH块中将该播放软件调入内存,执行其功能,到指定的地址寻找音乐,找到音乐后,再通过声卡将其播放出去。音乐的指定地址并不固定,如果是公司为进行品牌宣传而希望客户能够熟悉某一段音乐,则被指定播放的音乐可以放在BIOS中,以更好地保护这段程序,一般指定在F000:0000--FFFF:FFFF段中,该段为BIOS中地址末尾,用来存放大小未定的文件。而如果是用户有自己喜欢的音乐,则也可以将音乐文件放在硬盘上,只要为其指定一个文件名,然后将自己想播放的文件改为该文件名即可进行播放,这样就可以根据不同的喜好随时进行更改了。当所希望的音乐播放完之后,执行指令006,从各寄存器中取出原先保存的现场参数,载入内存,返回继续执行现场参数中对其他设备的初始化指令。

Claims (3)

1一种系统启动时播放音乐的方法,其特征在于:首先在BIOS中编写入播放软件,该软件不大于5K,系统启动时包括以下步骤:
加电自检;
初始化声卡;
初始化硬盘;
保存初始化现场参数到各寄存器;
调用BIOS中的播放软件播放音乐;
从寄存器中取出现场参数,并返回继续执行系统其他设备的初始化程序。
2如权利要求1所述的方法,其特征在于:所述的播放音乐可以是放在BIOS中的软件。
3如权利要求1所述的方法,其特征在于:所述的播放音乐可以是放在硬盘中的文件。
CNB021399379A 2002-12-30 2002-12-30 系统启动时播放音乐的方法 Expired - Fee Related CN100428146C (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB021399379A CN100428146C (zh) 2002-12-30 2002-12-30 系统启动时播放音乐的方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB021399379A CN100428146C (zh) 2002-12-30 2002-12-30 系统启动时播放音乐的方法

Publications (2)

Publication Number Publication Date
CN1424650A CN1424650A (zh) 2003-06-18
CN100428146C true CN100428146C (zh) 2008-10-22

Family

ID=4750287

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB021399379A Expired - Fee Related CN100428146C (zh) 2002-12-30 2002-12-30 系统启动时播放音乐的方法

Country Status (1)

Country Link
CN (1) CN100428146C (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100375953C (zh) * 2003-08-04 2008-03-19 威盛电子股份有限公司 计算机装置的系统初始化方法
EP1818808A1 (en) 2005-04-18 2007-08-15 ASmedia Technology Inc. Computer system and related method of playing audio files when booting
TWI370394B (en) 2008-09-19 2012-08-11 Asustek Comp Inc Computer, booting software production and method thereof
CN107831968A (zh) * 2017-01-24 2018-03-23 问众智能信息科技(北京)有限公司 用于车载智能后视镜的软硬件联动交互的方法和装置
CN108664278A (zh) * 2017-03-27 2018-10-16 上海传英信息技术有限公司 用于通信终端应用模块启动音效的方法及装置

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1274995A (zh) * 1999-08-02 2000-11-29 广东爱浪数字技术有限公司 用于音频视频设备的自动开机关机方法和装置
US20020194356A1 (en) * 2001-05-21 2002-12-19 Karanetwork Limited System and method of downloading music and playing the downloaded music

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1274995A (zh) * 1999-08-02 2000-11-29 广东爱浪数字技术有限公司 用于音频视频设备的自动开机关机方法和装置
US20020194356A1 (en) * 2001-05-21 2002-12-19 Karanetwork Limited System and method of downloading music and playing the downloaded music

Also Published As

Publication number Publication date
CN1424650A (zh) 2003-06-18

Similar Documents

Publication Publication Date Title
US5291585A (en) Computer system having system feature extension software containing a self-describing feature table for accessing I/O devices according to machine-independent format
CA2157167C (en) Launching computer applications
RU2451989C2 (ru) Поддержка нескольких операционных систем в мультимедийных устройствах
US7594073B2 (en) Method and apparatus for caching memory content on a computing system to facilitate instant-on resuming from a hibernation state
EP1381955B1 (en) Low power digital audio decoding/playing system for computing devices
US6601139B1 (en) Information processing method and apparatus using a storage medium storing all necessary software and content to configure and operate the apparatus
US20050076196A1 (en) Method and system to encapsulate a driver written for an operating system (OS) runtime environment in an OS independent environment firmware extension
US20080244252A1 (en) Using protected/hidden region of a magnetic media under firmware control
US20020129233A1 (en) Data processor having bios packing compression/decompression architecture
US20040006690A1 (en) Low power digital audio decoding/playing system for computing devices
US7496744B2 (en) Method for booting computer multimedia system with high speed data storage
EP1634170A2 (en) Method for firmware variable storage with eager compression, fail-safe extraction and restart time compression scan
US7581037B2 (en) Effecting a processor operating mode change to execute device code
CN101404023A (zh) 一种对下载的文件进行操作的方法和装置
US20020068988A1 (en) Low power digital audio decoding/playing system for computing devices
US20040088697A1 (en) Software loading system and method
US6357003B1 (en) Advanced firmware boot sequence x86 computer system that maintains legacy hardware and software compatibility
WO2020220971A1 (zh) 一种文件加载方法、装置、电子设备及存储介质
CN104156248A (zh) 一种在开机过程中显示定制化信息的方法和bios芯片
CN100428146C (zh) 系统启动时播放音乐的方法
TW479194B (en) Method and apparatus for execution of an application during computer pre-boot operation
US20040117568A1 (en) Bridging memory access across pre-boot and runtime phases
US20100185842A1 (en) Computer system with two operating devices and control method thereof
US7620758B2 (en) System and method for fast activation and playing using a multimedia playback control module to load and execute core program
CN107193633A (zh) 一种批量创建虚拟机的方法及装置

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
DD01 Delivery of document by public notice

Addressee: Chen Yuanqing

Document name: payment instructions

DD01 Delivery of document by public notice
DD01 Delivery of document by public notice

Addressee: Chen Yuanqing

Document name: Notice of termination of patent right

DD01 Delivery of document by public notice
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20081022

Termination date: 20201230

CF01 Termination of patent right due to non-payment of annual fee