CN112905243B - Method and device for simultaneously operating double systems - Google Patents

Method and device for simultaneously operating double systems Download PDF

Info

Publication number
CN112905243B
CN112905243B CN201911118348.XA CN201911118348A CN112905243B CN 112905243 B CN112905243 B CN 112905243B CN 201911118348 A CN201911118348 A CN 201911118348A CN 112905243 B CN112905243 B CN 112905243B
Authority
CN
China
Prior art keywords
operating system
screen
display interface
operating
distributed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911118348.XA
Other languages
Chinese (zh)
Other versions
CN112905243A (en
Inventor
侯乐武
廖红卫
张伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu TD Tech Ltd
Original Assignee
Chengdu TD Tech Ltd
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 Chengdu TD Tech Ltd filed Critical Chengdu TD Tech Ltd
Priority to CN201911118348.XA priority Critical patent/CN112905243B/en
Publication of CN112905243A publication Critical patent/CN112905243A/en
Application granted granted Critical
Publication of CN112905243B publication Critical patent/CN112905243B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • 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/445Program loading or initiating
    • G06F9/44552Conflict resolution, i.e. enabling coexistence of conflicting executables

Abstract

The embodiment of the invention provides a method and a device for simultaneously operating double systems. The method is applicable to a mobile terminal comprising a first screen and a second screen. The method comprises the following steps: allocating a first screen to a first operating system and a second screen to a second operating system; virtualizing a first driving node accessible to the first operating system and a second driving node accessible to the second operating system in a kernel driving layer aiming at shared hardware resources simultaneously accessed by the first operating system and the second operating system, bridging the first driving node and the second driving node, and associating the bridging point to a hardware driver of the shared hardware resources simultaneously accessed by the first operating system and the second operating system; and allocating the shared hardware resources which are not accessed by the first operating system and the second operating system at the same time to the first operating system or the second operating system based on the user instruction. The two operating systems are simultaneously operated through a double-screen and hardware sharing mechanism.

Description

Method and device for simultaneously operating double systems
Technical Field
The invention belongs to the technical field of electronic communication, and particularly relates to a method and a device for simultaneously operating double systems.
Background
With the rapid development of terminal technology, users prefer to install two systems in one terminal in order to pursue diversified interface effects. Therefore, when the user generates an exhausted effect on the interface or the operation mode of one system, the system can be switched to meet different operation experiences or interface effects.
When the double systems are installed, the two systems are respectively installed in different partitions or the same partition, and the system installed later does not cover the previous system. After the dual system is installed, a multiple boot selection menu may be presented at boot time to select an incoming operating system.
In the prior art, the current dual-system terminal can only operate one system at the same time, and different systems are switched by a switching key. For example, for a dual system terminal installed with a work area system and a living area system, the work area system and the living area system cannot be operated at the same time at present.
Disclosure of Invention
The embodiment of the invention provides a method and a device for simultaneously operating two systems.
The technical scheme of the embodiment of the invention is as follows:
a method for simultaneously operating dual systems, the method being applicable to a mobile terminal including a first screen and a second screen, the method comprising:
assigning a first screen to the first operating system and a second screen to the second operating system;
virtualizing a first driving node accessible to the first operating system and a second driving node accessible to the second operating system in a kernel driving layer for the shared hardware resources simultaneously accessed by the first operating system and the second operating system, bridging the first driving node and the second driving node, and associating the bridging point to the hardware driver of the shared hardware resources simultaneously accessed by the first operating system and the second operating system;
and allocating shared hardware resources which are not accessed by the first operating system and the second operating system at the same time to the first operating system or the second operating system based on a user instruction.
In one embodiment, the first screen is a front screen of the mobile terminal, the second screen is a back screen of the mobile terminal, and the first screen and the second screen are touch screens.
In one embodiment, the method further comprises:
and displaying the display interface of the first operating system on the first screen, and simultaneously displaying the display interface of the second operating system on the second screen.
In one embodiment, the mobile terminal further includes a physical key, and the method further includes:
when the entity key is triggered for the first time, a second screen is distributed to the first operating system, the first screen is distributed to the second operating system, a display interface of the first operating system is displayed on the second screen, and meanwhile, a display interface of the second operating system is displayed on the first screen;
and when the entity key is triggered again, the first screen is distributed to the first operating system, the second screen is distributed to the second operating system, the display interface of the first operating system is displayed on the first screen, and the display interface of the second operating system is displayed on the second screen.
In one embodiment, the method further comprises:
setting a virtual key on a display interface of a first operating system;
when the virtual key is triggered for the first time, a second screen is distributed to the first operating system, the first screen is distributed to the second operating system, a display interface of the first operating system is displayed on the second screen, and meanwhile, a display interface of the second operating system is displayed on the first screen;
and when the virtual key is triggered again, the first screen is distributed to the first operating system, the second screen is distributed to the second operating system, the display interface of the first operating system is displayed on the first screen, and the display interface of the second operating system is displayed on the second screen.
In one embodiment, the method further comprises:
setting a virtual key on a display interface of a second operating system;
when the virtual key is triggered for the first time, a second screen is distributed to the first operating system, the first screen is distributed to the second operating system, a display interface of the first operating system is displayed on the second screen, and meanwhile, a display interface of the second operating system is displayed on the first screen;
and when the virtual key is triggered again, the first screen is distributed to the first operating system, the second screen is distributed to the second operating system, the display interface of the first operating system is displayed on the first screen, and the display interface of the second operating system is displayed on the second screen.
In one embodiment, the hardware resources accessed by the first operating system and the second operating system simultaneously comprise hardware resources related to network access; the shared hardware resources which are not accessed by the first operating system and the second operating system simultaneously comprise a camera, hardware resources of audio coding and decoding and hardware resources of video coding and decoding.
An apparatus for simultaneously operating dual systems, the apparatus being adapted for a mobile terminal including a first screen and a second screen, comprising:
the screen resource allocation module is used for allocating a first screen to the first operating system and a second screen to the second operating system;
the driving module is used for virtualizing a first driving node accessible to the first operating system and a second driving node accessible to the second operating system in a kernel driving layer aiming at shared hardware resources simultaneously accessed by the first operating system and the second operating system, bridging the first driving node and the second driving node, and associating the bridging point to a hardware driver of the hardware resources simultaneously accessed by the first operating system and the second operating system;
and the resource allocation module is used for allocating shared hardware resources which are not accessed by the first operating system and the second operating system at the same time to the first operating system or the second operating system based on a user instruction.
In one embodiment, the first screen is a front screen of the mobile terminal, the second screen is a back screen of the mobile terminal, and the first screen and the second screen are touch screens; the device also includes:
the display module is used for displaying a display interface of a first operating system on a first screen and displaying a display interface of a second operating system on a second screen;
the mobile terminal further comprises an entity key, wherein the entity key is used for distributing a second screen to the first operating system when the entity key is triggered for the first time, distributing the first screen to the second operating system, and controlling the display module to display the display interface of the first operating system on the second screen and display the display interface of the second operating system on the first screen; and when the entity key is triggered again, the first screen is distributed to the first operating system, the second screen is distributed to the second operating system, and the display module is controlled to display the display interface of the first operating system on the first screen and display the display interface of the second operating system on the second screen.
An apparatus for simultaneously operating dual systems, comprising a processor and a memory;
the memory stores an application program executable by the processor for causing the processor to perform the method of simultaneously operating two systems as described in any one of the above.
A computer readable storage medium having computer readable instructions stored therein for performing the method of simultaneously operating dual systems as described in any of the above.
As can be seen from the above technical solutions, in the embodiment of the present invention, a first screen is allocated to a first operating system, and a second screen is allocated to a second operating system; virtualizing a first driving node accessible to the first operating system and a second driving node accessible to the second operating system in a kernel driving layer aiming at shared hardware resources simultaneously accessed by the first operating system and the second operating system, bridging the first driving node and the second driving node, and associating the bridging point to a hardware driver of the shared hardware resources simultaneously accessed by the first operating system and the second operating system; and allocating shared hardware resources which are not accessed by the first operating system and the second operating system at the same time to the first operating system or the second operating system based on a user instruction. Therefore, the embodiment of the invention realizes the simultaneous operation of the two operating systems by respectively allocating the double screens to the respective operating systems and the hardware sharing mechanism.
Drawings
Fig. 1 is a flowchart of a method for simultaneously operating dual systems according to an embodiment of the present invention.
FIG. 2 is a diagram illustrating a driving node bridge according to an embodiment of the present invention.
Fig. 3 is a diagram illustrating a structure of an apparatus for simultaneously operating two systems according to an embodiment of the present invention.
Fig. 4 is a block diagram of a mobile terminal simultaneously operating dual systems according to an embodiment of the present invention.
Fig. 5 is a block diagram of an apparatus for simultaneously operating dual systems having a memory-processor architecture according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail with reference to the accompanying drawings.
For simplicity and clarity of description, the invention will be described below by describing several representative embodiments. Numerous details of the embodiments are set forth to provide an understanding of the principles of the invention. It will be apparent, however, that the invention may be practiced without these specific details. Some embodiments are not described in detail, but rather are merely provided as frameworks, in order to avoid unnecessarily obscuring aspects of the invention. Hereinafter, "comprising" means "including but not limited to", "according to … …" means "at least according to … …, but not limited to … … only". In view of the language convention of chinese, the following description, when it does not specifically state the number of a component, means that the component may be one or more, or may be understood as at least one.
The applicant found that: in the current dual-system terminal, a user cannot simultaneously operate two operating systems. For example, for a dual-system terminal including a work area operating system and a living area operating system, a user cannot operate the two operating systems at the same time.
The applicant has analysed the above problems and found possible causes to be: currently, a dual-system terminal mostly has only one input resource and one display resource (for example, the input resource and the display resource are integrated into a display screen with a touch function), and only one operating system can independently operate the only input resource and the only display resource of the dual-system terminal at a certain time. Not only this, possible reasons include: at present, some hardware resources can not support two operating systems to operate simultaneously, such as hardware resources of Bluetooth, wifi, SD card and sound input.
The applicant found that: for the hardware resources that cannot be simultaneously operated by two operating systems at present, part of the hardware resources can realize simultaneous shared access of the two operating systems by driving a virtual and bridging mechanism, and the hardware resources that cannot be simultaneously shared access need to be assigned to a specific operating system. Applicants have further discovered that each operating system requires the exclusive ownership of hardware resources (e.g., touch screens) for display and input, and thus embodiments of the present invention employ dual-screen mobile terminals to support simultaneous dual-system operation, where each screen needs to be assigned to a particular operating system.
Fig. 1 is a flowchart of a method for simultaneously operating dual systems according to an embodiment of the present invention. The method is suitable for a mobile terminal comprising a first screen and a second screen, wherein double systems, namely a first operating system and a second operating system, are installed in the mobile terminal. For example, the mobile terminal simultaneously carries a secure operating system and a living operating system, the secure operating system is used for work and office, and the living operating system is used for living communication.
As shown in fig. 1, the method includes:
step 101: the first screen is assigned to a first operating system and the second screen is assigned to a second operating system.
Here, the first screen is exclusively allocated to the first operating system, and displays user-triggered information in the first operating system or information provided to the user based on a control instruction of the first operating system. After the first screen is exclusively allocated to the first operating system, the second operating system cannot manipulate the first screen.
And exclusively allocating a second screen to the second operating system, the second screen displaying user-triggered information in the second operating system or information provided to the user based on a control instruction of the second operating system. After the second screen is exclusively allocated to the second operating system, the first operating system does not manipulate the second screen.
In the case of simultaneously operating the dual systems, when a single system needs to perform operations related to display and input (e.g., outputting a presentation interface and receiving user input), hardware resources related to display and input (e.g., a touch screen) need to be monopolized, and thus a general dual system terminal in the prior art cannot support the dual systems to simultaneously perform operations related to display and input. The embodiment of the present invention employs a dual-screen mobile terminal to support simultaneous operation and operation of dual systems, in which each screen is assigned to a specific operating system of the dual systems, thereby supporting the dual systems to simultaneously perform operations related to display and input.
Step 102: aiming at shared hardware resources simultaneously accessed by a first operating system and a second operating system, virtualizing a first driving node accessible to the first operating system and a second driving node accessible to the second operating system in a kernel driving layer, bridging the first driving node and the second driving node, and associating the bridging point to hardware drivers of the shared hardware resources simultaneously accessed by the first operating system and the second operating system.
In one embodiment, the shared hardware resources that the first operating system and the second operating system access simultaneously include hardware resources related to network access, such as a WIFI hardware module, a bluetooth hardware module, an infrared hardware module, and the like.
FIG. 2 is a diagram illustrating a driving node bridge according to an embodiment of the present invention.
As shown in fig. 2, for a shared hardware resource simultaneously accessed by a first operating system and a second operating system, a first driver node accessible to the first operating system and a second driver node accessible to the second operating system are virtualized in a kernel driver layer of the mobile terminal. The first driving node is bridged with the second driving node, and the bridging point is associated with the hardware driver of the shared hardware resource accessed by the first operating system and the second operating system at the same time.
For example, assuming that the hardware driver is a driver of the WIFI hardware module, a first WIFI driver node accessible to a first operating system and a second WIFI driver node accessible to a second operating system are virtualized in a kernel driver layer of the mobile terminal. The first WIFI driving node is in bridge connection with the second WIFI driving node, and the bridge connection point is associated with a driving program of the WIFI hardware module.
When a user of a first operating system slides on a display screen distributed by the first operating system to send a first instruction for transmitting a wireless broadband data packet, the first operating system sends the first instruction to a first WIFI driving node in a kernel driving layer, the first WIFI driving node sends the first instruction to a bridging point, and the bridging point caches the first instruction; when a user of the second operating system sends a second instruction for transmitting the wireless broadband data packet on a display screen allocated by the second operating system, the second operating system sends the second instruction to a second WIFI driving node in the kernel driving layer, the second WIFI driving node sends the second instruction to the bridging point, and the bridging point caches the second instruction. And, at the bridge point, the bridge point sequentially sends the cached instructions to the driver of the WIFI hardware module based on a predetermined timing (e.g., the instruction that arrives at the bridge point first is processed, or the instruction is processed based on the priority order of the first operating system and the first operating system), so that the driver drives the WIFI hardware module to sequentially execute the cached instructions. As can be seen, the first operating system and the second operating system may share the WIFI hardware module, and respectively implement the function of transmitting the wireless broadband data packet.
For another example, assuming that the hardware driver is a driver of a bluetooth hardware module, a first bluetooth driver node accessible to a first operating system and a second bluetooth driver node accessible to a second operating system are virtualized in a kernel driver layer of the mobile terminal. The first Bluetooth driving node is in bridge connection with the second Bluetooth driving node, and the bridge connection point is associated with a driving program of the Bluetooth hardware module.
When a user of a first operating system slides on a display screen distributed by the first operating system to send a first instruction for receiving a Bluetooth data packet, the first operating system sends the first instruction to a first Bluetooth driving node, the first Bluetooth driving node sends the first instruction to a bridging point, and the bridging point caches the first instruction; when a user of the second operating system sends a second instruction for receiving the Bluetooth data packet on a display screen distributed by the second operating system, the second operating system sends the second instruction to the second Bluetooth driving node, the second Bluetooth driving node sends the second instruction to the bridging point, and the bridging point caches the second instruction. At the bridge point, the bridge point sequentially sends the cached instructions to the driver of the bluetooth hardware module based on a predetermined timing (e.g., the instructions that arrive at the bridge point first are processed, or the instructions are processed based on the first operating system and the priority order of the first operating system), so that the driver drives the bluetooth hardware module to sequentially execute the cached instructions. Therefore, the first operating system and the second operating system can share the bluetooth hardware module to realize the function of receiving the bluetooth data packet respectively.
The above description is made by taking WIFI hardware and bluetooth hardware as examples, and those skilled in the art will appreciate that this description is only exemplary and is not intended to limit the scope of the embodiments of the present invention.
Step 103: and allocating the shared hardware resources which are not accessed by the first operating system and the second operating system at the same time to the first operating system or the second operating system based on a user instruction.
In one embodiment, the shared hardware resources that are not accessed simultaneously by the first operating system and the second operating system include a camera, audio codec hardware resources, and video codec hardware resources.
Here, the shared hardware resource that is not accessed by the first operating system and the second operating system at the same time is allocated to the first operating system or the second operating system based on a user instruction. For example, one of the first operating system and the second operating system may be selected as the primary operating system based on a user operation, and shared hardware resources that are not accessed by the first operating system and the second operating system at the same time may be allocated to the primary operating system. Here, the resources such as the camera are allocated to a specific operating system based on a user instruction, considering that the dual system cannot implement shared access based on an instruction cache manner.
Here, the mobile terminal may include, but is not limited to: a feature phone, a smart phone, a palm top, a tablet or a Personal Digital Assistant (PDA), etc. The first operating system may be operated on a first screen while the second operating system is operated on a second screen. For example, the first operating system is a living operating system, which is a master operating system, and the second operating system is a secure operating system, which is a slave operating system.
Although specific examples of mobile terminals are listed above in detail, those skilled in the art will appreciate that these lists are merely illustrative and are not intended to limit the scope of embodiments of the present invention. The mobile terminal can be applied to any intelligent terminal operating system, and specific applicable operating systems include but are not limited to: android (Android), Palm OS, Symbian (Saiban), Windows mobile, Linux, Android (Android), iPhone (apple) OS, Black Berry (blackberry) OS 6.0, Windows Phone series, and so forth.
Preferably, the mobile terminal may specifically adopt an android operating system, and the mobile terminal may be adopted in each version of Andorid, including but not limited to: amania sinensis (Android Beta), a clockwork robot (Android 1.0), cupcakes (Android 1.5), donuts (Android 1.6), muffins (Android 2.0/2.1), frozen yogurt (Android 2.2), gingerbread (Android 2.3), honeycomb (Android 3.0), ice cream sandwich (Android 4.0), Jelly beans (Jelly Bean, Android 4.1) and other versions.
Specific versions of the Android platform are listed in detail above, and those skilled in the art can appreciate that the embodiment of the present invention is not limited to the listed versions, but may be applied to any other versions based on the Android software architecture.
In one embodiment, the first screen is a front screen of the mobile terminal, the second screen is a back screen of the mobile terminal, and the first screen and the second screen are touch screens.
In one embodiment, the method further comprises:
and displaying the display interface of the first operating system on the first screen, and simultaneously displaying the display interface of the second operating system on the second screen.
Therefore, the first operating system and the second operating system can be simultaneously operated and operated based on the double-screen and hardware sharing mechanism.
In one embodiment, the mobile terminal further includes a physical key, and the method further includes:
when the entity key is triggered for the first time, a second screen is distributed to the first operating system, the first screen is distributed to the second operating system, a display interface of the first operating system is displayed on the second screen, and meanwhile, a display interface of the second operating system is displayed on the first screen; and when the entity key is triggered again, the first screen is distributed to the first operating system, the second screen is distributed to the second operating system, the display interface of the first operating system is displayed on the first screen, and the display interface of the second operating system is displayed on the second screen.
Therefore, the display screen of the first operating system and the display screen of the second operating system can be switched through the physical keys.
In one embodiment, the method further comprises: setting a virtual key on a display interface of a first operating system; when the virtual key is triggered for the first time, a second screen is distributed to the first operating system, the first screen is distributed to the second operating system, a display interface of the first operating system is displayed on the second screen, and meanwhile, a display interface of the second operating system is displayed on the first screen; and when the virtual key is triggered again, the first screen is distributed to the first operating system, the second screen is distributed to the second operating system, the display interface of the first operating system is displayed on the first screen, and the display interface of the second operating system is displayed on the second screen.
Therefore, the display screen of the first operating system and the display screen of the second operating system can be switched through the virtual keys on the display interface of the first operating system.
In one embodiment, the method further comprises:
setting a virtual key on a display interface of a second operating system; when the virtual key is triggered for the first time, a second screen is distributed to the first operating system, the first screen is distributed to the second operating system, a display interface of the first operating system is displayed on the second screen, and meanwhile, a display interface of the second operating system is displayed on the first screen; and when the virtual key is triggered again, the first screen is distributed to the first operating system, the second screen is distributed to the second operating system, the display interface of the first operating system is displayed on the first screen, and the display interface of the second operating system is displayed on the second screen.
Therefore, the display screen of the first operating system and the display screen of the second operating system can be switched through the virtual keys on the display interface of the second operating system.
Fig. 3 is a diagram illustrating a structure of an apparatus for simultaneously operating two systems according to an embodiment of the present invention. The device is suitable for the mobile terminal comprising a first screen and a second screen.
As shown in fig. 3, the apparatus includes:
a screen resource allocation module 301, configured to allocate a first screen to the first operating system, and allocate a second screen to the second operating system;
a driver module 302, configured to virtualize, in a kernel driver layer, a first driver node accessible to the first operating system and a second driver node accessible to the second operating system for shared hardware resources simultaneously accessed by the first operating system and the second operating system, bridge the first driver node and the second driver node, and associate the bridge point to a hardware driver of the hardware resources simultaneously accessed by the first operating system and the second operating system;
a resource allocation module 303, configured to allocate, based on a user instruction, a shared hardware resource that is not accessed by the first operating system and the second operating system at the same time to the first operating system or the second operating system.
In one embodiment, the first screen is a front screen of the mobile terminal, the second screen is a back screen of the mobile terminal, and the first screen and the second screen are touch screens; the device also includes:
the display module 304 is configured to display a display interface of a first operating system on a first screen, and simultaneously display a display interface of a second operating system on a second screen;
the mobile terminal also comprises an entity key used for distributing a second screen to the first operating system when the entity key is triggered for the first time, distributing a first screen to the second operating system, and controlling the display module to display the display interface of the first operating system on the second screen and display the display interface of the second operating system on the first screen at the same time; and when the entity key is triggered again, the first screen is distributed to the first operating system, the second screen is distributed to the second operating system, and the display module is controlled to display the display interface of the first operating system on the first screen and display the display interface of the second operating system on the second screen.
Based on the above description, the embodiment of the invention also provides a mobile terminal.
Fig. 4 is a block diagram of a mobile terminal according to an embodiment of the present invention.
Referring to fig. 4, the mobile terminal 600 includes, but is not limited to: radio frequency unit 601, network module 602, audio output unit 603, input unit 604, sensor 605, first display unit 606, second display unit 706, user trigger unit 607, interface unit 608, memory 609, processor 610, and power 611. Further comprising a computer program stored on the memory and executable on the processor, the computer program when executed by the processor implementing the steps of the method of simultaneously operating two systems as above. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 4 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
In the embodiment of the present invention, the mobile terminal 600 includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like. The processor 610 is at least used for implementing the steps of the method for simultaneously operating two systems in the above embodiments of the present invention.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 may be used for receiving and transmitting signals during a message transmission or a call. Specifically, the radio frequency unit 601 receives downlink data from the base station and then processes the downlink data to the processor 610; in addition, the rf unit 601 transmits uplink data to the base station. In general, radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 601 may also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 602, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 may also provide audio output related to a specific function performed by the mobile terminal 600 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
The input unit 604 is used to receive audio or video signals. The input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics processor 6041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 606. The image frames processed by the graphic processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602.
The microphone 6042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 601 in case of the phone call mode.
The mobile terminal 600 also includes at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 6061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 6061 and/or the backlight when the mobile terminal 600 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 605 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The first display unit 606 is used to display information triggered by or provided to a user for an assigned operating system (such as a workspace system). The first Display unit 606 includes a Display panel 6061 implemented as a front panel, and the Display panel 6061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The second display unit 706 is used to display information triggered by the user or provided to the user for the assigned operating system, such as a living area system. The second display unit 706 includes a display panel 7061 embodied as a rear panel, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
The user trigger unit 607 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user triggering unit 607 includes a touch panel 6071 and other input devices 6072. First touch panel 6071 is assigned to a first operating system, also referred to as a touch screen, that can collect touch operations by a user on or near it (e.g., operations by a user on or near first touch panel 6071 using a finger, stylus, or any other suitable object or accessory). The first touch panel 6071 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 610, receives a command from the processor 610, and executes the command. In addition, the first touch panel 6071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the first touch panel 6071, the user trigger unit 607 further includes a second touch panel 6072 assigned to a second operating system.
Further, the first touch panel 6071 can be overlaid on the first display panel 6061, and when the first touch panel 6071 detects a touch operation on or near the first touch panel 6071, the touch operation is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 provides a corresponding visual output on the first display panel 6061 according to the type of the touch event. Although in fig. 4, the first touch panel 6071 and the first display panel 6061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the first touch panel 6071 and the first display panel 6061 may be integrated to implement the input and output functions of the mobile terminal in the first operating system, and this is not limited herein.
The second touch panel 6072 can be overlaid on the second display panel 7061, and when the second touch panel 6072 detects a touch operation on or near the second touch panel 6072, the touch operation is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 provides a corresponding visual output on the second display panel 7061 according to the type of the touch event. Although in fig. 4, the second touch panel 6072 and the second display panel 7061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the second touch panel 6072 and the second display panel 7061 may be integrated to implement the input and output functions of the mobile terminal in the second operating system, which is not limited herein.
Therefore, based on the double-screen design, two operating systems can be operated simultaneously.
The interface unit 608 is an interface through which an external device is connected to the mobile terminal 600. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 608 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 600 or may be used to transmit data between the mobile terminal 600 and external devices.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 609 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 610 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 609 and calling data stored in the memory 609, thereby integrally monitoring the mobile terminal. Processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The mobile terminal 600 may further include a power supply 611 (e.g., a battery) for supplying power to the various components, and preferably, the power supply 611 is logically connected to the processor 610 via a power management system, so that functions of managing charging, discharging, and power consumption are performed via the power management system.
In addition, the mobile terminal 600 includes some functional modules that are not shown, and are not described in detail herein.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process implemented by the processor 610 in the above embodiments of the present invention, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
Fig. 5 is a block diagram of an apparatus for simultaneously operating dual systems having a memory-processor architecture according to an embodiment of the present invention.
As shown in fig. 5, the apparatus for simultaneously operating dual systems with a memory-processor architecture includes: a processor 501 and a memory 502; in which memory 502 stores an application executable by the processor 501 for causing the processor 501 to perform a method of simultaneously operating two systems as described in any of the above.
The memory 502 may be embodied as various storage media such as an Electrically Erasable Programmable Read Only Memory (EEPROM), a Flash memory (Flash memory), and a Programmable Read Only Memory (PROM). The processor 501 may be implemented to include one or more central processors or one or more field programmable gate arrays, where the field programmable gate arrays integrate one or more central processor cores. In particular, the central processor or central processor core may be implemented as a CPU or MCU.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (11)

1. A method for simultaneously operating two systems, the method being applicable to a mobile terminal having a first screen and a second screen, the method comprising:
allocating a first screen to a first operating system and a second screen to a second operating system;
virtualizing a first driving node accessible to the first operating system and a second driving node accessible to the second operating system in a kernel driving layer for the shared hardware resources simultaneously accessed by the first operating system and the second operating system, bridging the first driving node and the second driving node, and associating the bridging point to the hardware driver of the shared hardware resources simultaneously accessed by the first operating system and the second operating system;
and allocating shared hardware resources which are not accessed by the first operating system and the second operating system at the same time to the first operating system or the second operating system based on a user instruction.
2. The method for simultaneously operating two systems according to claim 1, wherein the first screen is a front screen of a mobile terminal, the second screen is a back screen of the mobile terminal, and the first screen and the second screen are touch screens.
3. The method of simultaneously operating dual systems as recited in claim 2, further comprising:
and displaying the display interface of the first operating system on the first screen, and simultaneously displaying the display interface of the second operating system on the second screen.
4. The method for operating dual systems simultaneously as claimed in claim 3, wherein the mobile terminal further comprises a physical key, the method further comprising:
when the entity key is triggered for the first time, a second screen is distributed to the first operating system, the first screen is distributed to the second operating system, a display interface of the first operating system is displayed on the second screen, and meanwhile, a display interface of the second operating system is displayed on the first screen;
and when the entity key is triggered again, the first screen is distributed to the first operating system, the second screen is distributed to the second operating system, the display interface of the first operating system is displayed on the first screen, and the display interface of the second operating system is displayed on the second screen.
5. The method of simultaneously operating dual systems as recited in claim 3, further comprising:
setting a virtual key on a display interface of a first operating system;
when the virtual key is triggered for the first time, a second screen is distributed to the first operating system, the first screen is distributed to the second operating system, a display interface of the first operating system is displayed on the second screen, and meanwhile, a display interface of the second operating system is displayed on the first screen;
and when the virtual key is triggered again, the first screen is distributed to the first operating system, the second screen is distributed to the second operating system, the display interface of the first operating system is displayed on the first screen, and the display interface of the second operating system is displayed on the second screen.
6. The method of simultaneously operating dual systems as recited in claim 3, further comprising:
setting a virtual key on a display interface of a second operating system;
when the virtual key is triggered for the first time, a second screen is distributed to the first operating system, the first screen is distributed to the second operating system, a display interface of the first operating system is displayed on the second screen, and meanwhile, a display interface of the second operating system is displayed on the first screen;
and when the virtual key is triggered again, the first screen is distributed to the first operating system, the second screen is distributed to the second operating system, the display interface of the first operating system is displayed on the first screen, and the display interface of the second operating system is displayed on the second screen.
7. The method for simultaneously operating two systems according to claim 3, wherein the hardware resources simultaneously accessed by the first operating system and the second operating system comprise hardware resources related to network access; the shared hardware resources which are not accessed by the first operating system and the second operating system simultaneously comprise a camera, hardware resources of audio coding and decoding and hardware resources of video coding and decoding.
8. An apparatus for simultaneously operating dual systems, the apparatus being adapted for a mobile terminal including a first screen and a second screen, comprising:
the screen resource allocation module is used for allocating the first screen to the first operating system and the second screen to the second operating system;
the driving module is used for virtualizing a first driving node accessible to the first operating system and a second driving node accessible to the second operating system in a kernel driving layer aiming at shared hardware resources simultaneously accessed by the first operating system and the second operating system, bridging the first driving node and the second driving node, and associating the bridging point to a hardware driver of the hardware resources simultaneously accessed by the first operating system and the second operating system;
and the resource allocation module is used for allocating shared hardware resources which are not accessed by the first operating system and the second operating system at the same time to the first operating system or the second operating system based on a user instruction.
9. The apparatus for simultaneously operating two systems according to claim 8, wherein the first screen is a front screen of a mobile terminal, the second screen is a back screen of the mobile terminal, and the first screen and the second screen are touch screens; the device also includes:
the display module is used for displaying a display interface of a first operating system on a first screen and displaying a display interface of a second operating system on a second screen;
the mobile terminal further comprises an entity key, wherein the entity key is used for distributing a second screen to the first operating system when the entity key is triggered for the first time, distributing the first screen to the second operating system, and controlling the display module to display the display interface of the first operating system on the second screen and display the display interface of the second operating system on the first screen; and when the entity key is triggered again, the first screen is distributed to the first operating system, the second screen is distributed to the second operating system, and the display module is controlled to display the display interface of the first operating system on the first screen and display the display interface of the second operating system on the second screen.
10. An apparatus for simultaneously operating two systems, comprising a processor and a memory;
the memory has stored therein an application executable by the processor for causing the processor to perform the method of simultaneously operating two systems as claimed in any one of claims 1 to 7.
11. A computer-readable storage medium having computer-readable instructions stored thereon for performing the method of simultaneously operating dual systems according to any one of claims 1 to 7.
CN201911118348.XA 2019-11-15 2019-11-15 Method and device for simultaneously operating double systems Active CN112905243B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911118348.XA CN112905243B (en) 2019-11-15 2019-11-15 Method and device for simultaneously operating double systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911118348.XA CN112905243B (en) 2019-11-15 2019-11-15 Method and device for simultaneously operating double systems

Publications (2)

Publication Number Publication Date
CN112905243A CN112905243A (en) 2021-06-04
CN112905243B true CN112905243B (en) 2022-05-13

Family

ID=76103039

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911118348.XA Active CN112905243B (en) 2019-11-15 2019-11-15 Method and device for simultaneously operating double systems

Country Status (1)

Country Link
CN (1) CN112905243B (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101826061A (en) * 2009-03-03 2010-09-08 华硕电脑股份有限公司 Shared system and management method of hardware device
CN102004716A (en) * 2010-11-12 2011-04-06 深圳市合正汽车电子有限公司 System and method for realizing device sharing
CN103927227A (en) * 2014-04-16 2014-07-16 乐视致新电子科技(天津)有限公司 Method and device for switching multiple operating systems and smart television
CN104750551A (en) * 2013-12-25 2015-07-01 研祥智能科技股份有限公司 A computer system and user-defined responding method thereof
CN104932926A (en) * 2015-07-09 2015-09-23 上海联彤网络通讯技术有限公司 System and method for achieving dynamic matching of equipment and drives in intelligent operation system platform
CN106020942A (en) * 2016-05-05 2016-10-12 四川安嵌科技有限公司 Multi-system based WiFi device reuse method and device
CN106105152A (en) * 2014-05-22 2016-11-09 华为技术有限公司 A kind of node interconnection device, resource control node and server system
CN106293896A (en) * 2016-08-10 2017-01-04 四川安嵌科技有限公司 Equipment multiplexing method and device applied to multiple systems
CN106575264A (en) * 2014-07-18 2017-04-19 高通股份有限公司 On-demand shareability conversion in a heterogeneous shared virtual memory
CN107770822A (en) * 2016-08-18 2018-03-06 深圳市信锐网科技术有限公司 The switching method and device of a kind of WAP
CN107911700A (en) * 2017-10-31 2018-04-13 深信服科技股份有限公司 A kind of hardware coding/decoding method, decoding device and storage medium based on virtualization
CN108319849A (en) * 2017-01-16 2018-07-24 中标软件有限公司 Equipment strategy management system based on Android twin containers system and management domain implementation method
CN108628521A (en) * 2018-05-14 2018-10-09 维沃移动通信有限公司 A kind of screen operating method and mobile terminal
CN109032559A (en) * 2018-07-25 2018-12-18 南京创维信息技术研究院有限公司 A kind of configuration method and system of the same sound pick-up outfit of more Application shares
CN109313569A (en) * 2016-06-13 2019-02-05 华为技术有限公司 System and method for virtual hardware control

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8909746B2 (en) * 2006-07-25 2014-12-09 Nvidia Corporation System and method for operating system installation on a diskless computing platform
US8930953B2 (en) * 2009-01-16 2015-01-06 International Business Machines Corporation Dynamic checking of hardware resources for virtual environments
US20190108578A1 (en) * 2017-09-13 2019-04-11 Magical Technologies, Llc Systems and methods of rewards object spawning and augmented reality commerce platform supporting multiple seller entities
US10904374B2 (en) * 2018-01-24 2021-01-26 Magical Technologies, Llc Systems, methods and apparatuses to facilitate gradual or instantaneous adjustment in levels of perceptibility of virtual objects or reality object in a digital scene

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101826061A (en) * 2009-03-03 2010-09-08 华硕电脑股份有限公司 Shared system and management method of hardware device
CN102004716A (en) * 2010-11-12 2011-04-06 深圳市合正汽车电子有限公司 System and method for realizing device sharing
CN104750551A (en) * 2013-12-25 2015-07-01 研祥智能科技股份有限公司 A computer system and user-defined responding method thereof
CN103927227A (en) * 2014-04-16 2014-07-16 乐视致新电子科技(天津)有限公司 Method and device for switching multiple operating systems and smart television
CN106105152A (en) * 2014-05-22 2016-11-09 华为技术有限公司 A kind of node interconnection device, resource control node and server system
CN106575264A (en) * 2014-07-18 2017-04-19 高通股份有限公司 On-demand shareability conversion in a heterogeneous shared virtual memory
CN104932926A (en) * 2015-07-09 2015-09-23 上海联彤网络通讯技术有限公司 System and method for achieving dynamic matching of equipment and drives in intelligent operation system platform
CN106020942A (en) * 2016-05-05 2016-10-12 四川安嵌科技有限公司 Multi-system based WiFi device reuse method and device
CN109313569A (en) * 2016-06-13 2019-02-05 华为技术有限公司 System and method for virtual hardware control
CN106293896A (en) * 2016-08-10 2017-01-04 四川安嵌科技有限公司 Equipment multiplexing method and device applied to multiple systems
CN107770822A (en) * 2016-08-18 2018-03-06 深圳市信锐网科技术有限公司 The switching method and device of a kind of WAP
CN108319849A (en) * 2017-01-16 2018-07-24 中标软件有限公司 Equipment strategy management system based on Android twin containers system and management domain implementation method
CN107911700A (en) * 2017-10-31 2018-04-13 深信服科技股份有限公司 A kind of hardware coding/decoding method, decoding device and storage medium based on virtualization
CN108628521A (en) * 2018-05-14 2018-10-09 维沃移动通信有限公司 A kind of screen operating method and mobile terminal
CN109032559A (en) * 2018-07-25 2018-12-18 南京创维信息技术研究院有限公司 A kind of configuration method and system of the same sound pick-up outfit of more Application shares

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
一种基于微内核虚拟化的设备驱动优化模型;刘震宇等;《计算机工程与科学》;20111215;第44-51页 *
用WinDriver开发PCI设备驱动程序;张浩等;《微计算机应用》;20060915(第05期);第621-624页 *
采用容器技术的多Android系统的研究与实现;杨霞等;《小型微型计算机系统》;20160715(第07期);第1422-1427页 *

Also Published As

Publication number Publication date
CN112905243A (en) 2021-06-04

Similar Documents

Publication Publication Date Title
JP7326577B2 (en) Emission antenna switching method and terminal device
CN108255378B (en) Display control method and mobile terminal
CN110752980B (en) Message sending method and electronic equipment
CN111049979B (en) Application sharing method, electronic equipment and computer readable storage medium
CN109768926B (en) Data processing method, terminal equipment and computer readable storage medium
CN109587789B (en) Random access method, mobile terminal and network equipment
CN109889348B (en) Image sharing method and device
CN110058836B (en) Audio signal output method and terminal equipment
CN108762634B (en) Control method and terminal
CN110913066A (en) Display method and electronic equipment
CN110098486B (en) Antenna control method, terminal and storage medium
CN109901695B (en) Screen power-saving display method, mobile terminal and computer-readable storage medium
CN111026484A (en) Application sharing method, first electronic device and computer-readable storage medium
CN109828705B (en) Icon display method and terminal equipment
US20220159777A1 (en) Method for network control and related products
CN110944408B (en) Data transmission method and electronic equipment
CN109032468B (en) Method and terminal for adjusting equipment parameters
CN109558046B (en) Information display method and terminal equipment
CN111045772A (en) Application sharing method, electronic equipment and computer readable storage medium
CN111313915B (en) Electronic equipment
CN110225180B (en) Content input method and terminal equipment
CN110990172A (en) Application sharing method, first electronic device and computer-readable storage medium
CN110837327A (en) Message viewing method and terminal
CN108984066B (en) Application icon display method and mobile terminal
CN111143002A (en) Application sharing method, electronic equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant