WO2019227908A1 - Multi-operation system electronic device - Google Patents

Multi-operation system electronic device Download PDF

Info

Publication number
WO2019227908A1
WO2019227908A1 PCT/CN2018/122386 CN2018122386W WO2019227908A1 WO 2019227908 A1 WO2019227908 A1 WO 2019227908A1 CN 2018122386 W CN2018122386 W CN 2018122386W WO 2019227908 A1 WO2019227908 A1 WO 2019227908A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
operating system
current position
module
switching
Prior art date
Application number
PCT/CN2018/122386
Other languages
French (fr)
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 深圳市鸿合创新信息技术有限责任公司
Publication of WO2019227908A1 publication Critical patent/WO2019227908A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system
    • G06F9/441Multiboot arrangements, i.e. selecting an operating system to be loaded
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt

Definitions

  • the invention relates to the technical field of smart devices, and in particular to a multi-operating system electronic device.
  • the technical problem to be solved by the present invention is to provide a multi-operating system electronic device in response to the above-mentioned defects of the prior art, which overcomes the defects that the multi-system equipment in the prior art needs to restart the switching and consume time.
  • the technical solution adopted by the present invention to solve its technical problems is to provide a multi-operating system electronic device, including a processor module, a direction acquisition module, a direction judgment module, and a system switching module.
  • the processor module includes at least two processors, respectively. It is used to run at least two operating systems; the direction acquisition module detects the current position information of the multi-operating system electronic device; the direction determination module reads the current position information of the multi-operating system electronic device from the direction acquisition module, and The current position information determines the current position status of the multi-operating system electronic device; the system switching module is connected to the at least two processors respectively, and receives the current position status of the multi-operating system electronic device from the direction determination module. Automatically switching the at least two operating systems according to the current location status of the multi-operating system electronic device; wherein the at least two operating systems are running simultaneously, and the at least two operating systems are separately from the multi-operating system electronics Different positions of the device correspond.
  • the at least two operating systems include a windows system and an android system.
  • One of the at least two processors is configured to run a windows system, and one processor is configured to run an android system.
  • the system switching module switches to the windows system
  • the system switching module switches to the android system.
  • the multi-operating system electronic device has a reclining angle of 15 degrees or more.
  • the direction acquisition module includes a gravity sensor, a direction sensor, or a rotation sensor.
  • the direction judgment module includes a microprocessor, and the microprocessor reads the current position information of the multi-operating system electronic device from the direction acquisition module, and judges the position of the multi-operating system electronic device based on the current position information. Current position status.
  • the microcontroller reads the current position information of the multi-operating system electronic device from the direction acquisition module through the I2C interface, and outputs the current position status of the multi-operating system electronic device to the system switch through the I2C interface Module.
  • the system switching module includes an HDMI signal distributor, the at least two processors are connected to the HDMI signal distributor through two HDMI interfaces at the same time, and the HDMI signal distributor judges the current position status output by the module according to the direction Switching the at least two operating system interfaces.
  • the multi-operating system electronic device further includes a display screen connected to the system switching module, and the display screen displays an interface of one of the at least two operating systems switched by the system switching module.
  • the multi-operating system electronic device further includes an input signal distributor, the user input device is connected to the at least two processors through the input signal distributor, and the input signal distributor is connected to the direction determination module;
  • the input signal distributor switches the user input device to communicate with one of the at least two processors according to a current position state output by the direction determination module.
  • the input signal distributor is a USB signal distributor
  • the USB signal distributor is connected to the at least two processors
  • the USB signal distributor is also connected to the direction determination module
  • the USB signal distributor is The current position state output by the direction determination module controls the user input device to communicate with one of the at least two processors.
  • the invention also provides a multi-operating system switching method, which is applied to an electronic device including at least two operating systems, including: step 1: starting the at least two operating systems; step 2: detecting current location information of the electronic device Step 3: Judging the current position status of the electronic device according to the current position information of the electronic device; Step 4: Automatically switching the at least two operating systems according to the current position status of the electronic device; wherein the at least Two operating systems run simultaneously, and the at least two operating systems respectively correspond to different position states of the electronic device.
  • the at least two operating systems include a windows system and an android system.
  • step 4 is switched to the windows system
  • step 4 is switched to the android system
  • the reclining angle of the electronic device is greater than or equal to 15 degrees.
  • the step 2 includes: measuring current position information of the electronic device by a gravity sensor, a direction sensor, or a rotation sensor.
  • the multi-operating system switching method further includes step 5: displaying an operating system interface of the at least two operating systems.
  • the step 4 further includes: switching a user input device for the at least two operating systems according to the current location state, the user input device being used to type a user instruction into the at least two operating systems.
  • the user input device outputs USB format data to the at least two operating systems.
  • the beneficial effect of the present invention is that through multiple operating systems of an electronic device running simultaneously, and different position states of the electronic device corresponding to the multiple operating systems, the direction acquisition module detects the current position information and direction of the electronic device in real time.
  • the judgment module judges the current position status of the electronic device according to the current position information output by the direction acquisition module, and then the system switching module performs a system switch according to the current position status output by the direction determination module.
  • the different system switching process avoids the time consumption caused by repeated system booting, and the switching is very fast. The same device can automatically switch in different operating systems, which is convenient and fast.
  • FIG. 1 is a circuit block diagram of a multi-operating system electronic device 10 according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a three-dimensional space according to an embodiment of the present invention.
  • FIG. 3 is a circuit block diagram of a dual operating system electronic device 20 according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of rotation of the dual operating system electronic device 20 shown in FIG. 3;
  • FIG. 5 is a circuit block diagram of the dual operating system electronic device 20 shown in FIG. 3 of the present invention connected to a user input device;
  • FIG. 6 is a circuit diagram of the dual operating system electronic device 20 shown in FIG. 3 connected to a USB-type user input device;
  • FIG. 7 is a circuit block diagram of a three operating system electronic device 40 according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of rotation of the three operating system electronic device 40 shown in FIG. 7;
  • FIG. 9 is a flowchart of a multi-system handover method according to an embodiment of the present invention.
  • FIG. 10 is a flowchart of a dual system switching method according to an embodiment of the present invention.
  • FIG. 11 is a flowchart of a dual system switching method according to another embodiment of the present invention.
  • FIG. 12 is a flowchart of a dual system switching method according to another embodiment of the present invention.
  • each block of the flowchart, and combinations of blocks in the flowchart can be implemented by computer program instructions.
  • These computer program instructions may be provided to a suitable computer, special purpose computer, or other programmable data processing device to produce a processor of the machine, so that these instructions are executed by the processor of the computer or other programmable data processing device to implement the flow block Or combine the specified functions in a box.
  • These computer program instructions may also be stored in a computer-usable or computer-readable memory, which may instruct a computer or other programmable data processing device to operate in a particular manner, and thus, the instructions stored in the computer-usable or computer-readable memory Produces artifacts to perform specified functions in flow blocks or combinations of blocks.
  • Computer program instructions may also be loaded onto a computer or other programmable data processing device to cause a series of operating steps to be performed on the computer or other programmable device to produce a computer-implemented process for execution on the computer or other programmable device.
  • the instructions provide the functions specified in the flow block or combination of blocks.
  • each block of the flowchart may represent a module, a program segment, or a portion of code, which includes one or more executable instructions to implement a specific logical function.
  • the functions shown in the boxes may occur abnormally. For example, two blocks shown in succession may in fact be executed substantially concurrently or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
  • windows and android operating systems are installed in electronic devices or electronic devices.
  • the present invention is not limited to the windows and android operating systems, and may include other operating systems or any combination of systems other than windows and android to replace windows and android.
  • the multi-operating system electronic device and dual-operating system electronic device of the present invention may be electronic devices such as an electronic whiteboard, an electronic blackboard, and a multimedia all-in-one machine, but are not limited thereto.
  • the multi-operating system electronic device 10 of this embodiment includes a processor module 101, a direction acquisition module 103, a direction determination module 105, and a system switching module 107.
  • the processor module 101 includes at least two processors, as shown in FIG. A processor 1011, a processor 1012, and the like in 1, at least two processors are respectively used to run different operating systems, and different positions of the multi-operating system electronic device 10 correspond to different operating systems.
  • the different position states of the multi-operating system electronic device 10 may include a lateral state, a longitudinal state, a state parallel to the horizontal plane, and an arbitrary rotation preset in a three-dimensional space of the multi-operating system electronic device 10 in the same plane. A state of the angle and so on, here are just some examples, the invention is not limited to this.
  • the horizontal plane in the present invention may refer to the xoy plane, and the horizontal and vertical directions may refer to the horizontal and vertical directions on the xoz plane or the yoz plane.
  • the horizontal direction generally refers to the length direction of the screen parallel to the xoy plane, and the vertical direction generally refers to The length of the screen is perpendicular to the xoy plane.
  • two or three digits can be used to indicate the above position status in a byte.
  • 00 is a horizontal state
  • 01 is a vertical state
  • 10 is a state parallel to a horizontal plane
  • 11 is arbitrary in a three-dimensional space.
  • a state of rotating the preset angle is only an example here, and the different position states of the multi-operating system electronic device 10 in the present invention are not limited thereto.
  • the horizontal and vertical states will be described in detail below.
  • the direction acquisition module 103 detects and The current position information of the multi-operating system electronic device 10 is output; the direction determination module 105 reads the current position information of the multi-operating system electronic device 10 output by the direction acquisition module 103 in real time, and judges the The current position status, the direction determination module 105 outputs the current position status to the system switching module 107; the system switching module 107 switches the operating system according to the current position status.
  • the direction determination module 105 can output the current position status of the multi-operating system electronic device 10 to the system switching module 107 in real time. At this time, when the system switching module 107 detects a change in the current position status of the multi-operating system electronic device 10 At that time, it switches to the operating system corresponding to the current position state; the direction determination module 105 may also output the current position state of the multi-operating system electronic device 10 to the current position state of the multi-operating system electronic device 10 when it detects a change The system switching module 107. At this time, the system switching module 107 performs operating system switching after receiving the current position status of the multi-operating system electronic device 10.
  • a correspondence table between different operating systems and different position states of the multi-operating system electronic device 10 may be stored in advance. After judging the current position status of the multi-operating system electronic device 10, a table lookup is used to determine whether to perform the system. Switch. It is also possible to determine whether to switch the operating system through a function, which is a function of different position information or different position states of the multi-operating system electronic device 10 and different operating systems. For example, if the multi-operating system electronic device 10 is two The operating system windows and android run simultaneously. The multi-operating system electronic device 10 has two position states corresponding to the two operating systems. For example, the two position states may be horizontal with respect to the horizontal plane and vertical with respect to the horizontal plane. The two operations windows and android form a functional relationship. The invention does not limit the specific implementation method.
  • the technical solution of the present invention will be described below by taking the dual operating system electronic device as an example.
  • the dual system is just an example, and the present invention does not limit the number of operating systems.
  • FIG. 3 is a block diagram of a dual operating system electronic device 20 according to an embodiment of the present invention, including a processor module 201, a direction acquisition module 203, a direction determination module 205, and a system switching module 207.
  • the processor module 201 includes a processor 2011 and processing Device II 2012.
  • processor one 2011 may be an intel processor for running a windows system
  • processor two 2012 may be an ARM processor for running an android system, and after the dual operating system electronic device 20 is powered on, windows The system and the android system start running at the same time, and output a signal to the system switching module 207.
  • the intel processor can run the android system, and the ARM processor runs the windows system.
  • the intel processor runs the android system with poor compatibility and low efficiency.
  • the ARM processor runs the windows system with the same disadvantages. The system and the processor must be optimized for each other to achieve the best results, so it is conventional to use the Intel processor to run the windows system and the ARM processor to run the android system.
  • the direction acquisition module 203 detects and outputs the current position information of the dual operating system electronic device 20 in real time, and the direction determination module 205 reads the current position information output by the direction acquisition module 203 in real time, and judges the current of the dual operating system electronic device 20 based on the current position information.
  • the position status and direction judgment module 205 outputs the current position status of the dual operating system electronic device 20 to the system switching module 207, and the system switching module 207 switches the operating system of the dual operating system electronic device 20 according to the current position status of the dual operating system electronic device 20. .
  • the direction obtaining module 203 may be any device capable of sensing the direction of the dual operating system electronic device, for example, a gravity sensor, a direction sensor, or a rotation sensor.
  • a gravity sensor is selected as the direction acquisition module 203
  • an MMA7660FC gravity sensor chip may be selected.
  • the MMA7660FC gravity sensor chip may detect and output the current position information of the dual operating system electronic device 20; the direction determination module 205 reads the direction acquisition module in real time.
  • the current position information of the dual operating system electronic device 20 output by 203, and the current position status of the dual operating system electronic device 20 is determined according to the current position information.
  • the gravity sensor MMA7660FC includes two types of registers, which store position and direction information.
  • the chip manual records the TILT register and the XOUT, YOUT, and ZOUT registers.
  • the data in the TILT register is one byte.
  • bit [2] -bit [4] is the position direction information. The value of these three bits is 001 to indicate that the horizontal head is to the left, 010 to indicate the horizontal head to the right, 101 to indicate vertical upside down, and 110 to indicate normal vertical.
  • the XOUT, YOUT, and ZOUT registers are one byte, and the data of the x, y, and z axes are stored in the XOUT, YOUT, and ZOUT registers.
  • bit [0] -bit [6] represents the position of the x-axis.
  • bit [0] -bit [6] represents the position information of the y-axis
  • bit [0] -bit [6] represents the position information of the Z-axis.
  • the current position information of the dual operating system electronic device 20 may be a value in a TILT register, or a value in a XOUT, YOUT, or ZOUT register.
  • FIG. 4 it is a schematic diagram of the rotation of the dual operating system electronic device 20, where state 1 is the horizontal direction defined by the present invention, the state 1 marked on the left side is the horizontal head of the dual operating system electronic device 20 facing right, and the state 1 on the right side It is the dual operating system electronic device 20 whose horizontal head is left; the state 2 is the vertical direction defined by the present invention, the state 2 indicated above is the normal vertical arrangement of the dual operating system electronic device 20, and the state 2 indicated below is the dual operating system electronic device 20 Upright.
  • the rotation center may be determined according to actual design requirements, and is not limited thereto.
  • the rotation center may also be set at the center point of the back of the dual operating system electronic device 20.
  • the initial position of the dual operating system electronic device 20 is a horizontal head to the right.
  • the direction determination module 105 determines the position status of the dual operating system electronic device 20. It changes from horizontal to vertical, and then switches to the corresponding operating system according to the current position status.
  • 45 degrees is the critical point for the change of position status.
  • the present invention does not limit the specific critical point value.
  • the rotation angle ⁇ may also be 30 degrees, 60 degrees, etc., or the dual operating system electronic device 20
  • the initial position is transformed into a position parallel to the horizontal plane, or from the initial position to a preset position in the three-dimensional space, etc.
  • the present invention does not limit the selection of the critical point value when the system is switched. The designer can set different The threshold value for system switching.
  • the direction determination module 205 reads the current position information data in the direction acquisition module 203 through a software algorithm.
  • the software is started, and the direction acquisition module 203 starts Detect position information data of the dual operating system electronic device 20, for example, data of the x, y, and z axes.
  • the direction judgment module 205 continuously reads the current position information data output by the direction acquisition module 203, but only acquires the current position information data of the direction acquisition module 203 without performing an operating system switching operation, and after powering on, it will obtain the current position status of the direction acquisition module 203 Data for operating system switching.
  • the operating system is switched when the current position of the electronic device is horizontal or vertical, only the value in the TILT register can be read; if the operating system is switched, other than the current position of the electronic device is in horizontal or vertical
  • the position information for example, is transformed from the initial position to a specific position in the three-dimensional space, and then the values in the XOUT, YOUT, and ZOUT registers can be read to determine the current position status of the electronic device.
  • switching the operating system is performed according to whether the screen is in landscape or portrait orientation.
  • the TILT register of the gravity sensor MMA7660FC is 001 or 010, it means that the direction of the dual operating system electronic device 20 is horizontal, that is, when the dual operating system electronic device 20 has a lateral head facing left or a lateral head exceeding the right, both Determine whether the current position status of the dual operating system electronic device 20 is horizontal; when the register of the gravity sensor is 101 or 110, it means that the orientation of the dual operating system electronic device 20 is vertical, that is, the dual operating system electronic device 20 is upside down or normal.
  • the windows system is switched in the horizontal direction
  • the android system is switched in the vertical direction, which can also be reversed, and the present invention is not limited.
  • the current position information output by the gravity sensor MMA7660FC may include four types.
  • a TILT register of 001 indicates that the horizontal head is to the left and 010 indicates a horizontal head To the right, 101 means upside down and 110 means normal upright; if the rotating mechanism of the dual operating system electronic device 20 can only rotate 90 degrees, the current position information output by the gravity sensor MMA7660FC can include two types, the TILT register A value of 010 indicates a horizontal direction, and 110 indicates a vertical position.
  • switching the operating system is performed according to the current position information of the dual operating system electronic device 20, or in other words, according to the rotation angle of the dual operating system electronic device 20 (such as the angle ⁇ in FIG. 4) Come on.
  • the data of the x, y, and z axes in the XOUT, YOUT, and ZOUT registers can always be read as the current position information.
  • the initial position of the dual operating system electronic device 20 is state 1 on the left in FIG. Right, when the dual operating system electronic device 20 is rotated 30 degrees, the data of the x, y, and z axes in the gravity sensor are read, and the current position status is determined to be horizontal or vertical based on the data of the x, y, and z axes.
  • different designs may be made according to the chip specifications of the specific sensor.
  • the general idea of the present invention is that multiple operating systems of an electronic device run simultaneously, and different position states of the electronic device correspond to multiple operating systems respectively.
  • the direction acquisition module detects the current position information of the electronic device in real time, and the direction determination module is based on The current position information output by the direction acquisition module determines the current position status of the electronic device, and then the system switching module performs system switching according to the current position status output by the direction determination module.
  • the different system switching process avoids the time consumption caused by repeated system booting, and the switching is very fast. The same device can automatically switch in different operating systems, which is convenient and fast.
  • the system switching module 207 may switch the dual operating system electronic device 20 to a windows system; when the direction determining module 205 When it is determined that the current position state of the device is the second state, the system switching module 207 may switch the dual operating system electronic device 20 to an android system.
  • the first state may be that the dual operating system electronic device 20 is horizontal
  • the second state may be that the dual operating system electronic device 20 is vertical, or vice versa, the present invention is not limited.
  • the dual operating system electronic device 20 When the dual operating system electronic device 20 is turned on, the dual operating system electronic device 20 simultaneously boots the Windows system and the android system from different storage areas of the hard disk. Both of them start running at the same time and output the output signal to the system switching module 205 and the direction acquisition module. 203 outputs the direction information of the dual operating system electronic device 20 in real time. Different direction information corresponds to different operating systems. The different system switching process avoids the time consumption caused by repeated system booting. The switching is very fast. The same device can be used in different operating systems. It realizes automatic switching, which is convenient and fast, and adapts to different needs.
  • the screen writing software can be automatically opened to facilitate writing by the user and improve the user experience.
  • the dual operating system electronic device 20 when the dual operating system electronic device 20 is placed in a vertical screen and placed on its back, the dual operating system electronic device 20 automatically starts the screen writing software.
  • the screen writing software can be automatically opened when the dual operating system electronic device 20 is tilted back more than 15 degrees, because this placement angle is most convenient for users to write and obtain the best user experience.
  • tilting back means that when the dual operating system electronic device 20 is in the longitudinal position of state 2 in FIG. 4, the dual operating system electronic device 20 is tilted backward to form a certain angle with the original vertical plane.
  • an STM32 chip may be used as the direction determination module 205 of the dual operating system electronic device 20, and an HDMI signal distributor may be used as the system switching module 207.
  • an AD8192 chip may be used as the HDMI signal distributor.
  • the input port of the STM32 chip is electrically connected to the output port of the direction acquisition module 203 and receives the current position information of the dual operating system electronic device 20 output by the direction acquisition module 203.
  • the STM32 chip judges the dual operating system electronic device 20 based on the received current position information. Current position status, such as horizontal or vertical, and then output the determined current position status to the AD8192 chip.
  • the AD8192 chip is connected to processor one 2011 and processor two 2012 respectively.
  • the AD8192 chip is based on the current position of the dual operating system electronic device 20. The status is switched to windows system or android system.
  • the input port of the STM32 chip and the output port of the direction acquisition module 203 can be connected through an I2C port, that is, the STM32 chip reads the current position information data output by the direction acquisition module 203 through the I2C interface; the output port of the STM32 chip and The input port of the AD8192 chip is also connected through the I2C port, that is, the STM32 chip outputs the current position status to the system switching module 207 through the I2C port.
  • the STM32 chip when the STM32 chip determines that the current position status of the dual operating system electronic device 20 is horizontal, it can output a hexadecimal value of 0x0F to the path selection register (RX_PT) of the AD8192 chip, and the AD8192 chip reads this The value and switch to the windows operating system path.
  • the STM32 chip judges that the current position status of the dual operating system electronic device 20 is vertical, it can output a hexadecimal value of 0xF0 to the path selection register (RX_PT) of the AD8192 chip, and the AD8192 chip reads Take this value and switch to the android operating system path.
  • the processor one 2011 and the processor two 2012 output HDMI format data, so the HDMI signal distributor AD8192 chip is used.
  • the AD8192 chip can provide two HDMI input interfaces, one HDMI output interface, and the AD8192 chip and Processor one 2011 and processor two 2012 are connected through two HDMI input interfaces.
  • processor one 2011 and processor two 2012 may also output data in other formats, which is not limited in the present invention. For example, data in formats such as VGA and DP can also be output. At this time, the signal distributor in the corresponding format is used instead. Just fine.
  • the dual operating system electronic device 20 further includes a display screen 209.
  • the display screen 209 is connected to the system switching module 207 to display the windows system or android system display interface switched by the system switching module 207.
  • the display screen may be a capacitive touch screen, an infrared touch screen, or the like, which is not limited in the present invention.
  • the dual operating system electronic device 20 may further include an input signal distributor 211.
  • the dual operating system electronic device 20 and the user input device 30, for example, a user input device, via the input signal distributor 211. 30 may be a keyboard, mouse, etc. of a USB interface type.
  • the user input device 30 is connected to the dual operating system electronic device 20 through the signal distributor 211.
  • the direction determining module 205 determines the current position status of the dual operating system electronic device 20
  • the direction determining module 205 also outputs the current position status of the dual operating system electronic device 20 to the signal distributor 211, and the signal distributor 211 according to the dual operating system electronics
  • the current position state switching user input device 30 of the device 20 is in communication with the first processor or the second processor.
  • a USB signal distributor chip can be used as the input signal distributor 211, and the path of the USB peripheral can be switched at any time to connect to an Intel processor running Windows or an ARM processor running Android To seamlessly switch the manual control interface of different systems.
  • the direction determination module 205 determines that the current position status of the dual operating system electronic device 20 is horizontal, the direction determination module 205 outputs the position status information to the USB signal distributor, and the USB signal distributor inputs the user into the device according to the position status information. 30 communicates with the intel processor.
  • the direction judgment module 205 outputs the current position status information of the dual operating system electronic device 20 as a vertical direction, the direction judgment module 205 outputs the position status information to the USB signal distributor, and the USB signal distributor inputs the user into the device 30 according to the position status information.
  • FIG. 6 is a circuit diagram of a dual operating system electronic device according to an embodiment of the present invention.
  • the processor module includes an Intel CPU and an ARM CPU.
  • the Intel CPU is used to run the Windows operating system
  • the ARM CPU is used to run the Android operating system.
  • the system electronic device is turned on, the Intel CPU and the ARM CPU run simultaneously, that is, the Windows operating system and the Android operating system are turned on at the same time.
  • the direction acquisition module 203 that is, the gravity sensor MMA7660FC detects the current position information of the dual operating system electronic device 20 in real time; the direction determination module 205, that is, the STM32 chip receives the current position information output by the direction acquisition module 203, and judges the dual operation based on the current position information The current position status of the system electronic device 20.
  • the STM32 chip outputs the current position status information to the system switching module 207 through the I2C interface, that is, the AD8192 chip.
  • the AD8192 chip is connected to the Intel CPU and the ARM CPU.
  • the AD8192 chip outputs the current position according to the STM32 chip.
  • the status information switches between the windows operating system and the android operating system for output to the display.
  • the STM32 chip outputs the current position status information to the USB signal distributor TS3USB30 through the IO port.
  • the USB signal distributor TS3USB30 is connected to the user input device 30 through USB hub, and realizes the user input device and the two processors based on the current position status information. Gated connection.
  • the USB hub may not be used. At this time, only one USB user input device can be connected.
  • the STM32 chip can output a hexadecimal value of 0x0F to the AD8192 chip and output a high level to the USB signal distributor TS3USB30.
  • the AD8192 chip outputs according to the STM32 chip
  • the hexadecimal value 0x0F is switched to the Intel CPU all the way to display the windows operating system interface.
  • the USB signal distributor TS3USB30 strobes the user input device to the Intel CPU according to the high level output by the STM32 chip to provide services for the Windows system.
  • the STM32 chip can output a hexadecimal value of 0xF0 to the AD8192 chip, and output a low level to the USB signal distributor TS3USB30.
  • the AD8192 chip according to the STM32 chip outputs sixteen The binary value 0xF0 is switched to ARM and CPU all the way to display the android operating system interface.
  • the USB signal distributor TS3USB30 strobes the user input device to the ARM CPU according to the low level output by the STM32 chip to provide services for the android system.
  • the AD8192 chip also switches to the ARM CPU based on the hexadecimal value 0x0F output by the STM32 chip, or switches to the Intel CPU based on the hexadecimal value 0xF0 output by the STM32 chip; the USB signal distributor TS3USB30 can also be based on the STM32 chip.
  • the output high level will gate the user input device to the ARM CPU, or gate the user input device to the Intel CPU according to the low level output by the STM32 chip.
  • the present invention is not limited.
  • the dual operating system electronic device starts the Windows system and the android system at the same time by the two processors. Both of them start running and output the output signal to the AD8192 chip of the HDMI signal distributor.
  • the gravity sensor MMA7660FC outputs the direction information of the dual operating system electronic device in real time. Switch to Windows operating system in landscape orientation and Android operating system in portrait orientation. This different system switching process avoids the time consumption caused by repeated system booting. The switching is very fast. The same device can automatically switch between different operating systems, which is convenient. Fast and adapt to different needs.
  • the screen writing software is automatically opened to facilitate writing by the user and improve the user experience.
  • the solution of the present invention can also be used to achieve a different system switching process and avoid time consumption caused by repeated system booting. The effect of switching very quickly.
  • the multi-operating system electronic device has three operating systems, such as windows, android, and ios.
  • processor one 4011 is used to run the windows system
  • processor two 4012 is used to run In the android system
  • the processor three 4013 is used to run the ios system
  • the three operating system electronic device 40 is turned on, the windows system, the android system, and the ios system are simultaneously started to run and output signals to the system switching module 407.
  • the direction acquisition module 403 detects and outputs the current position information of the three operating system electronic devices 40 in real time, and the direction determination module 405 reads the current position information output by the direction acquisition module 403 in real time and determines the current of the three operating system electronic devices 40 based on the current position information.
  • the position status and direction judgment module 405 outputs the current position status of the three operating system electronic device 40 to the system switching module 407, and the system switching module 407 switches the operating system of the three operating system electronic device 40 according to the current position status of the three operating system electronic device 40 .
  • the three operating system electronic device 40 may have three position states corresponding to the three operating systems, respectively, and the three position states may be turned laterally to the right, corresponding to state 1 in FIG. 8.
  • the vertical direction corresponds to state 2 in FIG. 8, and the horizontal head points to the left, corresponding to state 3 in FIG. 8.
  • the direction determining module 405 may determine that the three operating system electronic device 40 is in a state of 1 when placed at 0-45 degrees with respect to the horizontal plane, and the three operating system electronic device 40 is in a state when placed at 45-135 degrees with respect to the horizontal plane. 2.
  • the three operating system electronic device 40 is in state 3 when placed at 135-180 degrees with respect to the horizontal plane.
  • the three sets of position states correspond to three operating windows, android, and ios, and the horizontal head is to the right when the state 1 corresponds to the windows system. Corresponds to the android system when in the vertical state 2 and corresponds to the ios system when the horizontal head is in the left state 3.
  • the direction determination module 405 determines that the current position status of the three operating system electronic device 40 is state 1
  • the system switching module 407 switches to the windows system.
  • the direction determination module 405 determines that the current position status of the three operating system electronic device 40 is state 2
  • the system The switching module 407 switches to the android system.
  • the direction determining module 405 determines that the current position status of the three operating system electronic devices 40 is state 3
  • the system switching module 407 switches to the ios system.
  • the corresponding relationship between state 1, state 2, state 3 and windows, android, and ios may be other, and the present invention is not limited.
  • an Intel processor can be used to run the windows system
  • an ARM processor can be used to run the android system
  • an Apple processor can be used to run the ios system.
  • the direction obtaining module 403 may also be any device capable of sensing the direction of the dual operating system electronic device, such as a gravity sensor, a direction sensor, or a rotation sensor.
  • a dual The gravity sensor chip MMA7660FC in the operating system electronic device 20 may also read data in the TILT register or the XOUT, YOUT, and ZOUT registers of the chip as the current position information of the three operating system electronic device 40.
  • the direction of the dual operating system electronic device 20 is heading to the right, and when it is 001, it means dual The direction of the operating system electronic device 20 is a horizontal head to the left.
  • the register of the gravity sensor is 101 or 110, it indicates that the direction of the dual operating system electronic device 20 is a vertical direction.
  • the windows system is switched when the horizontal head is right
  • the Android system is switched when the vertical head is left
  • the iOS system is switched when the horizontal head is left.
  • Other corresponding methods are also possible, and the present invention is not limited.
  • the system switching module 207 may also use an HDMI signal distributor, a VGA signal distributor, a DP signal distributor, and the like.
  • an HDMI signal distributor is used, because it is three operating systems, it is not suitable to use an AD8192 chip, because the chip only provides two HDMI interfaces to connect to the processor, at this time, it should be selected to have at least three HMDI Interface signal distributor chip, such as AD8197B chip, this chip supports up to four HMDI interfaces, or uses two AD8192 chips.
  • the three operating system electronic device 40 may also include an input signal distributor.
  • the three operating system electronic device 40 is connected to a user input device through the input signal distributor.
  • the three operating system electronic device 40 may be a USB keyboard or mouse user.
  • the user input device is connected to the three operating system electronic device 40 through an input signal distributor.
  • the direction determination module 405 determines the current position status of the three operating system electronic device 40
  • the direction determination module 405 also outputs the current position status of the three operating system electronic device 40 to the input signal distributor, and the input signal distributor
  • the current position state switching user input device of the device 40 is in communication with the first processor, the second processor, or the third processor.
  • a USB signal distributor chip can also be used as an input signal distributor.
  • the direction determination module 405 determines that the current position status of the three operating system electronic device 40 is a horizontal head to the right, the direction determination module 405 determines the position status.
  • the information is output to the USB signal distributor, and the USB signal distributor communicates the user input device with the processor running Windows according to the position status information.
  • the direction judging module 405 outputs the current position status information of the three operating system electronic devices 40 as vertical
  • the direction judging module 405 outputs the position status information to the USB signal distributor, and the USB signal distributor inputs the user into the device and the device according to the position status information.
  • the processor running android is connected.
  • the direction determination module 405 determines that the current position status of the three operating system electronic device 40 is a horizontal head to the left, the direction determination module 405 outputs the position status information to the USB signal distributor, and the USB signal distributor inputs the user according to the position status information.
  • the device is in communication with the processor running ios.
  • the position status of the multi-system switching device of the present invention is not limited to the rotation of a plane, but may also be a rotation of a preset angle in a three-dimensional space, which is not limited by the present invention.
  • the invention also provides a multi-system switching method, which is applied to an electronic device including at least two operating systems.
  • FIG. 9 it is a flowchart of a multi-system switching method 500 according to an embodiment of the present invention.
  • step 501 runs at least two operating systems simultaneously, and step 503 detects the current location information of the electronic device in real time; steps 505 determines the current position status of the electronic device according to the current position information of the electronic device; step 507 switches at least two operating systems according to the current position status; wherein at least two operating systems respectively correspond to different position states of the electronic device.
  • the different position states of the electronic device may include a horizontal state, a vertical state, a state parallel to the horizontal plane, a state of arbitrarily rotating a preset angle in a three-dimensional space, and the like in the same plane.
  • the horizontal plane in the present invention may refer to the xoy plane
  • the horizontal and vertical directions may refer to the horizontal and vertical directions on the xoz plane or the yoz plane.
  • the horizontal direction generally refers to the length direction of the screen parallel to the xoy plane. It means that the length of the screen is perpendicular to the xoy plane.
  • two or three digits can be used to indicate the above position status in a byte.
  • 00 is a horizontal state
  • 01 is a vertical state
  • 10 is a state parallel to a horizontal plane
  • 11 is arbitrary in a three-dimensional space.
  • a state of rotating the preset angle is only an example here, and the different position states of the electronic device in the present invention are not limited thereto.
  • step 503 it is usually necessary to continue to perform step 503 to detect the current position information of the electronic device in real time and continue to judge the current position status of the electronic device based on the current position information. If the current position status of the electronic device occurs Change, continue to switch to the corresponding operating system.
  • a correspondence table between different operating systems and different position states of the electronic device may be stored in advance. After detecting the current position information of the electronic device, the current position status of the electronic device is determined, and then the current status is determined by checking the table. The operating system corresponding to the location status to achieve system switching. The operating system corresponding to the current location status may also be determined by a function to implement system switching.
  • the function is a function of different location information of the electronic device or a corresponding relationship between different location status and different operating systems.
  • the electronic device is two operating system windows. It runs at the same time with android, and the electronic device has two states, the first state and the second state.
  • the first state may be that the electronic device is in landscape orientation
  • the second state may be that the electronic device is in portrait orientation.
  • Each operation windows and android form a functional relationship, horizontally corresponds to the windows system, and vertically corresponds to the android system.
  • the present invention does not limit the specific implementation method.
  • the at least two operating systems may include a windows system, an android system, an ios operating system, and the like.
  • a dual-system electronic device including two operating systems, a windows system and an android system is taken as an example.
  • the windows system can be run by an Intel processor, and the android system can be run by an ARM processor.
  • the invention does not limit the number of operating systems and processors.
  • a gravity sensor MMA7660FC can be used to detect the position information of the electronic device.
  • the position of the electronic device is horizontal, and when the register of the gravity sensor is 101 or 110, the electronic device is electronic.
  • the device position status is portrait.
  • the data of the x, y, and z axes in the gravity sensor may also be read to determine the current position information data of the electronic device, and then the position status of the electronic device may be determined based on the position information data.
  • FIG. 10 is a system switching flowchart 600 of a dual-system electronic device according to an embodiment of the present invention.
  • Step 601 when the dual-system electronic device is turned on, the Windows operating system and the android operating system are booted from different storage areas of the hard disk. Both systems run simultaneously.
  • Step 603 detects the current position information of the dual-system electronic device in real time;
  • Step 605 determines the current position status of the dual-system electronic device based on the current position information of the dual-system electronic device;
  • Step 607 switches the operating system based on the current position status of the electronic device. If the current position status of the system electronic device is horizontal, switch to the windows operating system. If the current position status of the dual system electronic device is vertical, switch to the android operating system. It can be understood that after completing an operating system switch, the current position information of the dual-system electronic device can be continuously detected.
  • the screen writing software can be automatically started after switching to the android operating system, as shown in FIG. 11, which is a flowchart 700 of this embodiment.
  • steps 701 to 705 are the same as steps 601 to 605 in FIG. 10, and step 7.7 switches the operating system according to the current position status of the electronic device. If the current position status of the dual-system electronic device is horizontal, switch to the windows operating system If the current position status of the dual-system electronic device is portrait, then switch to the android operating system and automatically open the screen writing software to facilitate the user's writing.
  • the windows operating system interface is displayed, it is convenient for the user to use the company's teaching software or other windows software.
  • the android operating system interface is displayed, it is convenient for users to write.
  • the device when the dual-system electronic device is placed vertically and backward, the device automatically switches to the android system and automatically starts the screen writing software.
  • the reclining angle of the dual-system electronic device may be greater than or equal to 15 degrees, because this placement angle is most convenient for users to write, thereby obtaining the best user experience.
  • the user input device can also be switched according to the current position status of the dual-system electronic device, such as a gating connection between a device such as a mouse and a keyboard and a processor of a different operating system.
  • FIG. 12 it is a flowchart of a dual system switching method 800 according to another embodiment of the present invention. Steps 801 to 805 are the same as steps 701 to 705 in FIG. 11, and step 807 is based on the current position status of the electronic device. Switch the operating system. When the current position status of the dual-system electronic device is horizontal, switch to the windows operating system and gate the user input device to the windows operating system. When the current position status of the dual-system electronic device is vertical, switch to android. The operating system and gates the user input device to the android operating system.
  • the user input device may be a USB-type device, which has a hot-swap feature.
  • the USB signal distributor chip can be used to switch the path of the USB peripheral device at any time-connected to the Intel CPU running Windows or Android Arm cpu to seamlessly switch the manual control interface of different systems.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A multi-operation system electronic device (10). A processor module (101) comprises at least two processors for running at least two operation systems, respectively. A direction acquiring module (103) detects current position information of the multi-operation system electronic device (10). A direction determining module (105) determines a current position state of the multi-operation system electronic device (10) according to the current position information. A system switching module (107) automatically switches between at least two operation systems according to the current position state. The at least two operation systems run simultaneously, and the at least two operation systems correspond to different position states of the multi-operation system electronic device (10), respectively. By running in a plurality of operation systems of an electronic device at the same time, and different position states of the electronic device corresponding to the plurality of operation systems respectively, the system switching module performs system switching according to the current position state. The process of switching between different systems avoids the time consumed by repeated guidance of the system, the switching is very rapid, and the same device can conveniently and quickly realize automatic switching between different operation systems.

