CN104123147A - Electronic device for achieving hot switching between two systems - Google Patents

Electronic device for achieving hot switching between two systems Download PDF

Info

Publication number
CN104123147A
CN104123147A CN201310151331.0A CN201310151331A CN104123147A CN 104123147 A CN104123147 A CN 104123147A CN 201310151331 A CN201310151331 A CN 201310151331A CN 104123147 A CN104123147 A CN 104123147A
Authority
CN
China
Prior art keywords
cpu
ram
operating system
connected
electronic device
Prior art date
Application number
CN201310151331.0A
Other languages
Chinese (zh)
Inventor
夏志祥
Original Assignee
深圳市天方信安电子科技有限公司
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 深圳市天方信安电子科技有限公司 filed Critical 深圳市天方信安电子科技有限公司
Priority to CN201310151331.0A priority Critical patent/CN104123147A/en
Publication of CN104123147A publication Critical patent/CN104123147A/en

Links

Abstract

Disclosed is an electronic device for achieving hot switching between two systems. The electronic device comprises a first RAM, a first memory, a second RAM, a second memory, a bus driver, a CPU and a gear switch, wherein the first RAM is connected with the first memory, the second RAM is connected with the second memory, the first RAM and the second RAM are connected with the bus driver, the bus driver is connected with the CPU, the CPU is further connected with firmware and the gear switch, and the firmware is provided with the first operating system and the second operating system. Hot switching can be carried out on the two systems in the electronic device, so that convenience is brought to a user.

Description

-种双系统之间实现热切换的电子装置 - electronic device for thermal system of switching between kinds of bis

技术领域 FIELD

[0001] 本发明涉及电子产品领域,具体涉及一种双系统之间实现热切换的电子装置。 [0001] The present invention relates to the field of electronic products, particularly relates to an electronic device for thermal switching between a dual system.

背景技术 Background technique

[0002] 现有电子装置,包含了智能手机、平板电子装置等装置,为了在同一个电子中完全隔离数据,通常的做法是:在电子装置的内部一般有两个或两个以上的储存设备(例如,硬盘,flash等存储介质)储存数据。 [0002] The conventional electronic device, comprising a smart phone, a tablet apparatus of an electronic device or the like, in order to completely isolate the same electronic data, the usual practice is: inside the electronic device generally has two or more storage devices (e.g., hard disk, flash storage medium) storing data. 该电子装置安装有两个独立的操作系统,在这些不同储存设备之间的数据不能相互访问,使得在不同存储设备之间的数据能够在电子装置上完全隔离。 The electronic device mounted with two independent operating system, data between these different storage devices can not access each other, such that data between different storage devices can be completely isolated on the electronic device. 而用户在访问多个不同的存储设备中的数据时,需要通过切换开关在不同的存储设备之间进行切换,例如,假设某一个电子装置上有两个存储设备,该电子装置安装有两个独立的操作系统,第一存储设备和第二存储设备之间的数据相互独立,彼此之间不能访问,若要访问第一存储设备中的数据,通过切换开关切换到第一存储设备的电路,启动第一存储设备上的操作系统,若要访问第二存储设备中的数据,通过切换开关切换到第二存储设备的电路,启动第二存储设备上的操作系统。 When the user access to data in different storage devices plurality, required by switching the switch between the different storage devices is switched, for example, suppose there are two storage devices on one electronic device, the electronic device mounted with two independent operating system, data storage device between the first and the second storage device independently of each other, can not access each other, access to the first data storage device, a first switching circuit to the storage device by switching the switch, boot the operating system on a first storage device, to access the second data storage device, by switching the switch to the second storage circuit device, boot the operating system on the second storage device. 然而,以往的切换过程中,都是冷切换,即需要将其中的一个操作系统关机之后才能启动另外一个操作系统,如此一来,降低了用户使用双系统的电子装置的用户体验。 However, the conventional handover process, the handover is cold, then the need to shut down one of the operating system to start another operating system, this way, the user uses an electronic device to reduce the dual system user experience.

发明内容 SUMMARY

[0003] 鉴于以上内容,有必要提供一种双系统之间实现热切换的电子装置,可在同一个电子装置上设置互不干扰的两种操作系统,且两种操作系统运行时相互独立,互不影响,用户在进行两个操作系统之间的切换时,不需要关闭其中一个系统再去启动另外一个系统, 其可以实现双系统之间的热切换,方便了用户,提高了用户使用双系统电子装置的用户体验。 [0003] In view of the above, it is necessary to provide a dual system between an electronic device to achieve thermal switch, may be provided two operating systems interfere with each other on the same electronic device, independently of one another and run two operating systems, independently of each other, when the user performing switching between the two operating systems, which does not require a system shut down again start another system which can achieve thermal switch between the two systems to facilitate the user, and improving user double user experience electronic device system.

[0004] 本发明提供一种一种双系统之间实现热切换的电子装置,其特征在于,该电子装置包括第一RAM、第一存储器、第二RAM、第二存储器、总线驱动器、CPU及档位开关,其中:第一RAM与第一存储器连接,第二RAM与第二存储器连接,第一RAM及第二RAM与总线驱动器连接,总线驱动器及CPU连接,CPU还与固件及档位开关连接; [0004] The present invention provides a dual system between one kind of electronic device to achieve thermal switch, wherein the electronic device comprises a first RAM, a first memory, a second RAM, a second memory, a bus driver, CPU, and position switch, wherein: a first RAM connected to the first memory, a second memory and a second RAM connected to the first RAM and a second RAM drive is connected to the bus, and the bus driver connected to the CPU, and CPU but also firmware and inhibitor switch connection;

[0005] 所述固件安装第一操作系统及第二操作系统; [0005] The first operating system and firmware installed a second operating system;

[0006] 所述档位开关,包括与第一RAM和第一存储器对应的档位,及与第二RAM和第二存储器对应的档位; [0006] The position switch, comprising a first memory and the RAM corresponding to a first gear, and the second RAM and the second memory corresponding to the gear;

[0007] 所述总线驱动器,当接通档位开关上与第一RAM及第一存储器对应的档位时,将CPU与第一RAM连接,并将CPU与第二RAM断开; [0007] The bus driver, when the shift position switch is turned on and the first RAM memory corresponding to a first gear, a first RAM connected to the CPU, a second CPU and RAM and disconnected;

[0008] 所述总线驱动器,当接通档位开关上与第二RAM及第二存储器对应的档位时,将CPU与第二RAM连接,并将CPU与第一RAM断开; [0008] The bus driver, when the position switch is turned on and the second RAM and the second memory corresponding to the gear position when the second RAM connected to the CPU, and a first CPU and RAM is disconnected;

[0009] 所述第一RAM,保存第一操作系统在CPU中运行时的CPU的状态信息; [0009] The first RAM, stored in the CPU when the CPU is running a first operating system status information;

[0010] 所述第二RAM,保存第二操作系统在CPU中运行时的CPU的状态信息; [0010] The second RAM, state information stored in the CPU when the CPU is running a second operating system;

