CN109947298B - System calling method, terminal and computer readable storage medium - Google Patents

System calling method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN109947298B
CN109947298B CN201910242315.XA CN201910242315A CN109947298B CN 109947298 B CN109947298 B CN 109947298B CN 201910242315 A CN201910242315 A CN 201910242315A CN 109947298 B CN109947298 B CN 109947298B
Authority
CN
China
Prior art keywords
operating system
terminal
main operating
folding
calling
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
CN201910242315.XA
Other languages
Chinese (zh)
Other versions
CN109947298A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201910242315.XA priority Critical patent/CN109947298B/en
Publication of CN109947298A publication Critical patent/CN109947298A/en
Application granted granted Critical
Publication of CN109947298B publication Critical patent/CN109947298B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a system calling method, which is applied to a terminal, wherein the terminal comprises a folding device, a main operating system and an auxiliary operating system, the folding device is used for realizing the folding operation of the terminal, and the method comprises the following steps: sending an interrupt message when the folding device is activated; the main operating system starts the auxiliary operating system according to the interrupt information; and calling the main operating system and the auxiliary operating system based on a preset rule. The invention further provides a terminal and a computer readable storage medium, and by implementing the scheme, different operating systems are flexibly endowed to the deformed screen in the folding process of the folding screen terminal, so that the deformed folding screen is ensured to be operated more smoothly, and the user experience is higher.

Description