Description

一种多操作系统电子装置Multi-operating system electronic device 技术领域Technical field
本发明涉及智能设备技术领域,具体涉及一种多操作系统电子装置。The invention relates to the technical field of smart devices, and in particular to a multi-operating system electronic device.
背景技术Background technique
目前市面上存在多种适用于电子设备的操作系统,诸如人们熟知的微软Windows系统、苹果ios系统以及谷歌的安卓系统。不同的操作系统适用环境不同,其软件生态也精彩各异。windows下有诸多逻辑复杂功能强大的生产力软件,而ios及安卓系统下的应用却具备轻量便捷针对触屏优化等优点。在某些环境下,兼有这两种类别的系统特性常常能满足用户的最佳使用需求。现有技术条件下,如果用户想同时使用两种不同的操作系统,或需要两台搭载不同系统的设备,或使用一台双系统设备进行重启切换,前者需要两台设备,后者操作繁琐耗时,都难以获得良好的体验。There are currently a variety of operating systems suitable for electronic devices on the market, such as the well-known Microsoft Windows system, Apple iOS system and Google's Android system. Different operating systems are suitable for different environments, and their software ecosystems are also wonderful and different. There are many powerful productivity softwares with complex logic under windows, but applications under ios and android have the advantages of light weight and convenient optimization for touch screen. In some environments, system characteristics that combine both categories can often satisfy the user's best use needs. Under the existing technical conditions, if the user wants to use two different operating systems at the same time, or needs two devices with different systems, or uses a dual system device to restart and switch, the former requires two devices, and the latter is cumbersome and tedious. It is difficult to get a good experience.
发明内容Summary of the Invention
本发明要解决的技术问题在于,针对现有技术的上述缺陷,提供一种多操作系统电子装置,克服现有技术中多系统设备进行操作系统切换时,需要重启切换、耗时的缺陷。The technical problem to be solved by the present invention is to provide a multi-operating system electronic device in response to the above-mentioned defects of the prior art, which overcomes the defects that the multi-system equipment in the prior art needs to restart the switching and consume time.
本发明解决其技术问题所采用的技术方案是:提供一种多操作系统电子装置,包括处理器模块、方向获取模块、方向判断模块和系统切换模块,处理器模块包括至少两个处理器,分别用于运行至少两个操作系统;方向获取模块检测所述多操作系统电子装置的当前位置信息;方向判断模块从所述方向获取模 块读取所述多操作系统电子装置的当前位置信息,根据所述当前位置信息判断所述多操作系统电子装置的当前位置状态;系统切换模块分别与所述至少两个处理器连接,并从所述方向判断模块接收所述多操作系统电子装置的当前位置状态,根据所述多操作系统电子装置的当前位置状态自动切换所述至少两个操作系统;其中,所述至少两个操作系统同时运行,所述至少两个操作系统分别与所述多操作系统电子装置的不同位置状态对应。The technical solution adopted by the present invention to solve its technical problems is to provide a multi-operating system electronic device, including a processor module, a direction acquisition module, a direction judgment module, and a system switching module. The processor module includes at least two processors, respectively. It is used to run at least two operating systems; the direction acquisition module detects the current position information of the multi-operating system electronic device; the direction determination module reads the current position information of the multi-operating system electronic device from the direction acquisition module, and The current position information determines the current position status of the multi-operating system electronic device; the system switching module is connected to the at least two processors respectively, and receives the current position status of the multi-operating system electronic device from the direction determination module. Automatically switching the at least two operating systems according to the current location status of the multi-operating system electronic device; wherein the at least two operating systems are running simultaneously, and the at least two operating systems are separately from the multi-operating system electronics Different positions of the device correspond.
所述至少两个操作系统包括windows系统和android系统。The at least two operating systems include a windows system and an android system.
所述至少两个处理器中一个处理器用于运行windows系统,一个处理器用于运行android系统。One of the at least two processors is configured to run a windows system, and one processor is configured to run an android system.
当方向判断模块判断所述多操作系统电子装置的当前位置状态为第一状态时,所述系统切换模块切换至所述windows系统;When the direction determining module determines that the current position state of the multi-operating system electronic device is the first state, the system switching module switches to the windows system;
当方向判断模块判断所述多操作系统电子装置的当前位置状态为第二状态时,所述系统切换模块切换至所述android系统。When the direction determining module determines that the current position state of the multi-operating system electronic device is the second state, the system switching module switches to the android system.
当系统切换模块切换至android系统时,自动开启屏幕书写软件。When the system switching module is switched to the android system, the screen writing software is automatically started.
当系统切换模块切换至android系统且所述多操作系统电子装置后仰时,自动开启屏幕书写软件。When the system switching module is switched to the android system and the multi-operating system electronic device is tilted back, the screen writing software is automatically started.
所述多操作系统电子装置后仰角度大于等于15度。The multi-operating system electronic device has a reclining angle of 15 degrees or more.
所述方向获取模块包括重力传感器、方向传感器或旋转传感器。The direction acquisition module includes a gravity sensor, a direction sensor, or a rotation sensor.
所述方向判断模块包括微处理器,所述微处理器从所述方向获取模块读取所述多操作系统电子装置的当前位置信息,根据所述当前位置信息判断所述多操作系统电子装置的当前位置状态。The direction judgment module includes a microprocessor, and the microprocessor reads the current position information of the multi-operating system electronic device from the direction acquisition module, and judges the position of the multi-operating system electronic device based on the current position information. Current position status.
所述微控制器通过I2C接口从所述方向获取模块读取所述多操作系统电子装置的当前位置信息,并通过I2C接口将所述多操作系统电子装置的当前位 置状态输出至所述系统切换模块。The microcontroller reads the current position information of the multi-operating system electronic device from the direction acquisition module through the I2C interface, and outputs the current position status of the multi-operating system electronic device to the system switch through the I2C interface Module.
所述系统切换模块包括HDMI信号分配器,所述至少两个处理器通过两个HDMI接口同时与所述HDMI信号分配器连接,所述HDMI信号分配器根据所述方向判断模块输出的当前位置状态切换所述至少两个操作系统界面。The system switching module includes an HDMI signal distributor, the at least two processors are connected to the HDMI signal distributor through two HDMI interfaces at the same time, and the HDMI signal distributor judges the current position status output by the module according to the direction Switching the at least two operating system interfaces.
所述的多操作系统电子装置还包括显示屏,与所述系统切换模块连接,所述显示屏显示所述系统切换模块切换的所述至少两个操作系统中一个操作系统的界面。The multi-operating system electronic device further includes a display screen connected to the system switching module, and the display screen displays an interface of one of the at least two operating systems switched by the system switching module.
所述多操作系统电子装置还包括输入信号分配器,所述用户输入设备通过所述输入信号分配器与所述至少两处理器连接,所述输入信号分配器与所述方向判断模块连接;所述输入信号分配器根据所述方向判断模块输出的当前位置状态切换所述用户输入设备与所述至少两处理器中的一个处理器连通。The multi-operating system electronic device further includes an input signal distributor, the user input device is connected to the at least two processors through the input signal distributor, and the input signal distributor is connected to the direction determination module; The input signal distributor switches the user input device to communicate with one of the at least two processors according to a current position state output by the direction determination module.
所述输入信号分配器是USB信号分配器,所述USB信号分配器与所述至少两处理器连接,所述USB信号分配器还与所述方向判断模块连接,所述USB信号分配器根据所述方向判断模块输出的当前位置状态控制所述用户输入设备与所述至少两处理器中的一个处理器连通。The input signal distributor is a USB signal distributor, the USB signal distributor is connected to the at least two processors, the USB signal distributor is also connected to the direction determination module, and the USB signal distributor is The current position state output by the direction determination module controls the user input device to communicate with one of the at least two processors.
本发明还提供一种多操作系统切换方法,应用于包括至少两个操作系统的电子设备,包括:步骤1:启动所述至少两个操作系统;步骤2:检测所述电子设备的当前位置信息;步骤3:根据所述电子设备的当前位置信息判断所述电子设备的当前位置状态;步骤4:根据所述电子设备的当前位置状态自动切换所述至少两个操作系统;其中,所述至少两个操作系统同时运行,所述至少两个操作系统分别与所述电子设备的不同位置状态对应。The invention also provides a multi-operating system switching method, which is applied to an electronic device including at least two operating systems, including: step 1: starting the at least two operating systems; step 2: detecting current location information of the electronic device Step 3: Judging the current position status of the electronic device according to the current position information of the electronic device; Step 4: Automatically switching the at least two operating systems according to the current position status of the electronic device; wherein the at least Two operating systems run simultaneously, and the at least two operating systems respectively correspond to different position states of the electronic device.
所述至少两个操作系统包括windows系统和android系统。The at least two operating systems include a windows system and an android system.
当所述步骤3判断所述电子设备的当前位置状态为第一状态时,所述步骤 4切换至所述windows系统;When it is determined in step 3 that the current position state of the electronic device is the first state, step 4 is switched to the windows system;
当所述步骤3判断所述电子设备的当前位置状态为第二状态时,所述步骤4切换至所述android系统;When it is determined in step 3 that the current position state of the electronic device is the second state, step 4 is switched to the android system;
当切换至android系统时,自动开启屏幕书写软件。When switching to the android system, the screen writing software is automatically started.
当切换至android系统且所述电子设备后仰时,自动开启屏幕书写软件。When switching to the android system and the electronic device is tilted back, the screen writing software is automatically started.
所述电子设备后仰角度大于等于15度。The reclining angle of the electronic device is greater than or equal to 15 degrees.
所述步骤2包括:由重力传感器、方向传感器或旋转传感器测得所述电子设备的当前位置信息。The step 2 includes: measuring current position information of the electronic device by a gravity sensor, a direction sensor, or a rotation sensor.
所述多操作系统切换方法,还包括步骤5:显示所述至少两个操作系统中的一个操作系统界面。The multi-operating system switching method further includes step 5: displaying an operating system interface of the at least two operating systems.
所述步骤4还包括:根据所述当前位置状态为所述至少两个操作系统切换用户输入设备,所述用户输入设备用于向所述至少两个操作系统中键入用户指令。The step 4 further includes: switching a user input device for the at least two operating systems according to the current location state, the user input device being used to type a user instruction into the at least two operating systems.
所述用户输入设备输出USB格式数据至所述至少两个操作系统。The user input device outputs USB format data to the at least two operating systems.
本发明的有益效果在于,通过在一台电子装置的多个操作系统同时运行,且电子装置的不同位置状态与多个操作系统分别对应,由方向获取模块实时检测电子装置的当前位置信息,方向判断模块根据方向获取模块输出的当前位置信息判断电子装置的当前位置状态,再由系统切换模块根据方向判断模块输出的当前位置状态做系统切换。异系统切换过程避免了系统反复引导带来的时间消耗,切换非常迅速,同一设备可在不同的操作系统中实现自动切换,方便快捷。The beneficial effect of the present invention is that through multiple operating systems of an electronic device running simultaneously, and different position states of the electronic device corresponding to the multiple operating systems, the direction acquisition module detects the current position information and direction of the electronic device in real time. The judgment module judges the current position status of the electronic device according to the current position information output by the direction acquisition module, and then the system switching module performs a system switch according to the current position status output by the direction determination module. The different system switching process avoids the time consumption caused by repeated system booting, and the switching is very fast. The same device can automatically switch in different operating systems, which is convenient and fast.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
下面将结合附图及实施例对本发明作进一步说明,附图中:The present invention will be further described below with reference to the accompanying drawings and embodiments. In the drawings:
图1是本发明一实施例的多操作系统电子装置10的电路框图;1 is a circuit block diagram of a multi-operating system electronic device 10 according to an embodiment of the present invention;
图2是本发明一实施例的三维空间示意图;2 is a schematic diagram of a three-dimensional space according to an embodiment of the present invention;
图3是本发明一实施例的双操作系统电子装置20的电路框图;3 is a circuit block diagram of a dual operating system electronic device 20 according to an embodiment of the present invention;
图4图3所示双操作系统电子装置20的旋转示意图;FIG. 4 is a schematic diagram of rotation of the dual operating system electronic device 20 shown in FIG. 3;
图5是本发明图3所示双操作系统电子装置20连接用户输入设备的电路框图;FIG. 5 is a circuit block diagram of the dual operating system electronic device 20 shown in FIG. 3 of the present invention connected to a user input device;
图6是图3所示双操作系统电子装置20与USB类用户输入设备连接的电路图;6 is a circuit diagram of the dual operating system electronic device 20 shown in FIG. 3 connected to a USB-type user input device;
图7是本发明一实施例的三操作系统电子装置40的电路框图;7 is a circuit block diagram of a three operating system electronic device 40 according to an embodiment of the present invention;
图8图7所示三操作系统电子装置40的旋转示意图;FIG. 8 is a schematic diagram of rotation of the three operating system electronic device 40 shown in FIG. 7;
图9是本发明一实施例的多系统切换方法的流程图;9 is a flowchart of a multi-system handover method according to an embodiment of the present invention;
图10是本发明一实施例的双系统切换方法的流程图;10 is a flowchart of a dual system switching method according to an embodiment of the present invention;
图11是本发明又一实施例的双系统切换方法的流程图;11 is a flowchart of a dual system switching method according to another embodiment of the present invention;
图12是本发明另一实施例的双系统切换方法的流程图。FIG. 12 is a flowchart of a dual system switching method according to another embodiment of the present invention.
具体实施方式Detailed ways
为了使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请作进一步地详细描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。In order to make the purpose, technical solution, and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
现在将详细说明本发明的实施例,其实例由附图示出,其中,相同的标号始终指的是相同的部件。下面,示例性实施,例被描述以参考附图解释本发明。Embodiments of the present invention will now be described in detail, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to like parts throughout. In the following, exemplary embodiments are described to explain the present invention with reference to the drawings.
根据本发明的示例性实施例,参照方法的流程图在下文中描述本发明。应理解流程图的每个方框、以及流程图中的方框的结合能够由计算机程序指令实现。这些计算机程序指令可被提供给适用计算机、专用计算机、或者其它可编程数据处理设备以生产机器的处理器,从而,这些指令通过计算机或其它可编程数据处理设备的处理器执行以实现流程方框或方框结合中的指定的功能。这些计算机程序指令也可被存储在计算机可用或计算机可读的存储器中,其可指示计算机或其它可编程数据处理设备以特定的方式运行,从而,存储在计算机可用或计算机可读存储器中的指令产生制造物以实现流程方框或方框结合中的指定的功能。计算机程序指令也可被加载到计算机或其它可编程数据处理设备上以使一系列操作步骤在计算机或其它可编程设备上被执行以产生计算机执行的处理,从而在计算机或其它可编程设备上执行的指令提供实现流程方框或方框结合中的指定的功能。According to an exemplary embodiment of the invention, the invention is described below with reference to a flowchart of a method. It should be understood that each block of the flowchart, and combinations of blocks in the flowchart, can be implemented by computer program instructions. These computer program instructions may be provided to a suitable computer, special purpose computer, or other programmable data processing device to produce a processor of the machine, so that these instructions are executed by the processor of the computer or other programmable data processing device to implement the flow block Or combine the specified functions in a box. These computer program instructions may also be stored in a computer-usable or computer-readable memory, which may instruct a computer or other programmable data processing device to operate in a particular manner, and thus, the instructions stored in the computer-usable or computer-readable memory Produces artifacts to perform specified functions in flow blocks or combinations of blocks. Computer program instructions may also be loaded onto a computer or other programmable data processing device to cause a series of operating steps to be performed on the computer or other programmable device to produce a computer-implemented process for execution on the computer or other programmable device. The instructions provide the functions specified in the flow block or combination of blocks.
另外,流程图的每一方框可表示模块、程序段或部分代码,其包括一个或多个可执行指令以实现特定的逻辑功能。同样应注意到,在某些替代的实现中,方框中示出的功能可异常发生。例如,连续所示的两方框实际上可实质上同时被执行或者方框有时可被以相反的顺序执行,这取决于有关的功能性。In addition, each block of the flowchart may represent a module, a program segment, or a portion of code, which includes one or more executable instructions to implement a specific logical function. It should also be noted that in some alternative implementations, the functions shown in the boxes may occur abnormally. For example, two blocks shown in succession may in fact be executed substantially concurrently or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
同时,为了对于本发明的更好理解,假设根据本发明,windows和android操作系统被安装在电子装置或电子设备中。然而,本发明并不限于windows和android操作系统,并且可包括除了windows和android之处的其它操作系统或系统的任何组合以取代windows和android。Meanwhile, for a better understanding of the present invention, it is assumed that according to the present invention, windows and android operating systems are installed in electronic devices or electronic devices. However, the present invention is not limited to the windows and android operating systems, and may include other operating systems or any combination of systems other than windows and android to replace windows and android.
本发明的多操作系统电子装置和双操作系统电子装置可以是电子白板、电子黑板、多媒体一体机等电子设备,但不限于此。The multi-operating system electronic device and dual-operating system electronic device of the present invention may be electronic devices such as an electronic whiteboard, an electronic blackboard, and a multimedia all-in-one machine, but are not limited thereto.
现结合附图,对本发明的较佳实施例作详细说明。A preferred embodiment of the present invention will be described in detail with reference to the drawings.
如图1所示,本实施例的多操作系统电子装置10包括处理器模块101、方向获取模块103、方向判断模块105和系统切换模块107,处理器模块101包括至少两个处理器,如图1中的处理器一1011、处理器1012等,至少两个处理器分别用于运行不同的操作系统,多操作系统电子装置10的不同位置状态对应不同的操作系统。在具体实施方式中,多操作系统电子装置10的不同位置状态可包括多操作系统电子装置10在同一个平面内的横向状态、纵向状态、平行于水平面的状态、在三维空间内任意旋转预设角度的一个状态等等,这里仅仅是一些例子,本发明并限制于此。As shown in FIG. 1, the multi-operating system electronic device 10 of this embodiment includes a processor module 101, a direction acquisition module 103, a direction determination module 105, and a system switching module 107. The processor module 101 includes at least two processors, as shown in FIG. A processor 1011, a processor 1012, and the like in 1, at least two processors are respectively used to run different operating systems, and different positions of the multi-operating system electronic device 10 correspond to different operating systems. In a specific embodiment, the different position states of the multi-operating system electronic device 10 may include a lateral state, a longitudinal state, a state parallel to the horizontal plane, and an arbitrary rotation preset in a three-dimensional space of the multi-operating system electronic device 10 in the same plane. A state of the angle and so on, here are just some examples, the invention is not limited to this.
如图2所示,本发明中的水平面可指xoy平面,横向和纵向可指在xoz平面或yoz平面上的横向和纵向,横向通常是指屏幕的长度方向平行于xoy平面,纵向通常是指屏幕的长度方向垂直于xoy平面。As shown in FIG. 2, the horizontal plane in the present invention may refer to the xoy plane, and the horizontal and vertical directions may refer to the horizontal and vertical directions on the xoz plane or the yoz plane. The horizontal direction generally refers to the length direction of the screen parallel to the xoy plane, and the vertical direction generally refers to The length of the screen is perpendicular to the xoy plane.
在具体实现中,可以在一个字节中使用两位或者三位比特表示上述位置状态,例如,00为横向状态、01为纵向状态、10为平行于水平面的状态、11为在三维空间内任意旋转预设角度的一个状态,这里只是举例,本发明中多操作系统电子装置10的不同位置状态不限于此。关于横向和纵向状态,将在下文详细描述。In specific implementation, two or three digits can be used to indicate the above position status in a byte. For example, 00 is a horizontal state, 01 is a vertical state, 10 is a state parallel to a horizontal plane, and 11 is arbitrary in a three-dimensional space. A state of rotating the preset angle is only an example here, and the different position states of the multi-operating system electronic device 10 in the present invention are not limited thereto. The horizontal and vertical states will be described in detail below.
当多操作系统电子装置10开机后,处理器模块101中的至少两个处理器同时运行不同的操作系统,并且每个处理器的输出信号输出至系统切换模块107;方向获取模块103实时检测并输出多操作系统电子装置10的当前位置信息;方向判断模块105实时读取方向获取模块103输出的多操作系统电子装置10的当前位置信息,并根据该当前位置信息判断多操作系统电子装置10的当前位置状态,方向判断模块105将该当前位置状态输出至系统切换模块107;系统切换模块107根据该当前位置状态切换操作系统。After the multi-operating system electronic device 10 is turned on, at least two processors in the processor module 101 run different operating systems at the same time, and the output signal of each processor is output to the system switching module 107; the direction acquisition module 103 detects and The current position information of the multi-operating system electronic device 10 is output; the direction determination module 105 reads the current position information of the multi-operating system electronic device 10 output by the direction acquisition module 103 in real time, and judges the The current position status, the direction determination module 105 outputs the current position status to the system switching module 107; the system switching module 107 switches the operating system according to the current position status.
在具体实施方式中,方向判断模块105可以实时输出多操作系统电子装置10的当前位置状态至系统切换模块107,此时,当系统切换模块107检测到多操作系统电子装置10的当前位置状态变化时,即切换到该当前位置状态对应的操作系统;方向判断模块105也可以在检测到多操作系统电子装置10的当前位置状态发生变化时再将多操作系统电子装置10的当前位置状态输出至系统切换模块107,此时,系统切换模块107接收到多操作系统电子装置10的当前位置状态后即进行操作系统切换。In a specific embodiment, the direction determination module 105 can output the current position status of the multi-operating system electronic device 10 to the system switching module 107 in real time. At this time, when the system switching module 107 detects a change in the current position status of the multi-operating system electronic device 10 At that time, it switches to the operating system corresponding to the current position state; the direction determination module 105 may also output the current position state of the multi-operating system electronic device 10 to the current position state of the multi-operating system electronic device 10 when it detects a change The system switching module 107. At this time, the system switching module 107 performs operating system switching after receiving the current position status of the multi-operating system electronic device 10.
在一实施方式中,可预先保存不同操作系统与多操作系统电子装置10不同位置状态的对应关系表,在判断多操作系统电子装置10的当前位置状态后,通过查表的方式确定是否做系统切换。也可通过函数确定是否做操作系统切换,所述函数为多操作系统电子装置10的不同位置信息或不同位置状态与不同操作系统的对应关系函数,例如,如果多操作系统电子装置10是两个操作系统windows和android同时运行,多操作系统电子装置10有两个位置状态分别与两个操作系统对应,例如,两个位置状态可以是相对于水平面横向和相对于水平面纵向,两个位置状态与两个操作windows和android形成函数关系。本发明不限制具体实现方法。In one embodiment, a correspondence table between different operating systems and different position states of the multi-operating system electronic device 10 may be stored in advance. After judging the current position status of the multi-operating system electronic device 10, a table lookup is used to determine whether to perform the system. Switch. It is also possible to determine whether to switch the operating system through a function, which is a function of different position information or different position states of the multi-operating system electronic device 10 and different operating systems. For example, if the multi-operating system electronic device 10 is two The operating system windows and android run simultaneously. The multi-operating system electronic device 10 has two position states corresponding to the two operating systems. For example, the two position states may be horizontal with respect to the horizontal plane and vertical with respect to the horizontal plane. The two operations windows and android form a functional relationship. The invention does not limit the specific implementation method.
下面将以双操作系统电子装置为例展开说明本发明的技术方案,双系统只是个举例,本发明并不限制操作系统的个数。The technical solution of the present invention will be described below by taking the dual operating system electronic device as an example. The dual system is just an example, and the present invention does not limit the number of operating systems.
图3是本发明一实施例的双操作系统电子装置20的框图,包括处理器模块201、方向获取模块203、方向判断模块205和系统切换模块207,处理器模块201包括处理器一2011和处理器二2012。FIG. 3 is a block diagram of a dual operating system electronic device 20 according to an embodiment of the present invention, including a processor module 201, a direction acquisition module 203, a direction determination module 205, and a system switching module 207. The processor module 201 includes a processor 2011 and processing Device II 2012.
在具体实施方式中,处理器一2011可以是intel处理器,用于运行windows系统,处理器二2012可以是ARM处理器,用于运行android系统, 并且在双操作系统电子装置20开机后,windows系统和android系统同时启动运行,输出信号至系统切换模块207。In a specific embodiment, processor one 2011 may be an intel processor for running a windows system, and processor two 2012 may be an ARM processor for running an android system, and after the dual operating system electronic device 20 is powered on, windows The system and the android system start running at the same time, and output a signal to the system switching module 207.
在该实施方式中,也可以由intel处理器运行android系统,ARM处理器运行windows系统,但是intel处理器运行android系统的兼容性不好、效率低,ARM处理器运行windows系统有同样的缺点,系统和处理器要相互优化才能达到最好的效果,所以常规是运用intel处理器运行windows系统,ARM处理器运行android系统。In this embodiment, the intel processor can run the android system, and the ARM processor runs the windows system. However, the intel processor runs the android system with poor compatibility and low efficiency. The ARM processor runs the windows system with the same disadvantages. The system and the processor must be optimized for each other to achieve the best results, so it is conventional to use the Intel processor to run the windows system and the ARM processor to run the android system.
方向获取模块203实时检测并输出双操作系统电子装置20的当前位置信息,方向判断模块205实时读取方向获取模块203输出的当前位置信息,并根据当前位置信息判断双操作系统电子装置20的当前位置状态,方向判断模块205将双操作系统电子装置20的当前位置状态输出至系统切换模块207,系统切换模块207根据双操作系统电子装置20的当前位置状态切换双操作系统电子装置20的操作系统。The direction acquisition module 203 detects and outputs the current position information of the dual operating system electronic device 20 in real time, and the direction determination module 205 reads the current position information output by the direction acquisition module 203 in real time, and judges the current of the dual operating system electronic device 20 based on the current position information. The position status and direction judgment module 205 outputs the current position status of the dual operating system electronic device 20 to the system switching module 207, and the system switching module 207 switches the operating system of the dual operating system electronic device 20 according to the current position status of the dual operating system electronic device 20. .
在具体实施方式中,方向获取模块203可以是任何能够感测该双操作系统电子装置的方向的装置,例如,重力传感器、方向传感器或旋转传感器等。例如,当选取重力传感器作为方向获取模块203时,可选取MMA7660FC重力传感器芯片,MMA7660FC重力传感器芯片可实施检测并输出双操作系统电子装置20的当前位置信息;方向判断模块205实时读取方向获取模块203输出的双操作系统电子装置20的当前位置信息,并根据当前位置信息判断双操作系统电子装置20的当前位置状态。In a specific implementation, the direction obtaining module 203 may be any device capable of sensing the direction of the dual operating system electronic device, for example, a gravity sensor, a direction sensor, or a rotation sensor. For example, when a gravity sensor is selected as the direction acquisition module 203, an MMA7660FC gravity sensor chip may be selected. The MMA7660FC gravity sensor chip may detect and output the current position information of the dual operating system electronic device 20; the direction determination module 205 reads the direction acquisition module in real time. The current position information of the dual operating system electronic device 20 output by 203, and the current position status of the dual operating system electronic device 20 is determined according to the current position information.
在具体实施方式中,重力传感器MMA7660FC包括两种寄存器,其中保存着位置方向信息,芯片手册中记载为TILT寄存器和XOUT、YOUT、ZOUT寄存器,TILT寄存器的数据是一个字节,该字节中的bit[2]-bit[4]是位置方向信息, 这三位值为001就表示横向头朝左,为010表示横向头朝右,为101表示竖置颠倒,为110表示正常的竖置。XOUT、YOUT、ZOUT寄存器分别是一个字节,x、y、z轴的数据分别保存在XOUT、YOUT、ZOUT寄存器中,对于XOUT寄存器,其中bit[0]-bit[6]表示x轴的位置信息,对于YOUT寄存器,其中bit[0]-bit[6]表示y轴的位置信息,对于ZOUT寄存器,其中bit[0]-bit[6]表示Z轴的位置信息。双操作系统电子装置20的当前位置信息可以是TILT寄存器中的数值,也可以是XOUT、YOUT、ZOUT寄存器中的数值。In a specific embodiment, the gravity sensor MMA7660FC includes two types of registers, which store position and direction information. The chip manual records the TILT register and the XOUT, YOUT, and ZOUT registers. The data in the TILT register is one byte. bit [2] -bit [4] is the position direction information. The value of these three bits is 001 to indicate that the horizontal head is to the left, 010 to indicate the horizontal head to the right, 101 to indicate vertical upside down, and 110 to indicate normal vertical. The XOUT, YOUT, and ZOUT registers are one byte, and the data of the x, y, and z axes are stored in the XOUT, YOUT, and ZOUT registers. For the XOUT register, bit [0] -bit [6] represents the position of the x-axis. For the YOUT register, bit [0] -bit [6] represents the position information of the y-axis, and for the ZOUT register, bit [0] -bit [6] represents the position information of the Z-axis. The current position information of the dual operating system electronic device 20 may be a value in a TILT register, or a value in a XOUT, YOUT, or ZOUT register.
如图4所示,是双操作系统电子装置20旋转示意图,其中状态1为本发明定义的横向,左侧标识的状态1为双操作系统电子装置20横向头朝右,右侧标识的状态1为双操作系统电子装置20横向头朝左;状态2为本发明定义的纵向,上方标识的状态2为双操作系统电子装置20正常的竖置,下方标识的状态2为双操作系统电子装置20竖置颠倒。此实施例只是为了示意说明,在其他实施方式中,旋转中心可以依实际设计需求而定,不局限于此,比如旋转中心还可以设置在双操作系统电子装置20的背部中心点等等。As shown in FIG. 4, it is a schematic diagram of the rotation of the dual operating system electronic device 20, where state 1 is the horizontal direction defined by the present invention, the state 1 marked on the left side is the horizontal head of the dual operating system electronic device 20 facing right, and the state 1 on the right side It is the dual operating system electronic device 20 whose horizontal head is left; the state 2 is the vertical direction defined by the present invention, the state 2 indicated above is the normal vertical arrangement of the dual operating system electronic device 20, and the state 2 indicated below is the dual operating system electronic device 20 Upright. This embodiment is only for illustrative purposes. In other embodiments, the rotation center may be determined according to actual design requirements, and is not limited thereto. For example, the rotation center may also be set at the center point of the back of the dual operating system electronic device 20.
如图4所示,双操作系统电子装置20初始位置是横向头朝右,当由初始位置旋转时,当旋转角度α超过45度时,方向判断模块105判断双操作系统电子装置20的位置状态由横向变为了纵向,进而根据当前的位置状态切换到对应的操作系统。这里只是举例说明45度为位置状态变化的临界点,本发明不限制具体的临界点值,比如,旋转角度α还可以是30度、60度等,或者还可以是双操作系统电子装置20由初始位置变换为平行于水平面的位置,或者由初始位置变换到三维空间的一个预设位置等等,本发明不限制系统切换时的临界点值的选取,设计者可根据实际需求设定不同的系统切换临界点值。As shown in FIG. 4, the initial position of the dual operating system electronic device 20 is a horizontal head to the right. When rotating from the initial position, when the rotation angle α exceeds 45 degrees, the direction determination module 105 determines the position status of the dual operating system electronic device 20. It changes from horizontal to vertical, and then switches to the corresponding operating system according to the current position status. Here is just an example to illustrate that 45 degrees is the critical point for the change of position status. The present invention does not limit the specific critical point value. For example, the rotation angle α may also be 30 degrees, 60 degrees, etc., or the dual operating system electronic device 20 The initial position is transformed into a position parallel to the horizontal plane, or from the initial position to a preset position in the three-dimensional space, etc. The present invention does not limit the selection of the critical point value when the system is switched. The designer can set different The threshold value for system switching.
在一实施方式中,方向判断模块205通过软件算法读取方向获取模块203 中的当前位置信息数据,当双操作系统电子装置20通电但并未开机时,软件即启动,方向获取模块203就开始检测双操作系统电子装置20的位置信息数据,例如,x、y、z轴的数据。方向判断模块205会不断读取方向获取模块203输出的当前位置信息数据,但是仅获取方向获取模块203的当前位置信息数据不进行操作系统切换操作,开机后会根据方向获取模块203的当前位置状态数据进行操作系统切换。In one embodiment, the direction determination module 205 reads the current position information data in the direction acquisition module 203 through a software algorithm. When the dual operating system electronic device 20 is powered on but not turned on, the software is started, and the direction acquisition module 203 starts Detect position information data of the dual operating system electronic device 20, for example, data of the x, y, and z axes. The direction judgment module 205 continuously reads the current position information data output by the direction acquisition module 203, but only acquires the current position information data of the direction acquisition module 203 without performing an operating system switching operation, and after powering on, it will obtain the current position status of the direction acquisition module 203 Data for operating system switching.
如果切换操作系统的情况是电子设备的当前位置状态是横向或纵向,则可只读取TILT寄存器内的数值;如果切换操作系统的情况包括除了电子设备的当前位置状态处于横向或纵向以外的其他位置信息,例如,由初始位置变换到三维空间的一个特定位置,则可以读取XOUT、YOUT、ZOUT寄存器中数值来判断电子设备的当前位置状态。If the operating system is switched when the current position of the electronic device is horizontal or vertical, only the value in the TILT register can be read; if the operating system is switched, other than the current position of the electronic device is in horizontal or vertical The position information, for example, is transformed from the initial position to a specific position in the three-dimensional space, and then the values in the XOUT, YOUT, and ZOUT registers can be read to determine the current position status of the electronic device.
在一个实施例中,切换操作系统是根据屏幕处于横向或纵向来进行的。在该实施方式中,当重力传感器MMA7660FC的TILT寄存器为001或010时表示双操作系统电子装置20方向为横向,即,双操作系统电子装置20是横向头朝左或横向头超右时,都判断双操作系统电子装置20的当前位置状态是横向;当重力传感器的寄存器为101或110时表示双操作系统电子装置20方向为纵向,即,双操作系统电子装置20是竖置颠倒或正常竖置时,都判断双操作系统电子装置20的当前位置状态是纵向。此时,横向时切换windows系统,纵向时切换android系统,也可以反过来,本发明不限制。In one embodiment, switching the operating system is performed according to whether the screen is in landscape or portrait orientation. In this embodiment, when the TILT register of the gravity sensor MMA7660FC is 001 or 010, it means that the direction of the dual operating system electronic device 20 is horizontal, that is, when the dual operating system electronic device 20 has a lateral head facing left or a lateral head exceeding the right, both Determine whether the current position status of the dual operating system electronic device 20 is horizontal; when the register of the gravity sensor is 101 or 110, it means that the orientation of the dual operating system electronic device 20 is vertical, that is, the dual operating system electronic device 20 is upside down or normal. At the time of setting, it is determined that the current position state of the dual operating system electronic device 20 is vertical. At this time, the windows system is switched in the horizontal direction, and the android system is switched in the vertical direction, which can also be reversed, and the present invention is not limited.
在具体实施方式中,如果双操作系统电子装置20的旋转机构可360度旋转,重力传感器MMA7660FC输出的当前位置信息可包括四种,TILT寄存器为001就表示横向头朝左,为010表示横向头朝右,为101表示竖置颠倒,为110表示正常的竖置;如果双操作系统电子装置20的旋转机构只可90度旋转,那 么重力传感器MMA7660FC输出的当前位置信息可包括两种,TILT寄存器为010就表示横向,110表示竖置。In a specific embodiment, if the rotating mechanism of the dual operating system electronic device 20 can rotate 360 degrees, the current position information output by the gravity sensor MMA7660FC may include four types. A TILT register of 001 indicates that the horizontal head is to the left and 010 indicates a horizontal head To the right, 101 means upside down and 110 means normal upright; if the rotating mechanism of the dual operating system electronic device 20 can only rotate 90 degrees, the current position information output by the gravity sensor MMA7660FC can include two types, the TILT register A value of 010 indicates a horizontal direction, and 110 indicates a vertical position.
在另一个实施例中,切换操作系统是根据双操作系统电子装置20所处的当前位置信息来进行的,或者说,根据双操作系统电子装置20旋转的角度(如图4中的α角)来进行的。可以始终读取XOUT、YOUT、ZOUT寄存器中的x、y、z轴的数据作为当前位置信息,例如,双操作系统电子装置20初始位置是图4中的左侧的状态1,即横向头朝右,当双操作系统电子装置20旋转30度时,读取重力传感器中x、y、z轴的数据,根据x、y、z轴的数据来判断当前位置状态为横向或者纵向。当使用其他传感器检测双操作系统电子装置20的位置信息时,根据具体传感器的芯片规格做不同设计即可。In another embodiment, switching the operating system is performed according to the current position information of the dual operating system electronic device 20, or in other words, according to the rotation angle of the dual operating system electronic device 20 (such as the angle α in FIG. 4) Come on. The data of the x, y, and z axes in the XOUT, YOUT, and ZOUT registers can always be read as the current position information. For example, the initial position of the dual operating system electronic device 20 is state 1 on the left in FIG. Right, when the dual operating system electronic device 20 is rotated 30 degrees, the data of the x, y, and z axes in the gravity sensor are read, and the current position status is determined to be horizontal or vertical based on the data of the x, y, and z axes. When using other sensors to detect the position information of the dual operating system electronic device 20, different designs may be made according to the chip specifications of the specific sensor.
这里只举了采用重力传感器的例子,如果采用其他传感器,实现方法可能会有所不同。但是本发明的精髓并不因为采用不同传感器而发生变化。本发明的总体思路是一台电子装置的多个操作系统同时运行,且电子装置的不同位置状态与多个操作系统分别对应,由方向获取模块实时检测电子装置的当前位置信息,方向判断模块根据方向获取模块输出的当前位置信息判断电子装置的当前位置状态,再由系统切换模块根据方向判断模块输出的当前位置状态做系统切换。异系统切换过程避免了系统反复引导带来的时间消耗,切换非常迅速,同一设备可在不同的操作系统中实现自动切换,方便快捷。Here is only an example of using a gravity sensor. If other sensors are used, the implementation method may be different. But the essence of the invention does not change due to the use of different sensors. The general idea of the present invention is that multiple operating systems of an electronic device run simultaneously, and different position states of the electronic device correspond to multiple operating systems respectively. The direction acquisition module detects the current position information of the electronic device in real time, and the direction determination module is based on The current position information output by the direction acquisition module determines the current position status of the electronic device, and then the system switching module performs system switching according to the current position status output by the direction determination module. The different system switching process avoids the time consumption caused by repeated system booting, and the switching is very fast. The same device can automatically switch in different operating systems, which is convenient and fast.
在一实施方式中,当方向判断模块205判断双操作系统电子装置20的当前位置状态为第一状态时,系统切换模块207可将双操作系统电子装置20切换为windows系统;当方向判断模块205判断装置的当前位置状态为第二状态时,系统切换模块207可将双操作系统电子装置20切换为android系统。In one embodiment, when the direction determining module 205 determines that the current position status of the dual operating system electronic device 20 is the first state, the system switching module 207 may switch the dual operating system electronic device 20 to a windows system; when the direction determining module 205 When it is determined that the current position state of the device is the second state, the system switching module 207 may switch the dual operating system electronic device 20 to an android system.
在具体实施方式中,第一状态可以是双操作系统电子装置20为横向,第 二状态可以是双操作系统电子装置20为纵向,也可以反过来,本发明不限制。In a specific embodiment, the first state may be that the dual operating system electronic device 20 is horizontal, and the second state may be that the dual operating system electronic device 20 is vertical, or vice versa, the present invention is not limited.
由于在双操作系统电子装置20开机时,双操作系统电子装置20同时从硬盘的不同存储区域引导Windows系统和android系统,二者同时启动运行并将输出信号输出至系统切换模块205,方向获取模块203实时输出双操作系统电子装置20的方向信息,不同方向信息对应不同的操作系统,该异系统切换过程避免了系统反复引导带来的时间消耗,切换非常迅速,同一设备可在不同的操作系统中实现自动切换,方便快捷,适应不同的需求。When the dual operating system electronic device 20 is turned on, the dual operating system electronic device 20 simultaneously boots the Windows system and the android system from different storage areas of the hard disk. Both of them start running at the same time and output the output signal to the system switching module 205 and the direction acquisition module. 203 outputs the direction information of the dual operating system electronic device 20 in real time. Different direction information corresponds to different operating systems. The different system switching process avoids the time consumption caused by repeated system booting. The switching is very fast. The same device can be used in different operating systems. It realizes automatic switching, which is convenient and fast, and adapts to different needs.
在一实施方式中,由于android系统端有更完善的书写解决方案,所以可在双操作系统电子装置20切换至android系统时,自动开启屏幕书写软件,以方便用户书写,提高用户体验。作为优选的实施方式,可当双操作系统电子装置20竖屏且后仰放置时,双操作系统电子装置20自动开启屏幕书写软件。在具体实施方式中,可在双操作系统电子装置20后仰超过15度时,自动开启屏幕书写软件,因为这个放置角度最方便用户书写,获得最佳的用户体验。In one embodiment, since the android system has a more complete writing solution, when the dual operating system electronic device 20 is switched to the android system, the screen writing software can be automatically opened to facilitate writing by the user and improve the user experience. As a preferred embodiment, when the dual operating system electronic device 20 is placed in a vertical screen and placed on its back, the dual operating system electronic device 20 automatically starts the screen writing software. In a specific embodiment, the screen writing software can be automatically opened when the dual operating system electronic device 20 is tilted back more than 15 degrees, because this placement angle is most convenient for users to write and obtain the best user experience.
在此实施方式中,后仰指的是当双操作系统电子装置20处于图4中状态2的纵向位置时,双操作系统电子装置20向后倾斜与原竖直平面成一定角度。In this embodiment, tilting back means that when the dual operating system electronic device 20 is in the longitudinal position of state 2 in FIG. 4, the dual operating system electronic device 20 is tilted backward to form a certain angle with the original vertical plane.
在一实施方式中,可采用STM32芯片作为双操作系统电子装置20的方向判断模块205,并可采用HDMI信号分配器作为系统切换模块207,例如可选用AD8192芯片作为HDMI信号分配器。STM32芯片的输入端口与方向获取模块203的输出端口电连接,接收方向获取模块203输出的双操作系统电子装置20的当前位置信息,STM32芯片根据接收到的当前位置信息判断双操作系统电子装置20的当前位置状态,例如是横向或者纵向,再将判断后的当前位置状态输出至AD8192芯片,AD8192芯片分别连接处理器一2011和处理器二2012,AD8192芯片根据双操作系统电子装置20的当前位置状态切换至windows系统 或android系统。In one embodiment, an STM32 chip may be used as the direction determination module 205 of the dual operating system electronic device 20, and an HDMI signal distributor may be used as the system switching module 207. For example, an AD8192 chip may be used as the HDMI signal distributor. The input port of the STM32 chip is electrically connected to the output port of the direction acquisition module 203 and receives the current position information of the dual operating system electronic device 20 output by the direction acquisition module 203. The STM32 chip judges the dual operating system electronic device 20 based on the received current position information. Current position status, such as horizontal or vertical, and then output the determined current position status to the AD8192 chip. The AD8192 chip is connected to processor one 2011 and processor two 2012 respectively. The AD8192 chip is based on the current position of the dual operating system electronic device 20. The status is switched to windows system or android system.
在具体实施方式中,STM32芯片的输入端口与方向获取模块203的输出端口可通过I2C端口连接,即STM32芯片通过I2C接口读取方向获取模块203输出的当前位置信息数据;STM32芯片的输出端口与AD8192芯片的输入端口也是通过I2C端口连接,即,STM32芯片通过I2C端口向系统切换模块207输出当前位置状态。在具体实施方式中,,当STM32芯片判断双操作系统电子装置20的当前位置状态为横向时,可以输出十六进制的0x0F数值至AD8192芯片的通路选择寄存器(RX_PT),AD8192芯片读取该数值并切换至windows操作系统通路,当STM32芯片判断双操作系统电子装置20的当前位置状态为纵向时,可以输出十六进制的0xF0数值至AD8192芯片的通路选择寄存器(RX_PT),AD8192芯片读取该数值并切换至android操作系统通路。In a specific embodiment, the input port of the STM32 chip and the output port of the direction acquisition module 203 can be connected through an I2C port, that is, the STM32 chip reads the current position information data output by the direction acquisition module 203 through the I2C interface; the output port of the STM32 chip and The input port of the AD8192 chip is also connected through the I2C port, that is, the STM32 chip outputs the current position status to the system switching module 207 through the I2C port. In a specific embodiment, when the STM32 chip determines that the current position status of the dual operating system electronic device 20 is horizontal, it can output a hexadecimal value of 0x0F to the path selection register (RX_PT) of the AD8192 chip, and the AD8192 chip reads this The value and switch to the windows operating system path. When the STM32 chip judges that the current position status of the dual operating system electronic device 20 is vertical, it can output a hexadecimal value of 0xF0 to the path selection register (RX_PT) of the AD8192 chip, and the AD8192 chip reads Take this value and switch to the android operating system path.
在该实施方式中,处理器一2011和处理器二2012输出的是HDMI格式数据,所以采用了HDMI信号分配器AD8192芯片,AD8192芯片可提供两路HDMI输入接口,一路HDMI输出接口,AD8192芯片与处理器一2011和处理器二2012通过两路HDMI输入接口连接。在其他实施方式中,处理器一2011和处理器二2012也可以输出其他格式数据,本发明不限制,例如还可以输出VGA、DP等格式的数据,此时,改用相应格式的信号分配器即可。In this embodiment, the processor one 2011 and the processor two 2012 output HDMI format data, so the HDMI signal distributor AD8192 chip is used. The AD8192 chip can provide two HDMI input interfaces, one HDMI output interface, and the AD8192 chip and Processor one 2011 and processor two 2012 are connected through two HDMI input interfaces. In other embodiments, processor one 2011 and processor two 2012 may also output data in other formats, which is not limited in the present invention. For example, data in formats such as VGA and DP can also be output. At this time, the signal distributor in the corresponding format is used instead. Just fine.
在一实施方式中,如图5所示,双操作系统电子装置20还包括显示屏209,显示屏209与系统切换模块207连接,以显示系统切换模块207切换的windows系统或android系统显示界面。当显示windows操作系统界面时,方便用户使用公司的教学软件或其他windows软件,当显示android操作系统界面时,方便用户书写。在具体实施方式中,显示屏可以是电容触控屏、红外触控屏等,本发明不限制。In an embodiment, as shown in FIG. 5, the dual operating system electronic device 20 further includes a display screen 209. The display screen 209 is connected to the system switching module 207 to display the windows system or android system display interface switched by the system switching module 207. When the windows operating system interface is displayed, it is convenient for users to use the company's teaching software or other windows software, and when the android operating system interface is displayed, it is convenient for users to write. In a specific embodiment, the display screen may be a capacitive touch screen, an infrared touch screen, or the like, which is not limited in the present invention.
在一实施方式中,如图5所示,双操作系统电子装置20还可以包括输入信号分配器211,双操作系统电子装置20通过输入信号分配器211与用户输入设备30,例如,用户输入设备30可以是USB接口类的键盘、鼠标等,用户输入设备30通过信号分配器211与双操作系统电子装置20连接。当方向判断模块205确定双操作系统电子装置20的当前位置状态后,方向判断模块205还将双操作系统电子装置20的当前位置状态输出至信号分配器211,信号分配器211根据双操作系统电子装置20的当前位置状态切换用户输入设备30与处理器一或处理器二连通。In an embodiment, as shown in FIG. 5, the dual operating system electronic device 20 may further include an input signal distributor 211. The dual operating system electronic device 20 and the user input device 30, for example, a user input device, via the input signal distributor 211. 30 may be a keyboard, mouse, etc. of a USB interface type. The user input device 30 is connected to the dual operating system electronic device 20 through the signal distributor 211. After the direction determining module 205 determines the current position status of the dual operating system electronic device 20, the direction determining module 205 also outputs the current position status of the dual operating system electronic device 20 to the signal distributor 211, and the signal distributor 211 according to the dual operating system electronics The current position state switching user input device 30 of the device 20 is in communication with the first processor or the second processor.
根据鼠标键盘等USB外设支持热插拔特性,可以用USB信号分配器芯片作为输入信号分配器211,可随时切换USB外设的通路连接到运行Windows的intel处理器或者运行android的ARM处理器,来无缝切换不同系统的人工控制接口。According to the USB keyboard and other USB peripherals supporting the hot-swap feature, a USB signal distributor chip can be used as the input signal distributor 211, and the path of the USB peripheral can be switched at any time to connect to an Intel processor running Windows or an ARM processor running Android To seamlessly switch the manual control interface of different systems.
例如,当方向判断模块205确定双操作系统电子装置20的当前位置状态为横向,方向判断模块205将该位置状态信息输出至USB信号分配器,USB信号分配器根据该位置状态信息将用户输入设备30与intel处理器连通。当方向判断模块205输出双操作系统电子装置20的当前位置状态信息为纵向,方向判断模块205将该位置状态信息输出至USB信号分配器,USB信号分配器根据该位置状态信息将用户输入设备30与ARM处理器连通。For example, when the direction determination module 205 determines that the current position status of the dual operating system electronic device 20 is horizontal, the direction determination module 205 outputs the position status information to the USB signal distributor, and the USB signal distributor inputs the user into the device according to the position status information. 30 communicates with the intel processor. When the direction judgment module 205 outputs the current position status information of the dual operating system electronic device 20 as a vertical direction, the direction judgment module 205 outputs the position status information to the USB signal distributor, and the USB signal distributor inputs the user into the device 30 according to the position status information. Connect with ARM processor.
图6是本发明一实施例的双操作系统电子装置系统电路图,其中,处理器模块包括intel CPU和ARM CPU,intel CPU用于运行windows操作系统,ARM CPU用于运行android操作系统,当双操作系统电子装置开机时,intel CPU和ARM CPU同时运行,即windows操作系统和android操作系统同时开启。方向获取模块203,即重力感应器MMA7660FC实时检测双操作系统电子装置20 的当前位置信息;方向判断模块205,即STM32芯片接收方向获取模块203输出的当前位置信息,并根据当前位置信息判断双操作系统电子装置20的当前位置状态,STM32芯片通过I2C接口将当前位置状态信息输出至系统切换模块207,即AD8192芯片,AD8192芯片分别连接intel CPU和ARM CPU,由AD8192芯片根据STM32芯片输出的当前位置状态信息切换windows操作系统和android操作系统以输出至显示屏显示。同时,STM32芯片通过IO口将当前位置状态信息输出至USB信号分配器TS3USB30,USB信号分配器TS3USB30通过USB hub与用户输入设备30相连,并根据当前位置状态信息实现用户输入设备与两处理器的选通连接。在此实施方式中,由于使用USB hub连接用户输入设备30和USB信号分配器TS3USB30,可以连接多个USB类用户输入设备。在其他实施方式中,也可以不使用USB hub,此时,只能连接一个USB类用户输入设备。FIG. 6 is a circuit diagram of a dual operating system electronic device according to an embodiment of the present invention. The processor module includes an Intel CPU and an ARM CPU. The Intel CPU is used to run the Windows operating system, and the ARM CPU is used to run the Android operating system. When the system electronic device is turned on, the Intel CPU and the ARM CPU run simultaneously, that is, the Windows operating system and the Android operating system are turned on at the same time. The direction acquisition module 203, that is, the gravity sensor MMA7660FC detects the current position information of the dual operating system electronic device 20 in real time; the direction determination module 205, that is, the STM32 chip receives the current position information output by the direction acquisition module 203, and judges the dual operation based on the current position information The current position status of the system electronic device 20. The STM32 chip outputs the current position status information to the system switching module 207 through the I2C interface, that is, the AD8192 chip. The AD8192 chip is connected to the Intel CPU and the ARM CPU. The AD8192 chip outputs the current position according to the STM32 chip. The status information switches between the windows operating system and the android operating system for output to the display. At the same time, the STM32 chip outputs the current position status information to the USB signal distributor TS3USB30 through the IO port. The USB signal distributor TS3USB30 is connected to the user input device 30 through USB hub, and realizes the user input device and the two processors based on the current position status information. Gated connection. In this embodiment, since the user input device 30 and the USB signal distributor TS3USB30 are connected using a USB hub, multiple USB-type user input devices can be connected. In other embodiments, the USB hub may not be used. At this time, only one USB user input device can be connected.
例如,当双操作系统电子装置20的当前位置状态为横向时,STM32芯片可输出十六进制的0x0F数值至AD8192芯片,并输出高电平至USB信号分配器TS3USB30,AD8192芯片根据STM32芯片输出的十六进制数值0x0F切换至intel CPU一路,以显示windows操作系统界面,USB信号分配器TS3USB30根据STM32芯片输出的高电平将用户输入设备选通至intel CPU,以为windows系统提供服务;当双操作系统电子装置20的当前位置状态为纵向时,STM32芯片可输出十六进制的0xF0数值至AD8192芯片,并输出低电平至USB信号分配器TS3USB30,AD8192芯片根据STM32芯片输出的十六进制数值0xF0切换至ARM CPU一路,以显示android操作系统界面,USB信号分配器TS3USB30根据STM32芯片输出的低电平将用户输入设备选通至ARM CPU,以为android系统提供服务。当然,AD8192芯片也根据STM32芯片输出的十六进制数值0x0F切换至ARM  CPU一路,或根据STM32芯片输出的十六进制数值0xF0切换至intel CPU一路;USB信号分配器TS3USB30也可根据STM32芯片输出的高电平将用户输入设备选通至ARM CPU,或根据STM32芯片输出的低电平将用户输入设备选通至intel CPU,本发明并不限制。For example, when the current position status of the dual operating system electronic device 20 is horizontal, the STM32 chip can output a hexadecimal value of 0x0F to the AD8192 chip and output a high level to the USB signal distributor TS3USB30. The AD8192 chip outputs according to the STM32 chip The hexadecimal value 0x0F is switched to the Intel CPU all the way to display the windows operating system interface. The USB signal distributor TS3USB30 strobes the user input device to the Intel CPU according to the high level output by the STM32 chip to provide services for the Windows system. When the current position of the dual operating system electronic device 20 is vertical, the STM32 chip can output a hexadecimal value of 0xF0 to the AD8192 chip, and output a low level to the USB signal distributor TS3USB30. The AD8192 chip according to the STM32 chip outputs sixteen The binary value 0xF0 is switched to ARM and CPU all the way to display the android operating system interface. The USB signal distributor TS3USB30 strobes the user input device to the ARM CPU according to the low level output by the STM32 chip to provide services for the android system. Of course, the AD8192 chip also switches to the ARM CPU based on the hexadecimal value 0x0F output by the STM32 chip, or switches to the Intel CPU based on the hexadecimal value 0xF0 output by the STM32 chip; the USB signal distributor TS3USB30 can also be based on the STM32 chip. The output high level will gate the user input device to the ARM CPU, or gate the user input device to the Intel CPU according to the low level output by the STM32 chip. The present invention is not limited.
双操作系统电子装置由两处理器同时启动Windows系统和android系统,二者同时启动运行并将输出信号输出至HDMI信号分配器AD8192芯片,重力感应器MMA7660FC实时输出双操作系统电子装置的方向信息,横向时切换为windows操作系统,纵向时切换为android操作系统,该异系统切换过程避免了系统反复引导带来的时间消耗,切换非常迅速,同一设备可在不同的操作系统中实现自动切换,方便快捷,适应不同的需求。同时,在双操作系统电子装置切换至android系统界面时,自动开启屏幕书写软件,以方便用户书写,提高用户体验。The dual operating system electronic device starts the Windows system and the android system at the same time by the two processors. Both of them start running and output the output signal to the AD8192 chip of the HDMI signal distributor. The gravity sensor MMA7660FC outputs the direction information of the dual operating system electronic device in real time. Switch to Windows operating system in landscape orientation and Android operating system in portrait orientation. This different system switching process avoids the time consumption caused by repeated system booting. The switching is very fast. The same device can automatically switch between different operating systems, which is convenient. Fast and adapt to different needs. At the same time, when the dual operating system electronic device is switched to the android system interface, the screen writing software is automatically opened to facilitate writing by the user and improve the user experience.
可以理解,对于具有更多操作系统的电子装置,例如包括三个甚至更多个操作系统的电子装置,采用本发明的方案,同样可以达到异系统切换过程避免了系统反复引导带来的时间消耗,切换非常迅速的效果。It can be understood that, for an electronic device with more operating systems, for example, an electronic device including three or more operating systems, the solution of the present invention can also be used to achieve a different system switching process and avoid time consumption caused by repeated system booting. The effect of switching very quickly.
在一实施方式中,如图7所示,多操作系统电子装置具有三个操作系统,例如windows、android和ios,此时,处理器一4011用于运行windows系统,处理器二4012用于运行android系统,处理器三4013用于运行ios系统,并且在三操作系统电子装置40开机后,windows系统、android系统和ios系统同时启动运行,输出信号至系统切换模块407。In an embodiment, as shown in FIG. 7, the multi-operating system electronic device has three operating systems, such as windows, android, and ios. At this time, processor one 4011 is used to run the windows system, and processor two 4012 is used to run In the android system, the processor three 4013 is used to run the ios system, and after the three operating system electronic device 40 is turned on, the windows system, the android system, and the ios system are simultaneously started to run and output signals to the system switching module 407.
方向获取模块403实时检测并输出三操作系统电子装置40的当前位置信息,方向判断模块405实时读取方向获取模块403输出的当前位置信息,并根据当前位置信息判断三操作系统电子装置40的当前位置状态,方向判断模块 405将三操作系统电子装置40的当前位置状态输出至系统切换模块407,系统切换模块407根据三操作系统电子装置40的当前位置状态切换三操作系统电子装置40的操作系统。The direction acquisition module 403 detects and outputs the current position information of the three operating system electronic devices 40 in real time, and the direction determination module 405 reads the current position information output by the direction acquisition module 403 in real time and determines the current of the three operating system electronic devices 40 based on the current position information. The position status and direction judgment module 405 outputs the current position status of the three operating system electronic device 40 to the system switching module 407, and the system switching module 407 switches the operating system of the three operating system electronic device 40 according to the current position status of the three operating system electronic device 40 .
在一实施方式中,如图8所示,三操作系统电子装置40可以有三个位置状态分别与三个操作系统对应,三个位置状态可以分别横向头朝右,对应图8中的状态1,纵向,对应图8中的状态2,横向头朝左,对应图8中的状态3。在具体实施方式中,方向判断模块405可以判断三操作系统电子装置40相对于水平面0-45度放置时都是状态1,三操作系统电子装置40相对于水平面45-135度放置时都是状态2,三操作系统电子装置40相对于水平面135-180度放置时都是状态3,所述三组位置状态与三个操作windows、android和ios对应,横向头朝右状态1时对应windows系统,纵向状态2时对应android系统,横向头朝左状态3时对应ios系统。当方向判断模块405判断三操作系统电子装置40的当前位置状态为状态1,系统切换模块407切换至windows系统,当方向判断模块405判断三操作系统电子装置40的当前位置状态为状态2,系统切换模块407切换至android系统,当方向判断模块405判断三操作系统电子装置40的当前位置状态为状态3,系统切换模块407切换至ios系统。在其他实施方式中,状态1、状态2、状态3与windows、android和ios对应关系也可以是其他,本发明不限制。In an embodiment, as shown in FIG. 8, the three operating system electronic device 40 may have three position states corresponding to the three operating systems, respectively, and the three position states may be turned laterally to the right, corresponding to state 1 in FIG. 8. The vertical direction corresponds to state 2 in FIG. 8, and the horizontal head points to the left, corresponding to state 3 in FIG. 8. In a specific embodiment, the direction determining module 405 may determine that the three operating system electronic device 40 is in a state of 1 when placed at 0-45 degrees with respect to the horizontal plane, and the three operating system electronic device 40 is in a state when placed at 45-135 degrees with respect to the horizontal plane. 2. The three operating system electronic device 40 is in state 3 when placed at 135-180 degrees with respect to the horizontal plane. The three sets of position states correspond to three operating windows, android, and ios, and the horizontal head is to the right when the state 1 corresponds to the windows system. Corresponds to the android system when in the vertical state 2 and corresponds to the ios system when the horizontal head is in the left state 3. When the direction determination module 405 determines that the current position status of the three operating system electronic device 40 is state 1, the system switching module 407 switches to the windows system. When the direction determination module 405 determines that the current position status of the three operating system electronic device 40 is state 2, the system The switching module 407 switches to the android system. When the direction determining module 405 determines that the current position status of the three operating system electronic devices 40 is state 3, the system switching module 407 switches to the ios system. In other embodiments, the corresponding relationship between state 1, state 2, state 3 and windows, android, and ios may be other, and the present invention is not limited.
可以理解的是,上述0-45度、45-135度、135-180度的设置也只是个举例,设计者同样可以根据实际需求设置不同的系统切换的临界点值。It can be understood that the above-mentioned settings of 0-45 degrees, 45-135 degrees, and 135-180 degrees are just examples, and designers can also set different system switching thresholds according to actual needs.
在一实施方式中,可采用intel处理器运行windows系统,ARM处理器运行android系统,Apple处理器运行ios系统。In one embodiment, an Intel processor can be used to run the windows system, an ARM processor can be used to run the android system, and an Apple processor can be used to run the ios system.
在一实施方式中,方向获取模块403同样可以是任何能够感测该双操作系 统电子装置的方向的装置,例如,重力传感器、方向传感器或旋转传感器等,在具体实施方式中,也可以采用双操作系统电子装置20中的重力传感器芯片MMA7660FC,同样可以采用读取该芯片TILT寄存器或XOUT、YOUT、ZOUT寄存器中的数据作为三操作系统电子装置40的当前位置信息。In an embodiment, the direction obtaining module 403 may also be any device capable of sensing the direction of the dual operating system electronic device, such as a gravity sensor, a direction sensor, or a rotation sensor. In a specific embodiment, a dual The gravity sensor chip MMA7660FC in the operating system electronic device 20 may also read data in the TILT register or the XOUT, YOUT, and ZOUT registers of the chip as the current position information of the three operating system electronic device 40.
当读取芯片TILT寄存器中的数据作为三操作系统电子装置40的当前位置信息时,重力传感器MMA7660FC的TILT寄存器为010时表示双操作系统电子装置20方向为横向头朝右,为001时表示双操作系统电子装置20方向为横向头朝左,当重力传感器的寄存器为101或110时表示双操作系统电子装置20方向为纵向。比如,横向头朝右时切换windows系统,纵向时切换Android系统,横向头朝左时切换ios系统,也可以是其他对应方式,本发明不限制。When the data in the TILT register of the chip is read as the current position information of the three operating system electronic device 40, when the TILT register of the gravity sensor MMA7660FC is 010, the direction of the dual operating system electronic device 20 is heading to the right, and when it is 001, it means dual The direction of the operating system electronic device 20 is a horizontal head to the left. When the register of the gravity sensor is 101 or 110, it indicates that the direction of the dual operating system electronic device 20 is a vertical direction. For example, the windows system is switched when the horizontal head is right, the Android system is switched when the vertical head is left, and the iOS system is switched when the horizontal head is left. Other corresponding methods are also possible, and the present invention is not limited.
在一实施方式中,系统切换模块207同样可以采用HDMI信号分配器、VGA信号分配器、DP信号分配器等。在具体实施方式中,如果采用HDMI信号分配器,因为是三个操作系统,不适用采用一个AD8192芯片,因为该芯片只提供两个HDMI接口与处理器连接,此时应选用具有至少三个HMDI接口的信号分配器芯片,例如AD8197B芯片,该芯片最多支持四路HMDI接口,或者采用两个AD8192芯片。In one embodiment, the system switching module 207 may also use an HDMI signal distributor, a VGA signal distributor, a DP signal distributor, and the like. In a specific embodiment, if an HDMI signal distributor is used, because it is three operating systems, it is not suitable to use an AD8192 chip, because the chip only provides two HDMI interfaces to connect to the processor, at this time, it should be selected to have at least three HMDI Interface signal distributor chip, such as AD8197B chip, this chip supports up to four HMDI interfaces, or uses two AD8192 chips.
在一实施方式中,三操作系统电子装置40同样可以包括输入信号分配器,三操作系统电子装置40通过输入信号分配器与用户输入设备连接,例如,可以是USB接口类的键盘、鼠标等用户输入设备,用户输入设备通过输入信号分配器与三操作系统电子装置40连接。当方向判断模块405确定三操作系统电子装置40的当前位置状态后,方向判断模块405还将三操作系统电子装置40的当前位置状态输出至输入信号分配器,输入信号分配器根据三操作系统电子装置40的当前位置状态切换用户输入设备与处理器一、处理器二或处理器三 连通。In an embodiment, the three operating system electronic device 40 may also include an input signal distributor. The three operating system electronic device 40 is connected to a user input device through the input signal distributor. For example, the three operating system electronic device 40 may be a USB keyboard or mouse user. An input device. The user input device is connected to the three operating system electronic device 40 through an input signal distributor. After the direction determination module 405 determines the current position status of the three operating system electronic device 40, the direction determination module 405 also outputs the current position status of the three operating system electronic device 40 to the input signal distributor, and the input signal distributor The current position state switching user input device of the device 40 is in communication with the first processor, the second processor, or the third processor.
在一实施方式中,同样可以用USB信号分配器芯片作为输入信号分配器,当方向判断模块405确定三操作系统电子装置40的当前位置状态为横向头朝右,方向判断模块405将该位置状态信息输出至USB信号分配器,USB信号分配器根据该位置状态信息将用户输入设备与运行windows的处理器连通。当方向判断模块405输出三操作系统电子装置40的当前位置状态信息为纵向,方向判断模块405将该位置状态信息输出至USB信号分配器,USB信号分配器根据该位置状态信息将用户输入设备与运行android的处理器连通。当方向判断模块405确定三操作系统电子装置40的当前位置状态为横向头朝左,方向判断模块405将该位置状态信息输出至USB信号分配器,USB信号分配器根据该位置状态信息将用户输入设备与运行ios的处理器连通。In one embodiment, a USB signal distributor chip can also be used as an input signal distributor. When the direction determination module 405 determines that the current position status of the three operating system electronic device 40 is a horizontal head to the right, the direction determination module 405 determines the position status. The information is output to the USB signal distributor, and the USB signal distributor communicates the user input device with the processor running Windows according to the position status information. When the direction judging module 405 outputs the current position status information of the three operating system electronic devices 40 as vertical, the direction judging module 405 outputs the position status information to the USB signal distributor, and the USB signal distributor inputs the user into the device and the device according to the position status information. The processor running android is connected. When the direction determination module 405 determines that the current position status of the three operating system electronic device 40 is a horizontal head to the left, the direction determination module 405 outputs the position status information to the USB signal distributor, and the USB signal distributor inputs the user according to the position status information. The device is in communication with the processor running ios.
在具体实施方式中,由于是三个操作系统,不适用采用一个TS3USB30芯片,因为该芯片只提供两个USB接口与处理器选通连接,此时应选用具有至少三个USB接口的信号分配器芯片,或者采用两个TS3USB30芯片。In a specific implementation, since it is three operating systems, it is not suitable to use a TS3USB30 chip, because the chip only provides two USB interfaces to the processor strobe connection. At this time, a signal distributor with at least three USB interfaces should be selected. Chip, or use two TS3USB30 chips.
可以理解的是,本发明的多系统切换装置的位置状态并不局限于平面的旋转,也可以是立体空间内预设角度的旋转,本发明并不限制。It can be understood that the position status of the multi-system switching device of the present invention is not limited to the rotation of a plane, but may also be a rotation of a preset angle in a three-dimensional space, which is not limited by the present invention.
本发明还提供一种多系统切换方法,应用于包括至少两个操作系统的电子设备。如图9所示,是本发明一实施例的多系统切换方法500的流程图,当电子设备开机后,步骤501同时运行至少两个操作系统,步骤503实时检测电子设备的当前位置信息;步骤505根据电子设备的当前位置信息判断电子设备的当前位置状态;步骤507根据当前位置状态切换至少两个操作系统;其中,至少两个操作系统分别对应于电子设备的不同位置状态。在具体实施方式中,电子设备的不同位置状态可包括电子设备在同一个平面内的横向状态、纵向状 态、平行于水平面的状态、在三维空间内任意旋转预设角度的一个状态等等,这里仅仅是一些例子,本发明并限制于此。如上文对图2的描述,本发明中的水平面可指xoy平面,横向和纵向可指在xoz平面或yoz平面上的横向和纵向,横向通常是指屏幕的长度方向平行于xoy平面,纵向通常是指屏幕的长度方向垂直于xoy平面。在具体实现中,可以在一个字节中使用两位或者三位比特表示上述位置状态,例如,00为横向状态、01为纵向状态、10为平行于水平面的状态、11为在三维空间内任意旋转预设角度的一个状态,这里只是举例,本发明中电子设备的不同位置状态不限于此。The invention also provides a multi-system switching method, which is applied to an electronic device including at least two operating systems. As shown in FIG. 9, it is a flowchart of a multi-system switching method 500 according to an embodiment of the present invention. After the electronic device is turned on, step 501 runs at least two operating systems simultaneously, and step 503 detects the current location information of the electronic device in real time; steps 505 determines the current position status of the electronic device according to the current position information of the electronic device; step 507 switches at least two operating systems according to the current position status; wherein at least two operating systems respectively correspond to different position states of the electronic device. In a specific embodiment, the different position states of the electronic device may include a horizontal state, a vertical state, a state parallel to the horizontal plane, a state of arbitrarily rotating a preset angle in a three-dimensional space, and the like in the same plane. Here, These are just some examples, and the invention is not limited thereto. As described in FIG. 2 above, the horizontal plane in the present invention may refer to the xoy plane, and the horizontal and vertical directions may refer to the horizontal and vertical directions on the xoz plane or the yoz plane. The horizontal direction generally refers to the length direction of the screen parallel to the xoy plane. It means that the length of the screen is perpendicular to the xoy plane. In specific implementation, two or three digits can be used to indicate the above position status in a byte. For example, 00 is a horizontal state, 01 is a vertical state, 10 is a state parallel to a horizontal plane, and 11 is arbitrary in a three-dimensional space. A state of rotating the preset angle is only an example here, and the different position states of the electronic device in the present invention are not limited thereto.
可以理解的是,当完成一次操作系统切换之后,通常需要继续执行步骤503实时检测电子设备的当前位置信息,并继续根据当前位置信息判断电子设备的当前位置状态,如果电子设备的当前位置状态发生变化,则继续切换至对应操作系统。It can be understood that after completing an operating system switch, it is usually necessary to continue to perform step 503 to detect the current position information of the electronic device in real time and continue to judge the current position status of the electronic device based on the current position information. If the current position status of the electronic device occurs Change, continue to switch to the corresponding operating system.
在具体实施方式中,可预先保存不同操作系统与电子设备不同位置状态的对应关系表,在检测到电子设备的当前位置信息后,判断电子设备的当前位置状态,进而通过查表的方式确定当前位置状态对应的操作系统,以实现系统切换。也可通过函数确定当前位置状态对应的操作系统,以实现系统切换,所述函数为电子设备不同位置信息或不同位置状态与不同操作系统的对应关系函数,例如,电子设备是两个操作系统windows和android同时运行,且电子设备具有两个状态,第一状态和第二状态,例如,第一状态可以是电子设备为横向,第二状态可以是电子设备为纵向,所述两个状态与两个操作windows和android形成函数关系,横向对应windows系统,纵向对应android系统。这里只是举例说明,本发明不限制具体实现方法。In a specific implementation manner, a correspondence table between different operating systems and different position states of the electronic device may be stored in advance. After detecting the current position information of the electronic device, the current position status of the electronic device is determined, and then the current status is determined by checking the table. The operating system corresponding to the location status to achieve system switching. The operating system corresponding to the current location status may also be determined by a function to implement system switching. The function is a function of different location information of the electronic device or a corresponding relationship between different location status and different operating systems. For example, the electronic device is two operating system windows. It runs at the same time with android, and the electronic device has two states, the first state and the second state. For example, the first state may be that the electronic device is in landscape orientation, and the second state may be that the electronic device is in portrait orientation. Each operation windows and android form a functional relationship, horizontally corresponds to the windows system, and vertically corresponds to the android system. Here is only an example, and the present invention does not limit the specific implementation method.
在一实施方式中,至少两个操作系统可以包括windows系统、android系 统、ios操作系统等。下面以包括两个操作系统windows系统和android系统的双系统电子设备为例进行说明,windows系统可由intel处理器运行,android系统可由ARM处理器运行。本发明不限制操作系统和处理器的个数。In an embodiment, the at least two operating systems may include a windows system, an android system, an ios operating system, and the like. In the following, a dual-system electronic device including two operating systems, a windows system and an android system, is taken as an example. The windows system can be run by an Intel processor, and the android system can be run by an ARM processor. The invention does not limit the number of operating systems and processors.
在具体实施方式中,可采用重力传感器MMA7660FC检测电子设备的位置信息,当重力传感器MMA7660FC的TILT寄存器为001或010时表示电子设备位置状态为横向,当重力传感器的寄存器为101或110时表示电子设备位置状态为纵向。也可以读取重力传感器中x、y、z轴的数据来判断电子设备的当前的位置信息数据,再根据该位置信息数据判断电子设备的位置状态。In a specific embodiment, a gravity sensor MMA7660FC can be used to detect the position information of the electronic device. When the TILT register of the gravity sensor MMA7660FC is 001 or 010, the position of the electronic device is horizontal, and when the register of the gravity sensor is 101 or 110, the electronic device is electronic. The device position status is portrait. The data of the x, y, and z axes in the gravity sensor may also be read to determine the current position information data of the electronic device, and then the position status of the electronic device may be determined based on the position information data.
图10是本发明一实施例的双系统电子设备的系统切换流程图600,步骤601,当双系统电子设备开机后,从硬盘的不同存储区域引导Windows操作系统和android操作系统,两系统同时运行;步骤603实时检测双系统电子设备的当前位置信息;步骤605根据双系统电子设备的当前位置信息判断双系统电子设备的当前位置状态;步骤607根据电子设备的当前位置状态切换操作系统,如果双系统电子设备的当前位置状态是横向,则切换至windows操作系统,如果双系统电子设备的当前位置状态是纵向,则切换至android操作系统。可以理解的是,当完成一次操作系统切换后,可继续检测双系统电子设备的当前位置信息。FIG. 10 is a system switching flowchart 600 of a dual-system electronic device according to an embodiment of the present invention. At step 601, when the dual-system electronic device is turned on, the Windows operating system and the android operating system are booted from different storage areas of the hard disk. Both systems run simultaneously. Step 603 detects the current position information of the dual-system electronic device in real time; Step 605 determines the current position status of the dual-system electronic device based on the current position information of the dual-system electronic device; Step 607 switches the operating system based on the current position status of the electronic device. If the current position status of the system electronic device is horizontal, switch to the windows operating system. If the current position status of the dual system electronic device is vertical, switch to the android operating system. It can be understood that after completing an operating system switch, the current position information of the dual-system electronic device can be continuously detected.
在一实施方式中,考虑到android系统端有更完善的书写解决方案,可在切换至android操作系统后,自动开启屏幕书写软件,如图11所示,是该实施例的流程图700。其中,步骤701至步骤705与图10中的步骤601至步骤605相同,步骤7.7根据电子设备的当前位置状态切换操作系统,如果双系统电子设备的当前位置状态是横向,则切换至windows操作系统,如果双系统电子设备的当前位置状态是纵向,则切换至android操作系统并自动开启屏幕书 写软件,以方便用户书写,当显示windows操作系统界面时,方便用户使用公司的教学软件或其他windows软件,当显示android操作系统界面时,方便用户书写。In one embodiment, considering that there is a more comprehensive writing solution on the android system side, the screen writing software can be automatically started after switching to the android operating system, as shown in FIG. 11, which is a flowchart 700 of this embodiment. Among them, steps 701 to 705 are the same as steps 601 to 605 in FIG. 10, and step 7.7 switches the operating system according to the current position status of the electronic device. If the current position status of the dual-system electronic device is horizontal, switch to the windows operating system If the current position status of the dual-system electronic device is portrait, then switch to the android operating system and automatically open the screen writing software to facilitate the user's writing. When the windows operating system interface is displayed, it is convenient for the user to use the company's teaching software or other windows software. When the android operating system interface is displayed, it is convenient for users to write.
在一实施方式中,可当双系统电子设备纵向且后仰放置时,设备自动切换到android系统的并自动开启屏幕书写软件。作为优选的实施方式,双系统电子设备后仰角度可以大于等于15度,因为这个放置角度最方便用户书写,藉此获得最佳的用户体验。In one embodiment, when the dual-system electronic device is placed vertically and backward, the device automatically switches to the android system and automatically starts the screen writing software. As a preferred embodiment, the reclining angle of the dual-system electronic device may be greater than or equal to 15 degrees, because this placement angle is most convenient for users to write, thereby obtaining the best user experience.
在一实施方式中,还可以根据双系统电子设备的当前位置状态切换用户输入设备,例如鼠标、键盘等设备与不同操作系统处理器的选通连接。如图12所示,是本发明又一实施例的双系统切换方法800的流程图,其中,步骤801至步骤805与图11中步骤701至步骤705相同,步骤807根据电子设备的当前位置状态切换操作系统,当双系统电子设备的当前位置状态是横向时,切换至windows操作系统并将用户输入设备选通至windows操作系统,当双系统电子设备的当前位置状态是纵向时,切换至android操作系统并将用户输入设备选通至android操作系统。In an embodiment, the user input device can also be switched according to the current position status of the dual-system electronic device, such as a gating connection between a device such as a mouse and a keyboard and a processor of a different operating system. As shown in FIG. 12, it is a flowchart of a dual system switching method 800 according to another embodiment of the present invention. Steps 801 to 805 are the same as steps 701 to 705 in FIG. 11, and step 807 is based on the current position status of the electronic device. Switch the operating system. When the current position status of the dual-system electronic device is horizontal, switch to the windows operating system and gate the user input device to the windows operating system. When the current position status of the dual-system electronic device is vertical, switch to android. The operating system and gates the user input device to the android operating system.
在具体实施方式中,用户输入设备可以是USB类设备,该类设备具有热插拔特性,可以用USB信号分配器芯片随时切换USB外设的通路——连接到运行Windows的intel cpu或者运行android的arm cpu,来无缝切换不同系统的人工控制接口。In a specific embodiment, the user input device may be a USB-type device, which has a hot-swap feature. The USB signal distributor chip can be used to switch the path of the USB peripheral device at any time-connected to the Intel CPU running Windows or Android Arm cpu to seamlessly switch the manual control interface of different systems.
应当理解的是,以上实施例仅用以说明本发明的技术方案,而非对其限制,对本领域技术人员来说,可以对上述实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而所有这些修改和替换,都应属于本发明所附权利要求的保护范围。It should be understood that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them. For those skilled in the art, the technical solutions described in the above embodiments may be modified, or some technical features thereof may be modified. Equivalent replacements are made; all such modifications and replacements should fall within the protection scope of the appended claims of the present invention.

