WO2004027609A1 - Method for achieving multifuncional embedded system - Google Patents
Method for achieving multifuncional embedded system Download PDFInfo
- Publication number
- WO2004027609A1 WO2004027609A1 PCT/CN2003/000148 CN0300148W WO2004027609A1 WO 2004027609 A1 WO2004027609 A1 WO 2004027609A1 CN 0300148 W CN0300148 W CN 0300148W WO 2004027609 A1 WO2004027609 A1 WO 2004027609A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- computer
- function key
- embedded
- function
- operating system
- 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.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4406—Loading of operating system
- G06F9/441—Multiboot arrangements, i.e. selecting an operating system to be loaded
Definitions
- the present invention relates to a method for implementing a multifunctional embedded system, and in particular, to the realization of a multifunctional embedded system that realizes multiple applications or multifunctional guidance on one system on the basis of ensuring stable and reliable operation of the embedded system. method. Background of the invention
- Embedded systems are those devices that have specific functions, small size, low power, A specially designed operating system. In order to ensure the stability and reliability of the system, an embedded system generally completes only one or one function. This caused a waste of hardware resources to some extent.
- TV is a single function.
- the user uses the TV function to use the TV function, which is very wasteful in terms of utilization.
- the corresponding functions such as photo browsing are integrated without increasing the cost, the application of the embedded system can be appropriately expanded.
- the hardware platform of the embedded system is fixed.
- the CPU frequency rises from 1G to 2G.
- the main chipset of the motherboard needs to be updated in order to provide users with better and higher performance PCs. If the TV function has been designed on the PC architecture, as the graphics card or sound card is upgraded, as long as the hardware architecture and driver are slightly changed, it can be provided to the user's TV function.
- An object of the present invention is to provide a method for implementing a multifunctional embedded system, that is, designing a multifunctional embedded system on a platform of a PC hardware architecture, and on the basis of ensuring stable and reliable operation of the embedded system, in a system Realize multiple applications on the Internet, make full use of hardware resources, and realize multi-purpose of one machine and multi-function of the system.
- Another object of the present invention is to provide a method for implementing a multifunctional embedded system. Achieve multi-functional guidance at the boot entrance.
- a method for implementing a multifunctional embedded system includes at least:
- Step A Turn on the computer
- Step B The BIOS starts to determine whether a function key is typed. If no function key is typed, the platform operating system is started and the boot is completed. If a function key is typed, the function key code is recorded while the BIOS is started;
- Step C Start the embedded operating system corresponding to the function key code according to the recorded function key code
- Step D Start the function software corresponding to the function key code.
- step A specifically includes:
- Step A1 After the computer is turned on, it automatically detects the status information when it is turned on;
- Step A2 If the computer is already in a normal working state, shut down the computer; Step A3: If the computer is in hibernation, restore the state before the computer was hibernated; Step A4: If the computer is off, start the computer.
- the aforementioned embedded operating system is one or more, and is simultaneously stored in a storage device of a computer, and the embedded operating system corresponds to one or more functional software.
- a method for implementing a multifunctional embedded system includes at least:
- Step A Turn on the computer
- Step B BIOS startup
- Step C Start the embedded operating system kernel
- Step D Determine whether a function key is typed. If no function key is typed, the platform operating system is started, and the startup is completed. If a function key is typed, the typed function key code is recorded while the BIOS is started; Step E: perform function scheduling processing according to the recorded function key code; Step F: start function software corresponding to the function key code according to the result of the function scheduling process.
- the above step A specifically includes:
- Step A1 After the computer is turned on, it automatically detects the status information when it is turned on;
- Step A2 If the computer is already in a normal working state, shut down the computer; Step A3: If the computer is in hibernation, restore the state before the computer was hibernated; Step A4: If the computer is off, start the computer.
- the scheduling process is specifically: switching between different function applications under the same embedded operating system kernel, and completely closing the old function application while starting the new function application.
- the embedded operation kernel corresponds to one or more functional software.
- the invention designs a multifunctional embedded system on the platform of the PC hardware architecture. On the basis of ensuring the stable and reliable operation of the embedded system, multiple applications are implemented on one system, the hardware resources are fully utilized, and one Multi-function of the machine and multi-function of the system; And multi-function guidance of the boot entrance is realized.
- the drawings On the basis of ensuring the stable and reliable operation of the embedded system, multiple applications are implemented on one system, the hardware resources are fully utilized, and one Multi-function of the machine and multi-function of the system; And multi-function guidance of the boot entrance is realized.
- FIG. 1 is a schematic diagram of a specific process for starting a function application in the prior art.
- FIG. 2 is a schematic diagram of another specific process for starting a function application in the prior art.
- FIG. 3 is a flowchart of an embodiment of the present invention.
- FIG. 4 is a flowchart of another embodiment of the present invention.
- FIG. 5 is a flowchart of status determination during the computer startup process according to the present invention. Mode of Carrying Out the Invention
- Example 1 Referring to FIG. 3 and FIG. 5, an implementation manner of the present invention is: setting different identifiers for different startup buttons or function keys, and at boot time, different embedded function systems are guided by judging the identifiers, that is, an embedded operating system + Corresponding function application software, and then choose to execute specific application function software according to the function key pressed.
- each functional application corresponds to an application program based on the embedded operating system
- the functional application needs to be highly coupled with the embedded operating system kernel and hardware drivers.
- the specificity of the embedded operating system for functional applications and the generality of the PC hardware platform can be considered to achieve fast startup and outstanding functional application.
- the network card and the modem hardware in the computer can be shielded, and the corresponding driver can not be connected, so that it can provide good functions in the stability of startup time.
- the storage medium is the hard disk space on the PC platform, and the hard disk space may be in a partition or in an area specially opened for corresponding applications.
- Each embedded function system is stored independently in the corresponding hard disk space. In this way, when the user proposes a new functional requirement, the newly designed embedded functional system is simply loaded into the hard disk space.
- Step 100 the computer is turned on
- Step 110 The BIOS starts and records the function key code pressed by the user.
- Step 120 if the user does not press any function key, start the platform operating system; the startup is completed;
- Step 130 Start the embedded operating system corresponding to the function key code according to the recorded function key code.
- Step 140 Start the function software corresponding to the function key code.
- the above step 100 specifically includes:
- Step 101 Automatically detect status information when the computer is turned on after the computer is turned on; Step 102: If the computer is already in a normal working state, shut down the computer; Step 103: If the computer is in a hibernation state, restore the state before the computer was hibernated; Step 104: If the computer is in a shutdown state, start the computer.
- the aforementioned embedded operating system is one or more, and is simultaneously stored in a storage device of a computer, and the embedded operating system corresponds to one or more functional software.
- the BIOS reads the first sector information of track 0 of the hard disk and loads it into memory for execution, thereby booting the normal operating system, in order to implement applications under the multi-embedded operating system. Therefore, the BIOS must be appropriately modified, that is, the judgment is made after the computer self-test is completed.
- the startup program code set at another fixed position of the hard disk (for example, the end sector of the hard disk) ( Bootload program).
- Bootload program reads the registered function code and then goes to the hard disk storage location of the corresponding functional system to guide the corresponding embedded system kernel.
- the system chooses to directly read the register in the BIOS without user intervention at this time. Function code. In the storage area of the hard disk, the data of these corresponding embedded function systems are stored independently.
- This method is mostly used in embedded operating systems with large differences in embedded applications.
- the requirements for the drivers and related supporting programs required to run the applications are different.
- one application is a multimedia-oriented application that requires multiple hardware support such as a sound card, video card, remote control, etc .
- another application is only practical as a dumb terminal.
- the above methods can not only guarantee the performance of the system, but also take into account the differences in application performance and control methods.
- an embedded operating system is set for all functional applications, and a phase design is directly performed on the embedded operating system.
- Corresponding functional applications are relatively independent, but because they are based on a unified embedded operating system platform at the same time, they are universal and can be switched and directly used by the internal direct dispatcher.
- each functional application is highly coupled with the embedded operating system kernel and hardware drivers.
- the specificity of the embedded operating system for functional applications and the generality of the PC hardware platform can be considered to achieve fast startup and outstanding functional application.
- the network card and the modem hardware in the computer can be shielded, and the corresponding driver can not be connected, so that it can provide good functions in the stability of startup time.
- the storage medium is the hard disk space on the PC platform, and the hard disk space may be in a partition or an area specially opened for corresponding applications.
- Each embedded function system is stored independently in the corresponding hard disk space. In this way, when the user proposes a new functional requirement, the newly designed embedded functional system is simply loaded into the hard disk space.
- Step 200 the computer is turned on
- Step 210 The BIOS starts and records the function key code pressed by the user.
- Step 220 Start the embedded operating system kernel
- Step 230 if the user does not press any function key, start the platform operating system; the startup ends;
- Step 240 perform function scheduling processing according to the recorded function key codes
- Step 250 Start the function software corresponding to the function key code according to the result of the function scheduling process.
- the above step 200 specifically includes:
- Step 201 After the computer is turned on, it automatically detects status information when it is turned on;
- Step 202 If the computer is already in a normal working state, shut down the computer; Step 203: If the computer is in the hibernation state, restore the state before the computer is in hibernation; Step 204: If the computer is in the off state, start the computer.
- the scheduling process is specifically: switching between different function applications under the same embedded operating system kernel, and completely closing the old function application while starting the new function application.
- the embedded operation kernel corresponds to one or more functional software.
- the method is the same as the method in Embodiment 1, except that:
- the bootload program does not select multiple operating systems, but only passes the boot parameter table in the BIOS (the parameter form is mainly transmitted through the content shared with a segment from 0000 to F000), and starts the embedded operating system.
- the dynamic form can include the following specific content:
- the kernel of the embedded operating system When the kernel of the embedded operating system is started, it will immediately start a main control program, which will judge the parameter values in the data sheet and start different applications, so as to achieve the multifunctionality of the embedded operating system at the application level.
- application For example: You can replace the first user process in the system with another program (the / sbin / init program in Linux), and use it to Judge the logo of the program startup. You can also design a monitoring program. The system starts the monitoring program first, and then it determines which application to start.
- This method is more suitable for functional applications of similar types, or even requiring instant switching at the user level; as long as a simple monitoring program and a corresponding application startup driver are compiled, it can be implemented.
- a simple monitoring program and a corresponding application startup driver are compiled, it can be implemented.
- the two applications of multimedia playback and photo browsing they all have the same requirements on the system hardware, namely: sound card, video card and remote control; in this case, it is reasonable to implement multiple applications in the same operating system;
- the user can make the computer appear as a multimedia machine or an electronic photo album at any time.
- the storage structure of this method is relatively simple, which is equivalent to an operating system carrying multiple application programs.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
Description
多功能嵌入系统的实现方法 Implementation method of multifunctional embedded system
技术领域 Technical field
本发明涉及一种多功能嵌入式系统的实现方法, 特别涉及一种在保 证嵌入式系统稳定、 可靠运行的基础上, 在一个系统上实现多个应用或 多功能引导的多功能嵌入系统的实现方法。 发明背景 The present invention relates to a method for implementing a multifunctional embedded system, and in particular, to the realization of a multifunctional embedded system that realizes multiple applications or multifunctional guidance on one system on the basis of ensuring stable and reliable operation of the embedded system. method. Background of the invention
计算机技术的发展, 使得计算机和家用电器的融合越来越明显。 在 现有的计算机中适当地加设相应的硬件, 或运行一些软件, 就可以提供 家用电器的功能, 例如: 播放影碟、 音碟、 照片浏览、 阅读电子图书、 游戏娱乐等等。 The development of computer technology makes the integration of computers and household appliances more and more obvious. Appropriately adding corresponding hardware to existing computers or running some software can provide the functions of household appliances, such as: playing video discs, audio discs, photo browsing, reading e-books, game entertainment, and so on.
但是, 使用计算机来执行家用电器的功能, 还有一些不方便之处。 因为, 通常情况下, 计算机的开机操作比较漫长, 而且启动相应的家电 功能还需要更多的操作。 相对于只提供功能比较单一, 但是操作简单的 一般家电而言, 计算机的操作是比较烦瑣的。 参见图 1 , 其为一般的用 户使用计算机播放电视节目时必不可少的操作步骤。 However, using a computer to perform the functions of a home appliance has some inconveniences. Because, usually, the computer's startup operation is relatively long, and more operations are needed to start the corresponding home appliance function. Compared to general appliances that provide only a single function but are simple to operate, the operation of a computer is more cumbersome. Referring to FIG. 1, it is an indispensable operation step when a general user uses a computer to play a television program.
有鉴于上述的问题, 业界经过不断的努力, 提出了比较有效的解决 上述问题的技术方案: 在计算机中加装嵌入式操作系统; 并使得在计算 机启动嵌入式操作系统后自动启动预先设定或装载好的功能应用软件, 可以使用户减少很多操作, 使得用户可以象使用普通家用电器一样操作 计算机提供相应的家电功能。 参见图 2, 其为改进以后的计算机播放电 视节目时的操作, 可见: 一旦开机以后, 用户可以不做更多的操作, 就 可以直接观看电视节目了。 In view of the above problems, the industry has put forward more effective technical solutions to solve the above problems after continuous efforts: install an embedded operating system in the computer; and make the computer automatically start the preset or The loaded function application software can reduce a lot of operations for the user, so that the user can operate the computer like a normal household appliance to provide corresponding home appliance functions. Referring to FIG. 2, which is an improved operation of the computer when playing a television program, it can be seen that once the computer is turned on, the user can directly watch the television program without further operations.
嵌入式系统是指那些为具有特定功能的、 小尺寸、 低功耗、 专用设 备而特别设计的操作系统。 为了保证系统的稳定性、 可靠性, 一般的一 个嵌入式系统只完成一个或一种功能。 这在某种程度上造成了硬件资源 的浪费。 Embedded systems are those devices that have specific functions, small size, low power, A specially designed operating system. In order to ensure the stability and reliability of the system, an embedded system generally completes only one or one function. This caused a waste of hardware resources to some extent.
如果在考虑应用相关的基础上, 在相同的硬件上, 实现多个嵌入式 应用, 就可以大大提高硬件的使用效率。 例如: 电视机是一种单一的功 能。 用户使用电视机就是使用其电视功能, 从利用率上讲是很浪费的。 如果在不增加成本的基础上, 将照片浏览等相应的功能集成进去, 就可 以适当地拓宽嵌入式系统的应用。 If multiple embedded applications are implemented on the same hardware on the basis of considering the application, the use efficiency of the hardware can be greatly improved. For example: TV is a single function. The user uses the TV function to use the TV function, which is very wasteful in terms of utilization. If the corresponding functions such as photo browsing are integrated without increasing the cost, the application of the embedded system can be appropriately expanded.
一般的嵌入系统的硬件平台是固定的, 例如, CPU频率从 1G上升 到 2G, 主板的主要芯片组需更新, 才能为用户提供更好用, 更高性能 的 PC。 如果已在 PC架构上设计了电视的功能, 那么随着显卡或者声卡 的升级, 只要在硬件架构上和驱动程序上作稍加的改动就可以提供给用 户电视的功能。 Generally, the hardware platform of the embedded system is fixed. For example, the CPU frequency rises from 1G to 2G. The main chipset of the motherboard needs to be updated in order to provide users with better and higher performance PCs. If the TV function has been designed on the PC architecture, as the graphics card or sound card is upgraded, as long as the hardware architecture and driver are slightly changed, it can be provided to the user's TV function.
在 PC架构的硬件平台上开发嵌入操作系统则是一全新的概念, 将 开放的硬件架构与相对封闭的软件系统相结合是全新的课题, 同时也为 后续的发展提供了可能。 一般的电脑只是平台性电脑与操作系统平台的 统一体, 而使电脑实现一般电脑 +功能电脑的统一, 目前还没有相应的 技术。 发明内容 The development of an embedded operating system on a hardware platform with a PC architecture is a completely new concept. Combining an open hardware architecture with a relatively closed software system is a completely new topic, and it also provides the possibility for subsequent development. Ordinary computers are just a unified body of platform computers and operating system platforms, and the computers are unified by general computers + functional computers. At present, there is no corresponding technology. Summary of the Invention
本发明的目的在于提供一种多功能嵌入系统的实现方法, 即: 在 PC 硬件架构的平台上设计一种多功能嵌入式系统, 在保证嵌入式系统稳 定、 可靠运行的基础上, 在一个系统上实现多个应用, 充分利用硬件资 源, 实现一机多用和系统的多功能。 An object of the present invention is to provide a method for implementing a multifunctional embedded system, that is, designing a multifunctional embedded system on a platform of a PC hardware architecture, and on the basis of ensuring stable and reliable operation of the embedded system, in a system Realize multiple applications on the Internet, make full use of hardware resources, and realize multi-purpose of one machine and multi-function of the system.
本发明的另一发明目的是提供一种多功能嵌入系统的实现方法, 以 实现开机入口的多功能引导。 Another object of the present invention is to provide a method for implementing a multifunctional embedded system. Achieve multi-functional guidance at the boot entrance.
本发明的目的是这样实现的: The object of the present invention is achieved as follows:
一种多功能嵌入系统的实现方法, 至少包括: A method for implementing a multifunctional embedded system includes at least:
步骤 A: 计算机开机; Step A: Turn on the computer;
步骤 B: BIOS启动, 判断是否键入了功能键, 如果没有键入任何 功能键,则启动平台操作系统,启动结束;如果键入了功能键,则在 BIOS 启动的同时记录键入的功能键码; Step B: The BIOS starts to determine whether a function key is typed. If no function key is typed, the platform operating system is started and the boot is completed. If a function key is typed, the function key code is recorded while the BIOS is started;
步骤 C: 根据记录的功能键码, 启动该功能键码对应的嵌入式操作 系统; Step C: Start the embedded operating system corresponding to the function key code according to the recorded function key code;
步骤 D: 启动功能键码对应的功能软件。 Step D: Start the function software corresponding to the function key code.
上述的步骤 A具体包括: The above step A specifically includes:
步驟 A1 : 计算机开机后自动检测开机时的状态信息; Step A1: After the computer is turned on, it automatically detects the status information when it is turned on;
步骤 A2: 如果计算机已经为正常工作状态, 则关闭计算机; 步驟 A3: 如果计算机为休眠状态, 则恢复计算机休眠前的状态; 步骤 A4: 如果计算机为关机状态, 则启动计算机。 Step A2: If the computer is already in a normal working state, shut down the computer; Step A3: If the computer is in hibernation, restore the state before the computer was hibernated; Step A4: If the computer is off, start the computer.
上述的嵌入式操作系统为一个或一个以上,并同时存放在计算机的 存储装置中, 该嵌入式操作系统对应一个或一个以上的功能软件。 一种多功能嵌入系统的实现方法, 至少包括: The aforementioned embedded operating system is one or more, and is simultaneously stored in a storage device of a computer, and the embedded operating system corresponds to one or more functional software. A method for implementing a multifunctional embedded system includes at least:
步骤 A: 计算机开机; Step A: Turn on the computer;
步骤 B: BIOS启动; Step B: BIOS startup;
步骤 C: 启动嵌入式操作系统内核; Step C: Start the embedded operating system kernel;
步骤 D: 判断是否键入了功能键, 如果没有键入任何功能键, 则启 动平台操作系统, 启动结束; 如果键入了功能键, 则在 BIOS启动的同 时记录键入的功能键码; 步骤 E: 根据记录的功能键码进行功能调度处理; 步骤 F:根据功能调度处理的结果,启动功能键码对应的功能软件。 上述的步骤 A具体包括: Step D: Determine whether a function key is typed. If no function key is typed, the platform operating system is started, and the startup is completed. If a function key is typed, the typed function key code is recorded while the BIOS is started; Step E: perform function scheduling processing according to the recorded function key code; Step F: start function software corresponding to the function key code according to the result of the function scheduling process. The above step A specifically includes:
步骤 A1 : 计算机开机后自动检测开机时的状态信息; Step A1: After the computer is turned on, it automatically detects the status information when it is turned on;
步骤 A2: 如果计算机已经为正常工作状态, 则关闭计算机; 步骤 A3: 如果计算机为休眠状态, 则恢复计算机休眠前的状态; 步骤 A4: 如果计算机为关机状态, 则启动计算机。 Step A2: If the computer is already in a normal working state, shut down the computer; Step A3: If the computer is in hibernation, restore the state before the computer was hibernated; Step A4: If the computer is off, start the computer.
所述的调度处理具体为:对同一嵌入操作系统内核下的不同功能应 用进行切换, 在启动新功能应用的同时将旧功能应用完全关闭。 The scheduling process is specifically: switching between different function applications under the same embedded operating system kernel, and completely closing the old function application while starting the new function application.
所述的嵌入式操作内核对应一个或一个以上的功能软件。 The embedded operation kernel corresponds to one or more functional software.
本发明在 PC硬件架构的平台上设计一种多功能嵌入式系统, 在保 证嵌入式系统稳定、可靠运行的基础上,在一个系统上实现了多个应用, 充分利用了硬件资源, 实现了一机多用和系统的多功能; 并且实现了开 机入口的多功能引导。 附图简要说明 The invention designs a multifunctional embedded system on the platform of the PC hardware architecture. On the basis of ensuring the stable and reliable operation of the embedded system, multiple applications are implemented on one system, the hardware resources are fully utilized, and one Multi-function of the machine and multi-function of the system; And multi-function guidance of the boot entrance is realized. Brief description of the drawings
图 1为现有技术启动功能应用的一个具体流程示意图。 FIG. 1 is a schematic diagram of a specific process for starting a function application in the prior art.
图 2为现有技术启动功能应用的另一具体流程示意图。 FIG. 2 is a schematic diagram of another specific process for starting a function application in the prior art.
图 3为本发明一实施例的流程图。 FIG. 3 is a flowchart of an embodiment of the present invention.
图 4为本发明另一实施例的流程图。 FIG. 4 is a flowchart of another embodiment of the present invention.
图 5为本发明计算机开机过程中状态判断的流程图。 实施本发明的方式 FIG. 5 is a flowchart of status determination during the computer startup process according to the present invention. Mode of Carrying Out the Invention
下面结合附图对本发明进行详细描述。 The present invention is described in detail below with reference to the drawings.
实施例 1 : 参见图 3、 图 5, 本发明的一个实现途径为: 为不同的启动按扭即 功能键设置不同的标识, 在引导时, 通过判断标识而引导不同的嵌入功 能系统, 即: 嵌入式操作系统 +相应的功能应用软件, 然后再根据按下 的功能键选择执行具体的应用功能软件。 Example 1: Referring to FIG. 3 and FIG. 5, an implementation manner of the present invention is: setting different identifiers for different startup buttons or function keys, and at boot time, different embedded function systems are guided by judging the identifiers, that is, an embedded operating system + Corresponding function application software, and then choose to execute specific application function software according to the function key pressed.
由于每一功能应用的实现对应一基于嵌入式操作系统的应用程序, 因此需使该功能应用与嵌入式操作系统内核、 硬件的驱动进行高度耦 合。 在设计上可以考虑嵌入式操作系统对功能应用的专一性与对 PC硬 件平台的通用性相结合, 实现启动快速, 功能突出的功能应用。 例如: 针对电视功能, 可以将计算机中的网卡, 调制解调硬件屏蔽掉, 可以不 挂接相应的驱动, 这样就可以在启动时间稳定性上提供良好的功能。 Since the implementation of each functional application corresponds to an application program based on the embedded operating system, the functional application needs to be highly coupled with the embedded operating system kernel and hardware drivers. In the design, the specificity of the embedded operating system for functional applications and the generality of the PC hardware platform can be considered to achieve fast startup and outstanding functional application. For example, for the TV function, the network card and the modem hardware in the computer can be shielded, and the corresponding driver can not be connected, so that it can provide good functions in the stability of startup time.
对应于上述的嵌入功能系统,其存储介质为 PC平台上的硬盘空间, 该硬盘空间可以在一分区内或者在专门为相应的应用所开辟的区域。 各 个嵌入功能系统相互独立地存储在相应的硬盘空间中。 这样的就可以在 用户提出新的功能需求时, 简单地将新设计的嵌入功能系統加载到硬盘 空间。 Corresponding to the above-mentioned embedded function system, the storage medium is the hard disk space on the PC platform, and the hard disk space may be in a partition or in an area specially opened for corresponding applications. Each embedded function system is stored independently in the corresponding hard disk space. In this way, when the user proposes a new functional requirement, the newly designed embedded functional system is simply loaded into the hard disk space.
实现上述的具体技术方案包括下的步骤: Realizing the above specific technical solution includes the following steps:
步骤 100: 计算机开机; Step 100: the computer is turned on;
步骤 110: BIOS启动, 并记录用户按下的功能键码; Step 110: The BIOS starts and records the function key code pressed by the user.
步骤 120: 如果用户没有按下任何功能键, 则启动平台操作系统; 启动结束; Step 120: if the user does not press any function key, start the platform operating system; the startup is completed;
步骤 130: 根据记录的功能键码, 启动该功能键码对应的嵌入式操 作系统; Step 130: Start the embedded operating system corresponding to the function key code according to the recorded function key code.
步骤 140: 启动功能键码对应的功能软件。 Step 140: Start the function software corresponding to the function key code.
上述的步驟 100具体包括: The above step 100 specifically includes:
步骤 101 : 计算机开机后自动检测开机时的状态信息; 步骤 102: 如果计算机已经为正常工作状态, 则关闭计算机; 步骤 103: 如果计算机为休眠状态, 则恢复计算机休眠前的状态; 步骤 104: 如果计算机为关机状态, 则启动计算机。 Step 101: Automatically detect status information when the computer is turned on after the computer is turned on; Step 102: If the computer is already in a normal working state, shut down the computer; Step 103: If the computer is in a hibernation state, restore the state before the computer was hibernated; Step 104: If the computer is in a shutdown state, start the computer.
上述的嵌入式操作系统为一个或一个以上,并同时存放在计算机的 存储装置中, 该嵌入式操作系统对应一个或一个以上的功能软件。 The aforementioned embedded operating system is one or more, and is simultaneously stored in a storage device of a computer, and the embedded operating system corresponds to one or more functional software.
通常 BIOS在进行完系统的正常自检后, 读取硬盘 0磁道第一个扇 区信息, 并加载到内存中执行, 从而引导正常操作系统, 为了实现多嵌 入式操作系统下的应用。 因此必须 BIOS进行适当的修改, 即: 在计算 机自检完毕后进行判断, 若用户期望启动嵌入式系统, 则读取设定在硬 盘其它固定位置(例如: 硬盘末尾扇区) 的启动程序代码 (Bootload程 序), Bootload程序则通过读取寄存的功能代码再到相应功能系统的硬盘 存储位置去弓 )导对应嵌入式系统内核, 系统选择在这时候不需要用户的 干预而直接读取 BIOS中寄存的功能代码。 在硬盘的存储区, 这些相应 嵌入式功能系统的数据独立存储。 Generally, after the normal self-test of the system is completed, the BIOS reads the first sector information of track 0 of the hard disk and loads it into memory for execution, thereby booting the normal operating system, in order to implement applications under the multi-embedded operating system. Therefore, the BIOS must be appropriately modified, that is, the judgment is made after the computer self-test is completed. If the user desires to start the embedded system, read the startup program code set at another fixed position of the hard disk (for example, the end sector of the hard disk) ( Bootload program). The bootload program reads the registered function code and then goes to the hard disk storage location of the corresponding functional system to guide the corresponding embedded system kernel. The system chooses to directly read the register in the BIOS without user intervention at this time. Function code. In the storage area of the hard disk, the data of these corresponding embedded function systems are stored independently.
在 Bootload程序启动完毕某嵌入式操作系统内核后,所有的工作就 如同一般嵌入式操作系统一样了,可运行相应功能应用程序。对于用户, 所看到的仅是当前的嵌入系统。 After the bootload program finishes the kernel of an embedded operating system, all the work is the same as the general embedded operating system, and the corresponding functional applications can be run. For users, all they see is the current embedded system.
本方法多用于各嵌入式应用中差别较大,对运行应用所需驱动和相 关支持程序的需求都各不相同的嵌入式操作系统。 例如: 一种应用是面 向多媒体应用, 它需要声卡、 显卡、 遥控器等多种硬件支持; 而另一种 应用仅作为哑终端实用。 上述的方法既可以保证系统的性能, 又可以兼 顾到应用表现形式和控制方式的不同。 This method is mostly used in embedded operating systems with large differences in embedded applications. The requirements for the drivers and related supporting programs required to run the applications are different. For example: one application is a multimedia-oriented application that requires multiple hardware support such as a sound card, video card, remote control, etc .; another application is only practical as a dumb terminal. The above methods can not only guarantee the performance of the system, but also take into account the differences in application performance and control methods.
实施例 2: Example 2:
参见图 4、 图 5, 本发明的另一个实现途径为: 首先, 针对所有的 功能应用设置一嵌入式操作系统, 并在该嵌入式操作系统上直接设计相 应的功能应用, 功能应用之间相对独立, 但由于同时基于统一的嵌入式 操作系统平台, 所以具有通用性, 可以通过内部直接调度程序来实现功 能应用之间的切换和直接使用。 Referring to FIG. 4 and FIG. 5, another implementation manner of the present invention is: First, an embedded operating system is set for all functional applications, and a phase design is directly performed on the embedded operating system. Corresponding functional applications are relatively independent, but because they are based on a unified embedded operating system platform at the same time, they are universal and can be switched and directly used by the internal direct dispatcher.
同样, 每一功能应用都与嵌入式操作系统内核、硬件的驱动进行高 度耦合。在设计上可以考虑嵌入式操作系统对功能应用的专一性与对 PC 硬件平台的通用性相结合, 实现启动快速, 功能突出的功能应用。例如: 针对电视功能, 可以将计算机中的网卡, 调制解调硬件屏蔽掉, 可以不 挂接相应的驱动, 这样就可以在启动时间稳定性上提供良好的功能。 Similarly, each functional application is highly coupled with the embedded operating system kernel and hardware drivers. In the design, the specificity of the embedded operating system for functional applications and the generality of the PC hardware platform can be considered to achieve fast startup and outstanding functional application. For example, for the TV function, the network card and the modem hardware in the computer can be shielded, and the corresponding driver can not be connected, so that it can provide good functions in the stability of startup time.
对应于上述的嵌入功能系统,其存储介质为 PC平台上的硬盘空间 , 该硬盘空间可以是一分区内或者专门为相应的应用所开辟的区域。 各个 嵌入功能系统相互独立地存储在相应的硬盘空间中。 这样就可以在用户 提出新的功能需求时, 简单地将新设计的嵌入功能系统加载到硬盘空 间。 Corresponding to the above-mentioned embedded function system, the storage medium is the hard disk space on the PC platform, and the hard disk space may be in a partition or an area specially opened for corresponding applications. Each embedded function system is stored independently in the corresponding hard disk space. In this way, when the user proposes a new functional requirement, the newly designed embedded functional system is simply loaded into the hard disk space.
实现上述的具体技术方案包括下的步骤: Realizing the above specific technical solution includes the following steps:
步骤 200: 计算机开机; Step 200: the computer is turned on;
步驟 210: BIOS启动, 并记录用户按下的功能键码; Step 210: The BIOS starts and records the function key code pressed by the user.
步骤 220: 启动嵌入式操作系统内核; Step 220: Start the embedded operating system kernel;
步骤 230: 如果用户没有按下任何功能键, 则启动平台操作系统; 启动结束; Step 230: if the user does not press any function key, start the platform operating system; the startup ends;
步骤 240: 根据记录的功能键码进行功能调度处理; Step 240: perform function scheduling processing according to the recorded function key codes;
步驟 250: 根据功能调度处理的结果, 启动功能键码对应的功能软 件。 Step 250: Start the function software corresponding to the function key code according to the result of the function scheduling process.
上述的步骤 200具体包括: The above step 200 specifically includes:
步骤 201 : 计算机开机后自动检测开机时的状态信息; Step 201: After the computer is turned on, it automatically detects status information when it is turned on;
步骤 202: 如果计算机已经为正常工作状态, 则关闭计算机; 步骤 203: 如果计算机为休眠状态, 则恢复计算机休眠前的状态; 步骤 204: 如果计算机为关机状态, 则启动计算机。 Step 202: If the computer is already in a normal working state, shut down the computer; Step 203: If the computer is in the hibernation state, restore the state before the computer is in hibernation; Step 204: If the computer is in the off state, start the computer.
所述的调度处理具体为:对同一嵌入操作系统内核下的不同功能应 用进行切换, 在启动新功能应用的同时将旧功能应用完全关闭。 The scheduling process is specifically: switching between different function applications under the same embedded operating system kernel, and completely closing the old function application while starting the new function application.
所述的嵌入式操作内核对应一个或一个以上的功能软件。 The embedded operation kernel corresponds to one or more functional software.
本方法在 BIOS启动时, 与实施例 1的方法相同, 不同之处在于: When the BIOS is started, the method is the same as the method in Embodiment 1, except that:
Bootload程序不进行多操作系统的选择, 而只传递 BIOS中启动参数表 (参数表单主要是通过与 0000至 F000 中的一段共享的内容来进行传 递), 并启动嵌入式操作系统。 The bootload program does not select multiple operating systems, but only passes the boot parameter table in the BIOS (the parameter form is mainly transmitted through the content shared with a segment from 0000 to F000), and starts the embedded operating system.
通过动态数据的表单这一数据通道, 直接建立了 BIOS与嵌入式操 作系统之间的数据交互。 该动态表单可以包括如下的具体内容: Through the data channel of dynamic data form, the data interaction between the BIOS and the embedded operating system is directly established. The dynamic form can include the following specific content:
嵌入式操作系统在内核启动完毕时, 会紧接着启动一个主控制程 序, 该主控制程序去判断数据表单中的参数值, 启动不同的应用, 从而 在应用级上实现嵌入式操作系统的多功能应用。 例如: 可以用其他的程 序替换系统中的第一个用户进程(在 Linux中是 /sbin/init程序), 由它来 进行程序启动的标志判断; 也可以设计一监控程序, 系统先启动监控程 序, 然后由它来决定该启动那个应用。 When the kernel of the embedded operating system is started, it will immediately start a main control program, which will judge the parameter values in the data sheet and start different applications, so as to achieve the multifunctionality of the embedded operating system at the application level. application. For example: You can replace the first user process in the system with another program (the / sbin / init program in Linux), and use it to Judge the logo of the program startup. You can also design a monitoring program. The system starts the monitoring program first, and then it determines which application to start.
本方法比较适合类型相近、甚至需要在用户级上即时切换的功能应 用; 只要编制简单的监控程序和相应的应用启动驱动程序就可以实现。 例如: 在多媒体播放和照片浏览两应用中, 它们对系统硬件都有相同的 要求, 即: 声卡、 显卡和遥控器; 在这种情况下, 在同一操作系统中实 现多个应用比较合理的; 用户随时可以让计算机表现为一多媒体机或电 子相册。 本方法的存 结构比较筒单,相当于一操作系统携带多个应用程序。 This method is more suitable for functional applications of similar types, or even requiring instant switching at the user level; as long as a simple monitoring program and a corresponding application startup driver are compiled, it can be implemented. For example: In the two applications of multimedia playback and photo browsing, they all have the same requirements on the system hardware, namely: sound card, video card and remote control; in this case, it is reasonable to implement multiple applications in the same operating system; The user can make the computer appear as a multimedia machine or an electronic photo album at any time. The storage structure of this method is relatively simple, which is equivalent to an operating system carrying multiple application programs.
Claims
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| AU2003211671A AU2003211671A1 (en) | 2002-09-18 | 2003-02-25 | Method for achieving multifuncional embedded system |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN02130688.5 | 2002-09-18 | ||
| CN 02130688 CN1251071C (en) | 2002-09-18 | 2002-09-18 | Method for realizing multe-function embedding system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2004027609A1 true WO2004027609A1 (en) | 2004-04-01 |
Family
ID=32000390
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2003/000148 Ceased WO2004027609A1 (en) | 2002-09-18 | 2003-02-25 | Method for achieving multifuncional embedded system |
Country Status (3)
| Country | Link |
|---|---|
| CN (1) | CN1251071C (en) |
| AU (1) | AU2003211671A1 (en) |
| WO (1) | WO2004027609A1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7831850B2 (en) | 2007-03-29 | 2010-11-09 | Microsoft Corporation | Hybrid operating systems for battery powered computing systems |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100461076C (en) * | 2005-06-22 | 2009-02-11 | 英华达(上海)电子有限公司 | Method for real-time processing of system keys on embedded devices |
| TWI268434B (en) | 2005-07-22 | 2006-12-11 | Mitac Tech Corporation | Method of quick activation of grouping function selection in multimedia playback system capable of starting the corresponding multimedia playback system quickly |
| TW200713051A (en) | 2005-09-16 | 2007-04-01 | Mitac Technology Corp | Method for fast starting functional item of computer device by loading application program image file |
| CN101354649B (en) * | 2007-07-27 | 2011-02-16 | 佛山市顺德区顺达电脑厂有限公司 | Start-up method of computer multiple operating systems |
| CN102681615A (en) * | 2011-03-14 | 2012-09-19 | 任少华 | Multifunctional computer |
| CN102970413B (en) * | 2012-10-26 | 2014-11-12 | 广东欧珀移动通信有限公司 | Operation method of smart phone |
| CN103473102B (en) * | 2013-09-18 | 2016-12-07 | 中标软件有限公司 | The system start-up bootstrap technique of multiple operating system and instrument |
| CN109901844B (en) * | 2017-12-11 | 2022-08-23 | 中标软件有限公司 | Guiding method suitable for different processors |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1356809A (en) * | 2001-12-30 | 2002-07-03 | 北京长信嘉信息技术有限公司 | Digital household appliance network system |
| CN1402125A (en) * | 2001-08-22 | 2003-03-12 | 英业达股份有限公司 | Method and system for directly starting personal digital assistant operating system with hardware components |
-
2002
- 2002-09-18 CN CN 02130688 patent/CN1251071C/en not_active Expired - Fee Related
-
2003
- 2003-02-25 WO PCT/CN2003/000148 patent/WO2004027609A1/en not_active Ceased
- 2003-02-25 AU AU2003211671A patent/AU2003211671A1/en not_active Abandoned
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1402125A (en) * | 2001-08-22 | 2003-03-12 | 英业达股份有限公司 | Method and system for directly starting personal digital assistant operating system with hardware components |
| CN1356809A (en) * | 2001-12-30 | 2002-07-03 | 北京长信嘉信息技术有限公司 | Digital household appliance network system |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7831850B2 (en) | 2007-03-29 | 2010-11-09 | Microsoft Corporation | Hybrid operating systems for battery powered computing systems |
Also Published As
| Publication number | Publication date |
|---|---|
| CN1484143A (en) | 2004-03-24 |
| AU2003211671A1 (en) | 2004-04-08 |
| CN1251071C (en) | 2006-04-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101606128B (en) | Supporting multiple operating systems in media devices | |
| US7890741B2 (en) | Low power digital audio decoding/playing system for computing devices | |
| JP2004164545A (en) | System and method of immediate boot and switching of application of computer system | |
| US20050246561A1 (en) | Computer power mangement architecture and method thereof | |
| CN101526901B (en) | Method and device for viewing files in computer | |
| US20100205419A1 (en) | Direct computing experience | |
| EP1896936A2 (en) | System and method for rapid boot of secondary operating system | |
| JP2010262621A (en) | Computer system with power supply control, and power supply control method | |
| WO2004027609A1 (en) | Method for achieving multifuncional embedded system | |
| JP2007035010A (en) | Method for initializing instance and executing computer program by loading operation system core program from high-speed data access memory | |
| JP4485498B2 (en) | Computer and power saving method thereof | |
| TWI559227B (en) | Computer system having two built-in operating devices that can be dynamically powered on or powered off | |
| US7555643B2 (en) | Method for express execution of computer function options by loading program image file | |
| US20050114717A1 (en) | Operating method of a multimedia real-time system | |
| CN101093416A (en) | Computer and its energy-saving method | |
| CN100349097C (en) | Power Management Architecture and Method for Computer System | |
| JP2007052764A (en) | Multimedia computer system with dual-cpu and its multimedia instant play method | |
| US20070079111A1 (en) | Activating method of computer multimedia function | |
| US7401214B2 (en) | Method for executing computer function options with intelligent memory for computer-based multimedia system | |
| CN100565455C (en) | Multimedia computer system and method for quickly starting system to play multimedia data | |
| TWI298447B (en) | ||
| CN1737758B (en) | Method for starting computer multimedia function | |
| CN101223502A (en) | System and method for fast booting secondary operating system | |
| JP2004070690A (en) | Method and device for reproducing multimedia file in semi-power on state of computer | |
| TW201220057A (en) | Dual operation mode computer system and operation method thereof |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| AK | Designated states |
Kind code of ref document: A1 Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CO CR CU CZ DE DK DM DZ EC EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NO NZ OM PH PL PT RO RU SC SD SE SG SK SL TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW |
|
| AL | Designated countries for regional patents |
Kind code of ref document: A1 Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PT SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application | ||
| 122 | Ep: pct application non-entry in european phase | ||
| NENP | Non-entry into the national phase |
Ref country code: JP |
|
| WWW | Wipo information: withdrawn in national office |
Country of ref document: JP |