System calling method, terminal and computer readable storage medium
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to a system calling method, a terminal, and a computer-readable storage medium.
Background
With the development and application of flexible screens, the foldable terminal has come to the fore, and the use of various forms of the single-screen terminal, such as split screen and front and back double screens, is realized by folding the terminal for use. However, at present, for such a foldable terminal, an operating system thereof is generally a single system or a single-screen dual-system scheme, that is, the existing system scheme cannot assign different independent systems to the deformed screen, that is, only one system can be switched to another system, but cannot assign different systems to the deformed screen at the same time, so that a user cannot acquire the content of another system quickly, and the existing dual system still consumes time and power when switching the dual system.
Disclosure of Invention
In view of this, embodiments of the present invention provide a system calling method, a terminal, and a computer storage medium, which enable a deformed screen to be flexibly assigned with different operating systems during a folding process of a folding screen terminal, thereby ensuring that the deformed folding screen is operated more smoothly and user experience is higher.
In order to solve the above problem, the present invention provides a system invoking method, which is applied to a terminal, where the terminal includes a folding device, a main operating system, and a secondary operating system, and the folding device is used to implement a folding operation of the terminal, and the method includes: sending an interrupt message when the folding device is activated; the main operating system starts the auxiliary operating system according to the interrupt information; and calling the main operating system and the auxiliary operating system based on a preset rule.
Optionally, the terminal includes a flexible display screen, and the folding device is located below the flexible display screen.
Optionally, the folding device is a hinge device, a pressure sensor is arranged in the hinge device, and the pressure sensor is used for detecting pressure changes in the deformation process of the hinge device.
Optionally, when the folding device is activated, the step of sending the interruption information specifically includes: and when the pressure detected by the pressure sensor is greater than a preset value, sending interrupt information to the main operating system.
Optionally, when the folding device is activated, the step of sending the interruption information specifically includes: and the main operating system stops the information input function of the main operating system according to the interrupt information.
Optionally, the secondary operating system includes a system shell and user data, the system shell including a first system kernel, the first system kernel being different from a second system kernel of the primary operating system.
Optionally, the step of invoking the primary operating system and the secondary operating system based on a preset rule includes: detecting user operation data corresponding to the main operating system and the auxiliary operating system; and calling the main operating system and the auxiliary operating system according to the user operation data.
Optionally, the step of invoking the primary operating system and the secondary operating system based on a preset rule includes: and when the corresponding user operation data on the main operating system and the auxiliary operating system show that the operation frequency of the main operating system is higher than that of the auxiliary operating system, allocating a first system resource when the main operating system is called, and allocating a second system resource when the auxiliary operating system is called, wherein the first system resource is more than the second system resource.
Further, the present invention also provides a terminal, including a folding device, a main operating system, and an auxiliary operating system, where the folding device is used to implement a folding operation of the terminal, and the terminal at least further includes: a memory, a communication bus, and a processor, wherein: the memory is used for storing a system calling program; the communication bus is used for realizing connection communication between the processor and the memory; the processor is used for executing the system calling program stored in the memory so as to realize the steps.
Further, the present invention also provides a computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the steps of the system call method as described in any above.
By implementing the scheme, when the folding screen terminal deforms the folding screen, an independent operating system is independently given to each screen according to the number of the screens, so that the operation of each screen can be realized independently, and the user experience is improved.
Drawings
In the drawings, which are not necessarily drawn to scale, like reference numerals may describe similar components in different views. Like reference numerals having different letter suffixes may represent different examples of similar components. The drawings illustrate generally, by way of example, but not by way of limitation, various embodiments discussed herein.
Fig. 1 is a schematic diagram of a hardware structure of a terminal for implementing various embodiments of the present invention;
fig. 2 is a diagram of a communication network system architecture according to an embodiment of the present invention;
FIG. 3 is a flow chart illustrating a system call method according to the present invention;
FIG. 4 is a block diagram of a terminal according to the present invention;
fig. 5 is a schematic view of a terminal assembly structure according to the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a terminal, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
While the terminal will be described as an example in the following description, those skilled in the art will appreciate that the configuration according to the embodiment of the present invention can be applied to a terminal of a fixed type, in addition to elements particularly used for moving purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a terminal for implementing various embodiments of the present invention, the terminal 100 may include: radio Frequency (RF) 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, and that a terminal may include more or fewer components than shown, or may combine certain components, or be arranged of different components.
The various components of terminal 100 are described in detail below with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 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 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access 2000(Code Division Multiple Access 2000, CDMA2000), Wideband Code Division Multiple Access (WCDMA), Time Division-Synchronous Code Division Multiple Access (TD-SCDMA), Frequency Division duplex Long Term Evolution (FDD-LTE), and Time Division duplex Long Term Evolution (TDD-LTE), etc.
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The terminal 100 also includes at least one sensor 105, 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 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the terminal 100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 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 input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts 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 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 107 may include other input devices 1072 in addition to the touch panel 1071. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the terminal 100. 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 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal 100 or may be used to transmit data between the terminal 100 and an external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program 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, memory 109 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 110 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 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 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 110.
The terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the terminal 100 may further include a bluetooth module, etc., which will not be described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a User Equipment (UE) 201, an Evolved UMTS Terrestrial Radio Access Network (E-UTRAN) 202, an Evolved Packet Core (EPC) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Generally, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. The eNodeB2021 may be connected with other eNodeB2022 via backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include a Mobility Management Entity (MME) 2031, a Home Subscriber Server (HSS) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a Policy and Charging Rules Function (PCRF) 2036, and the like. The MME2031 is a control node for processing signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide some registers to manage functions such as home location register (not shown) and holds some user-specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
IP services 204 may include the internet, intranets, IP Multimedia Subsystem (IMS), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems, and the like. Based on the above terminal hardware structure and communication network system, various embodiments of the method of the present invention are proposed.
Fig. 3 is a schematic flowchart of a system call method according to an embodiment of the present invention, and is applied to a terminal. It is to be understood that the flow charts in the embodiments of the present method are not intended to limit the order in which the steps are performed.
In an embodiment of the present invention, the terminal includes a screen, a supporting substrate, and a folding device, where the screen is a flexible display screen, such as an OLED display screen, a micro CLED display screen, and other screens capable of implementing a flexible display function. The number of the supporting substrates is at least two, and the supporting substrates are used for arranging other hardware of the terminal, such as circuit boards, chips, batteries and the like. The folding device is preferably a hinge device by means of which at least two support substrates are connected. In other embodiments, the folding device may be other functional structure devices capable of realizing folding connection.
As shown in fig. 3, the system calling method includes the following steps:
step S300, when the folding device is activated, sending out interrupt information.
In the embodiment of the present invention, the flexible display screen is placed on the at least two support substrates, the two support substrates are connected to the folding device, that is, the hinge device is provided with a pressure sensor therein, when the hinge device is folded and closed, the pressure sensor is squeezed, and the detected pressure is gradually increased, so that the pressure sensor in the hinge device can detect the pressure change in the deformation process of the hinge device, that is, when the pressure detected by the pressure sensor is greater than a preset value, it indicates that the terminal is being folded and deformed, and at this time, interrupt information is sent to the main operating system. The main operating system is an operating system used by the current terminal.
Step S302, enabling the primary operating system to start the secondary operating system according to the interrupt information.
In an embodiment of the present invention, the terminal includes a primary operating system and a secondary operating system, and the secondary operating system includes a system shell and user data, where the system shell includes a first system kernel, and the first system kernel is different from a second system kernel of the primary operating system. Wherein the user data is the user data of the primary operating system, that is, the user data is shared by the primary operating system and the secondary operating system. In this embodiment, the user data is stored in another system (main operating system) and includes system settings, contacts, call records, application data, and the like, and when the user operates on the secondary operating system, for example, using functions such as a dial and a short message, the system shell will automatically call a dialing component or a short message component of the main operating system, and read corresponding data in the user data space, and perform system display and corresponding operations. After the interrupt information is sent to the main operating system, the main operating system stops the information input function of the main operating system until the auxiliary operating system is started, so that the interference of touch input of a user on the system is reduced and the running load of the system at the current moment is reduced under the condition that the dual-system mode is started.
And step S304, calling the main operating system and the secondary operating system based on a preset rule.
In an embodiment of the present invention, the step of calling the primary operating system and the secondary operating system based on a preset rule includes: detecting user operation data corresponding to the main operating system and the auxiliary operating system; and calling the main operating system and the auxiliary operating system according to the user operation data. That is, when the user operation data corresponding to the primary operating system and the secondary operating system show that the operation frequency of the primary operating system is higher than that of the secondary operating system, a first system resource is allocated when the primary operating system is called, and a second system resource is allocated when the secondary operating system is called, wherein the first system resource is more than the second system resource. For example, when a user performs operations more frequently than the secondary operating system on the screen of the primary operating system, the most CPU and memory resources are allocated to the primary operating system, the secondary operating system is only allocated to one core of the CPU, or even periodically allocates the CPU resources, and the operating state of the secondary operating system is maintained.
Through implementing the system calling scheme, when the folding screen terminal deforms the folding screen, an independent operating system is independently given to each screen according to the number of the screens, so that the operation of each screen can be realized independently, and the user experience is improved.
Fig. 4 is a block diagram of a terminal according to the present invention. The terminal comprises an activation module 400, a starting module 402, a calling module 404, a memory 406 and a processor 408, wherein the program modules are stored in the memory 406 as program codes and executed by the processor 408, so as to implement the steps or the method in the above embodiments. Wherein, the terminal includes screen, supporting substrate and folding device, and wherein the screen is flexible display screen, for example OLED display screen, micro CLED display screen, and other screens that can realize the flexible display function. The number of the supporting substrates is at least two, and the supporting substrates are used for arranging other hardware of the terminal, such as circuit boards, chips, batteries and the like. The folding device is preferably a hinge device by means of which at least two support substrates are connected. In other embodiments, the folding device may be other functional structure devices capable of realizing folding connection.
The activation module 400 is configured to send an interrupt message when the folding device is activated.
In the embodiment of the present invention, the flexible display screen is placed on the at least two support substrates, the two support substrates are connected to the folding device, that is, the hinge device is provided with a pressure sensor therein, when the hinge device is folded and closed, the pressure sensor is squeezed, and the detected pressure is gradually increased, so that the pressure sensor in the hinge device can detect the pressure change in the deformation process of the hinge device, that is, when the pressure detected by the pressure sensor is greater than a preset value, it indicates that the terminal is being folded and deformed, and at this time, interrupt information is sent to the main operating system. The main operating system is an operating system used by the current terminal.
The starting module 402 is configured to enable the primary operating system to start the secondary operating system according to the interrupt information.
In an embodiment of the present invention, the terminal includes a primary operating system and a secondary operating system, and the secondary operating system includes a system shell and user data, where the system shell includes a first system kernel, and the first system kernel is different from a second system kernel of the primary operating system. Wherein the user data is the user data of the primary operating system, that is, the user data is shared by the primary operating system and the secondary operating system. In this embodiment, the user data is stored in another system (main operating system) and includes system settings, contacts, call records, application data, and the like, and when the user operates on the secondary operating system, for example, using functions such as a dial and a short message, the system shell will automatically call a dialing component or a short message component of the main operating system, and read corresponding data in the user data space, and perform system display and corresponding operations. After the interrupt information is sent to the main operating system, the main operating system stops the information input function of the main operating system until the auxiliary operating system is started, so that the interference of the touch input of a user on the system is reduced under the condition that the dual-system mode is started, and the running load of the system at the current moment is reduced.
The invoking module 404 is configured to invoke the primary operating system and the secondary operating system based on a preset rule.
In an embodiment of the present invention, the step of calling the primary operating system and the secondary operating system based on a preset rule includes: detecting user operation data corresponding to the main operation system and the auxiliary operation system; and calling the main operating system and the auxiliary operating system according to the user operation data. That is, when the operation frequency of the primary operating system is higher than that of the secondary operating system, as shown in the corresponding user operation data on the primary operating system and the secondary operating system, a first system resource is allocated when the primary operating system is called, and a second system resource is allocated when the secondary operating system is called, wherein the first system resource is more than the second system resource. For example, when a user performs operations more frequently than the secondary operating system on the screen of the primary operating system, the most CPU and memory resources are allocated to the primary operating system, the secondary operating system is only allocated to one core of the CPU, or even periodically allocates the CPU resources, and the operating state of the secondary operating system is maintained.
Through implementing the system calling scheme, when the folding screen terminal deforms the folding screen, an independent operating system is independently given to each screen according to the number of the screens, so that the operation of each screen can be realized independently, and the user experience is improved.
Fig. 5 is a schematic diagram of a composition structure of the terminal of the present invention. As shown in fig. 5, the terminal at least includes: a memory 501, a communication bus 502, and a processor 503. Wherein:
the memory 501 is used for storing a system calling program;
the communication bus 502 is used for realizing connection communication between the processor and the memory;
the processor 503 is configured to execute a system call program stored in the memory, so as to implement the following steps:
issuing an interrupt message when the folding device is activated.
In the embodiment of the present invention, the flexible display screen is placed on the at least two support substrates, the two support substrates are connected to the folding device, that is, the hinge device is provided with a pressure sensor therein, when the hinge device is folded and closed, the pressure sensor is squeezed, and the detected pressure is gradually increased, so that the pressure sensor in the hinge device can detect the pressure change in the deformation process of the hinge device, that is, when the pressure detected by the pressure sensor is greater than a preset value, it indicates that the terminal is being folded and deformed, and at this time, interrupt information is sent to the main operating system. The main operating system is an operating system used by the current terminal.
And enabling the main operating system to start the secondary operating system according to the interrupt information.
In an embodiment of the present invention, the terminal includes a primary operating system and a secondary operating system, and the secondary operating system includes a system shell and user data, where the system shell includes a first system kernel, and the first system kernel is different from a second system kernel of the primary operating system. Wherein the user data is the user data of the primary operating system, that is, the user data is shared by the primary operating system and the secondary operating system. In this embodiment, the user data is stored in another system (main operating system) and includes system settings, contacts, call records, application data, and the like, and when the user operates on the secondary operating system, for example, using functions such as a dial and a short message, the system shell will automatically call a dialing component or a short message component of the main operating system, and read corresponding data in the user data space, and perform system display and corresponding operations. After the interrupt information is sent to the main operating system, the main operating system stops the information input function of the main operating system until the auxiliary operating system is started, so that the interference of the touch input of a user on the system is reduced under the condition that the dual-system mode is started, and the running load of the system at the current moment is reduced.
And calling the main operating system and the auxiliary operating system based on a preset rule.
In an embodiment of the present invention, the step of calling the primary operating system and the secondary operating system based on a preset rule includes: detecting user operation data corresponding to the main operation system and the auxiliary operation system; and calling the main operating system and the auxiliary operating system according to the user operation data. That is, when the user operation data corresponding to the primary operating system and the secondary operating system show that the operation frequency of the primary operating system is higher than that of the secondary operating system, a first system resource is allocated when the primary operating system is called, and a second system resource is allocated when the secondary operating system is called, wherein the first system resource is more than the second system resource. For example, when a user performs operations more frequently than the secondary operating system on the screen of the primary operating system, the most CPU and memory resources are allocated to the primary operating system, the secondary operating system is only allocated to one core of the CPU, or even periodically allocates the CPU resources, and the operating state of the secondary operating system is maintained.
Through implementing the system calling scheme, when the folding screen terminal deforms the folding screen, an independent operating system is independently given to each screen according to the number of the screens, so that the operation of each screen can be realized independently, and the user experience is improved.
The invention also provides a computer readable storage medium. The computer readable storage medium has stored thereon a system call program which, when executed by a processor, performs the steps as described above.
It should be noted that the above description of the terminal embodiment is similar to the description of the method embodiment, and has similar beneficial effects to the method embodiment. For technical details not disclosed in the terminal embodiments of the present invention, reference is made to the description of the method embodiments of the present invention for understanding.
It should be noted that, in the embodiment of the present invention, if the system call method is implemented in the form of a software functional module and sold or used as a standalone product, the system call method may also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computing device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, or an optical disk. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
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.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present invention or portions thereof contributing to the prior art 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 device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method described in the embodiments of the present invention.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A system calling method is applied to a terminal, the terminal comprises a folding device, a main operating system and a secondary operating system, the folding device is used for realizing the folding operation of the terminal, and the method comprises the following steps:
sending an interrupt message when the folding device is activated;
enabling the main operating system to start the secondary operating system according to the interrupt information;
calling the main operating system and the auxiliary operating system simultaneously based on a preset rule;
the step of calling the primary operating system and the secondary operating system based on the preset rule comprises the following steps:
detecting user operation data corresponding to the main operating system and the auxiliary operating system;
and calling the main operating system and the auxiliary operating system simultaneously according to the user operation data.
2. The system call method according to claim 1, wherein the terminal includes a flexible display screen, and the folder is located below the flexible display screen.
3. The system invoking method according to claim 1, wherein the folding device is a hinge device, and a pressure sensor is disposed in the hinge device, and the pressure sensor is configured to detect a pressure change during a deformation process of the hinge device.
4. The system call method according to claim 3, wherein the step of sending an interrupt message when the folder is activated specifically comprises:
and when the pressure detected by the pressure sensor is greater than a preset value, sending interrupt information to the main operating system.
5. The system call method according to claim 4, wherein the step of sending an interrupt message when the folder is activated specifically comprises:
and the main operating system stops the information input function of the main operating system according to the interrupt information.
6. The system call method of claim 1, wherein the secondary operating system comprises a system shell and user data, the system shell comprising a first system kernel, the first system kernel being different from a second system kernel of the primary operating system.
7. The system call method according to claim 1, wherein the step of calling the primary operating system and the secondary operating system based on a preset rule comprises:
and when the corresponding user operation data on the main operating system and the auxiliary operating system show that the operation frequency of the main operating system is higher than that of the auxiliary operating system, allocating a first system resource when the main operating system is called, and allocating a second system resource when the auxiliary operating system is called, wherein the first system resource is more than the second system resource.
8. A terminal, comprising a folding device, a main operating system, and a secondary operating system, wherein the folding device is configured to implement a folding operation of the terminal, the terminal further comprising at least: a memory, a communication bus, and a processor, wherein:
the memory is used for storing a system calling program;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute a system call program stored in the memory to implement the steps of the system call method according to any one of claims 1 to 7.
9. A computer readable storage medium having stored thereon a system call program which, when executed by a processor, implements the steps of the system call method as claimed in any one of claims 1 to 7.
CN201910242315.XA 2019-03-28 2019-03-28 System calling method, terminal and computer readable storage medium Active CN109947298B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910242315.XA CN109947298B (en) 2019-03-28 2019-03-28 System calling method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910242315.XA CN109947298B (en) 2019-03-28 2019-03-28 System calling method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109947298A CN109947298A (en) 2019-06-28
CN109947298B true CN109947298B (en) 2022-08-19