Claims (24)

  1. 一种多操作系统电子装置,其特征在于,包括:A multi-operating system electronic device, comprising:
    处理器模块,包括至少两个处理器,分别用于运行至少两个操作系统;A processor module including at least two processors, each configured to run at least two operating systems;
    方向获取模块,用于检测所述多操作系统电子装置的当前位置信息;A direction acquisition module, configured to detect current position information of the multi-operating system electronic device;
    方向判断模块,从所述方向获取模块读取所述多操作系统电子装置的当前位置信息,根据所述当前位置信息判断所述多操作系统电子装置的当前位置状态;A direction judging module, reading current position information of the multi-operating system electronic device from the direction acquiring module, and judging a current position state of the multi-operating system electronic device according to the current position information;
    系统切换模块,分别与所述至少两个处理器连接,并从所述方向判断模块接收所述多操作系统电子装置的当前位置状态,根据所述多操作系统电子装置的当前位置状态自动切换所述至少两个操作系统;The system switching module is respectively connected to the at least two processors, and receives the current position status of the multi-operating system electronic device from the direction determination module, and automatically switches the position according to the current position status of the multi-operating system electronic device. Describe at least two operating systems;
    其中,所述至少两个操作系统同时运行,所述至少两个操作系统分别与所述多操作系统电子装置的不同位置状态对应。Wherein, the at least two operating systems run simultaneously, and the at least two operating systems respectively correspond to different position states of the multi-operating system electronic device.
  2. 如权利要求1所述的多操作系统电子装置,其特征在于,所述至少两个操作系统包括windows系统和android系统。The multi-operating system electronic device according to claim 1, wherein the at least two operating systems include a windows system and an android system.
  3. 如权利要求2所述的多操作系统电子装置,其特征在于,所述至少两个处理器中一个处理器用于运行windows系统,一个处理器用于运行android系统。The multi-operating system electronic device according to claim 2, wherein one of the at least two processors is configured to run a windows system, and one processor is configured to run an android system.
  4. 如权利要求2所述的多操作系统电子装置,其特征在于,The multi-operating system electronic device according to claim 2, wherein:
    当方向判断模块判断所述多操作系统电子装置的当前位置状态为第一状态时,所述系统切换模块切换至所述windows系统;When the direction determining module determines that the current position state of the multi-operating system electronic device is the first state, the system switching module switches to the windows system;
    当方向判断模块判断所述多操作系统电子装置的当前位置状态为第二状态时,所述系统切换模块切换至所述android系统。When the direction determining module determines that the current position state of the multi-operating system electronic device is the second state, the system switching module switches to the android system.
  5. 如权利要求4所述的多操作系统电子装置,其特征在于,当系统切换模块 切换至android系统时,自动开启屏幕书写软件。The multi-operating system electronic device according to claim 4, characterized in that when the system switching module is switched to the android system, the screen writing software is automatically started.
  6. 如权利要求4所述的多操作系统电子装置,其特征在于,当系统切换模块切换至android系统且所述多操作系统电子装置后仰时,自动开启屏幕书写软件。The multi-operating system electronic device according to claim 4, wherein when the system switching module is switched to the android system and the multi-operating system electronic device is tilted back, the screen writing software is automatically started.
  7. 如权利要求6所述的多操作系统电子装置,其特征在于,所述多操作系统电子装置后仰角度大于等于15度。The multi-operating system electronic device according to claim 6, wherein the multi-operating system electronic device has a reclining angle of 15 degrees or more.
  8. 如权利要求1所述的多操作系统电子装置,其特征在于,所述方向获取模块包括重力传感器、方向传感器或旋转传感器。The multi-operating system electronic device according to claim 1, wherein the direction acquisition module comprises a gravity sensor, a direction sensor, or a rotation sensor.
  9. 如权利要求1所述的多操作系统电子装置,其特征在于,所述方向判断模块包括微处理器,所述微处理器从所述方向获取模块读取所述多操作系统电子装置的当前位置信息,根据所述当前位置信息判断所述多操作系统电子装置的当前位置状态。The multi-operating system electronic device according to claim 1, wherein the direction determination module comprises a microprocessor, and the microprocessor reads the current position of the multi-operating system electronic device from the direction acquisition module. Information, and judging a current position state of the multi-operating system electronic device according to the current position information.
  10. 如权利要求9所述的多操作系统电子装置,其特征在于,所述微控制器通过I2C接口从所述方向获取模块读取所述多操作系统电子装置的当前位置信息,并通过I2C接口将所述多操作系统电子装置的当前位置状态输出至所述系统切换模块。The multi-operating system electronic device according to claim 9, wherein the microcontroller reads the current position information of the multi-operating system electronic device from the direction acquisition module through an I2C interface, and uses the I2C interface to The current position status of the multi-operating system electronic device is output to the system switching module.
  11. 如权利要求1所述的多操作系统电子装置,其特征在于,所述系统切换模块包括HDMI信号分配器,所述至少两个处理器通过两个HDMI接口同时与所述HDMI信号分配器连接,The multi-operating system electronic device according to claim 1, wherein the system switching module includes an HDMI signal distributor, and the at least two processors are connected to the HDMI signal distributor through two HDMI interfaces at the same time,
    所述HDMI信号分配器根据所述方向判断模块输出的当前位置状态切换所述至少两个操作系统界面。The HDMI signal distributor switches the at least two operating system interfaces according to a current position state output by the direction determination module.
  12. 如权利要求1所述的多操作系统电子装置,其特征在于,还包括显示屏,与所述系统切换模块连接,所述显示屏显示所述系统切换模块切换的所述 至少两个操作系统中一个操作系统的界面。The multi-operating system electronic device according to claim 1, further comprising a display screen connected to the system switching module, the display screen displaying the at least two operating systems switched by the system switching module. An operating system interface.
  13. 如权利要求1所述的多操作系统电子装置,其特征在于,所述多操作系统电子装置还包括输入信号分配器,The multi-operating system electronic device according to claim 1, wherein the multi-operating system electronic device further comprises an input signal distributor,
    所述用户输入设备通过所述输入信号分配器与所述至少两处理器连接;The user input device is connected to the at least two processors through the input signal distributor;
    所述输入信号分配器与所述方向判断模块连接,所述输入信号分配器根据所述方向判断模块输出的当前位置状态切换所述用户输入设备与所述至少两处理器中的一个处理器连通。The input signal distributor is connected to the direction determination module, and the input signal distributor switches the user input device to communicate with one of the at least two processors according to a current position state output by the direction determination module. .
  14. 如权利要求13所述的多操作系统电子装置,其特征在于,所述输入信号分配器是USB信号分配器,所述USB信号分配器与所述至少两处理器连接,所述USB信号分配器还与所述方向判断模块连接,The multi-operating system electronic device according to claim 13, wherein the input signal distributor is a USB signal distributor, the USB signal distributor is connected to the at least two processors, and the USB signal distributor And is connected to the direction determining module,
    所述USB信号分配器根据所述方向判断模块输出的当前位置状态控制所述用户输入设备与所述至少两处理器中的一个处理器连通。The USB signal distributor controls the user input device to communicate with one of the at least two processors according to a current position state output by the direction determination module.
  15. 一种多操作系统切换方法,应用于包括至少两个操作系统的电子设备,其特征在于,包括:A multi-operating system switching method, which is applied to an electronic device including at least two operating systems, is characterized in that it includes:
    步骤1:启动所述至少两个操作系统;Step 1: Start the at least two operating systems;
    步骤2:检测所述电子设备的当前位置信息;Step 2: detecting current location information of the electronic device;
    步骤3:根据所述电子设备的当前位置信息判断所述电子设备的当前位置状态;Step 3: determine the current position status of the electronic device according to the current position information of the electronic device;
    步骤4:根据所述电子设备的当前位置状态自动切换所述至少两个操作系统;Step 4: automatically switch the at least two operating systems according to the current position status of the electronic device;
    其中,所述至少两个操作系统同时运行,所述至少两个操作系统分别与所述电子设备的不同位置状态对应。Wherein, the at least two operating systems run simultaneously, and the at least two operating systems respectively correspond to different position states of the electronic device.
  16. 如权利要求15所述的多操作系统切换方法,其特征在于,所述至少两个操作系统包括windows系统和android系统。The method of claim 15, wherein the at least two operating systems comprise a windows system and an android system.
  17. 如权利要求16所述的多操作系统切换方法,其特征在于,The method for switching between multiple operating systems according to claim 16, wherein:
    当所述步骤3判断所述电子设备的当前位置状态为第一状态时,所述步骤4切换至所述windows系统;When the step 3 determines that the current position status of the electronic device is the first state, the step 4 switches to the windows system;
    当所述步骤3判断所述电子设备的当前位置状态为第二状态时,所述步骤4切换至所述android系统;When it is determined in step 3 that the current position state of the electronic device is the second state, step 4 is switched to the android system;
  18. 如权利要求17所述的多操作系统切换方法,其特征在于,当切换至android系统时,自动开启屏幕书写软件。The method for switching between multiple operating systems according to claim 17, wherein when switching to the android system, the screen writing software is automatically started.
  19. 如权利要求17所述的多操作系统切换方法,其特征在于,当切换至android系统且所述电子设备后仰时,自动开启屏幕书写软件。The method for switching between multiple operating systems according to claim 17, wherein when switching to the android system and the electronic device is tilted back, the screen writing software is automatically started.
  20. 如权利要求19所述的多操作系统切换方法,其特征在于,所述电子设备后仰角度大于等于15度。The method for switching between multiple operating systems according to claim 19, wherein the reclining angle of the electronic device is greater than or equal to 15 degrees.
  21. 如权利要求15所述的多操作系统切换方法,其特征在于,所述步骤2包括:由重力传感器、方向传感器或旋转传感器测得所述电子设备的当前位置信息。The method for switching between multiple operating systems according to claim 15, wherein the step 2 comprises: measuring a current position information of the electronic device by a gravity sensor, a direction sensor or a rotation sensor.
  22. 如权利要求15所述的多操作系统切换方法,其特征在于,还包括步骤5:显示所述至少两个操作系统中的一个操作系统界面。The method for switching between multiple operating systems according to claim 15, further comprising step 5: displaying an operating system interface of the at least two operating systems.
  23. 如权利要求15所述的多操作系统切换方法,其特征在于,所述步骤4还包括:根据所述当前位置状态为所述至少两个操作系统切换用户输入设备,所述用户输入设备用于向所述至少两个操作系统中键入用户指令。The method for switching between multiple operating systems according to claim 15, wherein the step 4 further comprises: switching a user input device for the at least two operating systems according to the current position status, the user input device is used for Type user instructions into the at least two operating systems.
  24. 如权利要求23所述的多操作系统切换方法,其特征在于,所述用户输入设备输出USB格式数据至所述至少两个操作系统。The method of claim 23, wherein the user input device outputs USB format data to the at least two operating systems.
