CN106681817B - Terminal control method and terminal - Google Patents

Terminal control method and terminal Download PDF

Info

Publication number
CN106681817B
CN106681817B CN201611229514.XA CN201611229514A CN106681817B CN 106681817 B CN106681817 B CN 106681817B CN 201611229514 A CN201611229514 A CN 201611229514A CN 106681817 B CN106681817 B CN 106681817B
Authority
CN
China
Prior art keywords
target hardware
terminal
hardware
state
display screen
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
CN201611229514.XA
Other languages
Chinese (zh)
Other versions
CN106681817A (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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201611229514.XA priority Critical patent/CN106681817B/en
Publication of CN106681817A publication Critical patent/CN106681817A/en
Application granted granted Critical
Publication of CN106681817B publication Critical patent/CN106681817B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; 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
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/48Indexing scheme relating to G06F9/48
    • G06F2209/483Multiproc

Abstract

The invention discloses a terminal control method and a terminal, wherein the method comprises the following steps: when a calling instruction of a first system for target hardware is detected, a terminal checks the working state of the target hardware; the terminal comprises a first system and a second system; the working state comprises a first system occupation state, a second system occupation state and an idle state; the target hardware is common hardware of the first system and the second system; when the working state of the target hardware is the second system occupation state, the terminal receives a switching instruction input by the target hardware; and the terminal ends the calling thread of the second system aiming at the target hardware according to the switching instruction, and responds to the calling instruction aiming at the target hardware through the first system, so that the interference caused by the simultaneous calling of the shared hardware by the two systems is avoided, the operation is simple, and the working efficiency is improved.

Description

Terminal control method and terminal
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a terminal control method and a terminal.
Background
The dual operating system terminal may install two operating systems, such as a first system and a second system, on one terminal. After the terminal is started, two systems can be operated simultaneously, and the two systems share hardware resources in the terminal, such as a processor, a memory, a receiver, a transmitter, a camera, a power supply and the like. However, when the dual systems call the shared hardware at the same time, interference may occur, in the prior art, when the shared hardware needs to be called through the first system, a user of the terminal checks a working state of the shared hardware, when the shared hardware is occupied by the first system, the user of the terminal needs to perform manual operation, and the first system calls the shared hardware in a process, which is cumbersome to operate, and reduces working efficiency.
Disclosure of Invention
The embodiment of the invention discloses a terminal control method and a terminal, which can avoid interference caused by simultaneous calling of shared hardware by two systems, are simple to operate and improve the working efficiency.
In a first aspect, an embodiment of the present invention provides a terminal, including: the system comprises a first main board, a second main board and shared hardware; wherein the first motherboard comprises a first processor, a first memory connected to the first processor through a bus; the second mainboard comprises a second processor and a second memory connected to the second processor through a bus; the first processor is used for calling the program code stored in the first memory and running a program under a first system; the second processor is used for calling the program codes stored in the second memory and running programs under a second system, and the shared hardware is hardware which can be called by both the first system and the second system; the first system and the second system are operated through different processors respectively, so that process interference when a single processor operates two systems simultaneously is avoided, independent operation of each system is guaranteed, and working efficiency is improved.
Optionally, the first processor further comprises a first input device, a first output device, a first communication module connected to the first processor through a bus; or the second processor further comprises a second input device, a second output device and a second communication module which are connected to the second processor through a bus;
the first input device is used for realizing input of information or instructions in the first system, the first output device is used for realizing output of information in the first system, and the first passing module is used for realizing communication between the terminal and a communication opposite terminal through the first system;
the second input device is used for realizing the input of information or instructions in the second system, the second output device is used for realizing the output of information in the second system, and the second communication module is used for realizing the communication between the terminal and a communication opposite terminal through the first system.
Optionally, the first output device comprises a first display screen; the second output device includes a second display screen.
Optionally, the terminal further comprises a monitoring device, the monitoring device comprising a third processor and a third memory connected to the third processor; the third processor is used for calling the program codes in the third memory and executing:
when a calling instruction of a first system for target hardware is detected, checking the working state of the target hardware; the terminal comprises a first system and a second system; the working state comprises a first system occupation state, a second system occupation state and an idle state; the target hardware is common hardware of the first system and the second system;
and when the working state of the target hardware is the second system occupation state, prompting a user that the target hardware is occupied by the second system.
Optionally, the common hardware includes at least one of a camera, a flash, a USB port, a speaker, a microphone, and an antenna.
In a second aspect, an embodiment of the present invention provides a terminal control method, including:
when a calling instruction of a first system for target hardware is detected, a terminal checks the working state of the target hardware; the terminal comprises a first system and a second system; the working state comprises a first system occupation state, a second system occupation state and an idle state; the target hardware is common hardware of the first system and the second system;
when the working state of the target hardware is the second system occupation state, the terminal receives a switching instruction input by the target hardware;
and the terminal ends the calling thread of the second system aiming at the target hardware according to the switching instruction, and responds to the calling instruction aiming at the target hardware through the first system.
Optionally, before the terminal receives a switching instruction input by the target hardware when the operating state of the target hardware is the second system occupation state, the method further includes:
and the terminal prompts the user that the target hardware is occupied by the second system.
Optionally, when detecting a call instruction of the first system to the target hardware, after the terminal checks the working state of the target hardware, the method further includes:
and when the working state of the target hardware is the first system occupation state or the idle state, the terminal responds to the calling instruction aiming at the target hardware through the first system.
Optionally, the terminal includes a first display screen and a second display screen, and the first system controls display content of the first display screen; the second system controls the display content of the second display screen; the prompting the user that the target hardware is occupied by the second system comprises:
and displaying a prompt message for prompting the user that the target hardware is occupied by the second system on the first display screen.
Optionally, the common hardware includes at least one of a camera, a flash, a USB port, a speaker, a microphone, and an antenna.
In a third aspect, an embodiment of the present invention further provides a terminal, including:
the checking unit is used for checking the working state of the target hardware when a calling instruction of a first system for the target hardware is detected; the terminal comprises a first system and a second system; the working state comprises a first system occupation state, a second system occupation state and an idle state; the target hardware is common hardware of the first system and the second system;
a receiving unit, configured to receive a switching instruction input for the target hardware when the working state of the target hardware is the second system occupation state;
and the first execution unit is used for finishing the calling thread of the second system aiming at the target hardware according to the switching instruction and responding to the calling instruction aiming at the target hardware through the first system.
Optionally, the terminal further includes:
and the prompting unit is used for prompting a user that the target hardware is occupied by the second system when the working state of the target hardware is the second system occupation state.
Optionally, the terminal further includes:
and the second execution unit is used for responding to the calling instruction aiming at the target hardware through the first system when the working state of the target hardware is the first system occupation state or the idle state.
Optionally, the terminal includes a first display screen and a second display screen, and the first system controls display content of the first display screen; the second system controls the display content of the second display screen; the prompt unit is specifically configured to:
and displaying a prompt message for prompting the user that the target hardware is occupied by the second system on the first display screen.
Optionally, the common hardware includes at least one of a camera, a flash, a USB port, a speaker, a microphone, and an antenna.
According to the invention, when a calling instruction of a first system for the target hardware is detected, the terminal checks the working state of the target hardware; the terminal comprises a first system and a second system; the working state comprises a first system occupation state, a second system occupation state and an idle state; the target hardware is common hardware of the first system and the second system; when the working state of the target hardware is a second system occupation state, the terminal receives a switching instruction input aiming at the target hardware; the terminal ends the calling thread of the second system aiming at the target hardware according to the switching instruction, and responds the calling instruction aiming at the target hardware through the first system, so that the interference caused by the simultaneous calling of the shared hardware by the two systems is avoided, the operation is simple, and the working efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a structural diagram of a terminal according to an embodiment of the present invention;
fig. 2 is a structural diagram of another terminal according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a terminal control method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a prompt interface according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another prompt interface provided in the embodiment of the present invention;
fig. 6 is a structural architecture diagram of another terminal according to an embodiment of the present invention;
fig. 7 is a structural architecture diagram of another terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
It is to be understood that the terminology used in the embodiments of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
Referring to fig. 1, fig. 1 is a structural diagram of a terminal according to an embodiment of the present invention. The terminal comprises a first mainboard 11, a second mainboard 12 and shared hardware 13, wherein the first mainboard 11 comprises a first processor 111 and a first memory 112 connected to the first processor 111 through a bus; the second motherboard 12 includes a second processor 121, and a second memory 122 connected to the second processor 121 via a bus. The first processor 111 in the first motherboard 11 is configured to call the program code stored in the first memory 112 to run each program under the first system. The second processor 121 in the second main board 12 is configured to call the program code stored in the second memory 122 to run each program under the second system. The first motherboard 11 and the second motherboard 12 are independent of each other in terms of processor, memory, etc. The common hardware is hardware that both the first system and the second system can call. Alternatively, the common hardware 13 may include at least one of a camera, a flash, a USB port, a speaker, a microphone, an antenna, a volume key, a power source, a display screen, and the like.
Optionally, the first motherboard 11 may further include a first input device, a first output device, and a first communication module connected to the first processor 111 through a bus; or, the second motherboard 12 further includes a second input device, a second output device, and a second communication module connected to the second processor 121 through a bus. The first input device is used for realizing the input of information or instructions in the first system, the first output device is used for realizing the output of information in the first system, and the first passing module is used for realizing the communication between the terminal and the opposite communication terminal through the first system; the second input device is used for realizing the input of information or instructions in the second system, the second output device is used for realizing the output of information in the second system, and the second communication module is used for realizing the communication between the terminal and the communication opposite terminal through the first system
It is understood that the common hardware may also have an input or output function of information or instructions as an input device or an output device of the first main board 11 or the second main board 12. For example, a camera, a microphone, a volume key, a power key and the like can be used as the first input device and the second input device at the same time; such as a speaker, a display screen, etc. to be both the first output device and the second output device. The common hardware may be integrated on the first motherboard 11 or the second motherboard 12, or may be separately disposed, such as the common hardware shown in fig. 1 is separately disposed outside the first motherboard 11 or the second motherboard 12. The first input device, the first output device, or the first communication module is not an essential component of the first motherboard 11; similarly, the second input device, the second output device or the second communication module is not a necessary component of the second motherboard 12.
Optionally, the terminal may include two display screens, namely a first display screen and a second display screen, where the first display screen may be a first output device for outputting image information related to the first system, and it is understood that the first display screen may also be a first input device, for example, the first display screen may include a touch-sensitive surface through which an operation instruction input for the first system may be received, and in particular, the touch-sensitive surface may collect a touch operation of a user on or near the first display screen (for example, an operation of the user on or near the touch-sensitive surface using a finger, a stylus or any suitable object or accessory), and the first processor 111 may issue a command according to the detected touch operation. Similarly, the second display screen may be a second output device for outputting image information related to the second system, or may be a second input device, for example, the second display screen includes a touch-sensitive surface through which an operation instruction input for the second system is received.
It can be understood that the first system and the second system in the terminal may have primary and secondary scores, that is, the first system is a primary system, the second system is a secondary system, and the first system may monitor a process in the second system; or the second system is a main system, the first system is an auxiliary system, and the second system can monitor the process in the first system.
It will be appreciated that the terminal may further comprise monitoring means 14 for monitoring processes in the first system and the second system, in which case the first system and the second system may not have a primary or secondary score. Referring to fig. 2, fig. 2 is a structural diagram of another terminal according to an embodiment of the present invention. The terminal shown in fig. 2 may further comprise a monitoring device 14 in addition to the respective hardware of the terminal shown in fig. 1, wherein the monitoring device 14 may comprise a third processor 141 and a third processor 142, wherein the third processor 141 is connected to the first processor 111 and the second processor 121. It should be noted that the monitoring device 14 may be provided independently, or may be integrated with the first motherboard 11 or the second motherboard 12.
It is understood that the terminal may be a smart phone, a desktop computer, a notebook computer, a tablet computer, etc. comprising two main boards.
Referring to fig. 3, fig. 3 is a flowchart illustrating a terminal control method according to an embodiment of the present invention. As shown in fig. 3, the terminal control method is implemented based on the terminal shown in fig. 1, and the terminal control method may include the following steps:
step S310: when a call instruction of a first system for target hardware is detected, the terminal checks the working state of the target hardware.
The terminal comprises a first system and a second system, and the working state comprises a first system occupation state, a second system occupation state and an idle state; the target hardware is common hardware of the first system and the second system.
Specifically, the terminal may detect, in real time, each instruction received through the first system through a host system (for example, the first system) or the monitoring device, detect a call instruction (for example, an instruction to call a camera) for the target hardware, and when the work state of the target hardware is the second system occupation state, the terminal may perform step S220 to prompt the user that the target hardware is occupied by the second system. When the working state of the target hardware is the first system occupation state or the idle state, the terminal can respond to the calling instruction aiming at the target hardware through the first system.
Step S320: and when the working state of the target hardware is the second system occupation state, the terminal receives a switching instruction input aiming at the target hardware.
Specifically, the switching instruction input for the target hardware may be a switching operation input by a user on a prompt interface occupied by the second system of the target hardware or a switching interface of the target hardware, and the switching operation may be a click operation, an operation of selecting the first system, a sliding operation, and the like, which is not limited in the present invention.
In this embodiment of the present invention, when the working state of the target hardware is the second system occupation state, before the terminal receives the switching instruction input for the target hardware, the terminal may further prompt the user that the target hardware is occupied by the second system.
Specifically, when the working state of the target hardware is the second system occupation state, the terminal may prompt the user that the target hardware is occupied by the second system. The prompting method includes but is not limited to popping up a prompting message, playing a prompting voice, turning on an indicator light and the like.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a prompt interface according to an embodiment of the present invention. The prompt interface shown in fig. 4 is that the shared hardware requested to be called by the first system is a camera, and when detecting a call instruction of the first system to the camera, and when the terminal checks that the camera is occupied by the second system, the terminal may pop up a prompt dialog 401, and display a message prompting the user that the camera is occupied by the second system.
Referring to fig. 5, fig. 5 is a schematic structural diagram of another prompting interface according to an embodiment of the present invention. The prompt interface shown in fig. 5 is that the shared hardware requested to be called by the first system is a camera, and when detecting a call instruction of the first system to the camera, and when the terminal checks that the camera is occupied by the second system, the terminal may pop up a prompt dialog 501, and display a message prompting the user that the camera is occupied by the second system and a prompt message prompting whether to switch to the first system. When the user clicks the 'confirm' button, that is, the terminal receives a switching instruction input for the camera, and when the user clicks the 'cancel' button, the terminal can return to the previous interface, or close a prompt dialog box, and the like.
In the embodiment of the invention, the terminal can comprise a first display screen and a second display screen, wherein the first system controls the display content of the first display screen; the second system controls the display content of the second display screen. One implementation manner of prompting the user that the target hardware is occupied by the second system in step S320 may be: and displaying a prompt message for prompting the user that the target hardware is occupied by the second system on the first display screen. It can be understood that the first system of the terminal may generate a call instruction for the target hardware through an input operation of the user on the first display screen, and the terminal may display the prompt message on the first display screen when the user is focusing on the display content of the first display screen, so as to prompt the user more effectively.
Step S330: and the terminal ends the calling thread of the second system aiming at the target hardware according to the switching instruction, and responds to the calling instruction aiming at the target hardware through the first system.
In the embodiment of the invention, when a calling instruction of a first system for target hardware is detected, a terminal checks the working state of the target hardware; the terminal comprises a first system and a second system; the working state comprises a first system occupation state, a second system occupation state and an idle state; the target hardware is common hardware of the first system and the second system; when the working state of the target hardware is a second system occupation state, the terminal receives a switching instruction input aiming at the target hardware; the terminal ends the calling thread of the second system aiming at the target hardware according to the switching instruction, and responds the calling instruction aiming at the target hardware through the first system, so that the interference caused by the simultaneous calling of the shared hardware by the two systems is avoided, the operation is simple, and the working efficiency is improved.
Referring to fig. 6, fig. 6 is a structural framework diagram of another terminal according to an embodiment of the present invention, where the terminal includes:
the checking unit 610 is configured to check a working state of the target hardware when a call instruction of the first system to the target hardware is detected; the terminal comprises a first system and a second system; the working state comprises a first system occupation state, a second system occupation state and an idle state; the target hardware is common hardware of the first system and the second system;
a receiving unit 620, configured to receive a switching instruction input for the target hardware when the working state of the target hardware is the second system occupation state;
the first execution unit 630 is configured to end the call thread of the second system for the target hardware according to the switching instruction, and respond to the call instruction for the target hardware through the first system.
Referring to fig. 7, fig. 7 is a structural framework diagram of another terminal according to an embodiment of the present invention, where the terminal shown in fig. 7 may further include, in addition to the units shown in fig. 6: a hinting unit 640 and/or a second performing unit 650.
In the embodiment of the present invention, the terminal further includes:
the prompting unit 640 is configured to prompt a user that the target hardware is occupied by the second system when the working state of the target hardware is the second system occupation state.
In the embodiment of the present invention, the terminal further includes:
a second executing unit 650, configured to respond, by the first system, to the call instruction for the target hardware when the working state of the target hardware is the first system occupied state or the idle state.
Optionally, the terminal includes a first display screen and a second display screen, and the first system controls display content of the first display screen; the second system controls the display content of the second display screen; the prompt unit is specifically configured to:
and displaying a prompt message for prompting the user that the target hardware is occupied by the second system on the first display screen.
Optionally, the common hardware includes at least one of a camera, a flash, a USB port, a speaker, a microphone, and an antenna.
It should be noted that, in each embodiment of the present invention, the functions of the viewing unit 610, the receiving unit 620, the first executing unit 630, the prompting unit 640, and the second executing unit 650 in the terminal may be specifically implemented according to the method in the foregoing method embodiment, and a specific implementation process thereof may refer to the related description of the foregoing method embodiment, which is not described herein again.
In the embodiment of the invention, when a calling instruction of a first system for target hardware is detected, a terminal checks the working state of the target hardware; the terminal comprises a first system and a second system; the working state comprises a first system occupation state, a second system occupation state and an idle state; the target hardware is common hardware of the first system and the second system; when the working state of the target hardware is a second system occupation state, the terminal receives a switching instruction input aiming at the target hardware; the terminal ends the calling thread of the second system aiming at the target hardware according to the switching instruction, and responds the calling instruction aiming at the target hardware through the first system, so that the interference caused by the simultaneous calling of the shared hardware by the two systems is avoided, the operation is simple, and the working efficiency is improved.
Referring to the terminal shown in fig. 1 or fig. 2, the main processor (the first processor 111 or the second processor 121) in the terminal or the third processor 141 in the monitoring device 14 may call the program codes in the memories corresponding to the processors (the first processor 111 corresponds to the first memory 112, the second processor 121 corresponds to the second memory 122, and the third processor 141 corresponds to the third memory 142) to perform the terminal control operation. The embodiment is described by taking the third processor 141 as an example, and it is understood that the third processor 141 may be replaced by the first processor 111, and the third storage 142 may be replaced by the first memory 112; the third processor 141 may be replaced with the second processor 121 and the third storage 142 may be replaced with the second memory 122. In this embodiment of the present invention, the third processor 141 may call the program code stored in the third memory 142 to execute:
when a calling instruction of a first system for target hardware is detected, checking the working state of the target hardware; the terminal comprises a first system and a second system; the working state comprises a first system occupation state, a second system occupation state and an idle state; the target hardware is common hardware of the first system and the second system;
when the working state of the target hardware is the second system occupation state, receiving a switching instruction input by the target hardware through a first input device or a second input device;
and according to the switching instruction, ending the calling thread of the second system aiming at the target hardware, and responding to the calling instruction aiming at the target hardware through the first system.
Optionally, when the operating state of the target hardware is the second system occupation state, the third processor 141 executes the money of receiving the switching instruction input by the target hardware through the first input device or the second input device, and the third processor 141 is further configured to execute:
prompting a user through the first output device or the second output device that the target hardware is occupied by the second system.
Optionally, after the third processor 141 executes the operation state of the target hardware viewed when the call instruction of the first system to the target hardware is detected, the third processor 141 is further configured to:
and when the working state of the target hardware is the first system occupation state or the idle state, responding the calling instruction aiming at the target hardware through the first system.
Optionally, the terminal includes a first display screen and a second display screen, and the first system controls display content of the first display screen; the second system controls the display content of the second display screen; the prompting the user that the target hardware is occupied by the second system comprises:
and displaying a prompt message for prompting the user that the target hardware is occupied by the second system on the first display screen.
It is understood that the first input means or the second input means are used for enabling user interaction with the terminal and/or input of information into the terminal. For example, the first input device or the second input device may receive numerical or character information input by a user to generate a signal input related to a user setting or function control. In the embodiment of the present invention, the first input device or the second input device may be a touch panel, other human-computer interaction interfaces such as physical input keys and a microphone, and other external information capturing devices such as a camera. A touch panel, also referred to as a touch screen or touch screen, may collect an operation action on which a user touches or approaches. For example, the user uses any suitable object or accessory such as a finger, a stylus, etc. to operate on or near the touch panel, and drives the corresponding connection device according to a preset program.
The first output device or the second output device may include, but is not limited to, an image output unit, a sound output unit, and a tactile output unit. The image output unit is used for outputting characters, pictures and/or videos. The image output unit may include a display panel, and although in fig. 1 or fig. 2, the first input device and the first output device are implemented as two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel may be integrated with the display panel to implement the input and output functions of the mobile terminal. Similarly, in some embodiments, the second input device and the second output device may also integrate the touch panel and the display panel to realize the input and output functions of the mobile terminal.
The third memory may be used to store software programs and modules, and the third processor 141 executes various functional applications of the terminal and implements data processing by operating the software programs and modules stored in the third memory 142. The third memory 142 mainly includes a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function, such as a sound playing program, an image playing program, and the like; the data storage area may store data (such as audio data, a phonebook, etc.) created according to the use of the mobile terminal, and the like. In an embodiment of the invention, the third Memory 142 may include a volatile Memory, such as a Nonvolatile dynamic random access Memory (NVRAM), a Phase Change random access Memory (PRAM), a Magnetoresistive Random Access Memory (MRAM), and a non-volatile Memory, such as at least one magnetic disk Memory device, an Electrically Erasable programmable read-only Memory (EEPROM), a flash Memory device, such as a flash Memory (NOR) or a flash Memory (NAND).
The first or second communication module is used for establishing a communication channel, enabling the terminal to be connected to a communication opposite terminal through the communication channel, and interacting data with the communication opposite terminal through the communication channel. The Communication module may include a Wireless Local Area Network (Wireless LAN) module, a bluetooth module, Near Field Communication (NFC) module, a baseband (Base Band) module, and other Wireless Communication modules, and a wired Communication module such as ethernet, Universal Serial Bus (USB) and Lightning interface (Lightning, currently Apple is used for iPhone5/5s/5 c).
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (8)

1. A terminal control method, comprising:
when a calling instruction of a first system for target hardware is detected, a terminal checks the working state of the target hardware; the terminal comprises a first system and a second system; the working state comprises a first system occupation state, a second system occupation state and an idle state; the target hardware is common hardware of the first system and the second system;
when the working state of the target hardware is the second system occupation state, the terminal receives a switching instruction input by the target hardware;
the terminal ends the calling thread of the second system aiming at the target hardware according to the switching instruction, and responds to the calling instruction aiming at the target hardware through the first system;
before the terminal receives a switching instruction input by the target hardware when the working state of the target hardware is the second system occupation state, the method further includes:
and the terminal prompts the user that the target hardware is occupied by the second system.
2. The method according to claim 1, wherein after the terminal checks the working state of the target hardware when detecting the call instruction of the first system to the target hardware, the method further comprises:
and when the working state of the target hardware is the first system occupation state or the idle state, the terminal responds to the calling instruction aiming at the target hardware through the first system.
3. The method according to claim 1, wherein the terminal comprises a first display screen and a second display screen, and the first system controls the display content of the first display screen; the second system controls the display content of the second display screen; the prompting the user that the target hardware is occupied by the second system comprises:
and displaying a prompt message for prompting the user that the target hardware is occupied by the second system on the first display screen.
4. The method of any of claims 1-3, wherein the common hardware comprises at least one of a camera, a flash, a USB port, a speaker, a microphone, and an antenna.
5. A terminal, comprising:
the checking unit is used for checking the working state of the target hardware when a calling instruction of a first system for the target hardware is detected; the terminal comprises a first system and a second system; the working state comprises a first system occupation state, a second system occupation state and an idle state; the target hardware is common hardware of the first system and the second system;
a receiving unit, configured to receive a switching instruction input for the target hardware when the working state of the target hardware is the second system occupation state;
the first execution unit is used for finishing the calling thread of the second system aiming at the target hardware according to the switching instruction and responding to the calling instruction aiming at the target hardware through the first system;
and the prompting unit is used for prompting a user that the target hardware is occupied by the second system when the working state of the target hardware is the second system occupation state.
6. The terminal of claim 5, further comprising:
and the second execution unit is used for responding to the calling instruction aiming at the target hardware through the first system when the working state of the target hardware is the first system occupation state or the idle state.
7. The terminal according to claim 5, wherein the terminal comprises a first display screen and a second display screen, and the first system controls display content of the first display screen; the second system controls the display content of the second display screen; the prompt unit is specifically configured to:
and displaying a prompt message for prompting the user that the target hardware is occupied by the second system on the first display screen.
8. A terminal according to any of claims 5-7, wherein the common hardware comprises at least one of a camera, a flash, a USB port, a speaker, a microphone, an antenna.
CN201611229514.XA 2016-12-27 2016-12-27 Terminal control method and terminal Active CN106681817B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611229514.XA CN106681817B (en) 2016-12-27 2016-12-27 Terminal control method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611229514.XA CN106681817B (en) 2016-12-27 2016-12-27 Terminal control method and terminal

Publications (2)

Publication Number Publication Date
CN106681817A CN106681817A (en) 2017-05-17
CN106681817B true CN106681817B (en) 2021-01-15

Family

ID=58873208

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611229514.XA Active CN106681817B (en) 2016-12-27 2016-12-27 Terminal control method and terminal

Country Status (1)

Country Link
CN (1) CN106681817B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107577422B (en) * 2017-08-11 2020-12-11 北京安云世纪科技有限公司 Photo storage method and device based on double-domain space
CN108170394A (en) * 2017-12-28 2018-06-15 努比亚技术有限公司 A kind of double-sided screen terminal and its control method
CN112987986A (en) * 2019-12-02 2021-06-18 Oppo广东移动通信有限公司 Method, device, storage medium and electronic equipment for realizing game application

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AT409904T (en) * 2003-04-09 2008-10-15 Jaluna Sa OPERATING SYSTEMS
CN102110023A (en) * 2009-12-25 2011-06-29 中国长城计算机深圳股份有限公司 Control method, system and computer for parallel running of multi-user operating system
CN103246560A (en) * 2012-02-14 2013-08-14 联想(北京)有限公司 Mode switching method and electronic equipment
CN103391374A (en) * 2013-08-08 2013-11-13 北京邮电大学 Dual system terminal supporting seamless switching
CN103488598A (en) * 2012-06-11 2014-01-01 中兴通讯股份有限公司 Multi-mode terminal and method for realizing USB (universal serial bus) sharing
CN104516760A (en) * 2014-12-12 2015-04-15 华为技术有限公司 Operating system hot-switching method and device and mobile terminal
CN104571964A (en) * 2015-01-15 2015-04-29 宇龙计算机通信科技(深圳)有限公司 Dual system based external storage device mounting method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AT409904T (en) * 2003-04-09 2008-10-15 Jaluna Sa OPERATING SYSTEMS
CN102110023A (en) * 2009-12-25 2011-06-29 中国长城计算机深圳股份有限公司 Control method, system and computer for parallel running of multi-user operating system
CN103246560A (en) * 2012-02-14 2013-08-14 联想(北京)有限公司 Mode switching method and electronic equipment
CN103488598A (en) * 2012-06-11 2014-01-01 中兴通讯股份有限公司 Multi-mode terminal and method for realizing USB (universal serial bus) sharing
CN103391374A (en) * 2013-08-08 2013-11-13 北京邮电大学 Dual system terminal supporting seamless switching
CN104516760A (en) * 2014-12-12 2015-04-15 华为技术有限公司 Operating system hot-switching method and device and mobile terminal
CN104571964A (en) * 2015-01-15 2015-04-29 宇龙计算机通信科技(深圳)有限公司 Dual system based external storage device mounting method and system

Also Published As

Publication number Publication date
CN106681817A (en) 2017-05-17

Similar Documents

Publication Publication Date Title
US10754539B2 (en) Touch Operation Processing Method and Terminal Device
US10996834B2 (en) Touchscreen apparatus user interface processing method and touchscreen apparatus
CN106681817B (en) Terminal control method and terminal
EP2940572A1 (en) Method and electronic device for managing display objects
US9658761B2 (en) Information processing apparatus, information processing method, and computer program
US20200150833A1 (en) Electronic device having touchscreen and input processing method thereof
US9201814B2 (en) Electronic devices and methods for sharing peripheral devices in dual operating systems
US20140351729A1 (en) Method of operating application and electronic device implementing the same
US10884611B2 (en) Method and apparatus for controlling touch screen of terminal, and terminal
KR20110063410A (en) Method of moving content between applications and apparatus for the same
CN108920071B (en) Control method and device based on special-shaped display screen, storage medium and mobile terminal
US20180224997A1 (en) Method and system for one-handed operations of mobile terminal
CN109062479B (en) Split screen application switching method and device, storage medium and electronic equipment
AU2019203256B2 (en) Fingerprint event processing method, apparatus, and terminal
US20210208740A1 (en) Method, Mobile Terminal, and Non-Transitory Computer-Readable Storage Medium for Controlling Displaying Direction
CN108920070B (en) Screen splitting method and device based on special-shaped display screen, storage medium and mobile terminal
AU2021209226A1 (en) Display method and apparatus
US20140331238A1 (en) Electronic device and method for controlling application to execute input command
WO2016173307A1 (en) Message copying method and device, and smart terminal
KR102096070B1 (en) Method for improving touch recognition and an electronic device thereof
CN110515662B (en) Remote control method, system, equipment and readable storage medium for dual-system equipment
KR20160096645A (en) Binding of an apparatus to a computing device
CN110727522A (en) Control method and electronic equipment
KR20140105340A (en) Method and Apparatus for operating multi tasking in a terminal
KR20150055498A (en) Method and apparatus for controlling a terminal by using gesture

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