Family

ID=67012046

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910242315.XA Active CN109947298B (en) 2019-03-28 2019-03-28 System calling method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109947298B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110727486B (en) * 2019-08-30 2021-12-28 华为技术有限公司 Display method and electronic equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109144577A (en) * 2018-06-27 2019-01-04 努比亚技术有限公司 A kind of screen awakening method, terminal and computer readable storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2011202837B2 (en) * 2010-12-21 2013-08-22 Lg Electronics Inc. Mobile terminal and method of controlling a mode switching therein
KR101780052B1 (en) * 2011-08-24 2017-09-19 한국전자통신연구원 Method for switching the operating system in information processing system
CN103309549B (en) * 2012-03-13 2017-12-15 联想(北京)有限公司 A kind of method for being inputted and being shown and electronic equipment
US9851811B2 (en) * 2012-02-20 2017-12-26 Beijing Lenovo Software Ltd. Electronic device and method for controlling the same
CN104516782B (en) * 2014-12-26 2020-05-12 上海迈微软件科技有限公司 Method and equipment for switching operating environments of intelligent system
WO2016137105A1 (en) * 2015-02-27 2016-09-01 Samsung Electronics Co., Ltd. Device and method of running multiple operating systems
CN109391729A (en) * 2017-08-08 2019-02-26 中兴通讯股份有限公司 Mobile terminal operating system starts method and device
CN107635036B (en) * 2017-10-19 2019-09-10 Oppo广东移动通信有限公司 Interface display method, device, terminal and computer readable storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109144577A (en) * 2018-06-27 2019-01-04 努比亚技术有限公司 A kind of screen awakening method, terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN109947298A (en) 2019-06-28