PCT/CN2018/122386 2018-06-01 2018-12-20 Multi-operation system electronic device WO2019227908A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810555463.2A CN110554824A (en) 2018-06-01 2018-06-01 Multi-operating-system electronic device
CN201810555463.2 2018-06-01

Publications (1)

Publication Number Publication Date
WO2019227908A1 true WO2019227908A1 (en) 2019-12-05

Family

ID=68696795

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/122386 WO2019227908A1 (en) 2018-06-01 2018-12-20 Multi-operation system electronic device

Country Status (2)

Country Link
CN (1) CN110554824A (en)
WO (1) WO2019227908A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220199051A1 (en) * 2020-12-21 2022-06-23 Lenovo (Singapore) Pte. Ltd. Information processing apparatus and control method

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114840259A (en) * 2021-02-02 2022-08-02 台湾积体电路制造股份有限公司 Method and system for operating user device with multiple operating systems
CN114490479A (en) * 2022-02-17 2022-05-13 深圳市智微智能科技股份有限公司 I2C device compatibility method, device, equipment and medium based on android system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567103A (en) * 2010-12-27 2012-07-11 联想(北京)有限公司 Terminal and switching method
CN104699535A (en) * 2013-12-10 2015-06-10 联想(北京)有限公司 Information processing method and electronic equipment
CN105630595A (en) * 2015-12-21 2016-06-01 联想(北京)有限公司 Information processing method and electronic equipment
CN106959841A (en) * 2016-01-08 2017-07-18 阿里巴巴集团控股有限公司 The call method and device of function in a kind of application

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103064645A (en) * 2011-10-21 2013-04-24 联想(北京)有限公司 Display method and electronic equipment
CN103064734B (en) * 2011-10-24 2016-08-17 联想(北京)有限公司 Terminal unit and multisystem input changing method
CN103941894B (en) * 2014-04-11 2017-01-11 中国人民解放军61139部队 Multi-source information aggregation system based on terminal centralized hoisting
CN109690384A (en) * 2016-04-08 2019-04-26 维扎瑞尔股份公司 It is obtained for view-based access control model performance data, the method and system of analysis and generation visual properties data and modification media

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567103A (en) * 2010-12-27 2012-07-11 联想(北京)有限公司 Terminal and switching method
CN104699535A (en) * 2013-12-10 2015-06-10 联想(北京)有限公司 Information processing method and electronic equipment
CN105630595A (en) * 2015-12-21 2016-06-01 联想(北京)有限公司 Information processing method and electronic equipment
CN106959841A (en) * 2016-01-08 2017-07-18 阿里巴巴集团控股有限公司 The call method and device of function in a kind of application

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220199051A1 (en) * 2020-12-21 2022-06-23 Lenovo (Singapore) Pte. Ltd. Information processing apparatus and control method
EP4024388A1 (en) * 2020-12-21 2022-07-06 Lenovo (Singapore) Pte. Ltd. Information processing apparatus and control method
US11482189B2 (en) 2020-12-21 2022-10-25 Lenovo (Singapore) Pte. Ltd. Information processing apparatus and control method

