CN104123147A - Electronic device for achieving hot switching between two systems - Google Patents
Electronic device for achieving hot switching between two systems Download PDFInfo
- 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
- bus driver
- memory
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000009434 installation Methods 0.000 claims description 56
- 230000009977 dual effect Effects 0.000 claims description 19
- 238000004321 preservation Methods 0.000 claims description 4
- 238000000034 method Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000009849 deactivation Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 230000006386 memory function Effects 0.000 description 2
- 238000012163 sequencing technique Methods 0.000 description 2
- 238000003756 stirring Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 230000007935 neutral effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Landscapes
- Stored Programmes (AREA)
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
Technical field
The present invention relates to electronic product field, be specifically related to realize between a kind of dual system the electronic installation of hot-swap.
Background technology
Existing electronic installation, the devices such as smart mobile phone, tablet electronic device have been comprised, for complete isolated data in same electronics, common way is: (for example generally there are two or more storage facilitiess the inside at electronic installation, hard disk, the storage mediums such as flash) storage data.This electronic installation is provided with two independently operating systems, and the data between these different storage facilitiess can not be accessed mutually, and making can isolation completely on electronic installation in the data between different storage device.And user is in access during the data in a plurality of different memory devices, need between different memory devices, switch by change-over switch, for example, supposing has two memory devices on some electronic installations, this electronic installation is provided with two independently operating systems, data between the first memory device and the second memory device are separate, can not access each other, if access the data in the first memory device, by change-over switch, be switched to the circuit of the first memory device, start the operating system on the first memory device, if access the data in the second memory device, by change-over switch, be switched to the circuit of the second memory device, start the operating system on the second memory device.Yet, in handoff procedure in the past, be all that cold cut is changed, need could start another one operating system by after one of them operating system shutdown, thus, reduced user and used the user of the electronic installation of dual system to experience.
Summary of the invention
In view of above content, be necessary to provide the electronic installation of realizing hot-swap between a kind of dual system, non-interfering two kinds of operating systems can be set on same electronic installation, and separate during two kinds of operating systems, be independent of each other, user is when carrying out two switchings between operating system, do not need to close one of them system deactivation another one system again, it can realize the hot-swap between dual system, facilitated user, improved user and used the user of dual system electronic installation to experience.
The invention provides the electronic installation of realizing hot-swap between a kind of dual system, it is characterized in that, this electronic installation comprises a RAM, first memory, the 2nd RAM, second memory, bus driver, CPU and driving switch, wherein: a RAM is connected with first memory, the 2nd RAM is connected with second memory, the one RAM and the 2nd RAM are connected with bus driver, and bus driver and CPU connect, and CPU is also connected with firmware and driving switch;
Described firmware is installed the first operating system and the second operating system;
Described driving switch, comprises the gear corresponding with a RAM and first memory, and the gear corresponding with the 2nd RAM and second memory;
Described bus driver during the gear corresponding with a RAM and first memory, is connected CPU on connecting driving switch with a RAM, and by CPU and the 2nd RAM disconnection;
Described bus driver during the gear corresponding with the 2nd RAM and second memory, is connected CPU on connecting driving switch with the 2nd RAM, and by CPU and RAM disconnection;
A described RAM, the status information of CPU when preservation the first operating system is moved in CPU;
Described the 2nd RAM, the status information of CPU when preservation the second operating system is moved in CPU;
Described CPU, for disconnect being connected of CPU and a RAM at bus driver before, preserve in status information to the RAM of the CPU of the first operating system while moving in CPU, and at bus driver by after being connected of CPU and the 2nd RAM, recover to move in the CPU in the 2nd RAM the status information of the second operating system, to move the second operating system;
Described CPU, before bus driver disconnects being connected of CPU and the 2nd RAM, preserve in status information to the two RAM of the CPU of the second operating system while moving in CPU, and at bus driver by after being connected of CPU and a RAM, recover to move in the CPU in a RAM status information of the first operating system, to move the first operating system.
Compared to prior art, between described dual system, realize the electronic installation of hot-swap, non-interfering two kinds of operating systems can be set on same electronic installation, and separate during two kinds of operating systems, be independent of each other, user is when carrying out two switchings between operating system, do not need to close one of them system deactivation another one system again, the hot-swap that it can be realized between dual system, has facilitated user, has improved user and has used the user of dual system electronic installation to experience.
Accompanying drawing explanation
Fig. 1 is the structural representation of electronic installation the first preferred embodiment in the present invention;
Fig. 2 is the structural representation of the preferred embodiment after the electronic installation in Fig. 1 of the present invention improves;
Fig. 3 is the process flow diagram that the electronic installation in Fig. 1 of the present invention carries out the preferred embodiment of dual system hot change-over method.
Embodiment
Shown in Fig. 1, it is the structural representation of electronic installation the first preferred embodiment in the present invention.Described electronic installation 1 refers to mobile phone, personal digital assistant (Personal Digital Assistant, PDA), tablet electronic device, personal computer and comprises arbitrarily two above storeies.In the present embodiment, described electronic installation 1 is for being provided with the tablet electronic device of two operating systems.
Described electronic installation 1 comprises the first random access memory (random access memory, RAM) 101, first memory 201, the 2nd RAM 102, second memory 202, bus driver 30, external register 40, central processing unit (Central processing unit, CPU) 50, trigger 60 and driving switch 70.Wherein, the one RAM 101 is connected with first memory 201, the 2nd RAM 102 is connected with second memory 202, the one RAM101, the 2nd RAM 102 are connected with bus driver 30, between bus driver 30, external register 40 and CPU 50, interconnect, CPU 50 is also connected with trigger 60 and firmware 80, and in addition, trigger 60 is also connected with driving switch 70.
The first operating system and the second operating system are installed on described firmware 80.Described firmware 80 can be one (the first operating system and the second operating system installation are in a firmware), can be also two (the first operating system installation is in firmwares, in the second operating system installation and another one firmware).
It should be noted that, the first operating system of the installation of firmware 80 can be identical with the second operating system, also can be different.Described the first operating system and the second operating system, can be desktop operating system, can be also the operating system of mobile device.If electronic installation 1 is personal computer, operating system is desktop operating system, for example, the Windows of Microsoft (as, WINDOWS 8 operating systems), or LINUX operating system, and because the occupied space of desktop operating system is large, now firmware is two, and the first operating system and the second operating system installation are in two independently in firmware.If electronic installation 1 be mobile device (as, the equipment such as mobile phone, tablet electronic device), the first operating system and the second operating system be all Mobile operating system (as, the Android operating system of Google etc.), and because the occupied space of Mobile operating system is little, for cost-saving, firmware can be one, and the first operating system and the second operating system installation are in a firmware.In this preferred embodiment, the first operating system and the second operating system are all Mobile operating system, are installed in a firmware 80.
In two operating systems of electronic installation 1 upper set, can so that user have two separate, the operating space being independent of each other, for example, the first operating system is just used for handling official business, by arranging in the first operating system (as, VPN arranges), and connect the enterprise of being built by given server or the built-in system of public institution by network, realize the built-in system of access enterprise or public institution, for example, (to handle official business, use the mailing system of installing on built-in system to carry out mail transmission etc.), and the second operating system can be used as the operating system that user oneself uses, user can pass through the network settings of the second operating system, be connected to network, and (for example access common server, the server of large-scale news website).
In order to protect user's information security, user can arrange the mode of demonstrate,proving information by identity verification and start the first operating system or the second operating system.
During the first operating system, CPU 50 is connected with a RAM 101, and CPU 50 and the 2nd RAM 102 disconnect, and a RAM 101 provides buffer memory, and first memory 201 provides memory function (for example, preserve file, application software etc. is installed).
During the second operating system, CPU 50 is connected with the 2nd RAM 102, and CPU 50 and a RAM 101 disconnect, and the 2nd RAM 102 provides buffer memory, and second memory 202 provides memory function (for example, preserve file, application software etc. is installed).
Described first memory 201 and second memory 202 can be external memory card (for example, SD card, TF card etc.), can be to be also embedded in electronic equipment 1.First memory 201 is separate with second memory 202, is independent of each other.
In the present invention, unless otherwise specifically indicated for describing the sequence adjective " first " of common components, the usage of " second " etc., otherwise, " first " and " second " is only used to distinguish similar elements, and the element that does not mean that such description must be according to given order, or time, space, grade or other mode.
Bus driver 30 is for controlling the annexation of CPU 50 and a RAM 101 and the 2nd RAM102, particularly, when the first operating system, bus driver 30 is connected CPU 50 with a RAM 101, and disconnects being connected of CPU 50 and the 2nd RAM 202.When the second operating system, bus driver 30 is connected CPU 50 with the 2nd RAM 102, and disconnects being connected of CPU 50 and a RAM 201.
The mode connecting is as follows, when CPU 50 need to be connected with a RAM 101, CPU50 sends a steering order to external register 40, make external register 40 produce a high level signal, external register 40 sends produced high level signal to bus driver 30, when bus driver 30 receives this high level signal, connect CPU 50 and a RAM101, and disconnect being connected of CPU 50 and the 2nd RAM 102 simultaneously.
When CPU 50 need to be connected with the 2nd RAM 102, CPU 50 sends a steering order to external register 40, make external register 40 produce a low level signal, external register 40 sends produced low level signal to bus driver 30, when bus driver 30 receives this low level signal, connect CPU 50 and the 2nd RAM 102, and disconnect being connected of CPU 50 and a RAM 101 simultaneously.
In other words, CPU 50 sends high level signal to bus driver 30 by external register 40, and CPU 50 is connected with a RAM 101 afterwards, and CPU 50 and the 2nd RAM102 disconnect.CPU 50 sends low level signal to bus driver 30 by external register 40, and CPU 50 is connected with the 2nd RAM 102 afterwards, and CPU 50 and a RAM 101 disconnect.
It should be noted that, bus driver 30 is controlled each of CPU 50 and is connected with one of them RAM, can two RAM be connected with CPU 50 simultaneously.
Described driving switch 70 is connected with trigger 60, and driving switch 70 comprises three gears, shelves A, shelves B and shelves C.Wherein, shelves C is connected with shelves A or shelves B, there will not be grade C to be neither connected situation about not also being connected with shelves B with shelves A simultaneously.
Described shelves A is corresponding with a RAM 101, first memory 201 and the first operating system, in other words, and when shelves C is connected with shelves A, by the first operating system on a RAM 101, first memory 201 and CPU 50 operation firmwares 80.
Described shelves B is corresponding with the 2nd RAM 102, second memory 202 and the second operating system, in other words, and when shelves C is connected with shelves B, by the second operating system on the 2nd RAM 102, second memory 202 and CPU 50 operation firmwares 80.
Particularly, store the state of driving switch 70 on described trigger 60, wherein, when shelves C is connected with shelves A, on trigger 60, the state of the driving switch 70 of storage is A, and when shelves C is connected with shelves B, on trigger 60, the state of the driving switch 70 of storage is B.CPU 50 reads by reading the state of driving switch 70 on trigger 60 and determines operation the first operating system or the second operating system.Specifically, on trigger 60, the state of the driving switch 70 of storage is A, and CPU 50 determines operation the first operating system, and on trigger 60, the state of the driving switch 70 of storage is B, and CPU 50 determines operation the second operating system.
In other embodiments, trigger 60 can be save, and that is to say, driving switch 70 can be directly connected to CPU 50, when shelves C is connected with shelves A, starts the first operating system, when shelves C is connected with shelves B, starts the second operating system.
In addition, because driving switch 70 is when carrying out gear switch, may occur the phenomenon of shake, for example, when user is switched to grade B by shelves C from shelves A, a shelves C may not have completely and is connected with a grade B, and a grade A may also have signal residual.For fear of jitter phenomenon, an anti-shake apparatus (not shown) is also installed in driving switch 40, described anti-shake apparatus may be, but not limited to,, the devices such as RC loop, metal-oxide-semiconductor.By anti-shake apparatus is installed, during gear switch, do not have signal residual.
Described bus driver 30, during for gear corresponding with a RAM 101 on connecting driving switch 70, is connected CPU 50 with a RAM 101, and by CPU 50 and the 2nd RAM 102 disconnections;
Described bus driver 30, during also for gear corresponding with the 2nd RAM102 on connecting driving switch 70, is connected CPU 50 with the 2nd RAM 102, and by CPU 50 and RAM 101 disconnections;
A described RAM 101, for preserving the status information of the CPU 50 of the first operating system when CPU 50 moves.It should be noted that, the status information of the CPU 50 when first operating system of preserving in a RAM 101 is moved in CPU 50 refers to the address register of CPU 50 inside when the first operating system is moved in CPU 50 and the status information of data register.
Described the 2nd RAM 102, for preserving the status information of the CPU 50 of the second operating system when CPU 50 moves; It should be noted that, the status information of the CPU 50 when second operating system of preserving in the 2nd RAM 102 is moved in CPU 50 refers to the address register of CPU 50 inside when the second operating system is moved in CPU 50 and the status information of data register.
Described CPU 50, for disconnect being connected of CPU 50 and a RAM101 at bus driver 30 before, preserve in status information to the RAM 101 of the CPU 50 of the first operating system while moving in CPU 50, and at bus driver 30 by after being connected of CPU 50 and the 2nd RAM 102, recover to move in the CPU 50 in the 2nd RAM 102 status information of the second operating system, to move the second operating system;
Described CPU, also for disconnect being connected of CPU 50 and the 2nd RAM 102 at bus driver 30 before, preserve in status information to the two RAM 102 of the CPU 50 of the second operating system while moving in CPU 50, and at bus driver 30 by after being connected of CPU 50 and a RAM 101, recover to move in the CPU 50 in a RAM 101 status information of the first operating system, to move the first operating system.
Be below that an embodiment describes: after electronic installation 1 switches on power, can start the first operating system and the second operating system according to sequencing.
After electronic installation 1 switches on power, first start the first operating system.Bus driver 30 is connected in CPU 50, to move the first operating system of firmware 80 by CPU50 with a RAM 101, and the status information of CPU 50 is saved in a RAM 101.Particularly, electronic installation 1 switches on power, CPU 50 sends instruction to external register 40, make external register 40 produce a high level signal, external register 40 sends this high level signal to bus driver 30, bus driver 30 is connected CPU 50 with a RAM 101, to move the first operating system, CPU 50 is saved in the status information of CPU 50 in the one RAM 101 simultaneously.It should be noted that, the status information of the CPU 50 preserving in a RAM 101 refers to the address register of CPU 50 inside when the first operating system is moved in CPU 50 and the status information of data register.
After the first os starting, electronic installation 1 starts the second operating system.Bus driver 30 disconnects CPU 50 and a RAM 101, and is connected in CPU 50, to move the second operating system in firmware 80 with the 2nd RAM 102.Particularly, CPU 50 sends instruction to external register 40, makes external register 40 produce a low level signal, and external register 40 sends this low level signal to bus driver 30, bus driver 30 is connected CPU 50 with the 2nd RAM 101, to move the second operating system.
After having started the first operating system and the second operating system, CPU 50 reads the state of driving switch 70 in trigger 60, judges that whether the gear of driving switch 70 connections is corresponding with the 2nd RAM 102.Specifically, if the state of the driving switch 70 of storage is B on trigger 60, show that grade B and gear C connect, the gear B of connection is corresponding with the 2nd RAM 102, does not need CPU 50 to be switched to a RAM 101 and to be connected.If the state of the driving switch 70 of storage is A on trigger 60, show that grade A and gear C connect, and the gear A connecting is not corresponding with the 2nd RAM 102, CPU 50 need to be connected with a RAM 101, to start the first operating system.
When needs are connected CPU 50 with a RAM 101, when starting the first operating system, CPU 50 is saved in the status information of CPU 50 in the 2nd RAM 102, CPU 50 sends instruction to external register 40, external register 40 produces a high level signal and sends this high level signal to bus driver after receiving instruction, bus driver 30 after receiving this high level signal disconnects CPU 50 and the 2nd RAM 102, and CPU 50 is connected with a RAM 101, CPU 50 returns to the status information of the CPU 50 preserving in a RAM 101 in CPU 50, make CPU 50 operation the first operating systems.It should be noted that, the status information of the CPU 50 preserving in the 2nd RAM 102 refers to the address register of CPU 50 inside when the second operating system is moved in CPU 50 and the status information of data register.
It should be noted that, sequencing can be installed after electronic installation 1 switches on power and start in the process of the first operating system and the second operating system, user also does not initiatively participate in switching driving switch 70.
When user by gear switch (, now user initiatively stirs a grade C) the connection gear corresponding with the 2nd RAM102, the Status Change of the driving switch on trigger 60 is B, trigger 60 produces a look-at-me and sends to CPU 50, after CPU 50 receives this look-at-me, the state that reads the driving switch on trigger 60 is B, CPU 50 is saved in the status information of CPU 50 in the one RAM 101, CPU 50 sends instruction to external register 40 afterwards, make external register 40 produce a low level signal and send to bus driver 30, after bus driver 30 receives this low level signal, CPU 50 and a RAM 101 are disconnected, and CPU 50 is connected with the 2nd RAM 102, CPU 50 returns to the status information of the CPU preserving in the 2nd RAM 102 in CPU 50 simultaneously, make CPU 50 operation the second operating systems.
Fig. 2 is the structural representation of the preferred embodiment after the electronic installation in Fig. 1 of the present invention improves.Electronic installation 1 after described improvement comprises identity recognizer 90 and gear controller 100, and gear controller 100 is connected with driving switch 70 and CPU 50, and identity recognizer 90 is connected with CPU50.Described gear controller 100 users control the gear C of driving switch 70, to switch between shelves A and shelves B.
When gear controller 100 is connected shelves C with shelves A, start the first operating system, in order to improve data security, after the first os starting, user can't login the first operating system, but enter the release interface of the first operating system, now, need to carry out authentication by identity recognizer 90, when user is by employee's work card during near identity recognizer 90, this identity recognizer 90 can read the employee information in employee's work card, when if the employee information reading is consistent with employee information pre-stored in identity recognizer 90, the release interface unlocking of the first operating system, user just can login the first operating system.And shelves C is connected with shelves B by gear controller 100 as user, after starting the second operating system, in order to improve data security, after the second os starting, user can't login the second operating system, but enter the release interface of the second operating system, now, need to carry out authentication by identity recognizer 90, when user is by I.D. during near identity recognizer 90, the identity information of this identity recognizer 90 in can reading identity card, when if the identity information reading is consistent with identity information pre-stored in identity recognizer 90, the release interface unlocking of the second operating system, user just can login the second operating system.
Described gear controller 100 can operate by manual mode, particularly, on this gear controller 100, comprise two buttons, be respectively button a1 and button b1, when pressing the button a1, and when button b1 upsprings, shelves C is connected with a shelves A, when button a1 upsprings and when button b1 presses, grade C is connected with a grade B, when two buttons are pressed simultaneously or upspring, shelves C is in neutral.
In other embodiments, electronic installation 1 can also be installed other devices so that user identity is verified, and then indirectly controls gear controller 100, for example, on electronic installation 1, Fingerprint Identification Unit is installed, the mode by fingerprint recognition starts the first operating system or the second operating system.Described electronic installation 1 can also be installed near-field communication (Near Field Communication, NFC) device, to realize, user identity is verified.By NFC device, can indirectly control gear and control 100, thereby start the first operating system or the second operating system.
As shown in Figure 3, be the process flow diagram of the preferred embodiment of electronic installation in Fig. 1 of the present invention method of carrying out dual system hot-swap.
Step S10, after electronic installation 1 switches on power, first starts the first operating system.Bus driver 30 is connected in CPU 50, to move the first operating system of firmware 80 by CPU 50 with a RAM 101, and the status information of CPU 50 is saved in a RAM101.Particularly, electronic installation 1 switches on power, CPU 50 sends instruction to external register 40, make external register 40 produce a high level signal, external register 40 sends this high level signal to bus driver 30, bus driver 30 is connected CPU 50 with a RAM 101, to move the first operating system, CPU 50 is saved in the status information of CPU 50 in the one RAM 101 simultaneously.It should be noted that, the status information of the CPU 50 preserving in a RAM 101 refers to the address register of CPU 50 inside when the first operating system is moved in CPU 50 and the status information of data register.
Step S20, after the first os starting, electronic installation 1 starts the second operating system.Bus driver 30 disconnects CPU 50 and a RAM 101, and is connected in CPU 50, to move the second operating system in firmware 80 with the 2nd RAM102.Particularly, CPU 50 sends instruction to external register 40, makes external register 40 produce a low level signal, and external register 40 sends this low level signal to bus driver 30, bus driver 30 is connected CPU 50 with the 2nd RAM 101, to move the second operating system.
Step S30, after having started the first operating system and the second operating system, CPU 50 reads the state of driving switch 70 in trigger 60, judges that whether the gear of driving switch 70 connections is corresponding with the 2nd RAM 102.Specifically, if the state of the driving switch 70 of storage is B on trigger 60, show that grade B and gear C connect, the gear B of connection is corresponding with the 2nd RAM 102, does not need CPU 50 to be switched to a RAM 101 and to be connected, repeating step S30.If the state of the driving switch 70 of storage is A on trigger 60, show that grade A and gear C connect, and the gear A connecting is not corresponding with the 2nd RAM 102, CPU 50 need to be connected with a RAM 101, to start the first operating system, flow process enters step S40.
Step S40, when needs are connected CPU 50 with a RAM 101, when starting the first operating system, CPU 50 is saved in the status information of CPU 50 in the 2nd RAM 102, CPU 50 sends instruction to external register 40, external register 40 produces a high level signal and sends this high level signal to bus driver after receiving instruction, bus driver 30 after receiving this high level signal disconnects CPU 50 and the 2nd RAM 102, and CPU 50 is connected with a RAM 101, CPU 50 returns to the status information of the CPU 50 preserving in a RAM 101 in CPU 50, make CPU 50 operation the first operating systems.It should be noted that, the status information of the CPU 50 preserving in the 2nd RAM 102 refers to the address register of CPU 50 inside when the second operating system is moved in CPU 50 and the status information of data register.
It should be noted that, until step S40, user does not initiatively participate in switching driving switch 70.
Step S50, when user by gear switch (, now user initiatively stirs a grade C) the connection gear corresponding with the 2nd RAM 102, the Status Change of the driving switch on trigger 60 is B, trigger 60 produces a look-at-me and sends to CPU 50, after CPU 50 receives this look-at-me, the state that reads the driving switch on trigger 60 is B, CPU 50 is saved in the status information of CPU 50 in the one RAM 101, CPU 50 sends instruction to external register 40 afterwards, make external register 40 produce a low level signal and send to bus driver 30, after bus driver 30 receives this low level signal, CPU 50 and a RAM 101 are disconnected, and CPU 50 is connected with the 2nd RAM 102, CPU 50 returns to the status information of the CPU preserving in the 2nd RAM 102 in CPU 50 simultaneously, make CPU 50 operation the second operating systems.
Claims (7)
1. between a dual system, realize the electronic installation of hot-swap, it is characterized in that, this electronic installation comprises a RAM, first memory, the 2nd RAM, second memory, bus driver, CPU and driving switch, wherein: a RAM is connected with first memory, the 2nd RAM is connected with second memory, the one RAM and the 2nd RAM are connected with bus driver, and bus driver and CPU connect, and CPU is also connected with firmware and driving switch;
Described firmware is installed the first operating system and the second operating system;
Described driving switch, comprises the gear corresponding with a RAM and first memory, and the gear corresponding with the 2nd RAM and second memory;
Described bus driver during the gear corresponding with a RAM and first memory, is connected CPU on connecting driving switch with a RAM, and by CPU and the 2nd RAM disconnection;
Described bus driver during the gear corresponding with the 2nd RAM and second memory, is connected CPU on connecting driving switch with the 2nd RAM, and by CPU and RAM disconnection;
A described RAM, the status information of CPU when preservation the first operating system is moved in CPU;
Described the 2nd RAM, the status information of CPU when preservation the second operating system is moved in CPU;
Described CPU, before bus driver disconnects being connected of CPU and a RAM, preserve in status information to the RAM of the CPU of the first operating system while moving in CPU, and at bus driver by after being connected of CPU and the 2nd RAM, recover to move in the CPU in the 2nd RAM the status information of the second operating system, to move the second operating system;
Described CPU, before bus driver disconnects being connected of CPU and the 2nd RAM, preserve in status information to the two RAM of the CPU of the second operating system while moving in CPU, and at bus driver by after being connected of CPU and a RAM, recover to move in the CPU in a RAM status information of the first operating system, to move the first operating system.
2. between a kind of dual system as claimed in claim 1, realize the electronic installation of hot-swap, it is characterized in that, between described driving switch and CPU, be also connected with a trigger, this trigger is for generation of a look-at-me, and this look-at-me is used for making CPU to be switched to operation the second operating system from moving the first operating system.
3. between a kind of dual system as claimed in claim 1, realize the electronic installation of hot-swap, described bus driver and CPU are also connected with an external register, described CPU is by external register control bus driver, bus driver is connected CPU according to the instruction of CPU with a RAM and disconnects and being connected or CPU is connected with the 2nd RAM and disconnect and being connected of the 2nd RAM of the 2nd RAM.
4. between a kind of dual system as claimed in claim 1, realize the electronic installation of hot-swap, it is characterized in that, the status information of CPU when first operating system of preserving in a described RAM is moved in CPU refers to the address register of CPU inside and the status information of data register when the first operating system is moved in CPU.
5. between a kind of dual system as claimed in claim 1, realize the electronic installation of hot-swap, it is characterized in that, the status information of CPU when second operating system of preserving in described the 2nd RAM is moved in CPU refers to the address register of CPU inside and the status information of data register when the second operating system is moved in CPU.
6. between a kind of dual system as claimed in claim 1, realize the electronic installation of hot-swap, it is characterized in that, this electronic installation also comprises an identity recognizer and a gear controller, and this identity recognizer and gear controller are connected with described CPU, and this gear controller is also connected with driving switch.
7. between a kind of dual system as claimed in claim 6, realize the electronic installation of hot-swap, it is characterized in that, described driving switch controller is connected gear corresponding with a RAM and first memory on driving switch in conjunction with identity recognizer or is connected on driving switch and the 2nd RAM and gear corresponding to second memory.
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 Pending 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)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105910832A (en) * | 2016-04-15 | 2016-08-31 | 北京新能源汽车股份有限公司 | Gear function detection device of gear shifter |
Citations (5)
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 | 系微股份有限公司 | How to switch between different operating systems on a 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 |
-
2013
- 2013-04-25 CN CN201310151331.0A patent/CN104123147A/en active Pending
Patent Citations (5)
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 | 系微股份有限公司 | How to switch between different operating systems on a 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)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105910832A (en) * | 2016-04-15 | 2016-08-31 | 北京新能源汽车股份有限公司 | Gear function detection device of gear shifter |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102061913B1 (en) | Method and apparatus for controlling operations of electronic device | |
CN103597805B (en) | For promoting the technology of the interactive operation between annex and multiple equipment | |
EP3046393B1 (en) | Switching device and method for automatically connecting to nfc chip and switching security element | |
JP2018513494A (en) | Mobile payment device and mobile payment system | |
EP2993802A1 (en) | Near field communication-based data transmission method and apparatus, and near field communication device | |
KR20190018506A (en) | System-on-Chip and Terminal | |
CN105260664A (en) | Security protection method and terminal for application among multiple systems | |
CN104092823A (en) | Information safety device and Bluetooth pairing method | |
CN102890766A (en) | Wireless communication subscriber system | |
CN103401771A (en) | Network isolation method and network isolation system | |
CN104123146A (en) | Method for achieving hot switching between two systems | |
CN101931576A (en) | Wireless access equipment and method | |
CN103118190A (en) | Mobile terminal and management method and management device for same | |
CN103838699B (en) | A kind of pluggable Multifunctional mobile financial terminal and port numbers fixing means thereof | |
CN105468552A (en) | USB equipment driving method, host and USB equipment | |
CN104135757A (en) | Method and device of reducing power consumption of terminal as well as baseband chip | |
CN104123147A (en) | Electronic device for achieving hot switching between two systems | |
CN113989962A (en) | Entrance guard identification control method and related equipment | |
CN203386201U (en) | Electronic device for realizing hot switch between dual systems | |
US20140052883A1 (en) | Expansion module and control method thereof | |
CN104700020A (en) | Method and system for device unlocking | |
EP3376420B1 (en) | Interface processing method, electronic device and graphic user interface | |
TWI548298B (en) | System, method, server, and application for communication | |
US20160360568A1 (en) | SSIC device and link control method for SSIC device | |
EP3044668B1 (en) | Systems and methods for controlling operating modes of smart platforms |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
DD01 | Delivery of document by public notice |
Addressee: SkyNet Technologies (Shenzhen) Ltd. Document name: Notification of Publication and of Entering the Substantive Examination Stage of the Application for Invention |
|
DD01 | Delivery of document by public notice | ||
DD01 | Delivery of document by public notice |
Addressee: SkyNet Technologies (Shenzhen) Ltd. Document name: the First Notification of an Office Action |
|
DD01 | Delivery of document by public notice | ||
DD01 | Delivery of document by public notice |
Addressee: SkyNet Technologies (Shenzhen) Ltd. Document name: Notification that Application Deemed to be Withdrawn |
|
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20141029 |