TWI461916B - Method for switching dual operating systems and electronic device using the same - Google Patents

Method for switching dual operating systems and electronic device using the same Download PDF

Info

Publication number
TWI461916B
TWI461916B TW101134872A TW101134872A TWI461916B TW I461916 B TWI461916 B TW I461916B TW 101134872 A TW101134872 A TW 101134872A TW 101134872 A TW101134872 A TW 101134872A TW I461916 B TWI461916 B TW I461916B
Authority
TW
Taiwan
Prior art keywords
operating system
peripheral device
switching
setting command
electronic device
Prior art date
Application number
TW101134872A
Other languages
Chinese (zh)
Other versions
TW201335761A (en
Inventor
Tung Sheng Ting
Original Assignee
Wistron Corp
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 Wistron Corp filed Critical Wistron Corp
Priority to CN201210385394.8A priority Critical patent/CN103294545B/en
Priority to US13/731,904 priority patent/US9052920B2/en
Publication of TW201335761A publication Critical patent/TW201335761A/en
Application granted granted Critical
Publication of TWI461916B publication Critical patent/TWI461916B/en

Links

Landscapes

  • Power Sources (AREA)
  • Hardware Redundancy (AREA)
  • Telephone Function (AREA)
  • Selective Calling Equipment (AREA)

Description

切換雙作業系統之方法以及使用該方法之電子裝置Method for switching dual operating system and electronic device using the same

本發明係關於雙作業系統架構,更係關於切換雙作業系統之技術。The present invention relates to a dual operating system architecture, and more to a technique for switching dual operating systems.

可攜式電子裝置,包括各式各樣的筆記型電腦及智慧型手機在內,已然成為現代人生活上不可或缺的用品。Portable electronic devices, including a wide range of notebook computers and smart phones, have become indispensable items in modern life.

傳統上,可攜式電子裝置多半採用微軟公司的視窗作業系統(Windows),然而,現今以Linux為基礎的Android作業系統亦逐漸普及。由於前述兩種作業系統在處理不同的工作上具有不同的效能,為了兼具兩者之長,可將兩種作業系統整合於單一電子裝置之中,而此單一電子裝置中有以單一中央處理器方式統籌負責二作業系統之指令運作,也有以雙中央處理器方式各負責一作業系統之指令運作。一般而言,在此類雙作業系統之架構下,同一時間只會讓單一作業系統運作,並讓另一作業系統進入休眠狀態,藉以在雙作業系統共享系統資源的同時,避免彼此間發生不必要的衝突。Traditionally, portable electronic devices have mostly used Microsoft's Windows operating system (Windows). However, today's Linux-based Android operating systems are becoming more popular. Since the two operating systems have different performances in handling different jobs, in order to combine the two, the two operating systems can be integrated into a single electronic device, and the single electronic device has a single central processing. The mode of the device is responsible for the operation of the command of the two operating systems, and the operation of the operating system of each operating system in the form of a dual central processor. In general, under the architecture of such a dual-operation system, only a single operating system can be operated at the same time, and another operating system can be put into a sleep state, so that the dual operating system can share system resources while avoiding each other. Necessary conflicts.

然而,值得注意的是,當在進行作業系統之切換工作時,一作業系統在進入休眠狀態過程中,其驅動程式會對周邊裝置發出各種命令與設定,而這些命令與設定可能會與另一正在進行初始化而亦欲對周邊裝置進行驅動的作業系統所發出之命令與設定相衝突。如此不僅可能導致週邊裝置功能異常或初始化過程失敗,嚴重時甚至亦有會癱瘓整個系統之運作之風險。However, it is worth noting that when the operating system is switched, when an operating system enters the sleep state, its driver will issue various commands and settings to the peripheral devices, and these commands and settings may be related to another The command issued by the operating system that is being initialized and is also intended to drive the peripheral device conflicts with the setting. Not only may this cause the peripheral device to malfunction or the initialization process fails, but in severe cases there may even be a risk of operating the entire system.

本發明提供一種切換雙作業系統之方法。該方法包括:在一第一作業系統切換至一第二作業系統後,阻斷該第一作業系統下達任一設定命令至複數個周邊裝置。The present invention provides a method of switching a dual operating system. The method includes: after switching the first operating system to a second operating system, blocking the first operating system to issue any setting command to the plurality of peripheral devices.

本發明另提供一種電子裝置,包括:一第一同步管理器,運作於一第一作業系統之下;一第二同步管理器,運作於一第二作業系統之下;一控制器,連接至該第一同步管理器、該第二同步管理器以及複數個周邊裝置,用以在一第一作業系統切換至一第二作業系統後,阻斷該第一作業系統下達任一設定命令至複數個周邊裝置。The present invention further provides an electronic device comprising: a first synchronization manager operating under a first operating system; a second synchronization manager operating under a second operating system; a controller coupled to The first synchronization manager, the second synchronization manager, and the plurality of peripheral devices are configured to block the first operating system from issuing any setting command to the plural after the first operating system is switched to a second operating system Peripheral devices.

下文為介紹本發明之最佳實施例。各實施例用以說明本發明之原理,但非用以限制本發明。本發明之範圍當以後附之權利要求項為準。The following is a description of the preferred embodiment of the invention. The examples are intended to illustrate the principles of the invention, but are not intended to limit the invention. The scope of the invention is defined by the appended claims.

為了解決習知技術中雙作業系統架構在切換作業系統時常遭遇到的系統衝突問題,本發明提供一種新的切換雙作業系統之方法,以及運用該方法的雙作業系統架構。In order to solve the system conflict problem frequently encountered in switching the operating system in the dual operating system architecture in the prior art, the present invention provides a new method for switching the dual operating system, and a dual operating system architecture using the method.

雙作業系統架構Dual operating system architecture

第1圖係依照本發明一實施例可運作雙作業系統架構之電子裝置示意圖。本發明之電子裝置100可為各種筆記型電腦或智慧型手機,其包括:一第一作業系統110、一第二作業系統120、一控制器130以及周邊裝置140。其中,舉例而言,第一作業系統110可以是視窗作業系統(Windows),而第二作業系統120可以是Android作業系統,然而,本發明可應用在各種作業系統之間,不必以此 例為限。本發明之控制器130,舉例而言,係一獨立運作的內嵌式控制器(Embedded Controller,EC),其連接至上述兩作業系統110、120以及周邊裝置140,可用以依據兩作業系統110及120所下達之命令對各個周邊裝置140進行操控。本發明之周邊裝置140包括各種輸入輸出設備,如:鍵盤、滑鼠、觸控板(touchpad)、軌跡球(trackball)、軌跡點(trackpoint)、顯示器、喇叭、耳機、攝影機等,可用以執行各種特定功能,第1圖將不予一一繪示。值得注意的是,本發明之兩作業系統110及120可透過獨立運作的控制器130共用這些周邊裝置140。1 is a schematic diagram of an electronic device capable of operating a dual operating system architecture in accordance with an embodiment of the present invention. The electronic device 100 of the present invention can be a variety of notebook computers or smart phones, including: a first operating system 110, a second operating system 120, a controller 130, and peripheral devices 140. For example, the first operating system 110 may be a Windows operating system (Windows), and the second operating system 120 may be an Android operating system. However, the present invention can be applied between various operating systems without The example is limited. The controller 130 of the present invention is, for example, an independently operated embedded controller (EC) connected to the two operating systems 110 and 120 and the peripheral device 140, and can be used according to the two operating systems 110. And the commands issued by 120 control each peripheral device 140. The peripheral device 140 of the present invention includes various input and output devices, such as a keyboard, a mouse, a touchpad, a trackball, a trackpoint, a display, a speaker, a headset, a camera, etc., which can be used to execute Various specific functions will not be shown in Figure 1. It should be noted that the two operating systems 110 and 120 of the present invention can share these peripheral devices 140 through the independently operating controllers 130.

在一理想實施例中,該第一作業系統110與該第二作業系統120之下分別運作了一第一同步管理器112以及一第二同步管理器122。此兩同步管理器112及122可專門用來協調兩作業系統110及120間之切換,以利兩者間資訊同步。在此實施例中,兩同步管理器112及122不僅分別連接至控制器130,更以一傳輸介面150互相連接。舉例而言,此傳輸介面150係一通用串列匯流排(Universal Serial Bus,USB)介面。透過此一USB傳輸介面150,將有利於兩作業系統110及120間直接互通訊息,降低兩作業系統發生衝突之機率。此例中之USB傳輸介面僅為方便說明,在其他實施例中不限於其他種類的傳輸介面。In a preferred embodiment, the first operating system 110 and the second operating system 120 respectively operate a first synchronization manager 112 and a second synchronization manager 122. The two synchronization managers 112 and 122 can be specifically used to coordinate the switching between the two operating systems 110 and 120 to facilitate information synchronization between the two. In this embodiment, the two synchronization managers 112 and 122 are not only connected to the controller 130 but also connected to each other by a transmission interface 150. For example, the transmission interface 150 is a Universal Serial Bus (USB) interface. Through the USB transmission interface 150, the direct communication between the two operating systems 110 and 120 is facilitated, and the probability of collision between the two operating systems is reduced. The USB transmission interface in this example is for convenience of description only, and is not limited to other kinds of transmission interfaces in other embodiments.

本發明之前述雙作業系統架構電子裝置110可用以執行本發明之切換雙作業系統之方法,下文將配合圖示詳述本發明之裝置以及其所執行之方法的各個步驟。The aforementioned dual operating system architecture electronics 110 of the present invention can be used to perform the method of the present invention for switching a dual operating system, and the various steps of the apparatus of the present invention and the methods performed thereby will be described in detail below with reference to the drawings.

切換雙作業系統之方法-第一實施例Method of switching dual operating system - first embodiment

第2圖係依據本發明第一實施例之切換雙作業系統之方法流程圖。請一併參照第1圖及第2圖。本發明之方法200係執行於前述電子裝置100中,包括由第一作業系統110下第一同步管理器112所執行的流程200A、由第二作業系統120下第二同步管理器122所執行的流程200B,以及由控制器130所執行的流程200C。為方便說明,流程200A、200B及200C將分別繪示於不同區塊。值得注意的是,雖然此實施例係以第一作業系統切換至第二作業系統做說明,但由第二作業系統切換回第一作業系統亦可採用相同方法,本文將不另外贅述。2 is a flow chart showing a method of switching a dual operation system according to a first embodiment of the present invention. Please refer to Figure 1 and Figure 2 together. The method 200 of the present invention is implemented in the foregoing electronic device 100, including the process 200A performed by the first synchronization manager 112 under the first operating system 110, and the second synchronization manager 122 performed by the second operating system 120. Flow 200B, and flow 200C performed by controller 130. For convenience of description, the processes 200A, 200B, and 200C will be depicted in different blocks, respectively. It should be noted that although this embodiment is described by switching the first operating system to the second operating system, the same method may be used to switch back to the first operating system by the second operating system, and no further details are provided herein.

第一作業系統110所執行的流程200A包括:在步驟S202中,開機並透過控制器130對周邊裝置140進行初始化作業;在步驟S204中,當收到使用者切換作業系統之命令時(例如使用者按下指定的鍵盤按鍵或是熱鍵,或是操作螢幕畫面中特定之使用者介面元件),透過控制器130將第二作業系統啟動(或喚醒),再透過傳輸介面150互通訊息,接著再透過控制器130將系統切換至第二作業系統;以及在步驟S210中,進入休眠模式。本發明之前述步驟S210的「休眠模式」較一般的「待機模式」而言更有助於整個電子裝置100進一步節省電能。The process 200A executed by the first operating system 110 includes: in step S202, booting up and initializing the peripheral device 140 through the controller 130; in step S204, when receiving a command from the user to switch the operating system (for example, using Pressing a specified keyboard button or hotkey, or operating a specific user interface component in the screen, the second operating system is activated (or awakened) by the controller 130, and then communicated through the transmission interface 150, and then The system is further switched to the second operating system through the controller 130; and in step S210, the sleep mode is entered. The "sleep mode" of the foregoing step S210 of the present invention contributes more to the entire electronic device 100 to further save power than the general "standby mode".

第二作業系統120所執行的流程200B包括:在步驟S206中,取得控制器130對周邊裝置140之控制權,藉以完成作業系統之切換;以及在步驟S212後對周邊裝置140(重新)進行初始化作業。由於不同的作業系統分別以不同的驅動程式驅動相同的硬體,因此,每當作業系統切換 時,皆必須重新初始化各個周邊裝置,藉以確保周邊裝置能夠正常運作。The flow 200B executed by the second operating system 120 includes: in step S206, obtaining control of the peripheral device 140 by the controller 130, thereby completing the switching of the operating system; and initializing the peripheral device 140 (re) after the step S212 operation. Since different operating systems drive the same hardware with different drivers, each time the operating system switches At the same time, each peripheral device must be reinitialized to ensure that the peripheral device can operate normally.

必須注意到,當該第一作業系統110進入休眠模式過程中,其各個驅動程式仍會透過控制器130對周邊裝置140下達設定命令,儘管下達命令的頻率低於一般初始化程序,但若不對該等設定命令加以管制,仍相當容易與第二作業系統所發出的設定命令相衝突,導致週邊裝置功能異常。此外,第二作業系統在切換後重新初始化的動作也常因為前述設定命令相衝突之緣故而失敗。有鑑於此,本發明之控制器130執行以下步驟以因應之。It should be noted that when the first operating system 110 enters the sleep mode, its respective drivers still issue a setting command to the peripheral device 140 through the controller 130, although the frequency of issuing the command is lower than the general initialization program, but if not If the setting command is controlled, it is still quite easy to conflict with the setting command issued by the second operating system, resulting in abnormal function of the peripheral device. In addition, the re-initialization of the second operating system after switching is also often caused by the conflict of the aforementioned setting commands. In view of this, the controller 130 of the present invention performs the following steps to cope with it.

在第一實施例中之步驟S208中,控制器130在得知第一作業110系統切換至一第二作業系統120後,會將該休眠的第一作業系統110所發出的任何設定命令在下達至周邊裝置140前即予以阻斷(亦即予以忽略而不執行)。第3圖即步驟S208中之設定命令S1的訊號示意圖,用以說明前述控制器130如何阻斷設定訊號S1。此步驟S208將有助於確保周邊裝置140只會單方面接收到第二作業系統120所下達之設定命令,避免同時接受雙作業系統之控制而發生衝突。In step S208 in the first embodiment, after learning that the first job 110 system is switched to a second operating system 120, the controller 130 will release any setting commands issued by the dormant first operating system 110. It is blocked before the peripheral device 140 (ie, ignored and not executed). FIG. 3 is a schematic diagram of the signal of the setting command S1 in step S208 for explaining how the controller 130 blocks the setting signal S1. This step S208 will help to ensure that the peripheral device 140 will only unilaterally receive the set command issued by the second operating system 120, avoiding the conflict of simultaneous control of the dual operating system.

然而,儘管前述阻斷第一作業系統110之設定命令送達至周邊裝置140之做法可防止週邊功能異常,並避免第二作業系統120之初始化作業失敗,但由於第一作業系統110遲未接獲到周邊裝置140的任何回應,所以當系統再次切換回第一作業系統110時,喚醒的速度將變得十分緩慢或甚至失敗。因此,本發明提供一更佳的第二實施例, 詳見下文。However, although the foregoing method of blocking the setting of the first operating system 110 to the peripheral device 140 prevents the peripheral function from being abnormal and avoids the initial operation of the second operating system 120, the first operating system 110 is late. Any response to the peripheral device 140, so when the system switches back to the first operating system 110 again, the speed of the wakeup will become very slow or even fail. Accordingly, the present invention provides a better second embodiment, See below for details.

切換雙作業系統之方法-第二實施例Method of switching dual operating system - second embodiment

第4圖係依據本發明第二實施例之切換雙作業系統之方法流程圖。請一併參照第1圖及第4圖。如同前述第一實施例,本發明之方法400係執行於前述電子裝置100中,包括由第一作業系統110下第一同步管理器112所執行的流程400A、由第二作業系統120下第二同步管理器122所執行的流程400B,以及由控制器130所執行的流程400C。第一作業系統110所執行的流程400A包括:在步驟S402中,透過控制器130對周邊裝置140進行初始化作業;在步驟S404中,當收到使用者切換作業系統之命令時,透過控制器130將第二作業系統啟動(或喚醒),再透過傳輸介面150互通訊息,接著再透過控制器130將系統切換至第二作業系統;以及在步驟S410中,進入休眠模式。第二作業系統120所執行的流程400B包括:在步驟S406中,取得控制器130對周邊裝置140之控制權,藉以完成作業系統之切換;以及在步驟S412後對周邊裝置140(重新)進行初始化作業。在步驟S408中,控制器130在得知第一作業110系統切換至一第二作業系統120後,會將該(休眠過程中的)第一作業系統110所發出的任何設定命令在下達至周邊裝置140前即予以阻斷(亦即予以忽略而不執行)。Figure 4 is a flow chart showing a method of switching a dual operating system in accordance with a second embodiment of the present invention. Please refer to Figure 1 and Figure 4 together. As in the foregoing first embodiment, the method 400 of the present invention is implemented in the foregoing electronic device 100, including the flow 400A executed by the first synchronization manager 112 under the first operating system 110, and the second operation by the second operating system 120. The process 400B performed by the synchronization manager 122, and the process 400C performed by the controller 130. The flow 400A executed by the first operating system 110 includes: in step S402, the peripheral device 140 is initialized by the controller 130; in step S404, when the user receives a command to switch the operating system, the controller 130 is transmitted through the controller 130. The second operating system is started (or awakened), and then communicated through the transmission interface 150, and then the system is switched to the second operating system through the controller 130; and in the step S410, the sleep mode is entered. The flow 400B executed by the second operating system 120 includes: in step S406, obtaining control of the peripheral device 140 by the controller 130, thereby completing the switching of the operating system; and initializing the peripheral device 140 (re) after the step S412 operation. In step S408, after learning that the first job 110 system switches to a second operating system 120, the controller 130 will release any setting commands issued by the first operating system 110 (during the dormant process) to the periphery. The device 140 is blocked (i.e., ignored and not executed).

與前述第一實施例不同的是,第二實施例更包括步驟S414。在步驟S414中,控制器130將進一步依照儲存於其中的一應答表160(如第5圖所示)回應該第一作業系統110對該周邊裝置140所下達之該設定命令,其中,應答表160 記錄了各種設定命令S1以及該周邊裝置預設回應該第一作業系統110的各種回應訊息S1’。第5圖即步驟S414中設定命令S1、回應訊息S1’以及應答表160之示意圖。在此實施例中,控制器130係透過模擬成周邊裝置140之方式持續回應第一作業系統110所發出的任何設定命令,藉以確保第一作業系統110一旦自休眠狀態回復(resume)時不會因先前設定命令的無效傳送而有所延遲,達到使兩作業系統間的切換更加順暢之目的。Different from the foregoing first embodiment, the second embodiment further includes step S414. In step S414, the controller 130 further responds to the setting command issued by the first operating system 110 to the peripheral device 140 in accordance with a response table 160 (shown in FIG. 5) stored therein, wherein the response table 160 Various setting commands S1 are recorded and the peripheral device presets various response messages S1' to the first operating system 110. Fig. 5 is a diagram showing the setting command S1, the response message S1', and the response table 160 in step S414. In this embodiment, the controller 130 continuously responds to any setting commands issued by the first operating system 110 by way of simulating the peripheral device 140, thereby ensuring that the first operating system 110 does not recover from the sleep state. There is a delay due to the invalid transmission of the previously set command, so as to achieve a smoother switching between the two operating systems.

本發明雖以較佳實施例揭露如上,然其並非用以限定本發明的範圍,任何熟習此項技藝者,在不脫離本發明之精神和範圍內,當可做些許的更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。The present invention has been described above with reference to the preferred embodiments thereof, and is not intended to limit the scope of the present invention, and the invention may be modified and modified without departing from the spirit and scope of the invention. The scope of the invention is defined by the scope of the appended claims.

110‧‧‧第一作業系統110‧‧‧First operating system

120‧‧‧第二作業系統120‧‧‧Second operating system

130‧‧‧控制器130‧‧‧ Controller

140‧‧‧周邊裝置140‧‧‧ peripheral devices

112‧‧‧第一同步管理器112‧‧‧First Synchronization Manager

122‧‧‧第二同步管理器122‧‧‧Second Sync Manager

150‧‧‧USB傳輸介面150‧‧‧USB transmission interface

S1‧‧‧設定命令S1‧‧‧Setting order

S1’‧‧‧回應訊息S1’‧‧‧Response message

200‧‧‧方法200‧‧‧ method

200A-200C‧‧‧流程200A-200C‧‧‧ Process

S202-S212‧‧‧步驟S202-S212‧‧‧Steps

S402-S414‧‧‧步驟S402-S414‧‧‧Steps

第1圖係依照本發明一實施例可運作雙作業系統架構之電子裝置示意圖。1 is a schematic diagram of an electronic device capable of operating a dual operating system architecture in accordance with an embodiment of the present invention.

第2圖係依據本發明第一實施例之切換雙作業系統之方法流程圖。2 is a flow chart showing a method of switching a dual operation system according to a first embodiment of the present invention.

第3圖即步驟S208中設定命令之訊號示意圖。Figure 3 is a schematic diagram of the signal of the set command in step S208.

第4圖係依據本發明第二實施例之切換雙作業系統之方法流程圖。Figure 4 is a flow chart showing a method of switching a dual operating system in accordance with a second embodiment of the present invention.

第5圖係步驟S414中設定命令、回應訊息以及應答表之示意圖。Figure 5 is a schematic diagram of the setting command, the response message, and the response table in step S414.

200‧‧‧方法200‧‧‧ method

200A-200C‧‧‧流程200A-200C‧‧‧ Process

S202-S212‧‧‧步驟S202-S212‧‧‧Steps

Claims (11)

一種切換雙作業系統之方法,適用於安裝有至少二個作業系統之一電子裝置,包括下列步驟:啟動並執行一第一作業系統,該第一作業系統對至少一周邊裝置進行初始化作業;啟動並切換至一第二作業系統;在該第一作業系統切換至該第二作業系統過程中,阻斷該第一作業系統下達一設定命令至該周邊裝置;以及使該第二作業系統取得對該周邊裝置之控制權並予以初始化,其中所述阻斷該第一作業系統下達一設定命令至該周邊裝置之步驟係在該第一作業系統切換至該第二作業系統過程中,依照一應答表回應該第一作業系統對該周邊裝置所下達之該設定命令,其中該應答表記錄該設定命令以及該周邊裝置預設回應該第一作業系統之一回應訊息。 A method for switching a dual operation system, which is suitable for installing an electronic device of at least two operating systems, comprising the steps of: starting and executing a first operating system, the first operating system initializing at least one peripheral device; And switching to a second operating system; during the switching of the first operating system to the second operating system, blocking the first operating system to issue a setting command to the peripheral device; and causing the second operating system to obtain a pair The control of the peripheral device is initialized, wherein the step of blocking the first operating system to issue a setting command to the peripheral device is in the process of switching the first operating system to the second operating system, according to a response The table back should be the setting command issued by the first operating system to the peripheral device, wherein the answering table records the setting command and the peripheral device presets a response message to the first operating system. 如申請專利範圍第1項所述之切換雙作業系統之方法,其中所述阻斷該第一作業系統下達一設定命令至該周邊裝置之步驟係為對該第一作業系統之該設定命令予以忽略而不執行。 The method for switching a dual operation system according to claim 1, wherein the step of blocking the first operating system to issue a setting command to the peripheral device is to set the setting command of the first operating system Ignore and not execute. 如申請專利範圍第1項所述之切換雙作業系統之方法,其中,該第一作業系統在切換至該第二作業系統後進入一休眠模式。 The method of switching a dual operating system according to claim 1, wherein the first operating system enters a sleep mode after switching to the second operating system. 如申請專利範圍第1項所述之切換雙作業系統之方法,其中,該第一作業系統係透過一傳輸介面直接傳輸一通知訊息至該第二作業系統以切換至該第二作業系統。 The method of switching a dual operating system according to claim 1, wherein the first operating system directly transmits a notification message to the second operating system through a transmission interface to switch to the second operating system. 一種電子裝置,安裝有一第一作業系統與一第二作 業系統,並具有至少一周邊裝置,包括:一第一同步管理器,運作於該第一作業系統之下;一第二同步管理器,運作於該第二作業系統之下;以及一控制器,連接至該第一同步管理器、該第二同步管理器以及該至少一周邊裝置,用以在該第一作業系統切換至該第二作業系統過程中,阻斷該第一作業系統下達一設定命令至該周邊裝置,其中所述阻斷該第一作業系統下達一設定命令至該周邊裝置之步驟係在該第一作業系統切換至該第二作業系統過程中,依照一應答表回應該第一作業系統對該周邊裝置所下達之該設定命令,其中該應答表記錄該設定命令以及該周邊裝置預設回應該第一作業系統之一回應訊息。 An electronic device with a first operating system and a second operation And a system having at least one peripheral device, comprising: a first synchronization manager operating under the first operating system; a second synchronization manager operating under the second operating system; and a controller Connecting to the first synchronization manager, the second synchronization manager, and the at least one peripheral device, to block the first operating system from being released during the switching of the first operating system to the second operating system Setting a command to the peripheral device, wherein the step of blocking the first operating system to issue a setting command to the peripheral device is in response to a response table in the process of switching the first operating system to the second operating system The setting command issued by the first operating system to the peripheral device, wherein the response table records the setting command and the peripheral device presets a response message to the first operating system. 如申請專利範圍第5項所述之電子裝置,其中所述阻斷該第一作業系統下達一設定命令至該周邊裝置係為該控制器對該第一作業系統之該設定命令予以忽略而不執行。 The electronic device of claim 5, wherein the blocking the first operating system to issue a setting command to the peripheral device is that the controller ignores the setting command of the first operating system without carried out. 如申請專利範圍第5項所述之電子裝置,其中,該第一作業系統在切換至該第二作業系統前初始化該周邊裝置。 The electronic device of claim 5, wherein the first operating system initializes the peripheral device before switching to the second operating system. 如申請專利範圍第5項所述之電子裝置,其中,該第一作業系統在切換至該第二作業系統後進入一休眠模式。 The electronic device of claim 5, wherein the first operating system enters a sleep mode after switching to the second operating system. 如申請專利範圍第5項所述之電子裝置,其中,在控制器阻斷該第一作業系統下達一設定命令至該周邊裝置 後,該第二作業系統初始化該周邊裝置。 The electronic device of claim 5, wherein the controller blocks the first operating system to issue a setting command to the peripheral device Thereafter, the second operating system initializes the peripheral device. 如申請專利範圍第5項所述之電子裝置,更包括:一傳輸介面,連接於該第一同步管理器及該第二同步管理器之間;其中,該第一同步管理器係透過該傳輸介面直接傳輸一通知訊息至該第二同步管理器以切換至該第二作業系統。 The electronic device of claim 5, further comprising: a transmission interface connected between the first synchronization manager and the second synchronization manager; wherein the first synchronization manager transmits the transmission The interface directly transmits a notification message to the second synchronization manager to switch to the second operating system. 如申請專利範圍第5項所述之電子裝置,其中該傳輸介面為一通用串列匯流排(Universal Serial Bus,USB)介面。 The electronic device of claim 5, wherein the transmission interface is a universal serial bus (USB) interface.
TW101134872A 2012-02-23 2012-09-24 Method for switching dual operating systems and electronic device using the same TWI461916B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201210385394.8A CN103294545B (en) 2012-02-23 2012-10-12 Method for switching dual operating systems and electronic device
US13/731,904 US9052920B2 (en) 2012-02-23 2012-12-31 Electronic devices and methods for switching between dual operating systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US201261602569P 2012-02-23 2012-02-23

Publications (2)

Publication Number Publication Date
TW201335761A TW201335761A (en) 2013-09-01
TWI461916B true TWI461916B (en) 2014-11-21

Family

ID=49627410

Family Applications (3)

Application Number Title Priority Date Filing Date
TW101134872A TWI461916B (en) 2012-02-23 2012-09-24 Method for switching dual operating systems and electronic device using the same
TW101134873A TWI457786B (en) 2012-02-23 2012-09-24 Method for sharing encryption settings in dual operating systems, and electronic device using the same
TW101134871A TWI482021B (en) 2012-02-23 2012-09-24 Method for sharing peripheral devices in dual operating systems, and electronic device using the same

Family Applications After (2)

Application Number Title Priority Date Filing Date
TW101134873A TWI457786B (en) 2012-02-23 2012-09-24 Method for sharing encryption settings in dual operating systems, and electronic device using the same
TW101134871A TWI482021B (en) 2012-02-23 2012-09-24 Method for sharing peripheral devices in dual operating systems, and electronic device using the same

Country Status (1)

Country Link
TW (3) TWI461916B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015135320A1 (en) * 2014-03-13 2015-09-17 北京智酷计算机有限公司 Keyboard device having operating system and computer assembly
TWI512535B (en) * 2014-03-26 2015-12-11 Moxa Inc Encryption and decryption method for operating system kernel
CN105404547A (en) * 2014-09-12 2016-03-16 阿里巴巴集团控股有限公司 Fusion method and device of operating system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200712875A (en) * 2005-09-07 2007-04-01 Mitac Technology Corp Method for fast switching between different operating systems in computer device with multiple operating systems
TW200841710A (en) * 2007-02-06 2008-10-16 Microsoft Corp Supporting multiple operating systems in media devices
TW201025138A (en) * 2008-11-28 2010-07-01 Ibm Real-time signal handling in guest and host operating systems

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4233585B2 (en) * 2006-07-25 2009-03-04 株式会社エヌ・ティ・ティ・ドコモ Peripheral switching device and peripheral switching control device
US7925900B2 (en) * 2007-01-26 2011-04-12 Microsoft Corporation I/O co-processor coupled hybrid computing device
TWI393114B (en) * 2007-09-05 2013-04-11 Htc Corp Mehtod for gradually adjusting screen brightness when switching operating system
US8645715B2 (en) * 2007-09-11 2014-02-04 International Business Machines Corporation Configuring host settings to specify an encryption setting and a key label referencing a key encryption key to use to encrypt an encryption key provided to a storage drive to use to encrypt data from the host
JP4631974B2 (en) * 2009-01-08 2011-02-16 ソニー株式会社 Information processing apparatus, information processing method, program, and information processing system
TW201106267A (en) * 2009-08-13 2011-02-16 Acer Inc Operation system data update method and electronic apparatus having multiple operation systems
US8589952B2 (en) * 2010-06-30 2013-11-19 Palm, Inc. Dual operating system operation and configuration

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200712875A (en) * 2005-09-07 2007-04-01 Mitac Technology Corp Method for fast switching between different operating systems in computer device with multiple operating systems
TW200841710A (en) * 2007-02-06 2008-10-16 Microsoft Corp Supporting multiple operating systems in media devices
TW201025138A (en) * 2008-11-28 2010-07-01 Ibm Real-time signal handling in guest and host operating systems

Also Published As

Publication number Publication date
TWI482021B (en) 2015-04-21
TW201335760A (en) 2013-09-01
TWI457786B (en) 2014-10-21
TW201335788A (en) 2013-09-01
TW201335761A (en) 2013-09-01

Similar Documents

Publication Publication Date Title
CN103294545B (en) Method for switching dual operating systems and electronic device
TWI544337B (en) Dual-operating-system architecture for sharing usb devices, and method for sharing usb devices in a dual-operating-system architecture
TWI477970B (en) Mode switch method of electronic device and assocaited electronic device
US8892935B2 (en) Dynamic bus clock rate adjusting method and device
CN111142711B (en) Firmware configuration method and device, storage medium and mobile terminal
TW201432567A (en) Booting method and electronic device
US9201814B2 (en) Electronic devices and methods for sharing peripheral devices in dual operating systems
TW201923606A (en) I3C in-band interrupts directed to multiple execution environments
WO2021109875A1 (en) Method and apparatus for implementing game application, storage medium, and electronic device
US9898073B2 (en) Updating firmware and configuration of a computer system by a system management controller during power on reset state
CN107506251B (en) Method and device for resetting intelligent equipment
TWI461916B (en) Method for switching dual operating systems and electronic device using the same
JP2015170292A (en) semiconductor device
WO2020134566A1 (en) Control method for doze mode of mobile terminal, storage medium and mobile terminal
CN103164355B (en) A kind of changing method and electronic equipment
WO2022135060A1 (en) Terminal device, nfc clock control method, nfc module, and medium
JP5102528B2 (en) Information processing apparatus and control method
JP2015222505A (en) Electronic apparatus
WO2018090735A1 (en) Method and apparatus for switching channels in smart interaction tablet
WO2023036255A1 (en) Adaptive screen parameter configuration method and apparatus, storage medium, and terminal device
US20150301834A1 (en) Sensing data reading device and method
US20200028957A1 (en) Control method and device for sensors of mobile terminal, storage medium and mobile terminal
WO2014106494A1 (en) Method and device for setting touch vibration function of touch screen
TWI455027B (en) Method for switching between two system platforms and electronic apparatus supporting two system platforms
WO2013179954A1 (en) Electronic device