Also Published As

Publication number Publication date
CN110554824A (en) 2019-12-10

Similar Documents

Publication Publication Date Title
US11054914B2 (en) Pen/touch tablet computer having multiple operation modes and method for switching operation modes
WO2019227908A1 (en) Multi-operation system electronic device
US20120169618A1 (en) Apparatus and method for gesture input in a dynamically zoned environment
JP5284448B2 (en) Information processing apparatus and display control method
US20100300771A1 (en) Information processing apparatus, information processing method, and program
US10909040B2 (en) Adaptive calibration of nonvolatile memory channel based on platform power management state
KR20040062289A (en) Portable computer and control method thereof
BRPI1107115A2 (en) Computer program and information processing apparatus and method
US20110267753A1 (en) Information processing apparatus and display screen operating method
WO2019033779A1 (en) Method and device for waking up computer from sleep state
US20100245391A1 (en) Computer screen image displaying method, computer having a vertical display device, and computer program product
US11500446B2 (en) Reducing power consumption in nonvolatile memory due to standby leakage current
US7631205B2 (en) Information processing apparatus and control method
US20140292776A1 (en) Electronic apparatus and control method
US8797274B2 (en) Combined tap sequence and camera based user interface
JP6195646B1 (en) Information processing apparatus, input method, and program
US11762501B2 (en) Information processing apparatus and control method
US20220308637A1 (en) Control method and device, and computer-readable storage medium
CN210295083U (en) Display board card USB peripheral hardware connecting system
US20090083535A1 (en) Information processing apparatus
US20230009352A1 (en) Information processing device, program, and method
KR100568246B1 (en) Computer System And Controlling Method Thereof
US20180284938A1 (en) Touch screen support by emulating a legacy device
US11797176B1 (en) Input area segmentation for a touch-based user input device
US20210132786A1 (en) Information processing device and control method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18920676

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18920676

Country of ref document: EP

Kind code of ref document: A1