[0011] 所述CPU,用于在总线驱动器断开CPU与第一RAM的连接之前,保存第一操作系统在CPU中运行时的CPU的状态信息到第一RAM中,并在总线驱动器将CPU与第二RAM的连接之后,恢复第二RAM中的CPU中运行第二操作系统的状态信息,以运行第二操作系统; [0011] The CPU, for disconnecting the first CPU and the RAM are connected in a bus driver before, stored in the CPU when the CPU is running a first operating system to the first state information in RAM, and the CPU bus driver When the connection to the second RAM, to restore state information of the second RAM in the CPU running a second operating system, to run a second operating system;

[0012] 所述CPU,在总线驱动器断开CPU与第二RAM的连接之前,保存第二操作系统在CPU中运行时的CPU的状态信息到第二RAM中,并在总线驱动器将CPU与第一RAM的连接之后,恢复第一RAM中的CPU中运行第一操作系统的状态信息,以运行第一操作系统。 Before [0012] The CPU, the CPU bus and disconnected from the drive of the second RAM, stored in the CPU when the CPU is running a second operating system state information to the second RAM, and the CPU bus driver and the second after the connection of a RAM, restore the state information of the first RAM, the CPU running a first operating system, the first operating system to run.

[0013] 相较于现有技术,所述的双系统之间实现热切换的电子装置,可在同一个电子装置上设置互不干扰的两种操作系统,且两种操作系统运行时相互独立,互不影响,用户在进行两个操作系统之间的切换时,不需要关闭其中一个系统再去启动另外一个系统,其可以实现双系统之间的热切换,方便了用户,提高了用户使用双系统电子装置的用户体验。 [0013] Compared to the prior art, the electronic device between said thermal switch to achieve the dual system, can be provided in non-interfering two operating systems on the same electronic device, and both the operating system is running independently of each other , independently of each other, when the user performing switching between the two operating systems, which does not require a system shut down again start another system which can achieve thermal switch between the two systems to facilitate the user, and improving user using the electronic device dual system user experience.

附图说明 BRIEF DESCRIPTION

[0014] 图1是本发明中的电子装置第一较佳实施例的结构示意图; [0014] FIG. 1 is a structural diagram of an electronic device in the present invention, a first preferred embodiment;

[0015] 图2是本发明图1中的电子装置改进后的较佳实施例的结构示意图; [0015] FIG. 2 is a schematic view of the preferred embodiment of the electronic apparatus in FIG. 1 of the present invention to improve;

[0016] 图3是本发明图1中的电子装置进行双系统热切换方法的较佳实施例的流程图。 [0016] FIG 3 is an electronic device 1 according to the present invention, a flowchart in FIG preferred embodiment of a dual system of heat handover method.

具体实施方式 Detailed ways

[0017] 参照图1所示,是本发明中的电子装置第一较佳实施例的结构示意图。 [0017] Referring to Figure 1, a schematic structural diagram of a first preferred embodiment of the present invention is an electronic device. 所述的电子装置1是指手机、个人数字助理(Personal Digital Assistant,PDA)、平板电子装置、个人计算机及任意包括两个以上存储器。 The electronic device of claim 1 refers to a mobile phone, a personal digital assistant (Personal Digital Assistant, PDA), tablet electronic devices, personal computers and any two or more memory. 在本实施例中,所述电子装置1为安装有两个操作系统的平板电子装置。 In the present embodiment, the electronic device 1 is a flat electronic device is attached to the two operating systems.

[0018] 所述电子装置1包括第一随机存储器(random access memory,RAM) 101、第一存储器201、第二RAM 102、第二存储器202、总线驱动器30、外部寄存器40、中央处理器(Central processing unit,CPU) 50、触发器60及档位开关70。 [0018] The electronic device 101 comprises a 1, a first memory 201 a first random access memory (random access memory, RAM), a second RAM 102, a second memory 202, a bus driver 30, the external register 40, a central processing unit (Central processing unit, CPU) 50, inhibitor switch 70 and trigger 60. 其中,第一RAM 101与第一存储器201 连接,第二RAM 102与第二存储器202连接,第一RAM101、第二RAM 102与总线驱动器30连接,总线驱动器30、外部寄存器40及CPU 50之间相互连接,CPU 50还与触发器60及固件80连接,此外,触发器60还与档位开关70连接。 Wherein the first RAM 101 and the first memory 201 is connected, a second connection 202 and a second memory RAM 102, first RAM 101, second RAM 102 is connected to the bus driver 30, a bus driver 30, the external register 40 and the CPU 50 interconnecting, CPU 50 is also connected to the trigger 60 and firmware 80, in addition, the flip-flop 60 is also connected to a shift switch 70.

[0019] 所述固件80上安装有第一操作系统及第二操作系统。 Attached to the first operating system and a second operating system [0019] 80 of the firmware. 所述固件80可以是一个(即第一操作系统及第二操作系统安装于一个固件中),也可以是两个(即第一操作系统安装于一个固件中,第二操作系统安装与另外一个固件中)。 The firmware 80 may be one (i.e., the first operating system and a second operating system installed in firmware), or may be two (i.e., the first operating system is installed in a firmware, and a second operating system installation to another firmware).