Similar Documents

Publication Publication Date Title
CN108391025B (en) Network access management method, mobile terminal and computer readable storage medium
CN109144441B (en) Screen adjusting method, terminal and computer readable storage medium
CN112667181A (en) Screen projection method, screen projection equipment, screen projection control system and storage medium
CN108449513B (en) Interactive regulation and control method, equipment and computer readable storage medium
CN108958936B (en) Application program switching method, mobile terminal and computer readable storage medium
CN108121681B (en) Hot plug implementation method, terminal and storage medium
CN110198379B (en) Mobile terminal control method, mobile terminal, and computer-readable storage medium
CN112822538A (en) Screen projection display method, screen projection device, terminal and storage medium
CN108563388B (en) Screen operation method, mobile terminal and computer-readable storage medium
CN112040065A (en) Holding state prompting method, mobile terminal and computer storage medium
CN107729104B (en) Display method, mobile terminal and computer storage medium
CN111324407A (en) Animation display method, terminal and computer readable storage medium
CN107707755B (en) Key using method, terminal and computer readable storage medium
CN109725819B (en) Interface display method and device, double-screen double-system terminal and readable storage medium
CN109522276B (en) Application icon management method, terminal and computer-readable storage medium
CN108762709B (en) Terminal control method, terminal and computer readable storage medium
CN112888084A (en) Full-band communication method and device and mobile terminal
CN110187934B (en) Application control method, terminal and computer readable storage medium
CN112423211A (en) Multi-audio transmission control method, equipment and computer readable storage medium
CN109683796B (en) Interaction control method, equipment and computer readable storage medium
CN109684020B (en) Theme switching method, device and computer readable storage medium
CN110955397A (en) Method for setting frame rate of game terminal, game terminal and storage medium
CN109710168B (en) Screen touch method and device and computer readable storage medium
CN109151201B (en) Anti-addiction method, mobile terminal and computer storage medium
CN109947298B (en) System calling method, terminal 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