[go: up one dir, main page]

CN1979383A - Computer system and music playing method - Google Patents

Computer system and music playing method Download PDF

Info

Publication number
CN1979383A
CN1979383A CN 200510102286 CN200510102286A CN1979383A CN 1979383 A CN1979383 A CN 1979383A CN 200510102286 CN200510102286 CN 200510102286 CN 200510102286 A CN200510102286 A CN 200510102286A CN 1979383 A CN1979383 A CN 1979383A
Authority
CN
China
Prior art keywords
music
computer system
unit
display screen
hard disk
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.)
Pending
Application number
CN 200510102286
Other languages
Chinese (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.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry 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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN 200510102286 priority Critical patent/CN1979383A/en
Publication of CN1979383A publication Critical patent/CN1979383A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

The invention relates to a computer system and the music playback method thereof. And the method comprises the steps of: electrifying microcontrol unit music plackback unit and nonvolatile memory unit; the microcontrol unit controls the music playback unit to play back the music files in the nonvolatile memory unit; when executing the music playback operation, CPU and harddisk in the computer system can be kept in power-off state. Thus, it can use memory unit with lower power consumption to store music files and control music playback by microcontrol unit with lower power consumption and besides, display the music related data on a second display screen with lower power consumption, thus largely reducing system power consumption and prolonging the service life of the system battery.

Description

计算机系统及其音乐播放方法Computer system and music playing method thereof

【技术领域】【Technical field】

本发明是关于一种计算机系统省电技术,尤指一种能够播放音乐的计算机系统,能够在关机状态及省电模式下,仅提供播放音乐所需的电量。The invention relates to a computer system power saving technology, especially a computer system capable of playing music, which can only provide the power required for playing music in the shutdown state and power saving mode.

【背景技术】【Background technique】

对计算机使用者而言,便携式计算机是个越来越受使用者欢迎的产品。便携式计算机具有携带方便的优点,也因此消费者需要便携式计算机电池具有较长的工作时间。使得便携式计算机电池具有较长工作时间一般有两种做法:其一为增大电池的容量,其二为减少便携式计算机使用时所消耗的电量。而,一台便携式计算机其电池是固定,那么电池容量也是固定,增加电池容量只能通过更换更大容量的电池来获得,这会对用户带来经济上的额外支出,且实际上即使不断更换大容量的电池亦无法满足用户对使用时间越来越长的要求。因此如何减少便携式计算机使用时所消耗的电量是延长便携式计算机电池使用时间的关键的做法。For computer users, portable computers are an increasingly popular product. Portable computers have the advantage of being easy to carry, and therefore consumers require batteries for portable computers to have a longer working time. There are generally two ways to make the battery of the portable computer have a longer working time: one is to increase the capacity of the battery, and the other is to reduce the power consumption of the portable computer when it is in use. However, if the battery of a portable computer is fixed, then the battery capacity is also fixed, and increasing the battery capacity can only be obtained by replacing a battery with a larger capacity, which will bring additional economic expenses to the user, and in fact even if the battery is constantly replaced Large-capacity batteries cannot meet users' requirements for longer and longer usage times. Therefore how to reduce the power consumed when the portable computer is in use is a key way to prolong the battery life of the portable computer.

在便携式计算机中,中央处理单元是整个计算机系统中最耗电的元件。而中央处理单元制造商也提供了许多方法来节省中央处理单元所消耗的电量。例如:通过改变中央处理单元中的操作时钟频率。除此之外,也可改变中央处理单元的工作电压。当中央处理单元以较低的时钟频率或是较低的工作电压工作时,便会减少它所消耗的电量。In a portable computer, the central processing unit is the most power-hungry element in the entire computer system. And CPU manufacturers also offer many ways to save the power consumed by the CPU. For example: by changing the operating clock frequency in the central processing unit. In addition, the working voltage of the central processing unit can also be changed. When the central processing unit operates at a lower clock frequency or a lower operating voltage, it reduces the power it consumes.

然而,便携式计算机中除了中央处理单元是耗电量最大的元件之外,硬盘、显示屏也都是耗电量很大的元件。因此,如果能减少这些元件的工作次数,也将可以节省大量的电量。一个习知节省电量方法是,于便携式计算机系统中提供一省电模式,也就是当计算机闲置一段时间而不使用时,暂停供应计算机内部元件的电源以达到省电从而延长电池工作时间的目的。However, in a portable computer, in addition to the central processing unit being the most power-consuming component, the hard disk and the display screen are also components that consume a lot of power. Therefore, if the working times of these components can be reduced, a large amount of electricity can also be saved. A conventional method for saving power is to provide a power saving mode in the portable computer system, that is, when the computer is not used for a period of time, the power supply to the internal components of the computer is suspended to save power and extend the working time of the battery.

一般来说,在省电模式中,中央处理单元会将计算机当时的状态存储至存储单元中。之后,中央处理单元就进入等待状态。在等待状态时,便携式计算机的显示屏电源会被关闭,硬盘的转速会变慢,系统总线进入闲置状态,动态随机存储单元也处于自我更新模式。当使用者操作该计算机时,即任何一个外来的动作,例如:来自键盘或是指向元件的指令,就会“唤醒”计算机恢复正常模式即启动计算机并供给其所有内部元件电量:使系统总线跟动态随机存储单元恢复原来的工作状态,以及使中央处理单元离开等待状态。之后,中央处理单元打开显示屏电源,增加硬盘的转速以及恢复中央处理单元之前的状态,并且继续执行之前进入省电模式时尚未执行完毕的动作。Generally speaking, in the power saving mode, the central processing unit will store the state of the computer at the time into the storage unit. Thereafter, the central processing unit enters a waiting state. In the waiting state, the power supply of the display screen of the portable computer will be turned off, the rotation speed of the hard disk will slow down, the system bus will enter an idle state, and the DRAM will also be in a self-renewal mode. When the user operates the computer, that is, any external action, such as an instruction from the keyboard or a pointing component, will "wake up" the computer to resume normal mode, that is, start the computer and supply power to all its internal components: make the system bus follow The dynamic random storage unit restores the original working state, and the central processing unit leaves the waiting state. Afterwards, the central processing unit turns on the power supply of the display screen, increases the rotation speed of the hard disk and restores the previous state of the central processing unit, and continues to execute the actions that have not been completed when entering the power saving mode.

然而,当便携式计算机只播放音乐时,虽可通过调低中央处理单元的时钟频率及工作电压来节省电能。但,即使是中央处理单元以较低的时钟频率及工作电压工作其依然要消耗不少的电量,且通常在播放音乐过程中,计算机系统需频繁地读取硬盘内音乐数据,这样就无法真正达到节省大量电量的目的。另外,当用户欲获得音乐播放时的及时信息时,该便携式计算机通过耗电量亦很大的显示屏来显示,同样无法节省电量。However, when the portable computer only plays music, the power can be saved by lowering the clock frequency and operating voltage of the central processing unit. However, even if the central processing unit works with a lower clock frequency and operating voltage, it still consumes a lot of power, and usually in the process of playing music, the computer system needs to frequently read the music data in the hard disk, so it cannot be truly played. To achieve the purpose of saving a lot of power. In addition, when the user wants to obtain timely information when the music is playing, the portable computer displays it through a display screen that consumes a lot of power, which also cannot save power.

【发明内容】【Content of invention】

基于上述内容,有必要提供一种计算机系统,其可在系统中央处理单元、硬盘电源关闭状态下,利用耗电量较小的存储单元存储音乐文件,并采用耗电量较小的微控制单元控制音乐播放,从而大幅度减少计算机系统的耗电量,延长计算机系统电池的使用时间。Based on the above, it is necessary to provide a computer system, which can store music files with a storage unit with less power consumption when the system central processing unit and hard disk power are turned off, and adopt a micro control unit with less power consumption Control music playback, thereby greatly reducing the power consumption of the computer system and extending the battery life of the computer system.

还有必要提供一种音乐播放方法,其可在计算机系统中央处理单元、硬盘电源关闭状态下,利用耗电量较小的存储单元存储音乐文件,并采用耗电量较小的微控制单元控制音乐播放,从而大幅度减少计算机系统的耗电量,延长计算机系统电池的使用时间。It is also necessary to provide a music playing method, which can use a storage unit with less power consumption to store music files when the central processing unit of the computer system and the hard disk are powered off, and use a micro control unit with less power consumption to control the music file. Music playback, thereby greatly reducing the power consumption of the computer system and extending the battery life of the computer system.

所述计算机系统包括一中央处理单元、一硬盘、一第一显示屏、一易失性存储单元、一音乐播放单元及一微控制单元。其中非易失性存储单元用于存储音乐文件;音乐播放单元用于播放音乐文件;微控制单元用于在关机状态或省电模式下控制非易失性存储单元、音乐播放单元执行音乐播放操作。The computer system includes a central processing unit, a hard disk, a first display screen, a volatile storage unit, a music player unit and a micro control unit. Wherein the non-volatile storage unit is used to store music files; the music playback unit is used to play music files; the micro control unit is used to control the non-volatile storage unit and the music playback unit to perform music playback operations in the shutdown state or power saving mode .

该计算机系统进一步包括特征为:该计算机系统还包括一第二显示屏用于在播放音乐时显示音乐相关数据;一按键用于产生一执行音乐播放操作的播放指令;当计算机系统于关机状态接收到播放指令时,加电微控制单元、音乐播放单元、非易失性存储单元及第二显示屏执行音乐播放操作;当计算机系统于正常工作模式状态下接收到播放指令时,中央处理单元读于硬盘中音乐文件并存储于非易失性存储单元,加电微控制单元、音乐播放单元、非易失性存储单元及第二显示屏执行音乐播放操作;当计算机系统于省电模式状态下接收到播放指令,加电微控制单元、音乐播放单元、非易失性存储单元及第二显示屏执行音乐播放操作,且中央处理单元、硬盘及第一显示屏保持省电模式;当音乐播放结束时,关闭微控制单元、音乐播放单元、非易失性存储单元及第二显示屏电源。The computer system further includes a feature that: the computer system also includes a second display screen for displaying music-related data when playing music; a button is used for generating a play instruction for performing a music play operation; when the computer system is in a shutdown state and receives When the play command is received, the power-on micro-control unit, the music play unit, the non-volatile storage unit and the second display screen perform the music play operation; when the computer system receives the play command in the normal working mode, the central processing unit reads the Music files are stored in the hard disk and stored in the non-volatile storage unit, and the power-on micro-control unit, music playback unit, non-volatile storage unit and second display screen perform music playback operations; when the computer system is in the power-saving mode After receiving the play instruction, power on the micro control unit, the music player unit, the non-volatile storage unit and the second display screen to perform the music play operation, and the central processing unit, the hard disk and the first display screen remain in the power saving mode; when the music is played When finished, turn off the micro control unit, the music player unit, the non-volatile storage unit and the power supply of the second display screen.

所述音乐播放方法,可在计算机系统关机状态及省电模式下播放音乐,该计算机系统包括一中央处理单元、一硬盘及一第一显示屏,该方法包括以下步骤:(a)该计算机系统还提供一非易失性存储单元、一音乐播放单元及一微控制单元,其中非易失性存储单元用于存储音乐文件;(b)接收执行音乐播放操作的播放指令;(c)加电微控制单元、音乐播放单元及非易失性存储单元;及(d)微控制单元控制音乐播放单元播放存储于非易失性存储单元中音乐文件。The music playing method can play music in the shutdown state and power-saving mode of the computer system. The computer system includes a central processing unit, a hard disk and a first display screen. The method includes the following steps: (a) the computer system Also provide a non-volatile storage unit, a music player unit and a micro-control unit, wherein the non-volatile storage unit is used to store music files; (b) receive a playback instruction for performing music playback operations; (c) power on A micro control unit, a music playing unit and a non-volatile storage unit; and (d) the micro control unit controls the music playing unit to play music files stored in the non-volatile storage unit.

该音乐播放方法进一步包括特征:该计算机系统还提供一第二显示屏,用于当微控制单元控制音乐播放单元播放音乐时,显示音乐相关数据;当计算机系统于关机状态接收到播放指令时,执行音乐播放操作且计算机系统可保持关机状态;当计算机系统于省电模式接收到播放指令时,执行音乐播放操作且中央处理单元、硬盘及第一显示屏可保持省电模式;当计算机系统处于正常工作模式接收到播放指令时,中央处理单元读取硬盘中音乐文件并存储于非易失性存储单元;当音乐播放结束时,关闭微控制单元、音乐播放单元、非易失性存储单元及第二显示屏电源。The music playing method further includes features: the computer system also provides a second display screen for displaying music-related data when the micro-control unit controls the music playing unit to play music; when the computer system receives a play instruction in a shutdown state, Execute the music playing operation and the computer system can keep the shutdown state; when the computer system receives the playing instruction in the power saving mode, perform the music playing operation and the central processing unit, the hard disk and the first display screen can keep the power saving mode; when the computer system is in the power saving mode When the normal working mode receives the playback instruction, the central processing unit reads the music file in the hard disk and stores it in the non-volatile storage unit; when the music playback ends, the micro-control unit, music playback unit, non-volatile storage unit and Second display power.

相较于现有技术,该计算机系统及其音乐播放方法,可在系统中央处理单元、硬盘电源关闭状态下,利用耗电量较小的存储单元存储音乐文件,并采用耗电量较小的微控制单元控制音乐播放,同时亦可将音乐相关数据同样采用耗电量较小的小显示屏进行及时显示,从而大幅度减少计算机系统的耗电量,延长计算机系统电池的使用时间。Compared with the prior art, the computer system and its music playing method can use a storage unit with less power consumption to store music files when the system central processing unit and hard disk are powered off, and use a less power consumption storage unit to store music files. The micro-control unit controls the music playback, and at the same time, the music-related data can also be displayed in time on a small display with less power consumption, thereby greatly reducing the power consumption of the computer system and prolonging the battery life of the computer system.

【附图说明】【Description of drawings】

图1是一实施方式中计算机系统的硬件架构图。FIG. 1 is a hardware architecture diagram of a computer system in an embodiment.

图2是另一实施方式中计算机系统的硬件架构图。Fig. 2 is a hardware architecture diagram of a computer system in another embodiment.

图3是一实施方式中利用图1或图2计算机系统在其开机状态下进行音乐播放的方法流程图。FIG. 3 is a flow chart of a method for playing music by using the computer system in FIG. 1 or FIG. 2 in its power-on state in an embodiment.

图4是一实施方式中利用图1或图2计算机系统在其关机状态下进行音乐播放的方法流程图。FIG. 4 is a flow chart of a method for playing music using the computer system in FIG. 1 or FIG. 2 in a power-off state in an embodiment.

【具体实施方式】【Detailed ways】

如图1所示,是一实施方式中计算机系统的硬件架构图。该计算机系统1包括一中央处理单元(CPU)10、一硬盘11、一第一显示屏12、一微控制单元13、一音乐播放单元14、一非易失性存储单元15、一第二显示屏16、一按键17及一电源装置18。第二显示屏16用于在播放音乐时,及时显示音乐相关数据;非易失性存储单元15可为一Flash闪存存储单元,用于存储音乐文件;音乐播放单元14,用于播放音乐文件;微控制单元13,用于控制所述Flash闪存存储单元15、音乐播放单元14执行音乐播放操作,并显示音乐相关数据于第二显示屏。其中微控制单元13、Flash闪存存储单元15及第二显示屏16,分别相较于CPU10、硬盘11及第一显示屏12,均只需提供较小电量就可以工作,即只需耗费较小的电量。该微控制单元13、Flash闪存存储单元15及第二显示屏16,在未执行音乐播放操作时,其均保持电源关闭状态。As shown in FIG. 1 , it is a hardware architecture diagram of a computer system in an embodiment. This computer system 1 comprises a central processing unit (CPU) 10, a hard disk 11, a first display screen 12, a micro control unit 13, a music player unit 14, a non-volatile storage unit 15, a second display screen 16, a key 17 and a power supply 18. The second display screen 16 is used to display music-related data in time when playing music; the non-volatile storage unit 15 can be a Flash memory storage unit for storing music files; the music playback unit 14 is used for playing music files; The micro control unit 13 is used to control the Flash storage unit 15 and the music playing unit 14 to perform music playing operations, and display music-related data on the second display screen. Wherein the micro-control unit 13, the Flash memory storage unit 15 and the second display screen 16, compared with the CPU 10, the hard disk 11 and the first display screen 12, all only need to provide a small amount of power to work, that is, only need to consume less power. The micro control unit 13, the Flash memory storage unit 15 and the second display screen 16 all keep the power off state when no music playing operation is performed.

在本实施方式中,硬盘11存储有音乐文件,但并不局限于音乐文件,即还可存储其它文件。按键17用于供使用者操作产生一执行音乐播放操作的播放指令,该按键17可位于计算机系统1的适当位置,例如所述第二显示屏16的侧边。该按键可包括但不限制于:随机播放、暂停、播放、下一首、上一首播放、音量调节等。In this embodiment, the hard disk 11 stores music files, but it is not limited to music files, that is, other files can also be stored. The button 17 is used for the user to operate to generate a play instruction for performing a music playback operation, and the button 17 can be located at a proper position of the computer system 1 , such as the side of the second display screen 16 . The buttons may include, but are not limited to: random play, pause, play, next song, previous song play, volume adjustment, etc.

当计算机系统1于关机状态接收到该按键17产生的播放指令执行音乐播放操作:计算机系统1通过微控制单元13控制音乐播放单元14播放存储于Flash内存存储单元15内的音乐文件并显示音乐相关数据于第二显示屏16,实现音乐播放操作。When the computer system 1 receives the playback instruction generated by the button 17 in the shutdown state, the music playback operation is performed: the computer system 1 controls the music playback unit 14 to play the music file stored in the Flash memory storage unit 15 through the micro control unit 13 and displays music related information. The data is displayed on the second display screen 16 to realize the music playing operation.

当计算机系统1于正常工作状态下接收到该按键17产生的播放指令执行音乐播放操作:CPU10读取该硬盘11内指定路径下的音乐文件并存储于Flash闪存存储单元15,其中该指定路径下的音乐文件可为使用者喜爱的音乐文件;接着,计算机系统1同样通过微控制单元13控制音乐播放单元14播放存储于Flash内存存储单元15内的音乐文件并显示音乐相关数据于第二显示屏16,实现音乐播放操作;另外,当计算机系统1侦测到CPU10效能低于一预定值时,电源装置18自动停止对CPU10、硬盘11及第一显示屏12供电使其进入省电模式,此时计算机系统1仍可通过微控制单元13、音乐播发单元14、Flash闪存存储单元15及第二显示屏16执行音乐播放操作,其中侦测操作可通过一习知的CPU效能侦测软件来实现。当计算机系统1于省电模式状态下接收到该按键17产生的播放指令执行音乐播放操作:计算机系统1照样通过微控制单元13控制音乐播放单元14播放存储于Flash内存存储单元15内的音乐文件并显示音乐相关数据于第二显示屏16,实现音乐播放操作,并保持CPU10、硬盘11及第一显示屏12处于省电模式状态。When the computer system 1 receives the playback instruction generated by the button 17 under normal working conditions, the music playback operation is performed: the CPU 10 reads the music files under the specified path in the hard disk 11 and stores them in the Flash memory storage unit 15, wherein the specified path The music file can be the music file that the user likes; Then, computer system 1 also controls the music player unit 14 to play the music file stored in the Flash memory storage unit 15 by the micro control unit 13 and displays music-related data on the second display screen 16, to realize the music playing operation; in addition, when the computer system 1 detects that the performance of the CPU 10 is lower than a predetermined value, the power supply unit 18 automatically stops supplying power to the CPU 10, the hard disk 11 and the first display screen 12 to enter the power saving mode. Computer system 1 can still carry out music playing operation through micro control unit 13, music playing unit 14, Flash flash memory storage unit 15 and second display screen 16, wherein detection operation can be realized by a conventional CPU performance detection software . When the computer system 1 receives the playback instruction generated by the button 17 in the power-saving mode state and performs the music playback operation: the computer system 1 controls the music playback unit 14 to play the music file stored in the Flash memory storage unit 15 as before by the micro control unit 13 And display music-related data on the second display screen 16 to realize the music playing operation, and keep the CPU 10, the hard disk 11 and the first display screen 12 in the power saving mode.

且,在上述执行音乐播放操作过程中,当音乐播放操作执行结束时,自动关闭微控制单元13、音乐播放单元14、Flash闪存存储单元15及第二显示屏16电源。And, during the above-mentioned execution of the music playing operation, when the music playing operation ends, the power supply of the micro control unit 13, the music playing unit 14, the Flash memory storage unit 15 and the second display screen 16 is automatically turned off.

因此,通过该计算机系统1,可在中央处理单元10、硬盘11及第一显示屏12电源关闭状态下,利用耗电量较小的Flash闪存存储单元15存储音乐文件,并采用耗电量较小的微控制单元13控制音乐播放,同时将音乐相关数据同样采用耗电量较小的第二显示屏16进行及时显示,从而大幅度减少计算机系统1的耗电量,延长计算机系统1电池的使用时间。Therefore, by this computer system 1, under the power off state of central processing unit 10, hard disk 11 and first display screen 12, utilize the Flash memory storage unit 15 that power consumption is less to store music file, and adopt power consumption less The small micro-control unit 13 controls the music playback, and at the same time, the music-related data is also displayed in time using the second display screen 16 with less power consumption, thereby greatly reducing the power consumption of the computer system 1 and prolonging the battery life of the computer system 1. usage time.

如图2所示,是另一实施方式中计算机系统的硬件架构图。该图中除了所采用的连线方式于图1有区别,其余的标号相同的元件及元件的功能均与图1一致。其中图1采用的元件连线方式为所有元件共用一相同总线,而本图采用的元件连线方式是CPU10、硬盘11、第一显示屏12、微控制单元13、按键17及电源装置18共用一总线,同时微控制单元13、音乐播放单元14、Flash闪存存储单元15、第二显示屏16、按键17及电源装置19共用另一总线。As shown in FIG. 2 , it is a hardware architecture diagram of a computer system in another embodiment. In this figure, except that the connection method adopted is different from that in FIG. 1 , the other components with the same labels and their functions are consistent with those in FIG. 1 . Wherein, the component connection mode adopted in Fig. 1 is that all components share the same bus, while the component connection mode adopted in this figure is shared by the CPU 10, the hard disk 11, the first display screen 12, the micro control unit 13, the key 17 and the power supply unit 18 One bus, while the micro control unit 13, the music player unit 14, the Flash memory storage unit 15, the second display screen 16, the buttons 17 and the power supply unit 19 share another bus.

如图3所示,是一实施方式中利用图1或图2计算机系统在其开机状态下进行音乐播放的方法流程图。首先,计算机系统1接收来自按键17产生的播放指令(步骤S300)。计算机系统1通过一CPU效能侦测软件侦测当前CPU10的效能,即判断当前CPU10是否处于正常工作模式(步骤S301)。如果当前CPU10处于正常工作模式,电源装置18加电微控制单元13、音乐播放单元14、Flash闪存存储单元15及第二显示屏16(步骤S302)。CPU10读取硬盘11中指定路径下的音乐文件并存储于Flash闪存存储单元15(步骤S303)。CPU10执行其它非音乐播放操作,微控制单元13控制音乐播放单元14播放存储于Flash闪存存储单元15内音乐文件并显示音乐相关数据于第二显示屏16(S304)。当计算机系统1侦测到CPU10效能低于一预定值时,电源装置18自动停止对CPU10、硬盘11及第一显示屏12供电,使其进入省电模式(步骤S305)。当音乐播放操作执行结束时,关闭微控制单元13、音乐播放单元14、Flash闪存存储单元15及第二显示屏16电源(步骤S306)。As shown in FIG. 3 , it is a flow chart of a method for playing music by using the computer system in FIG. 1 or FIG. 2 in its power-on state in an embodiment. First, the computer system 1 receives a play command generated from the button 17 (step S300). The computer system 1 detects the performance of the current CPU 10 through a CPU performance detection software, that is, determines whether the current CPU 10 is in a normal working mode (step S301 ). If the current CPU 10 is in the normal working mode, the power supply device 18 powers up the micro control unit 13, the music player unit 14, the Flash memory storage unit 15 and the second display screen 16 (step S302). The CPU 10 reads the music files under the specified path in the hard disk 11 and stores them in the Flash memory storage unit 15 (step S303). The CPU 10 executes other non-music playback operations, and the micro-control unit 13 controls the music playback unit 14 to play music files stored in the Flash memory storage unit 15 and display music-related data on the second display screen 16 (S304). When the computer system 1 detects that the performance of the CPU 10 is lower than a predetermined value, the power supply device 18 automatically stops supplying power to the CPU 10, the hard disk 11 and the first display screen 12 to enter the power saving mode (step S305). When the music playing operation is finished, the micro control unit 13, the music playing unit 14, the Flash memory storage unit 15 and the second display screen 16 are turned off (step S306).

如果当前CPU10处于省电模式状态下,电源装置18加电微控制单元13、音乐播放单元14、Flash闪存存储单元15及第二显示屏16(步骤S307)。微控制单元13控制音乐播放单元14播放存储于Flash闪存存储单元15内音乐文件并显示音乐相关数据于第二显示屏16,同时保持CPU10、硬盘11及第一显示屏12处于省电模式(S308)。当音乐播放操作执行结束时,关闭微控制单元13、音乐播放单元14、Flash闪存存储单元15及第二显示屏16电源(步骤S309)。If the current CPU 10 is in the power saving mode, the power supply device 18 powers up the micro control unit 13, the music player unit 14, the Flash memory storage unit 15 and the second display screen 16 (step S307). Micro-control unit 13 controls music player unit 14 to play and store music files in Flash memory storage unit 15 and display music-related data in second display screen 16, while keeping CPU 10, hard disk 11 and first display screen 12 in power-saving mode (S308 ). When the music playing operation is finished, the micro control unit 13, the music playing unit 14, the Flash memory storage unit 15 and the second display screen 16 are turned off (step S309).

如图4所示,是一实施方式中利用图1或图2计算机系统在其关机状态下进行音乐播放的方法流程图。首先,接收来自按键17产生的播放指令(步骤S400)。电源装置18加电微控制单元13、音乐播放单元14、Flash闪存存储单元15及第二显示屏16(步骤S401)。微控制单元13控制音乐播放单元14播放存储于Flash闪存存储单元15内音乐文件并显示音乐相关数据于第二显示屏16(步骤S402)。当音乐播放操作执行结束时,关闭微控制单元13、音乐播放单元14、Flash闪存存储单元15及第二显示屏16电源(步骤S403)。As shown in FIG. 4 , it is a flow chart of a method for playing music by using the computer system in FIG. 1 or FIG. 2 in its power-off state in an embodiment. Firstly, a play command generated from the button 17 is received (step S400). The power supply device 18 powers up the micro control unit 13 , the music player unit 14 , the Flash memory storage unit 15 and the second display screen 16 (step S401 ). The micro control unit 13 controls the music playing unit 14 to play the music files stored in the Flash memory unit 15 and display music-related data on the second display screen 16 (step S402 ). When the music playing operation is finished, turn off the power supply of the micro control unit 13, the music playing unit 14, the Flash storage unit 15 and the second display screen 16 (step S403).

当然,不管计算机在何等状态下,音乐播放过程中,微控制单元13可以接收按键17产生的其他控制信号,例如暂停、播放、下一首、上一首播放、音量调节等,微控制单元13可执行相应的作业。Of course, no matter what state the computer is in, during the music playing process, the micro-control unit 13 can receive other control signals generated by the buttons 17, such as pause, play, next song, previous song play, volume adjustment, etc., the micro-control unit 13 corresponding jobs can be performed.

Claims (14)

1. computer system, it can carry out music, and this computer system comprises a CPU (central processing unit), a hard disk and one first display screen, and wherein the hard disk internal memory contains music file, it is characterized in that this computer system also comprises:
One non-volatile memory cells is used to store the music file that above-mentioned CPU (central processing unit) is obtained from described hard disk;
One music unit is used to play the music file in the described non-volatile memory cells; And
One micro-control unit is used for the described non-volatile memory cells of control, the operation of music unit execution music under off-mode or battery saving mode.
2. computer system as claimed in claim 1 is characterized in that, also comprises one second display screen, is used for showing the music related data when the operation of micro-control unit controls music unit execution music.
3. computer system as claimed in claim 2 is characterized in that, comprises that also a button is used to produce one and carries out the play instruction that music is operated.
4. computer system as claimed in claim 3 is characterized in that, when receiving play instruction under the off-mode, CPU (central processing unit), hard disk and first display screen can keep power down state.
5. computer system as claimed in claim 3, it is characterized in that when when normal mode of operation receives play instruction, CPU (central processing unit) reads in the hard disk music file and is stored in non-volatile memory cells, and during the music operation, this computer system can enter battery saving mode.
6. computer system as claimed in claim 3 is characterized in that, when when battery saving mode receives play instruction, CPU (central processing unit), hard disk and first display screen can keep battery saving mode.
7. computer system as claimed in claim 2 is characterized in that, when music finishes, closes micro-control unit, music unit, non-volatile memory cells and the second display screen power supply.
8. method for playing music that is applied to computer system, this computer system comprises a CPU (central processing unit), a hard disk and one first display screen, and wherein the hard disk internal memory contains music file, it is characterized in that, and this method comprises the steps:
This computer system also provides a non-volatile memory cells, a music unit and a micro-control unit, and wherein the described CPU (central processing unit) of non-volatile memory cells stored is obtained from the music file of described hard disk;
Receive the play instruction of carrying out the music operation;
Power up micro-control unit, music unit and non-volatile memory cells; And
Micro-control unit controls music unit is play and is stored in music file in the non-volatile memory cells.
9. method for playing music as claimed in claim 8 is characterized in that, this computer system also provides one second display screen, is used for when micro-control unit controls music unit playing back music, shows the music related data.
10. method for playing music as claimed in claim 9 is characterized in that, also comprises step: provide a button to be used to produce the play instruction of carrying out the music operation.
11. method for playing music as claimed in claim 10 is characterized in that, when computer system when off-mode receives play instruction, carry out music operation and computer system and keep off-mode.
12. method for playing music as claimed in claim 9 is characterized in that, when computer system when battery saving mode receives play instruction, carry out music operation and CPU (central processing unit), hard disk and first display screen and keep battery saving mode.
13. method for playing music as claimed in claim 12, it is characterized in that, also comprise step: when computer system received play instruction for being in normal mode of operation, CPU (central processing unit) read in the hard disk music file and is stored in non-volatile memory cells.
14. method for playing music as claimed in claim 10 is characterized in that, also comprises step: when music finishes, close micro-control unit, music unit, non-volatile memory cells and the second display screen power supply.
CN 200510102286 2005-12-09 2005-12-09 Computer system and music playing method Pending CN1979383A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200510102286 CN1979383A (en) 2005-12-09 2005-12-09 Computer system and music playing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200510102286 CN1979383A (en) 2005-12-09 2005-12-09 Computer system and music playing method

Publications (1)

Publication Number Publication Date
CN1979383A true CN1979383A (en) 2007-06-13

Family

ID=38130570

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200510102286 Pending CN1979383A (en) 2005-12-09 2005-12-09 Computer system and music playing method

Country Status (1)

Country Link
CN (1) CN1979383A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101866212A (en) * 2010-06-01 2010-10-20 熊文龙 Multi-mode power source managing device and managing method
CN101471116B (en) * 2007-12-27 2011-11-09 鸿富锦精密工业(深圳)有限公司 Electronic device and its energy-saving method
CN102385562A (en) * 2010-08-31 2012-03-21 联想(北京)有限公司 Method for interaction between computer and data

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101471116B (en) * 2007-12-27 2011-11-09 鸿富锦精密工业(深圳)有限公司 Electronic device and its energy-saving method
US8103890B2 (en) 2007-12-27 2012-01-24 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. Energy saving method and electronic device with optical disc reproduction apparatus
CN101866212A (en) * 2010-06-01 2010-10-20 熊文龙 Multi-mode power source managing device and managing method
CN102385562A (en) * 2010-08-31 2012-03-21 联想(北京)有限公司 Method for interaction between computer and data

Similar Documents

Publication Publication Date Title
JP4611210B2 (en) Non-main CPU / OS based operating environment
CN100568157C (en) Computer system and control method thereof
CN1442772B (en) Method for executing real-time application and implementing power saving
US20080244289A1 (en) Hybrid Operating System for Battery Powered Computing Systems
US20110185208A1 (en) Memory power reduction in a sleep state
JP5598144B2 (en) Information processing apparatus, power supply control method, and program
TWI567541B (en) Implementing a power off state in a computing device
KR20040015669A (en) Low power digital audio decoding/playing system for computing devices
TWI224728B (en) Method and related apparatus for maintaining stored data of a dynamic random access memory
JP4173810B2 (en) Low power digital audio decoding / playback system for computing devices
US20120311361A1 (en) Predictive power state transitions for information handling devices
JP2010009538A (en) Information processor
US8914657B2 (en) Mobile device chip and mobile device controlling method therefor
CN1979383A (en) Computer system and music playing method
US8140840B2 (en) Multi-operating system document editing mode for battery powered personal computing devices
US9294052B2 (en) Personal computer to output audio in a non-operative state
US20080172502A1 (en) Portable computer
CN101477468B (en) Automatic boot method of computer system
CN115061561A (en) Power saving method, device and system for equipment and storage medium
JP2003308138A (en) Electronic device and drive control method for electronic device
US20070174525A1 (en) Low power multimedia playing method for portable computer
CN100458691C (en) Method for quickly starting and executing computer multimedia playing from standby mode
US20120278604A1 (en) Control method applied to computer system in hybrid sleep mode
US20070136650A1 (en) Low power multimedia playing method for portable computer
JP4703757B2 (en) Information processing device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20070613