[0020] 需要说明的是,固件80的安装的第一操作系统与第二操作系统可以相同,也可以不同。 [0020] Incidentally, the first operating system and the second operating system 80 may be the same firmware installed, or may be different. 所述第一操作系统及第二操作系统,可以是桌面操作系统,也可以是移动设备的操作系统。 The first operating system and a second operating system, may be a desktop operating system, the operating system may be a mobile device. 若电子装置1是个人计算机,则操作系统为桌面操作系统,例如,微软公司的视窗操作系统(如,WINDOWS 8操作系统),或者LINUX操作系统,而由于桌面操作系统所占据的空间大,此时固件为两个,即第一操作系统及第二操作系统安装于两个独立的固件中。 When the electronic device 1 is a personal computer, the operating system is a desktop operating system, e.g., Microsoft Windows operating system (e.g., WINDOWS 8 operating system), or a LINUX operating system, since the desktop operating system and the space occupied by large, this when firmware is two, i.e. the first operating system and a second operating system installed on two separate firmware. 若电子装置1是移动设备(如,手机、平板电子装置等设备),则第一操作系统及第二操作系统都为移动操作系统(如,谷歌公司的安卓操作系统等),而由于移动操作系统所占据的空间小, 为了节约成本,固件可以为一个,即第一操作系统及第二操作系统安装于一个固件中。 When the electronic device 1 is a mobile device (e.g., mobile phones, electronic devices, tablet devices), the first operating system and the second operating system is a mobile operating systems (e.g., Google's Android operating system, etc.), and because the moving operation a small space occupied by the system, in order to save costs, a firmware, i.e., the first operating system and a second operating system installed on the firmware. 在本较佳实施例中,第一操作系统及第二操作系统都为移动操作系统,安装于一个固件80中。 In the preferred embodiment of the present embodiment, the first operating system and the second operating system is a mobile operating system, mounted in a firmware 80.

[0021] 在电子装置1上集合两个操作系统,可以使得用户拥有两个相互独立、互不影响的操作空间,例如,第一操作系统只是用来办公,通过在第一操作系统上设置(如,VPNS 置),并通过网络连接由指定服务器搭建的企业或事业单位的内部系统,实现访问企业或事业单位的内部系统,以进行办公(例如,使用内部系统上安装的邮件系统进行邮件发送等),而第二操作系统可以作为用户自己使用的操作系统,用户可以通过第二操作系统的网络设置,连接到网络,并访问普通服务器(例如,大型新闻网站的服务器)。 [0021] The electronic device 1 set on the two operating systems, so that the user can have two mutually independent of each other in the operating space, for example, the first operating system to work only by providing on the first operating system ( such as, VPNS device), and connect the internal system set by the specified server business or institution through a network, internal systems to access enterprise or institution to perform work (e.g., installed on the use of internal systems mail system mail transmission etc.), while the second operating system as the user's own use of the operating system, users can set up a second network operating system, connected to the network, and access common server (for example, a large news site server).

[0022] 为了保护用户的信息安全,用户可以设置通过验证身份证信息的方式启动第一操作系统或第二操作系统。 [0022] In order to protect the user's security information, the user can set the start of the first operating system or the second operating system by verifying identification information mode.

[0023] 第一操作系统运行时,CPU 50与第一RAM 101连接,CPU 50与第二RAM 102断开,第一RAM 101提供缓存,第一存储器201提供存储功能(例如,保存文件、安装应用软件等)。 [0023] The first operating system is running, CPU 50 is connected to the first RAM 101, CPU 50 is disconnected from the second RAM 102, to provide a first buffer RAM 101, a first memory 201 provides storage functionality (e.g., save the file, the installation application software, etc.).

[0024] 第二操作系统运行时,CPU 50与第二RAM 102连接,CPU 50与第一RAM 101断开,第二RAM 102提供缓存,第二存储器202提供存储功能(例如,保存文件、安装应用软件等)。 [0024] The second operating system is running, CPU 50 is connected to the second RAM 102, CPU 50 disconnected from the first RAM 101, RAM 102 provides a second cache, the second memory 202 provides storage functionality (e.g., save the file, the installation application software, etc.).

[0025] 所述第一存储器201及第二存储器202可以是外部存储卡(例如,SD卡、TF卡等),也可以是内嵌到电子设备1中。 [0025] The first memory 201 and second memory 202 may be an external memory card (e.g., SD card, TF card, etc.), may be embedded in the electronic device 1. 第一存储器201与第二存储器202相互独立,互不影响。 The first memory 201 and second memory 202 are independent of each other.

[0026] 在本发明中,除非另外特别指出用于描述普通元件的序列形容词"第一","第二" 等的用法,否则,"第一"及"第二"仅仅是为了区别相同元件,并不意味着这样的描述的元件必须依照给定的顺序,或者时间、空间、等级或其它的方式。 [0026] In the present invention, unless specifically noted otherwise used to describe "first," "second," and the like ordinary adjective usage sequence element, otherwise, "first" and "second" merely to distinguish the same elements It does not mean that such elements must be described in accordance with a given sequence or time, spatially, in ranking, or in other ways.

[0027] 总线驱动器30用于控制CPU 50与第一RAM 101及第二RAM102的连接关系,具体而言,当第一操作系统运行时,总线驱动器30将CPU 50与第一RAM 101连接,并断开CPU 50与第二RAM 202的连接。 [0027] 30 bus driver 50 for controlling the RAM 101 connected to the first CPU and a second relationship RAM102, specifically, when the first operating system is running, the CPU 30 drives the bus 50 connected to the first RAM 101, and from the CPU 50 is connected to the second RAM 202. 当第二操作系统运行时,总线驱动器30将CPU 50与第二RAM 102连接,并断开CPU 50与第一RAM 201的连接。 When the second operating system is running, the bus driver 30 connected to the CPU 50 and the second RAM 102, and the CPU 50 disconnects the first RAM 201.

[0028] 连接的方式如下,当CPU 50需要与第一RAM 101连接时,CPU50发送一控制指令给外部寄存器40,使得外部寄存器40产生一高电平信号,外部寄存器40将所产生的高电平信号传送给总线驱动器30,总线驱动器30接收到该高电平信号时,接通CPU 50与第一RAM101,并同时断开CPU 50与第二RAM 102的连接。 [0028] connected below, when CPU 50 needs to be connected to the first RAM 101, CPU50 sends a control command to the external register 40, so that the external register 40 generates a high level signal, a high electric external registers the generated 40 level signal to the bus driver 30, the bus driver 30 receives the high level signal, CPU 50 turns first RAM 101, and at the same time disconnect the CPU 50 is connected to the second of the RAM 102.

[0029] 当CPU 50需要与第二RAM 102连接时,CPU 50发送一控制指令给外部寄存器40, 使得外部寄存器40产生一低电平信号,外部寄存器40将所产生的低电平信号传送给总线驱动器30,总线驱动器30接收到该低电平信号时,接通CPU 50与第二RAM 102,并同时断开CPU 50与第一RAM 101的连接。 [0029] When the CPU 50 needs to be connected to the second RAM 102, CPU 50 sends a control command to the external register 40, so that the external register 40 generates a low level signal, generated by the external register 40 to the low level signal transmitted bus driver 30, the bus driver 30 receives the low level signal, turning on the second CPU 50 and the RAM 102, and simultaneously disconnect the first CPU 50 is connected to RAM 101.

[0030] 换句话说,CPU 50通过外部寄存器40发送高电平信号给总线驱动器30,之后CPU 50与第一RAM 101连接,CPU 50与第二RAM102断开。 [0030] In other words, CPU 50 transmits the high level signal to the bus driver 30, then the first CPU 50 is connected to the RAM 101, CPU 50 is disconnected from the second register 40 via the external RAM102. CPU 50通过外部寄存器40发送低电平信号给总线驱动器30,之后CPU 50与第二RAM 102连接,CPU 50与第一RAM 101断开。 CPU 50 transmits a low signal through the external register 40 to the bus driver 30 is connected to the CPU 50 after the second RAM 102, CPU 50 disconnected from the first RAM 101.

[0031] 需要说明的是,总线驱动器30控制CPU 50每次只与其中的一个RAM连接,不会同时将两个RAM与CPU 50连接。 [0031] Incidentally, the CPU 30 controls the bus driver 50 is connected to a time of a RAM which are not simultaneously connected to two RAM 50 and the CPU.

[0032] 所述档位开关70与触发器60连接,档位开关70包括三个档位,档A,档B及档C。 [0032] The inhibitor switch 70 is connected to the trigger 60, 70 includes a three-position switch gears, gear A, B, and gear shift C. 其中,档C与档A或档B连接,不会出现档C既不与档A连接同时也不与档B连接的情况。 Wherein the shift gear C is connected to the gear A or B, where the speed profile is neither C nor A connector while connected to the file B does not occur.

[0033] 所述档A与第一RAM 101、第一存储器201及第一操作系统对应,换句话说,当档C 与档A连接时,通过第一RAM 101、第一存储器201及CPU 50运行固件80上的第一操作系统。 [0033] The file A, the first memory 201 corresponding to the first operating system and a first RAM 101, in other words, when the shift gear C and A is connected, via a first RAM 101, the first CPU 50 and the memory 201 firmware running on the first operating system 80.

[0034] 所述档B与第二RAM 102、第二存储器202及第二操作系统对应,换句话说,当档C 与档B连接时,通过第二RAM 102、第二存储器202及CPU 50运行固件80上的第二操作系统。 [0034] The second profile B and the RAM 102, and the second memory 202 corresponding to the second operating system, in other words, when the shift gear C and B are connected, via a second RAM 102, memory 202, and a second CPU 50 the second firmware running on the operating system 80.

[0035] 具体而言,所述触发器60上存储有档位开关70的状态,其中,当档C与档A连接时,触发器60上存储的档位开关70的状态为A,当档C与档B连接时,触发器60上存储的档位开关70的状态为B。 [0035] Specifically, when the state of the flip-flop 60 stores the position switch 70, wherein, when the shift gear C A connected state of the memory on the trigger 60 is A position switch 70, when the file when files B and C are connected, stored on the switching state of the trigger gear 60 is 70 B. CPU 50读取通过读取触发器60上档位开关70的状态确定运行第一操作系统还是第二操作系统。 CPU 50 reads the position switch 70 by reading the status of the flip-flop 60 is determined to run a first operating system or the second operating system. 具体地说,当触发器60上存储的档位开关70的状态为A,CPU 50确定运行第一操作系统,当触发器60上存储的档位开关70的状态为B,CPU 50 确定运行第二操作系统。 Specifically, when the state of the position switch 70 stored on the flip-flop 60 is A, CPU 50 determines a first operation of the operating system, when the state stored on the flip-flop 60-position switch 70 is B, CPU 50 determines Operation two operating systems.

[0036] 在其它实施例中,触发器60可以省却,也就是说,档位开关70可以直接连接到CPU 50,当档C与档A连接时,启动第一操作系统,当档C与档B连接时,启动第二操作系统。 [0036] In other embodiments, the trigger 60 may be dispensed with, that is, a shift position switch 70 may be directly connected to the CPU 50, when files A and C when the gear is connected to the first operating system to start, and when the shift gear C when B is connected, to start the second operating system.

[0037] 此外,由于档位开关70在进行档位切换时,可能会出现抖动的现象,例如,用户将档C从档A切换到档B时,档C可能并没有完全与档B连接,档A可能还有信号残留。 [0037] Further, since the shift range switching switch 70 is performed, the jitter phenomenon may occur, e.g., when the user switches to the shift gear C B, C profile may not fully connected to the file B from file A, A residual signal may also shift. 为了避免抖动现象,在档位开关40中还安装有一防抖装置(图中未示出),所述防抖装置可以是,但不限于,RC回路、M0S管等装置。 To avoid jitter, in the switch gear 40 is also mounted a stabilization device (not shown), the anti-shake device can be, but are not limited to, the RC circuit, M0S tube apparatus. 通过安装防抖装置,档位切换时不会有信号残留。 By installing anti-shake apparatus, when no residual signal range switching.

[0038] 所述总线驱动器30,用于当接通档位开关70上与第一RAM 101对应的档位时,将CPU 50与第一RAM 101连接,并将CPU 50与第二RAM 102断开; [0038] The bus driver 30, a position switch 70 is turned on when the first connector 50 when the RAM 101 corresponding to the first gear 101 RAM CPU, and the CPU 50 and the second RAM 102 off open;

[0039] 所述总线驱动器30,还用于当接通档位开关70上与第二RAM102对应的档位时,将CPU 50与第二RAM 102连接,并将CPU 50与第一RAM 101断开; [0039] The bus driver 30 is further configured to turn on when the switch gear and the second gear 70 corresponding to the RAM102, 50 connected to the second RAM 102 CPU, the CPU 50 and the RAM 101 of the first breaking open;

[0040] 所述第一RAM 101,用于保存第一操作系统在CPU 50中运行时的CPU 50的状态信息。 [0040] The first RAM 101, for storing state information of a first operating system running on the CPU 50 when the CPU 50. 需要说明的是,第一RAM 101中保存的第一操作系统在CPU 50中运行时的CPU 50的状态信息是指第一操作系统在CPU 50中运行时CPU 50内部的地址寄存器及数据寄存器的状态信息。 Incidentally, the RAM 101 stored in the first run on the CPU when the CPU 50 first operating system state information 50 refers to the internal operation of the first operating system, the CPU 50 when the CPU 50 of the address register and data register status information.

[0041] 所述第二RAM 102,用于保存第二操作系统在CPU 50中运行时的CPU 50的状态信息;需要说明的是,第二RAM 102中保存的第二操作系统在CPU 50中运行时的CPU 50的状态信息是指第二操作系统在CPU 50中运行时CPU 50内部的地址寄存器及数据寄存器的状态息。 [0041] The second RAM 102, for storing a second operating system running on CPU 50 when the CPU 50 of the status information; Note that the second operating system stored in the RAM 102 in the second CPU 50 status information of CPU 50 refers to the state of the runtime information inside the CPU 50 in the second operating system when the CPU 50 of the address register and data register.

[0042] 所述CPU 50,用于在总线驱动器30断开CPU 50与第一RAM101的连接之前,保存第一操作系统在CPU 50中运行时的CPU 50的状态信息到第一RAM 101中,并在总线驱动器30将CPU 50与第二RAM 102的连接之后,恢复第二RAM 102中的CPU 50中运行第二操作系统的状态信息,以运行第二操作系统; [0042] The CPU 50, for connecting the first RAM101 until the bus driver 50 and the CPU 30 turns off, storing the first operating system running on CPU 50 when the CPU 50 of the status information to the first RAM 101, the after the bus driver 30 and the CPU 50 is connected to the second of the RAM 102, the RAM 102 to restore the second CPU 50, operation of the second operating system state information, to run a second operating system;

[0043] 所述CPU,还用于在总线驱动器30断开CPU 50与第二RAM 102的连接之前,保存第二操作系统在CPU 50中运行时的CPU 50的状态信息到第二RAM 102中,并在总线驱动器30将CPU 50与第一RAM 101的连接之后,恢复第一RAM 101中的CPU 50中运行第一操作系统的状态信息,以运行第一操作系统。 [0043] The CPU, connected to the bus prior to a further driver 30 turns off the second CPU 50 of the RAM 102, stored in the CPU 50 CPU running a second operating system when the state information 50 to the RAM 102 a second and after connecting the bus driver and the first 30 CPU 50 RAM 101 to restore the status information in the RAM 101 a first CPU 50 of the operation of the first operating system to run a first operating system.

[0044] 以下为一实施例进行说明:电子装置1接通电源后会按照先后顺序启动第一操作系统及第二操作系统。 [0044] The following Example is an embodiment will be described: the first operating system will start the sequence of the second operating system and according to the electronic device 1 is powered.

[0045] 电子装置1接通电源之后,首先启动第一操作系统。 [0045] The electronic device 1 after power is first activation of the first operating system. 总线驱动器30将CPU50与第一RAM 101连接以在CPU 50中运行固件80的第一操作系统,并将CPU 50的状态信息保存到第一RAM 101中。 CPU50 drives the bus 30 with the first RAM 101 are connected to the CPU 50 runs firmware first operating system 80, and the status information from the CPU 50 stored in the RAM 101 to the first. 具体而言,电子装置1接通电源,CPU 50发送指令给外部寄存器40,使得外部寄存器40产生一高电平信号,外部寄存器40发送该高电平信号给总线驱动器30,总线驱动器30将CPU 50与第一RAM 101连接,以运行第一操作系统,同时CPU 50将CPU 50 的状态信息保存到第一RAM 101中。 Specifically, the electronic device 1 is powered on, CPU 50 sends instructions to the external register 40, so that the external register 40 generates a high level signal, the external register 40 sends a high level signal to the bus driver 30, the CPU 30 drives the bus 50 is connected to the first RAM 101, a first operating system to run, while the CPU 50 from the CPU 50 to save the state information to the first RAM 101 in. 需要说明的是,第一RAM 101中保存的CPU 50的状态信息是指第一操作系统在CPU 50中运行时CPU 50内部的地址寄存器及数据寄存器的状态信息。 Note that to save a first state of the RAM 101, the CPU 50 refers to the information of the internal state of the CPU 50 running a first operating system in the CPU 50 when the address register and data register information.

[0046] 当第一操作系统启动之后,电子装置1启动第二操作系统。 [0046] When the first operating system starts, the electronic device 1 starts the second operating system. 总线驱动器30将CPU 50与第一RAM 101断开,并与第二RAM 102连接以在CPU 50中运行固件80中的第二操作系统。 Bus driver 30 is disconnected from the CPU 50 to the first RAM 101, and is connected to the CPU 50 running a second operating system firmware 80 and the second RAM 102. 具体而言,CPU 50发送指令给外部寄存器40,使得外部寄存器40产生一低电平信号,外部寄存器40发送该低电平信号给总线驱动器30,总线驱动器30将CPU 50与第二RAM 101连接,以运行第二操作系统。 Specifically, CPU 50 sends instructions to the external register 40, so that the external register 40 generates a low level signal, the external register 40 sends a low level signal to the bus driver 30, the bus driver 30 connected to the CPU 50 and the second RAM 101 to run a second operating system.

[0047] 启动完第一操作系统及第二操作系统之后,CPU 50读取触发器60中档位开关70 的状态,判断档位开关70接通的档位是否与第二RAM 102对应。 After [0047] After activation of the first operating system and the second operating system, CPU 50 reads the state of the flip-flop 60 in the position switch 70, it is determined whether the shift position switch 70 is turned on and the second RAM 102 corresponds. 具体地说,若触发器60上存储的档位开关70的状态为B,表明档B与档位C接通,接通的档位B与第二RAM 102对应,不需要将CPU 50切换到与第一RAM 101连接。 Specifically, when the trigger 60 is stored on the state-position switch 70 is B, and B indicate shift gear C is turned on, and a second gear position B corresponding to the RAM 102 is turned on, the CPU 50 does not need to switch connected to the first RAM 101. 若触发器60上存储的档位开关70的状态为A,表明档A与档位C接通,而接通的档位A与第二RAM 102不对应,需要将CPU 50与第一RAM 101连接,以启动第一操作系统。 If the memory state of the inhibitor switch 60 on the trigger 70 is A, C indicates that the gear shift and A is turned ON and the A and the second gear position does not correspond to RAM 102, the CPU 50 first needs to RAM 101 connection to start the first operating system.

[0048] 当需要将CPU 50与第一RAM 101连接,以启动第一操作系统时,CPU 50将CPU 50 的状态信息保存到第二RAM 102中,CPU 50发送指令给外部寄存器40,外部寄存器40收到指令之后产生一高电平信号并将该高电平信号传送给总线驱动器,总线驱动器30接收到该高电平信号之后将CPU 50与第二RAM 102断开,并将CPU 50与第一RAM 101连接,CPU 50将第一RAM 101中保存的CPU 50的状态信息恢复到CPU 50中,使得CPU 50运行第一操作系统。 [0048] When it is desired to CPU 50 is connected to the first RAM 101, a first operating system to start, the CPU 50 from the CPU 50 to save the state information of the second to the RAM 102, CPU 50 sends instructions to the external register 40, the external register after 40 generates a high level signal and the high level after receipt of a command signal to the bus driver, the bus driver 30 receives a high level signal to the CPU 50 will be turned off and the second RAM 102, and the CPU 50 and the first RAM 101 is connected, the CPU 50 restores the saved state of the first RAM 101, the CPU 50 of the information to the CPU 50, so that the CPU 50 running a first operating system. 需要说明的是,第二RAM 102中保存的CPU 50的状态信息是指第二操作系统在CPU 50中运行时CPU 50内部的地址寄存器及数据寄存器的状态信息。 Note that the RAM 102 stored in the second state of the CPU 50 refers to the information of the internal state of the CPU 50 of the second operating system runs on the CPU when the address register 50 and data register information.

[0049] 需要说明的是,电子装置1接通电源后会安装先后顺序启动第一操作系统及第二操作系统的过程中,用户还没有主动参与切换档位开关70。 [0049] Incidentally, the electronic device 1 is installed after the power during the first operating system boot sequence and the second operating system, the user has not actively participate in the inhibitor switch 70 is switched.

[0050] 当用户通过档位切换(即,此时用户主动拨动档C)接通与第二RAM102对应的档位,触发器60上的档位开关的状态变更为B,触发器60产生一中断信号并发送给CPU 50, CPU 50接收该中断信号之后,读取触发器60上的档位开关的状态为B,CPU 50将CPU 50 的状态信息保存到第一RAM 101中,之后CPU 50发送指令给外部寄存器40,使得外部寄存器40产生一低电平信号并发送给总线驱动器30,总线驱动器30接收到该低电平信号之后, 将CPU 50与第一RAM 101断开,并将CPU 50与第二RAM 102连接,同时CPU 50将第二RAM 102中保存的CPU的状态信息恢复到CPU 50中,使得CPU 50运行第二操作系统。 [0050] When the trigger switch 60 generates the user via the gear (i.e., when the user is actively toggle gear C) is turned to the second gear position corresponding to the RAM102, the shift state of the trigger switch 60 is changed as B, and sends status signals CPU 50, CPU 50, after receiving the interrupt signal, reads the gear position of the trigger switch 60 is an interruption B, CPU 50 from the CPU 50 to save the state information to the first RAM 101, the CPU after 50 sends commands to the external register 40, so that the external register 40 generates a low level signal sent to the bus driver 30, then the bus driver 30 receives the low level signal, the CPU 50 will be disconnected from the first RAM 101, and CPU 50 is connected to the second RAM 102, while the CPU 50 to restore the second state information stored in the RAM 102 of the CPU into the CPU 50, so that the CPU 50 running a second operating system.

[0051] 图2是本发明图1中的电子装置改进后的较佳实施例的结构示意图。 [0051] FIG. 2 is a schematic view of the preferred embodiment of the electronic device 1 of the present invention to improve FIG. 所述改进后的电子装置1包括身份识别器90及档位控制器100,档位控制器100与档位开关70及CPU 50连接,身份识别器90与CPU50连接。 After the electronic device 1 comprises an improved identification gear 90 and the controller 100, the controller 100 is connected to the gear position switch 70 and the CPU 50, the identification device 90 is connected to the CPU50. 所述档位控制器100用户控制档位开关70的档位C,以在档A和档B之间进行切换。 The gear shift controller 100 controls the user switch gear 70 C, in order to switch between the gear A and the gear B.

[0052] 当档位控制器100将档C与档A连接时,启动第一操作系统,为了提高数据安全, 在第一操作系统启动之后,用户还不能登入到第一操作系统,而是进入第一操作系统的解锁界面,此时,需要通过身份识别器90进行身份验证,即当用户将员工工卡靠近身份识别器90时,该身份识别器90能够读取员工工卡中的员工信息,若读取的员工信息与身份识别器90中预先存储的员工信息一致时,第一操作系统的解锁界面解锁,用户才能登入第一操作系统。 [0052] When the gear shift controller 100 C A connected to the gear, the first operating system to start, in order to improve data security, after the first operating system boot, the user is not logged on to the first operating system, but into unlocking the first operating system interface, then, need to identity authentication unit 90, i.e. when the user station employee identification card close to 90 when the identification information 90 is read employee working staff card , if the employee information read employee information and identity 90 pre-stored in the same, the first operating system to unlock the screen to unlock, users can log in first operating system. 而当用户通过档位控制器100将档C与档B连接,启动第二操作系统之后,为了提高数据安全,在第二操作系统启动之后,用户还不能登入到第二操作系统,而是进入第二操作系统的解锁界面,此时,需要通过身份识别器90进行身份验证,即当用户将身份证靠近身份识别器90时,该身份识别器90能够读取身份证中的身份信息,若读取的身份信息与身份识别器90中预先存储的身份信息一致时,第二操作系统的解锁界面解锁,用户才能登入第二操作系统。 When a user profile 100 and C B are connected by a gear shift controller, after starting the second operating system, in order to improve data security, after the second operating system boot, the user can not sign into the second operating system, but into unlock the second operating system interface, then, you need to identity authentication unit 90, i.e., close to the card when the user identification device 90, the identification device 90 can read the identity information in the identity card, if when the same identity information read identity information and identity storage device 90 in advance, the second operating system unlock interface is unlocked, the user can log in a second operating system.

[0053] 所述档位控制器100可以通过手动的方式进行操作,具体而言,该档位控制器100 上包括两个按钮,分别为按钮al和按钮bl,当按下按钮al,且按钮bl弹起时,档C与档A 连接,当按钮al弹起且按钮bl按下时,档C与档B连接,两个按钮同时按下或弹起时,档C 处于空挡。 [0053] The shift controller 100 may be manually operated by, specifically, the shift controller 100 includes two buttons, the button and the button BL al, al when the button is pressed, and the button when bl bounce, speed and gear A connector C, when the button and the button pops al bl pressed, gear shift and C B are connected, pressing two buttons simultaneously or bounce, profile C is in neutral.

[0054] 在其他实施例中,电子装置1还可以安装其他装置以对用户身份进行验证,进而间接控制档位控制器100,例如,在电子装置1上安装指纹识别器,通过指纹识别的方式来启动第一操作系统或第二操作系统。 [0054] In other embodiments, the electronic device 1 may also be mounted on other means to verify the identity of the user, and thus indirectly control the shift controller 100, e.g., a fingerprint reader is mounted on the electronic device 1, by way of the fingerprint identification to start the first operating system or the second operating system. 所述电子装置1还可以安装近场通信(Near Field Communication,NFC)装置,以实现对用户身份进行验证。 The electronic device 1 may also be mounted near field communication (Near Field Communication, NFC) apparatus, to implement user identity authentication. 通过NFC装置可以间接控制档位控制100,从而启动第一操作系统或第二操作系统。 NFC may be indirectly controlled by the shift control means 100 to initiate the first operating system or the second operating system.

[0055] 如图3所示,是本发明图1中的电子装置进行双系统热切换的方法的较佳实施例的流程图。 [0055] 3, is in an electronic device 1 according to the present invention, FIG method of hot-swappable dual system flow diagram of the preferred embodiment.

[0056] 步骤S10,电子装置1接通电源之后,首先启动第一操作系统。 [0056] Step S10, the electronic device 1 after power is first activation of the first operating system. 总线驱动器30将CPU 50与第一RAM 101连接以在CPU 50中运行固件80的第一操作系统,并将CPU 50的状态信息保存到第一RAM101中。 Bus driver 30 and the CPU 50 is connected to the first RAM 101 in the CPU 50 firmware running the first operating system 80, and the status information from the CPU 50 to save the first in the RAM101. 具体而言,电子装置1接通电源,CPU 50发送指令给外部寄存器40,使得外部寄存器40产生一高电平信号,外部寄存器40发送该高电平信号给总线驱动器30,总线驱动器30将CPU 50与第一RAM 101连接,以运行第一操作系统,同时CPU 50 将CPU 50的状态信息保存到第一RAM 101中。 Specifically, the electronic device 1 is powered on, CPU 50 sends instructions to the external register 40, so that the external register 40 generates a high level signal, the external register 40 sends a high level signal to the bus driver 30, the CPU 30 drives the bus 50 is connected to the first RAM 101, a first operating system to run, while the CPU 50 from the CPU 50 to save the state information to the first RAM 101 in. 需要说明的是,第一RAM 101中保存的CPU 50的状态信息是指第一操作系统在CPU 50中运行时CPU 50内部的地址寄存器及数据寄存器的状态信息。 Note that to save a first state of the RAM 101, the CPU 50 refers to the information of the internal state of the CPU 50 running a first operating system in the CPU 50 when the address register and data register information.

[0057] 步骤S20,当第一操作系统启动之后,电子装置1启动第二操作系统。 [0057] step S20, the first operating system starts when the electronic device 1 starts the second operating system. 总线驱动器30将CPU 50与第一RAM 101断开,并与第二RAM102连接以在CPU 50中运行固件80中的第二操作系统。 Bus driver 30 is disconnected from the CPU 50 to the first RAM 101, and is connected to the CPU 50 running a second operating system firmware 80 and the second RAM102. 具体而言,CPU 50发送指令给外部寄存器40,使得外部寄存器40产生一低电平信号,外部寄存器40发送该低电平信号给总线驱动器30,总线驱动器30将CPU 50与第二RAM 101连接,以运行第二操作系统。 Specifically, CPU 50 sends instructions to the external register 40, so that the external register 40 generates a low level signal, the external register 40 sends a low level signal to the bus driver 30, the bus driver 30 connected to the CPU 50 and the second RAM 101 to run a second operating system.

[0058] 步骤S30,启动完第一操作系统及第二操作系统之后,CPU 50读取触发器60中档位开关70的状态,判断档位开关70接通的档位是否与第二RAM 102对应。 [0058] Step S30, the operating system starts after completing the first and the second operating system, the state of the position switch 60 The CPU 50 reads the trigger 70, the switch gear 70 determines whether second gear is turned RAM 102 correspond. 具体地说,若触发器60上存储的档位开关70的状态为B,表明档B与档位C接通,接通的档位B与第二RAM 102对应,不需要将CPU 50切换到与第一RAM 101连接,重复步骤S30。 Specifically, when the trigger 60 is stored on the state-position switch 70 is B, and B indicate shift gear C is turned on, and a second gear position B corresponding to the RAM 102 is turned on, the CPU 50 does not need to switch connected to the first RAM 101, repeat step S30. 若触发器60上存储的档位开关70的状态为A,表明档A与档位C接通,而接通的档位A与第二RAM 102不对应,需要将CPU 50与第一RAM 101连接,以启动第一操作系统,流程进入步骤S40。 If the memory state of the inhibitor switch 60 on the trigger 70 is A, C indicates that the gear shift and A is turned ON and the A and the second gear position does not correspond to RAM 102, the CPU 50 first needs to RAM 101 is connected to a first operating system boot, the flow proceeds to step S40.

[0059] 步骤S40,当需要将CPU 50与第一RAM 101连接,以启动第一操作系统时,CPU 50 将CPU 50的状态信息保存到第二RAM 102中,CPU 50发送指令给外部寄存器40,外部寄存器40收到指令之后产生一高电平信号并将该高电平信号传送给总线驱动器,总线驱动器30接收到该高电平信号之后将CPU 50与第二RAM 102断开,并将CPU 50与第一RAM 101 连接,CPU 50将第一RAM 101中保存的CPU 50的状态信息恢复到CPU 50中,使得CPU 50 运行第一操作系统。 [0059] step S40, the CPU 50 is connected if necessary to the first RAM 101, a first operating system to start, the CPU 50 of the state information to the second CPU 50 stored in the RAM 102, CPU 50 sends instructions to the external register 40 , after generating a high level signal after the external register 40 receives the command and transmits the high level signal to the bus driver, bus driver 30 receives the high level signal to the second RAM 102 and the CPU 50 is disconnected, and CPU 50 is connected to the first RAM 101, CPU 50 will restore the state saved in the RAM 101 of the first information from the CPU 50 to the CPU 50, so that the CPU 50 running a first operating system. 需要说明的是,第二RAM 102中保存的CPU 50的状态信息是指第二操作系统在CPU 50中运行时CPU 50内部的地址寄存器及数据寄存器的状态信息。 Note that the RAM 102 stored in the second state of the CPU 50 refers to the information of the internal state of the CPU 50 of the second operating system runs on the CPU when the address register 50 and data register information.

[0060] 需要说明的是,直到步骤S40,用户没有主动参与切换档位开关70。 [0060] Incidentally, until step S40, the user is not actively involved in switching position switch 70.

[0061] 步骤S50,当用户通过档位切换(S卩,此时用户主动拨动档C)接通与第二RAM 102 对应的档位,触发器60上的档位开关的状态变更为B,触发器60产生一中断信号并发送给CPU 50, CPU 50接收该中断信号之后,读取触发器60上的档位开关的状态为B,CPU 50将CPU 50的状态信息保存到第一RAM 101中,之后CPU 50发送指令给外部寄存器40,使得外部寄存器40产生一低电平信号并发送给总线驱动器30,总线驱动器30接收到该低电平信号之后,将CPU 50与第一RAM 101断开,并将CPU 50与第二RAM 102连接,同时CPU 50将第二RAM 102中保存的CPU的状态信息恢复到CPU 50中,使得CPU 50运行第二操作系统。 [0061] step S50, the shift switch when the user (S Jie, when the user is actively toggle gear C) is turned on and the RAM 102 corresponding to the second gear shift state of the trigger switch 60 is changed to B , the flip-flop 60 generates a status signal sent to CPU 50, CPU 50, after receiving the interrupt signal, reads the gear position of the trigger switch 60 is an interruption B, CPU 50 from the CPU 50 to save the state information to the first RAM after 101, the CPU 50 then sends instructions to the external register 40, so that the external register 40 generates a low level signal sent to the bus driver 30, the bus driver 30 receives the low level signal, the first CPU 50 and the RAM 101 OFF, and the CPU 50 is connected to the second RAM 102, while the CPU 50 to restore the second state information stored in the RAM 102 of the CPU 50 to the CPU, so that the CPU 50 running a second operating system.

Claims (7)

1. 一种双系统之间实现热切换的电子装置,其特征在于,该电子装置包括第一RAM、第一存储器、第二RAM、第二存储器、总线驱动器、CPU及档位开关,其中:第一RAM与第一存储器连接,第二RAM与第二存储器连接,第一RAM及第二RAM与总线驱动器连接,总线驱动器及CPU连接,CPU还与固件及档位开关连接; 所述固件安装第一操作系统及第二操作系统; 所述档位开关,包括与第一RAM及第一存储器对应的档位,及与第二RAM及第二存储器对应的档位; 所述总线驱动器,当接通档位开关上与第一RAM及第一存储器对应的档位时,将CPU与第一RAM连接,并将CPU与第二RAM断开; 所述总线驱动器,当接通档位开关上与第二RAM及第二存储器对应的档位时,将CPU与第二RAM连接,并将CPU与第一RAM断开; 所述第一RAM,保存第一操作系统在CPU中运行时的CPU的状态信息; 所述第二RAM, 1. A dual achieved between the thermal switching system of the electronic device, wherein the electronic device comprises a first RAM, a first memory, a second RAM, a second memory, a bus driver, CPU, and switch gear, wherein: a first RAM connected to the first memory, a second memory and a second RAM connected to the first RAM and a second RAM connected to the bus driver, a bus driver and the CPU is connected, is also connected to the CPU firmware and the position switch; the firmware installed the first operating system and a second operating system; the position switch, comprising a first memory and RAM and corresponding to a first gear, and the second RAM and the second memory corresponding to the gear; said bus driver, when when the gear position switch is turned on and the first RAM memory corresponding to a first gear, a first RAM connected to the CPU, a second CPU and RAM and disconnected; said bus driver, when the position switch is turned on and the second RAM and the second memory corresponding to the gear, and a second RAM connected to the CPU, and the CPU and disconnecting the first RAM; a first RAM, stored in the CPU when the CPU is running a first operating system state information; and the second RAM, 存第二操作系统在CPU中运行时的CPU的状态信息; 所述CPU,在总线驱动器断开CPU与第一RAM的连接之前,保存第一操作系统在CPU中运行时的CPU的状态信息到第一RAM中,并在总线驱动器将CPU与第二RAM的连接之后,恢复第二RAM中的CPU中运行第二操作系统的状态信息,以运行第二操作系统; 所述CPU,在总线驱动器断开CPU与第二RAM的连接之前,保存第二操作系统在CPU中运行时的CPU的状态信息到第二RAM中,并在总线驱动器将CPU与第一RAM的连接之后,恢复第一RAM中的CPU中运行第一操作系统的状态信息,以运行第一操作系统。 Stored in the CPU when the CPU is running a second operating system status information; the CPU, the CPU bus connected to the drive before the disconnection of the first RAM, stored in the CPU when the CPU is running a first operating system of status information to the a first RAM and after a bus driver connected to the second CPU and RAM, and restore the state information of the second RAM in the CPU running a second operating system, to run a second operating system; the CPU, the bus driver before disconnecting the second CPU and the RAM, stored in the CPU when the CPU is running a second operating system status information to the second RAM and the first RAM connected to the CPU and the bus driver then, recover the first RAM the CPU running a first operating system of status information, the first operating system to run.
2. 如权利要求1所述的一种双系统之间实现热切换的电子装置,其特征在于,所述档位开关与CPU之间还连接有一触发器,该触发器用于产生一中断信号,该中断信号用于使得CPU从运行第一操作系统切换到运行第二操作系统。 2 between a dual system of claim 1 implemented according to the thermal switch of the electronic device claims, characterized in that the gear has a further connection between the trigger switch and the CPU, the trigger for generating an interrupt signal, the CPU interrupt signal for causing the switching operation from the first operating system to run a second operating system.
3. 如权利要求1所述的一种双系统之间实现热切换的电子装置,所述总线驱动器与CPU还连接有一外部寄存器,所述CPU通过外部寄存器控制总线驱动器,使得总线驱动器根据CPU的指令将CPU与第一RAM连接并断开与第二RAM的连接或将CPU与第二RAM连接并断开与第二RAM的连接。 As claimed in between a dual system of claim 1 implemented electronic device of claim thermal switch, and the bus driver is also connected to an external CPU registers, the CPU controls the register through the external bus driver, so that the CPU bus driver in accordance with instruction to the CPU connected to the first RAM and a second RAM disconnect or to connect and disconnect the second RAM and the second RAM CPU.
4. 如权利要求1所述的一种双系统之间实现热切换的电子装置,其特征在于,所述第一RAM中保存的第一操作系统在CPU中运行时的CPU的状态信息是指第一操作系统在CPU 中运行时CPU内部的地址寄存器及数据寄存器的状态信息。 As claimed in between a dual system of an electronic device implemented hot switching claims, characterized in that the state information stored in the RAM of the CPU in the first operation in the CPU during the first operating system is a a first state of the operating system address register and data register in the CPU when the CPU operation information.
5. 如权利要求1所述的一种双系统之间实现热切换的电子装置,其特征在于,所述第二RAM中保存的第二操作系统在CPU中运行时的CPU的状态信息是指第二操作系统在CPU 中运行时CPU内部的地址寄存器及数据寄存器的状态信息。 As claimed in between a dual system of an electronic device implemented hot switching claims, characterized in that the state information stored in the RAM of the second CPU when the CPU is running a second operating system refers to the second operating system address register and status register of the internal data of the CPU when the CPU operation information.
6. 如权利要求1所述的一种双系统之间实现热切换的电子装置,其特征在于,该电子装置还包括一身份识别器及一档位控制器,该身份识别器及档位控制器与所述CPU连接, 该档位控制器还与档位开关连接。 As claimed in between a dual system of heat to achieve the switching of the electronic device claims, characterized in that the apparatus further comprises an electronic identification device, and a shift controller, the shift control and identification unit connected with said CPU, the controller is further connected to the gear position switch.
7. 如权利要求6所述的一种双系统之间实现热切换的电子装置,其特征在于,所述档位开关控制器结合身份识别器接通档位开关上与第一RAM及第一存储器对应的档位或接通档位开关上与第二RAM及第二存储器对应的档位。 7. The system according to a dual between 6 to achieve thermal switch of the electronic device, characterized in that the position switch controller identification binding position switch is switched on with a first RAM and a first memory corresponding to the gear position switch is turned on or the second RAM and the second memory corresponding to the gear.
CN201310151331.0A 2013-04-25 2013-04-25 Electronic device for achieving hot switching between two systems CN104123147A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310151331.0A CN104123147A (en) 2013-04-25 2013-04-25 Electronic device for achieving hot switching between two systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310151331.0A CN104123147A (en) 2013-04-25 2013-04-25 Electronic device for achieving hot switching between two systems

Publications (1)

Publication Number Publication Date
CN104123147A true CN104123147A (en) 2014-10-29

Family

ID=51768572

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310151331.0A CN104123147A (en) 2013-04-25 2013-04-25 Electronic device for achieving hot switching between two systems

Country Status (1)

Country Link
CN (1) CN104123147A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105910832A (en) * 2016-04-15 2016-08-31 北京新能源汽车股份有限公司 Gear function detection apparatus of gear shifting device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7246220B1 (en) * 2001-07-27 2007-07-17 Magnum Semiconductor, Inc. Architecture for hardware-assisted context switching between register groups dedicated to time-critical or non-time critical tasks without saving state
CN102043670A (en) * 2009-10-22 2011-05-04 系微股份有限公司 Method for switching different operation systems by computer
CN102122250A (en) * 2011-01-26 2011-07-13 威盛电子股份有限公司 Computer system and operating system switching method thereof
CN202306531U (en) * 2011-09-20 2012-07-04 深圳市顶星数码网络技术有限公司 Multi-system changeover device and computer
CN102934085A (en) * 2009-07-20 2013-02-13 摩托罗拉移动公司 System and method for switching between environments in multi-environment operating system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7246220B1 (en) * 2001-07-27 2007-07-17 Magnum Semiconductor, Inc. Architecture for hardware-assisted context switching between register groups dedicated to time-critical or non-time critical tasks without saving state
CN102934085A (en) * 2009-07-20 2013-02-13 摩托罗拉移动公司 System and method for switching between environments in multi-environment operating system
CN102043670A (en) * 2009-10-22 2011-05-04 系微股份有限公司 Method for switching different operation systems by computer
CN102122250A (en) * 2011-01-26 2011-07-13 威盛电子股份有限公司 Computer system and operating system switching method thereof
CN202306531U (en) * 2011-09-20 2012-07-04 深圳市顶星数码网络技术有限公司 Multi-system changeover device and computer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105910832A (en) * 2016-04-15 2016-08-31 北京新能源汽车股份有限公司 Gear function detection apparatus of gear shifting device

Similar Documents

Publication Publication Date Title
CN103370954B (en) With Near Field Communication (NFC) device and provide mobile wireless communication device and associated method for erasing memory
US8504823B2 (en) Dynamic configuration of connectors for system-level communications
ES2687680T3 (en) Method and apparatus for remote delivery of USB services managed by a mobile computing device
US9052917B2 (en) Data storage for remote environment
US20120254602A1 (en) Methods, Systems, and Apparatuses for Managing a Hard Drive Security System
US8750799B2 (en) Wireless accessory device pairing determination for multiple host devices
US8880884B2 (en) System and method for enabling seamless transfer of a secure session
US20120185933A1 (en) User account for system protection or recovery
CN102483647B (en) A method for adjunct processor via the low power operation of the computer system, and
EP2859498A2 (en) Trusted security zone access to peripheral devices
KR20130096239A (en) Host device and method for securely booting the host device with operating system code loaded from a storage device
KR20090096554A (en) Synchronizat10n methods and systems
KR20030038542A (en) A computer with switchable components
JP5380276B2 (en) Shared non-volatile memory architecture
CN101826023A (en) Virtual memory over baseboard management controller
EP2348451B1 (en) Methods and apparatus for restoration of an anti-theft platform
US8751824B2 (en) Method and apparatus for protecting software of mobile terminal
KR101289581B1 (en) Method and apparatus for secure scan of data storage device from remote server
CN102402820B (en) Electronic transaction method and terminal equipment
CN102238228B (en) Establishing a remote desktop
US7907515B2 (en) Network interface switching in multi-interface apparatus
CN104102882A (en) Protection method and device for privacy data of application program
US20090100503A1 (en) Authentication for shared wireless peripherals having an internal memory store for sharing digital content across multiple hosts
US20080052708A1 (en) Data Processing System With A Plurality Of Subsystems And Method Thereof
CN103294545B (en) Dual operating system switching method and an electronic device

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
DD01 Delivery of document by public notice
DD01 Delivery of document by public notice
WD01 Invention patent application deemed withdrawn after publication