TW201335760A - Method for sharing peripheral devices in dual operating systems, and electronic device using the same - Google Patents
Method for sharing peripheral devices in dual operating systems, and electronic device using the same Download PDFInfo
- Publication number
- TW201335760A TW201335760A TW101134871A TW101134871A TW201335760A TW 201335760 A TW201335760 A TW 201335760A TW 101134871 A TW101134871 A TW 101134871A TW 101134871 A TW101134871 A TW 101134871A TW 201335760 A TW201335760 A TW 201335760A
- Authority
- TW
- Taiwan
- Prior art keywords
- operating system
- peripheral device
- set value
- dual
- electronic device
- Prior art date
Links
Landscapes
- Hardware Redundancy (AREA)
- Power Sources (AREA)
- Telephone Function (AREA)
- Selective Calling Equipment (AREA)
Abstract
Description
本發明係關於雙作業系統架構,更係關於雙作業系統共用周邊裝置之技術。 The present invention relates to a dual operating system architecture, and more to a technique in which a dual operating system shares peripheral devices.
可攜式電子裝置,包括各式各樣的筆記型電腦及智慧型手機在內,已然成為現代人生活上不可或缺的用品。 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 described above 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. 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 standby or hibernation state, so that the dual operating system can share system resources while avoiding each other. An unnecessary conflict has occurred.
儘管如此,當切換作業系統時,由於切換後的作業系統無法得知原作業系統是否對周邊裝置之設定做過變更,因而造成周邊裝置在不同的作業系統下會出現設定不一致的現象。舉例而言,螢幕的亮度及喇叭的音量皆可能會因為切換作業系統的關係而驟然改變。如此不僅帶來不良的使用經驗,不斷調整設定也造成使用上的不便。 However, when the operating system is switched, the operating system after the switching cannot know whether the original operating system has changed the setting of the peripheral device, and thus the peripheral device may be inconsistent in setting under different operating systems. For example, the brightness of the screen and the volume of the speaker may suddenly change due to the switching of the operating system. This not only brings bad experience, but constantly adjusts the settings and causes inconvenience in use.
本發明提供一種雙作業系統共用周邊裝置之方法。該方法包括:在一使用者調整一周邊裝置之一設定值後以及一第一作業系統切換至一第二作業系統之前,將該設定值 由該第一作業系統傳送至該第二作業系統。 The present invention provides a method of sharing a peripheral device with a dual operating system. The method includes: after a user adjusts a set value of a peripheral device and before the first operating system switches to a second operating system, the set value Transferred by the first operating system to the second operating system.
本發明另提供一種電子裝置。該裝置包括:一第一同步管理器,運作於一第一作業系統之下,用以在一使用者調整一周邊裝置之一設定值後以及該第一作業系統切換至一第二作業系統之前,將該設定值由該第一作業系統傳送至該第二作業系統。 The invention further provides an electronic device. The device includes: a first synchronization manager operating under a first operating system for adjusting a setting of a peripheral device after a user adjusts a setting of a peripheral device and before switching the first operating system to a second operating system And transmitting the set value to the second operating system by the first operating system.
下文為介紹本發明之最佳實施例。各實施例用以說明本發明之原理,但非用以限制本發明。本發明之範圍當以後附之權利要求項為準。 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 problem that the dual-operation system architecture in the prior art often encounters the peripheral device setting unsynchronized when switching the operating system, the present invention provides a special dual-operation system architecture, and provides a dual-operation system, a new shared peripheral device. method.
第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, and limit. The controller 130 of the present invention is, for example, an independently operated embedded controller (EC) connected to the two operating systems 110, 120 and the peripheral device 140, which can be used according to two The commands issued by the system systems 110 and 120 manipulate the various peripheral devices 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 sharing the peripheral devices of the dual operating system of the present invention, 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.
第2圖係依據本發明第一實施例之雙作業系統共用周邊裝置之方法流程圖。請一併參照第1圖及第2圖。本發明之方法200係執行於前述電子裝置100中,包括由第一 作業系統110下第一同步管理器112所執行的流程200A、由第二作業系統120下第二同步管理器122所執行的流程200B,以及由控制器130所執行的流程200C。為方便說明,流程200A、200B及200C將分別繪示於不同區塊。值得注意的是,雖然此實施例係以第一作業系統切換至第二作業系統做說明,但由第二作業系統切換回第一作業系統亦可採用相同方法,本文將不另外贅述。 Fig. 2 is a flow chart showing a method of sharing a peripheral device in 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 by the first The flow 200A executed by the first synchronization manager 112 under the operating system 110, the flow 200B executed by the second synchronization manager 122 in the second operating system 120, and the flow 200C executed by the 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中,於第一作業系統環境下接受使用者對周邊裝置140之設定值所進行的各種調整。舉例而言,周邊裝置之設定值包括螢幕之亮度、喇叭之音量、觸控板的靈敏度及校正值、網路設備的登入設定(例如無線接取器AP、連線密碼、無線網路金鑰等)等,熟悉本技藝人士可以此類推。接著於步驟S203中,當第一作業系統110接收到使用者切換作業系統之命令時(例如使用者按下指定的鍵盤按鍵或是熱鍵,或是操作螢幕畫面中特定之使用者介面元件),即透過控制器130將第二作業系統120予以啟動或喚醒。之後,在步驟S204中,第一作業系統110會立即透過前述的傳輸介面150將此設定值傳送至第二作業系統120。在步驟S206中,將系統由第一作業系統110切換至第二作業系統120。最後,如步驟S207,第一作業系統110進入待機模式或休眠模式。值得注意的是,本發明的步驟S204必須執行在步驟S206之「切換作業系統」之前,藉以確保第二作業系統120在第一作業系統110進入待機或休眠模式前即已獲知使用者對周邊裝置140之各項設定所做的變更。 The process 200A executed by the first operating system 110 includes: in step S202, accepting various adjustments made by the user to the set values of the peripheral devices 140 in the first operating system environment. For example, the settings of the peripheral device include the brightness of the screen, the volume of the speaker, the sensitivity and correction value of the touchpad, and the login settings of the network device (eg, wireless access AP, connection password, wireless network key). Etc. etc., those skilled in the art can do so. Next, in step S203, when the first operating system 110 receives a command from the user to switch the operating system (for example, the user presses a specified keyboard button or a hot key, or operates a specific user interface component in the screen) That is, the second operating system 120 is activated or awake through the controller 130. Thereafter, in step S204, the first operating system 110 transmits the set value to the second operating system 120 through the aforementioned transmission interface 150. In step S206, the system is switched from the first operating system 110 to the second operating system 120. Finally, in step S207, the first operating system 110 enters a standby mode or a sleep mode. It should be noted that step S204 of the present invention must be performed before the "switching operating system" of step S206 to ensure that the second operating system 120 knows the user to the peripheral device before the first operating system 110 enters the standby or sleep mode. Changes made to each of the 140 settings.
第二作業系統120所執行的流程200B包括步驟S208及步驟S210,其中步驟S208係接續於流程200A之步驟S204之後執行,而步驟S210則接續在流程200A之步驟S206之後執行。在該步驟S208中,第二作業系統120會在接收第一作業系統110所傳送來的設定值之後將該設定值予以儲存,或是將設定值儲存成一設定值檔案存檔(例如當周邊裝置為前述之觸控板或軌跡點時)。在步驟S210中,第二作業系統120將因應第一作業系統110之通知訊息而取得控制器130對周邊裝置140之控制權,完成作業系統之切換。 The process 200B executed by the second operating system 120 includes steps S208 and S210, wherein the step S208 is performed after the step S204 of the process 200A, and the step S210 is performed after the step S206 of the process 200A. In step S208, the second operating system 120 stores the set value after receiving the set value transmitted by the first operating system 110, or stores the set value as a set value file archive (for example, when the peripheral device is The aforementioned touchpad or track point). In step S210, the second operating system 120 acquires the control right of the controller 130 to the peripheral device 140 in response to the notification message of the first operating system 110, and completes the switching of the operating system.
控制器130可執行流程200C之步驟S212或步驟S214。在步驟S212中,控制器130係在第一作業系統110底下運作,而在步驟S214則在第二作業系統120底下運作。步驟S212係執行於步驟S202之後。此時,控制器130仍受第一作業系統110之控制,會依據使用者對周邊裝置140所調整的設定值對周邊裝置140進行設定。步驟S214係執行於步驟S210之後。此時,由於控制器130之控制權已由第一作業系統110切換至第二作業系統120,控制器130將讀取依據步驟S208中第二作業系統120所儲存的設定值或設定值檔案對周邊裝置140進行設定,也就是此新的設定值將會與原先在第一作業系統110下之設定值相同而達到同步之效果。 Controller 130 may perform step S212 or step S214 of process 200C. In step S212, the controller 130 operates under the first operating system 110, and in step S214, operates under the second operating system 120. Step S212 is performed after step S202. At this time, the controller 130 is still controlled by the first operating system 110, and the peripheral device 140 is set according to the set value adjusted by the user to the peripheral device 140. Step S214 is performed after step S210. At this time, since the control right of the controller 130 has been switched from the first operating system 110 to the second operating system 120, the controller 130 will read the set value or set value file pair stored according to the second operating system 120 in step S208. The peripheral device 140 is set, that is, the new set value will be synchronized with the original set value under the first operating system 110 to achieve synchronization.
據此,透過本發明的前述方法,螢幕的亮度、喇叭的音量,以及各種周邊裝置的設定,皆不再因為切換作業系統的關係而有所改變,而能維持完全一致的使用操作環 境,進行無縫切換,故有助於提升使用者對雙作業系統架構的使用舒適度。 Accordingly, according to the foregoing method of the present invention, the brightness of the screen, the volume of the horn, and the settings of various peripheral devices are no longer changed due to the relationship of the switching operation system, and the operating ring can be maintained completely consistently. The environment is seamlessly switched, which helps to improve the user's comfort in the use of the dual operating system architecture.
本發明雖以較佳實施例揭露如上,然其並非用以限定本發明的範圍,任何熟習此項技藝者,在不脫離本發明之精神和範圍內,當可做些許的更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。 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
200‧‧‧方法 200‧‧‧ method
200A-200C‧‧‧流程 200A-200C‧‧‧ Process
S202-S214‧‧‧步驟 S202-S214‧‧‧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圖係依據本發明第一實施例之雙作業系統共用周邊裝置之方法流程圖。 Fig. 2 is a flow chart showing a method of sharing a peripheral device in a dual operation system according to a first embodiment of the present invention.
200‧‧‧方法 200‧‧‧ method
200A-200C‧‧‧流程 200A-200C‧‧‧ Process
S202-S214‧‧‧步驟 S202-S214‧‧‧Steps
Claims (19)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210385111.XA CN103294562B (en) | 2012-02-23 | 2012-10-12 | Method for sharing peripheral device by dual operating systems and electronic device |
US13/731,889 US9201814B2 (en) | 2012-02-23 | 2012-12-31 | Electronic devices and methods for sharing peripheral devices in 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 |
---|---|
TW201335760A true TW201335760A (en) | 2013-09-01 |
TWI482021B TWI482021B (en) | 2015-04-21 |
Family
ID=49627410
Family Applications (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW101134871A TWI482021B (en) | 2012-02-23 | 2012-09-24 | Method for sharing peripheral devices in dual operating systems, and electronic device using the same |
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 |
Family Applications After (2)
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 |
Country Status (1)
Country | Link |
---|---|
TW (3) | TWI482021B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10101821B2 (en) * | 2014-03-13 | 2018-10-16 | Acooo (Beijing) Limited | Keyboard apparatus having operation 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 |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI279678B (en) * | 2005-09-07 | 2007-04-21 | Mitac Technology Corp | Method for fast switching between different operating systems in computer device with multiple operating systems |
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 |
US8046570B2 (en) * | 2007-02-06 | 2011-10-25 | Microsoft Corporation | Supporting multiple operating systems in media devices |
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 |
TW201025138A (en) * | 2008-11-28 | 2010-07-01 | Ibm | Real-time signal handling in guest and host operating systems |
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 |
-
2012
- 2012-09-24 TW TW101134871A patent/TWI482021B/en active
- 2012-09-24 TW TW101134872A patent/TWI461916B/en active
- 2012-09-24 TW TW101134873A patent/TWI457786B/en active
Also Published As
Publication number | Publication date |
---|---|
TWI482021B (en) | 2015-04-21 |
TW201335761A (en) | 2013-09-01 |
TW201335788A (en) | 2013-09-01 |
TWI457786B (en) | 2014-10-21 |
TWI461916B (en) | 2014-11-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10659200B2 (en) | Companion application for activity cooperation | |
US20220286503A1 (en) | Synchronization method and electronic device | |
US9201814B2 (en) | Electronic devices and methods for sharing peripheral devices in dual operating systems | |
TWI544337B (en) | Dual-operating-system architecture for sharing usb devices, and method for sharing usb devices in a dual-operating-system architecture | |
WO2023179425A1 (en) | Input device connection method, device, and system | |
US11989405B2 (en) | Screen locking method and apparatus | |
WO2018049971A1 (en) | Hotspot network switching method and terminals | |
US10764738B2 (en) | Wireless communication connection method and terminal | |
US20130194968A1 (en) | Communication device, program and communication method | |
WO2020134566A1 (en) | Control method for doze mode of mobile terminal, storage medium and mobile terminal | |
KR20220030290A (en) | Scheduling request transmission method, scheduling request reception method, terminal and network equipment | |
WO2019029564A1 (en) | Method for controlling brightness in mobile terminal display, mobile terminal and storage device | |
WO2022110352A1 (en) | Smart home control method and apparatus, and terminal and storage medium | |
CN113609107A (en) | Database management method and device, electronic equipment and storage medium | |
TWI482021B (en) | Method for sharing peripheral devices in dual operating systems, and electronic device using the same | |
WO2019042478A1 (en) | Control method for input method soft keyboard of mobile terminal, storage medium, and mobile terminal | |
EP3373140B1 (en) | Method for processing ordered broadcast and electronic device | |
WO2019165983A1 (en) | Bluetooth transmission control method, control system, and storage medium | |
CN104871636B (en) | A kind of method, terminal, the network equipment and the system of secondary carrier change |