[go: up one dir, main page]

CN115033092B - Screen-off display control method, device, mobile device and computer storage medium - Google Patents

Screen-off display control method, device, mobile device and computer storage medium Download PDF

Info

Publication number
CN115033092B
CN115033092B CN202110243623.1A CN202110243623A CN115033092B CN 115033092 B CN115033092 B CN 115033092B CN 202110243623 A CN202110243623 A CN 202110243623A CN 115033092 B CN115033092 B CN 115033092B
Authority
CN
China
Prior art keywords
screen
operating system
display
mobile device
switching
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
CN202110243623.1A
Other languages
Chinese (zh)
Other versions
CN115033092A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202411395211.XA priority Critical patent/CN119440216A/en
Priority to CN202110243623.1A priority patent/CN115033092B/en
Publication of CN115033092A publication Critical patent/CN115033092A/en
Application granted granted Critical
Publication of CN115033092B publication Critical patent/CN115033092B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3215Monitoring of peripheral devices
    • G06F1/3218Monitoring of peripheral devices of display devices
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3265Power saving in display device
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling
    • 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

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Power Sources (AREA)

Abstract

本申请涉及一种熄屏显示控制方法、装置、移动设备、计算机可读存储介质。所述方法应用于移动设备,所述移动设备能够运行的操作系统包括第一操作系统和第二操作系统,所述移动设备运行所述第一操作系统的功耗大于运行所述第二操作系统的功耗;所述方法包括:在所述移动设备处于熄屏状态下,若所述移动设备满足熄屏显示条件,将所述移动设备的屏幕控制权切换为第二操作系统;在所述第二操作系统控制所述移动设备的屏幕的情况下,进行熄屏显示。在低功耗的操作系统下进行熄屏显示,避免了高功耗的操作系统因需要刷新屏幕而导致功耗大,可以降低功耗,延长移动设备的续航时长。

The present application relates to a screen-off display control method, device, mobile device, and computer-readable storage medium. The method is applied to a mobile device, and the operating systems that the mobile device can run include a first operating system and a second operating system, and the power consumption of the mobile device running the first operating system is greater than the power consumption of running the second operating system; the method includes: when the mobile device is in the screen-off state, if the mobile device meets the screen-off display condition, switching the screen control of the mobile device to the second operating system; when the second operating system controls the screen of the mobile device, performing screen-off display. Screen-off display in a low-power operating system avoids high power consumption due to the need to refresh the screen in a high-power operating system, which can reduce power consumption and extend the battery life of the mobile device.

Description

熄屏显示控制方法、装置、移动设备和计算机存储介质Screen-off display control method, device, mobile device and computer storage medium

技术领域Technical Field

本申请涉及移动设备领域,特别是涉及一种熄屏显示控制方法、装置、移动设备和计算机可读存储介质。The present application relates to the field of mobile devices, and in particular to a screen-off display control method, device, mobile device, and computer-readable storage medium.

背景技术Background Art

随着移动设备技术的发展,越来越多的移动设备在生活、工作和娱乐中得到广泛应用,如智能手机、智能手环、智能手表、智能眼镜等移动设备,极大便利了人们的生活。AOD(Always On Display,熄屏显示),目前已经广泛应用到移动设备上。熄屏显示技术使得设备熄屏过程中可以只点亮部分屏幕来显示时间等用户常用信息,从而减少用户因频繁点亮屏幕而带来的功耗增加。With the development of mobile device technology, more and more mobile devices are widely used in life, work and entertainment, such as smart phones, smart bracelets, smart watches, smart glasses and other mobile devices, which greatly facilitate people's lives. AOD (Always On Display) has been widely used in mobile devices. The screen-off display technology allows the device to light up only part of the screen to display the time and other commonly used information of the user during the screen-off process, thereby reducing the power consumption caused by the user frequently lighting up the screen.

相关技术中,在移动设备AOD界面显示过程,系统需要不断刷新屏幕显示内容,会让系统一直处于唤醒状态,无法进入休眠状态,在AOD显示过程中移动设备待机电流比较大,导致耗电比较大,移动设备续航时长短。In the related technology, during the AOD interface display process of the mobile device, the system needs to continuously refresh the screen display content, which will keep the system in an awake state and unable to enter a sleep state. During the AOD display process, the standby current of the mobile device is relatively large, resulting in relatively large power consumption and a short battery life of the mobile device.

发明内容Summary of the invention

本申请实施例提供了一种熄屏显示控制方法、装置、移动设备、计算机可读存储介质,可以降低功耗,延长移动设备的续航时长。The embodiments of the present application provide a screen-off display control method, device, mobile device, and computer-readable storage medium, which can reduce power consumption and extend the battery life of the mobile device.

一种熄屏显示控制方法,应用于移动设备,所述移动设备能够运行的操作系统包括第一操作系统和第二操作系统,所述移动设备运行所述第一操作系统的功耗大于运行所述第二操作系统的功耗;所述方法包括:A screen-off display control method is applied to a mobile device, wherein the operating systems that can be run by the mobile device include a first operating system and a second operating system, and the power consumption of the mobile device running the first operating system is greater than the power consumption of the mobile device running the second operating system; the method comprises:

在所述移动设备处于熄屏状态下,若所述移动设备满足熄屏显示条件,将所述移动设备的屏幕控制权切换为第二操作系统;When the mobile device is in a screen-off state, if the mobile device meets a screen-off display condition, switching the screen control right of the mobile device to the second operating system;

在所述目标操作系统控制所述移动设备的屏幕的情况下,进行熄屏显示。In the case where the target operating system controls the screen of the mobile device, the screen is turned off for display.

一种熄屏显示控制方法,应用于移动设备,所述移动设备能够运行至少两个操作系统,所述方法包括:A screen-off display control method is applied to a mobile device, wherein the mobile device can run at least two operating systems, and the method comprises:

在所述移动设备处于熄屏状态下,若所述移动设备满足熄屏显示条件,将所述移动设备的屏幕控制权切换为目标操作系统,所述目标操作系统为所述至少两个操作系统中除功耗最高外的其他任一操作系统;When the mobile device is in a screen-off state, if the mobile device meets a screen-off display condition, switching the screen control right of the mobile device to a target operating system, where the target operating system is any other operating system among the at least two operating systems except the one with the highest power consumption;

在所述目标操作系统控制所述移动设备的屏幕的情况下,进行熄屏显示。In the case where the target operating system controls the screen of the mobile device, the screen is turned off for display.

一种熄屏显示控制装置,应用于移动设备,所述移动设备能够运行的操作系统包括第一操作系统和第二操作系统,所述移动设备运行所述第一操作系统的功耗大于运行所述第二操作系统的功耗;所述方法包括:A screen-off display control device is applied to a mobile device, wherein the operating systems that can be run by the mobile device include a first operating system and a second operating system, and the power consumption of the mobile device running the first operating system is greater than the power consumption of the mobile device running the second operating system; the method comprises:

切换控制模块,用于在所述移动设备处于熄屏状态下,若所述移动设备满足熄屏显示条件,将所述移动设备的屏幕控制权切换为第二操作系统;A switching control module, configured to switch the screen control right of the mobile device to a second operating system when the mobile device is in a screen-off state and the mobile device meets a screen-off display condition;

显示控制模块,用于在所述目标操作系统控制所述移动设备的屏幕的情况下,进行熄屏显示。The display control module is used to turn off the screen when the target operating system controls the screen of the mobile device.

一种熄屏显示控制装置,应用于移动设备,所述移动设备能够运行至少两个操作系统,所述装置包括:A screen-off display control device is applied to a mobile device, the mobile device can run at least two operating systems, and the device includes:

切换控制模块,用于在所述移动设备处于熄屏状态下,若所述移动设备满足熄屏显示条件,将所述移动设备的屏幕控制权切换为目标操作系统,所述目标操作系统为所述至少两个操作系统中除功耗最高外的其他任一操作系统;;A switching control module, configured to switch the screen control right of the mobile device to a target operating system when the mobile device is in a screen-off state and the mobile device meets a screen-off display condition, wherein the target operating system is any other operating system among the at least two operating systems except the one with the highest power consumption;

显示控制模块,用于在所述移动设备运行所述目标操作系统的情况下,进行熄屏显示。The display control module is used to turn off the screen when the mobile device runs the target operating system.

一种移动设备,包括存储器及处理器,所述存储器中储存有计算机程序,其特征在于,所述计算机程序被所述处理器执行时,使得所述处理器执行上述熄屏显示控制方法的步骤。A mobile device includes a memory and a processor, wherein the memory stores a computer program, and is characterized in that when the computer program is executed by the processor, the processor executes the steps of the above-mentioned screen-off display control method.

一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述熄屏显示控制方法的步骤。A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the above-mentioned screen-off display control method.

本申请实施例提供的熄屏显示控制方法、装置、移动设备、计算机可读存储介质,应用于能够运行至少两个操作系统的移动设备上,在移动设备处于熄屏状态下,检测到移动设备满足熄屏显示条件,将移动设备的屏幕控制权切换至第二操作系统,并在第二操作系统下进行熄屏显示,避免了在功耗高的第一操作系统下刷新屏幕而导致功耗大,降低了功耗,延长了移动设备的续航时长。The screen-off display control method, device, mobile device, and computer-readable storage medium provided in the embodiments of the present application are applied to a mobile device capable of running at least two operating systems. When the mobile device is in the screen-off state, it is detected that the mobile device meets the screen-off display condition, and the screen control of the mobile device is switched to the second operating system, and the screen is displayed off in the second operating system, thereby avoiding high power consumption caused by refreshing the screen in the first operating system with high power consumption, reducing power consumption, and extending the battery life of the mobile device.

本申请实施例提供的熄屏显示控制方法、装置、移动设备、计算机可读存储介质,应用于能够运行至少两个操作系统的移动设备上,在移动设备熄屏状态下,检测移动设备是否满足熄屏显示条件,当满足熄屏显示条件时,将移动设备的屏幕控制权切换至除功耗最高外的其他任一操作系统,并在目标操作系统下进行熄屏显示,避免了功耗最高操作因需要刷新屏幕而导致功耗大,降低了功耗,延长了移动设备的续航时长。The screen-off display control method, device, mobile device, and computer-readable storage medium provided in the embodiments of the present application are applied to a mobile device capable of running at least two operating systems. When the mobile device is in the screen-off state, it is detected whether the mobile device meets the screen-off display condition. When the screen-off display condition is met, the screen control of the mobile device is switched to any other operating system except the one with the highest power consumption, and the screen is displayed off under the target operating system, thereby avoiding high power consumption due to the need to refresh the screen in the operation with the highest power consumption, reducing power consumption, and extending the battery life of the mobile device.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

图1为一个实施例中熄屏显示控制方法的应用环境图;FIG1 is a diagram showing an application environment of a method for controlling screen-off display in one embodiment;

图2为一个实施例中熄屏显示控制方法的流程图;FIG2 is a flow chart of a method for controlling screen-off display in one embodiment;

图3为一个实施例中熄屏显示配置信息设置界面示意图;FIG3 is a schematic diagram of an interface for setting screen-off display configuration information in one embodiment;

图4为一个实施例中移动设备AOD节电显示控制示意图;FIG4 is a schematic diagram of AOD power saving display control for a mobile device in one embodiment;

图5为另一个实施例中熄屏显示控制方法的流程图;FIG5 is a flow chart of a method for controlling screen-off display in another embodiment;

图6为一个实施例中熄屏显示控制装置的结构框图;FIG6 is a structural block diagram of a screen-off display control device in one embodiment;

图7为另一个实施例中熄屏显示控制装置的结构框图;FIG7 is a structural block diagram of a screen-off display control device in another embodiment;

图8为另一个实施例中熄屏显示控制装置的结构框图;FIG8 is a structural block diagram of a screen-off display control device in another embodiment;

图9为一个实施例中移动设备的内部结构示意图。FIG. 9 is a schematic diagram of the internal structure of a mobile device in one embodiment.

具体实施方式DETAILED DESCRIPTION

为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

可以理解,本申请所使用的术语“第一”、“第二”等可在本文中用于描述各种元件,但这些元件不受这些术语限制。这些术语仅用于将第一个元件与另一个元件区分。举例来说,在不脱离本申请的范围的情况下,可以将第一客户端称为第二客户端,且类似地,可将第二客户端称为第一客户端。第一客户端和第二客户端两者都是客户端,但其不是同一客户端。It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first client may be referred to as a second client, and similarly, a second client may be referred to as a first client. Both the first client and the second client are clients, but they are not the same client.

图1为一个实施例中熄屏显示控制方法的应用环境示意图。如图1所示,该应用环境包括移动设备100。移动设备100能够运行至少两个操作系统,且至少两个操作系统共用同一屏幕。移动设备100包括至少两个处理器,一个处理器运行一个操作系统。以移动设备100运行第一操作系统和第二操作系统为例,移动设备100运行第一操作系统的功耗大于运行第二操作系统的功耗。移动设备100通过接收用户按键触发的熄屏指令或自动熄屏指令后,进入熄屏状态,检测是否满足熄屏显示条件,在移动设备100满足熄屏显示条件的情况下,将移动设备100的屏幕控制权从第一操作系统切换为第二操作系统,然后在第二操作系统控制移动设备的屏幕的情况下,进行熄屏显示,,如此在功耗低的操作系统控制屏幕下进行熄屏显示,避免了高功耗操作系统下进行熄屏显示刷新屏幕而导致功耗高的问题,降低了功耗,延长了移动设备的续航时长。移动设备100可以智能手机、平板电脑或穿戴式设备等。穿戴式设备可为智能手表、智能手环、智能眼镜等包含至少两个操作系统的穿戴式设备。FIG1 is a schematic diagram of an application environment of a screen-off display control method in an embodiment. As shown in FIG1 , the application environment includes a mobile device 100. The mobile device 100 can run at least two operating systems, and at least two operating systems share the same screen. The mobile device 100 includes at least two processors, one processor running one operating system. Taking the mobile device 100 running the first operating system and the second operating system as an example, the power consumption of the mobile device 100 running the first operating system is greater than the power consumption of running the second operating system. After receiving the screen-off instruction or the automatic screen-off instruction triggered by the user's key, the mobile device 100 enters the screen-off state, detects whether the screen-off display condition is met, and switches the screen control right of the mobile device 100 from the first operating system to the second operating system when the mobile device 100 meets the screen-off display condition, and then performs screen-off display when the second operating system controls the screen of the mobile device. In this way, the screen is off-screen displayed under the control of the low-power operating system, avoiding the problem of high power consumption caused by refreshing the screen when the screen is off-screen displayed under the high-power operating system, reducing power consumption, and extending the battery life of the mobile device. The mobile device 100 can be a smart phone, a tablet computer, or a wearable device. The wearable device may be a wearable device such as a smart watch, a smart bracelet, or a smart glasses that includes at least two operating systems.

图2为一个实施例中熄屏显示控制方法的流程图。本实施例中的熄屏显示控制方法,以运行于图1中的移动设备上为例进行描述。如图2所示,一种熄屏显示控制方法包括步骤202至步骤204。FIG2 is a flow chart of a method for controlling screen-off display in an embodiment. The method for controlling screen-off display in this embodiment is described by taking the method running on the mobile device in FIG1 as an example. As shown in FIG2 , a method for controlling screen-off display includes steps 202 to 204 .

步骤202,在移动设备处于熄屏状态下,若该移动设备满足熄屏显示条件,将该移动设备的屏幕控制权切换为第二操作系统。Step 202: when the mobile device is in a screen-off state, if the mobile device meets a screen-off display condition, the screen control right of the mobile device is switched to the second operating system.

熄屏状态是指移动设备的屏幕熄灭。移动设备接收熄屏指令,根据该熄屏指令控制屏幕熄屏,进入熄屏状态。熄屏指令可为移动设备超时自动产生的熄屏指令或移动设备接收用户主动操作产生的熄屏指令。移动设备超时自动产生熄屏指令包括:预先设置熄屏时长阈值,当移动设备检测达到该熄屏时长阈值未接收到触发信号,则产生熄屏指令。移动设备接收用户主动操作产生的熄屏指令包括:移动设备接收到用户触发操作或语音操作产生的熄屏指令。该触发操作可包括对电源键的操作,或者对屏幕上熄屏控件的触发操作,或者对音量按键的操作等。语音操作产生的熄屏指令可包括移动设备接收用户发出的语音信息,对语音信息进行识别得到对应的语音熄屏指令,例如用户说话为“小y,请熄屏”,移动设备的语音助手对该语句进行识别,产生熄屏指令。The screen-off state means that the screen of the mobile device is off. The mobile device receives a screen-off instruction, controls the screen to be off according to the screen-off instruction, and enters the screen-off state. The screen-off instruction may be a screen-off instruction automatically generated by the mobile device when it times out, or a screen-off instruction generated by the mobile device receiving an active operation of the user. The screen-off instruction automatically generated by the mobile device when it times out includes: presetting a screen-off duration threshold, and when the mobile device detects that the screen-off duration threshold is reached without receiving a trigger signal, the screen-off instruction is generated. The screen-off instruction generated by the mobile device receiving an active operation of the user includes: the mobile device receives a screen-off instruction generated by a user trigger operation or a voice operation. The trigger operation may include an operation on the power button, or a trigger operation on the screen-off control on the screen, or an operation on the volume button, etc. The screen-off instruction generated by the voice operation may include the mobile device receiving a voice message sent by the user, recognizing the voice message to obtain a corresponding voice screen-off instruction, for example, the user speaks "Xiaoy, please turn off the screen", and the voice assistant of the mobile device recognizes the sentence and generates a screen-off instruction.

移动设备根据熄屏指令控制屏幕熄屏,可以通过监听应用监听熄屏广播消息通知,当接收到熄屏广播消息通知,确定屏幕进入熄屏状态。The mobile device controls the screen to turn off according to the screen-off instruction, and can monitor the screen-off broadcast message notification through the monitoring application. When the screen-off broadcast message notification is received, it is determined that the screen enters the screen-off state.

熄屏显示条件可预先根据需要设置,通常可设置是否允许进行熄屏显示、允许熄屏显示的时间范围等,不限于此。The screen-off display conditions can be set in advance as needed. Usually, it can be set whether the screen-off display is allowed, the time range for allowing the screen-off display, etc., but it is not limited to this.

具体地,当移动设备检测到熄屏指令后,控制屏幕熄屏进入熄屏状态,然后检测自身是否满足熄屏显示条件。Specifically, when the mobile device detects the screen-off instruction, it controls the screen to be turned off and enter the screen-off state, and then detects whether it meets the screen-off display conditions.

移动设备上能够同时运行至少两个操作系统,通常功能多且性能强的操作系统运行时功耗高。至少两个操作系统包括第一操作系统和第二操作系统。移动设备运行第一操作系统的功耗大于运行第二操作系统的功耗。At least two operating systems can be run on a mobile device at the same time. Usually, operating systems with multiple functions and strong performance consume more power when running. The at least two operating systems include a first operating system and a second operating system. The power consumption of the mobile device running the first operating system is greater than the power consumption of the second operating system.

至少两个操作系统可包括Android(安卓)操作系统、Linux操作系统、RTOS(RealTime Operating System,实时操作系统)操作系统等。其中,Android操作系统和Linux操作系统能够提供丰富的功能,且性能强,功耗高。RTOS操作系统能够提供简单的功能,功耗低。例如,第一操作系统为Android操作系统,第二操作系统为RTOS操作系统。At least two operating systems may include an Android operating system, a Linux operating system, an RTOS (Real Time Operating System) operating system, etc. Among them, the Android operating system and the Linux operating system can provide rich functions, strong performance, and high power consumption. The RTOS operating system can provide simple functions and low power consumption. For example, the first operating system is an Android operating system, and the second operating system is an RTOS operating system.

移动设备上多个操作系统共用同一屏幕,一个处理器对应运行一个操作系统,同一时刻只能有一个处理器具有屏幕的控制权,只有获得屏幕控制权的操作系统才可以显示内容在屏幕上,为了实现熄屏显示节省功耗,当满足熄屏显示条件后,将屏幕控制权切换至功耗较小的目标操作系统。Multiple operating systems on a mobile device share the same screen. One processor runs one operating system. Only one processor can have control of the screen at the same time. Only the operating system that obtains control of the screen can display content on the screen. In order to save power by turning off the screen, when the conditions for turning off the screen are met, the screen control is switched to the target operating system with lower power consumption.

当移动设备上运行有三个或三个以上操作系统时,可以比较各个操作系统运行时功耗,然后按照功耗从大到小或从小到大对操作系统进行排序,然后按照功耗选取目标操作系统,该目标操作系统的功耗不是功耗最高的操作系统。When three or more operating systems are running on a mobile device, the power consumption of each operating system can be compared, and then the operating systems can be sorted from large to small or from small to large according to the power consumption, and then a target operating system is selected according to the power consumption, and the power consumption of the target operating system is not the highest power consumption operating system.

当移动设备上运行第一操作系统和第二操作系统时,将功耗小的第二操作系统作为目标操作系统。When the first operating system and the second operating system are running on the mobile device, the second operating system with low power consumption is used as the target operating system.

可以通过屏幕驱动实现屏幕控制权的切换,将通过屏幕驱动将屏幕控制权移交给目标操作系统。The screen control right can be switched through the screen driver, and the screen control right can be transferred to the target operating system through the screen driver.

步骤204,在第二操作系统控制移动设备的屏幕的情况下,进行熄屏显示。Step 204, when the second operating system controls the screen of the mobile device, the screen is turned off.

熄屏显示是指在熄屏状态下显示熄屏内容。熄屏内容可以预设内容,也可以为系统默认内容。预设内容可为用户预先设置的需要在熄屏下显示的内容,如时间、天气等。系统默认内容可为系统配置的内容,如时间等。在目标操作系统控制屏幕的情况下,绘制AOD界面实现熄屏显示,并进行屏幕显示内容刷新操作。刷新操作可通过LVGL库控制完成。此外,可以关闭或休眠第一操作系统。Off-screen display refers to displaying the off-screen content in the off-screen state. The off-screen content can be preset content or system default content. The preset content can be the content that the user pre-sets to be displayed when the screen is off, such as time, weather, etc. The system default content can be the content configured by the system, such as time, etc. When the target operating system controls the screen, the AOD interface is drawn to realize the off-screen display, and the screen display content is refreshed. The refresh operation can be completed through the LVGL library control. In addition, the first operating system can be shut down or hibernated.

在一个实施例中,可检测屏幕中变化的区域,对变化的区域进行刷新,对没有变化的区域不进行刷新。In one embodiment, the changed areas in the screen may be detected, and the changed areas may be refreshed, while the unchanged areas may not be refreshed.

本实施例中,熄屏显示控制应用于能够运行至少两个操作系统的移动设备上,在移动设备熄屏状态下,在移动设备处于熄屏状态下,检测到移动设备满足熄屏显示条件,将移动设备的屏幕控制权切换至第二操作系统,并在第二操作系统下进行熄屏显示,避免了在功耗高的第一操作系统下刷新屏幕而导致功耗大,降低了功耗,延长了移动设备的续航时长。In this embodiment, the screen-off display control is applied to a mobile device that can run at least two operating systems. When the mobile device is in the screen-off state, it is detected that the mobile device meets the screen-off display condition, and the screen control of the mobile device is switched to the second operating system. The screen is displayed off in the second operating system, avoiding high power consumption caused by refreshing the screen in the high-power first operating system, reducing power consumption, and extending the battery life of the mobile device.

在本申请的一个可选实施例中,上述熄屏显示条件可包括熄屏显示时间范围。步骤202中的若所述移动设备满足熄屏显示条件,将所述移动设备的屏幕控制权切换为第二操作系统,包括:若检测到当所述当前时刻处于所述熄屏显示时间范围内,则将所述移动设备的屏幕控制权切换为第二操作系统。In an optional embodiment of the present application, the screen-off display condition may include a screen-off display time range. If the mobile device satisfies the screen-off display condition in step 202, the screen control right of the mobile device is switched to the second operating system, including: if it is detected that the current moment is within the screen-off display time range, the screen control right of the mobile device is switched to the second operating system.

熄屏显示时间范围是指预先设置的熄屏显示的时间区间,包括熄屏显示开始时刻和熄屏显示结束时刻。通常熄屏显示时间范围可由用户自定义设置,例如一天中的熄屏显示时间范围为7时00分至21时30分、8时10分至21时30分等,不限于此。熄屏显示时间范围若未设定具体时段,则可默认为任意时刻。The screen off display time range refers to the pre-set screen off display time interval, including the screen off display start time and the screen off display end time. Usually the screen off display time range can be customized by the user, for example, the screen off display time range in a day is 7:00 to 21:30, 8:10 to 21:30, etc., but not limited to this. If the screen off display time range is not set for a specific period, it can be defaulted to any time.

当前时刻可为移动设备进入熄屏状态的时刻,或者进入熄屏状态后过预设时长的时刻等。移动设备进入熄屏状态后,检测当前时刻是否处于熄屏显示时间范围内,即将当前时刻与熄屏显示时间范围的开始时刻和结束时刻分别进行比较,判断当前时刻是否大于开始时刻,小于结束时刻,当当前时刻大于或等于开始时刻且小于或等于结束时刻,则该当前时刻处于熄屏显示时间范围内,表示移动设备满足熄屏显示条件;当该当前时刻小于开始时刻或大于结束时刻,则当前时间不在熄屏显示时间范围内,则表示移动设备不满足熄屏显示条件。The current time may be the time when the mobile device enters the screen-off state, or the time after a preset time has passed after entering the screen-off state, etc. After the mobile device enters the screen-off state, it detects whether the current time is within the screen-off display time range, that is, the current time is compared with the start time and the end time of the screen-off display time range, respectively, to determine whether the current time is greater than the start time and less than the end time. When the current time is greater than or equal to the start time and less than or equal to the end time, the current time is within the screen-off display time range, indicating that the mobile device meets the screen-off display condition; when the current time is less than the start time or greater than the end time, the current time is not within the screen-off display time range, indicating that the mobile device does not meet the screen-off display condition.

本实施例中,通过移动设备进入熄屏状态后获取当前时刻,并将当前时刻与熄屏显示时间范围进行比较,从而可以快速的确定移动设备是否满足熄屏显示条件。In this embodiment, the current time is obtained after the mobile device enters the screen-off state, and the current time is compared with the screen-off display time range, so as to quickly determine whether the mobile device meets the screen-off display condition.

在本申请的一个可选实施例中,上述熄屏显示条件除了包括熄屏显示时间范围,还可包括熄屏显示功能开关的状态。步骤202,若所述移动设备满足熄屏显示条件,将所述移动设备的屏幕控制权切换为第二操作系统包括:若该熄屏显示功能开关处于打开状态且当前时刻处于所述熄屏显示时间范围内,则将该移动设备的屏幕控制权切换为第二操作系统。In an optional embodiment of the present application, the above-mentioned screen-off display condition may include not only the screen-off display time range, but also the state of the screen-off display function switch. Step 202, if the mobile device meets the screen-off display condition, switching the screen control right of the mobile device to the second operating system includes: if the screen-off display function switch is in the on state and the current moment is within the screen-off display time range, switching the screen control right of the mobile device to the second operating system.

在检测当前时刻是否处于熄屏显示时间范围内之前,该熄屏显示控制方法还包括:检测熄屏显示功能开关的状态;当该熄屏显示功能开关处于关闭状态,则表示移动设备不满足熄屏显示条件;当该熄屏显示功能开关处于打开状态,则继续执行该检测当前时刻是否处于熄屏显示时间范围内的步骤。Before detecting whether the current moment is within the screen-off display time range, the screen-off display control method also includes: detecting the state of the screen-off display function switch; when the screen-off display function switch is in the off state, it indicates that the mobile device does not meet the screen-off display conditions; when the screen-off display function switch is in the on state, continuing to execute the step of detecting whether the current moment is within the screen-off display time range.

具体地,预先设置熄屏显示功能开关,当熄屏显示功能开关打开时,表示允许进行熄屏显示,当熄屏显示功能开关关闭时,表示不允许进行熄屏显示。Specifically, a screen-off display function switch is pre-set. When the screen-off display function switch is turned on, it means that the screen-off display is allowed. When the screen-off display function switch is turned off, it means that the screen-off display is not allowed.

移动设备在接收熄屏指令控制屏幕熄屏,进入熄屏状态后,先检测熄屏显示功能开关的状态,当熄屏显示功能开关处于打开状态,表示允许进行熄屏显示,然后继续检测当前时刻是否处于熄屏显示时间范围内,当该当前时刻处于该熄屏显示时间范围内,则表示移动设备满足熄屏显示条件;当该当前时间不处于该熄屏显示时间范围内,则表示移动设备不满足熄屏显示条件。当熄屏显示功能开关处于关闭状态,表示不允许进行熄屏显示,则直接保持正常熄屏。After receiving the screen-off instruction to control the screen to turn off, the mobile device enters the screen-off state and first detects the state of the screen-off display function switch. When the screen-off display function switch is in the on state, it indicates that the screen-off display is allowed, and then continues to detect whether the current time is within the screen-off display time range. When the current time is within the screen-off display time range, it indicates that the mobile device meets the screen-off display condition; when the current time is not within the screen-off display time range, it indicates that the mobile device does not meet the screen-off display condition. When the screen-off display function switch is in the off state, it indicates that the screen-off display is not allowed, and the screen is directly turned off normally.

通过设置熄屏显示功能开关,方便用户灵活控制熄屏显示功能,根据个人需求进行打开或关闭,熄屏显示功能控制更加灵活。By setting the off-screen display function switch, users can flexibly control the off-screen display function and turn it on or off according to personal needs, making the off-screen display function more flexible to control.

在本申请的一个可选实施例中,该熄屏显示控制方法还包括:在该移动设备的屏幕控制权属于第一操作系统的情况下,获取输入的熄屏显示配置信息,该熄屏显示配置信息包括熄屏显示功能开关的状态和熄屏显示时间范围;该第一操作系统将该熄屏显示配置信息传输给该第二操作系统。In an optional embodiment of the present application, the screen off display control method also includes: when the screen control of the mobile device belongs to the first operating system, obtaining input screen off display configuration information, the screen off display configuration information including the status of the screen off display function switch and the screen off display time range; the first operating system transmits the screen off display configuration information to the second operating system.

移动设备的双系统是基于两个处理器芯片的硬件架构,每个处理器运行一个独立操作系统,两个操作系统间互相交互,完成硬件设备的功能。在移动设备的双系统架构中,第一操作系统为大核系统,第二操作系统为小核系统。大核系统属于双系统架构中的主处理器系统,一般可包括Android操作系统、Linux操作系统等操作系统。小核系统属于双系统架构中的从处理器系统,一般可包括RTOS操作系统。第一操作系统和第二操作系统可以通过双核通讯方式进行通讯。双核通讯方式是两个操作系统之间实现数据交互的一种通讯方式。在一个实施例中,对于大核系统存在休眠和唤醒状态栏,对于小核系统则一直处于唤醒状态。The dual system of a mobile device is a hardware architecture based on two processor chips. Each processor runs an independent operating system, and the two operating systems interact with each other to complete the functions of the hardware device. In the dual system architecture of a mobile device, the first operating system is a large core system, and the second operating system is a small core system. The large core system belongs to the main processor system in the dual system architecture, and generally may include operating systems such as Android operating system and Linux operating system. The small core system belongs to the slave processor system in the dual system architecture, and generally may include an RTOS operating system. The first operating system and the second operating system can communicate through a dual-core communication method. The dual-core communication method is a communication method for realizing data interaction between two operating systems. In one embodiment, there are sleep and wake-up status bars for the large core system, and the small core system is always in the wake-up state.

在第一操作系统控制移动设备的屏幕情况下,获取在第一操作系统的熄屏显示配置界面输入的熄屏显示配置信息,该熄屏显示配置信息包括熄屏显示功能开关的状态和熄屏显示时间范围。如图3所示,在第一操作系统控制移动设备屏幕下,在设置控件-显示与亮度-熄屏时钟处进行设置,在熄屏时钟处显示有熄屏显示功能开关,打开开关,会显示AOD时间设置项,用户通过键盘等输入AOD时间段,如9时00分至21时00分。如果未设置时间,则默认任何时间都允许。When the first operating system controls the screen of the mobile device, the screen-off display configuration information input in the screen-off display configuration interface of the first operating system is obtained, and the screen-off display configuration information includes the state of the screen-off display function switch and the screen-off display time range. As shown in Figure 3, when the first operating system controls the screen of the mobile device, the setting is performed in the setting control-display and brightness-screen-off clock. The screen-off display function switch is displayed at the screen-off clock. When the switch is turned on, the AOD time setting item will be displayed, and the user enters the AOD time period through the keyboard, such as 9:00 to 21:00. If the time is not set, any time is allowed by default.

在第一操作系统控制屏幕的情况下具有配置熄屏显示配置信息的权限,方便用户配置,满足个性化需求,确保配置权限的稳定性,提高安全性,避免配置权限混乱。When the first operating system controls the screen, it has the authority to configure the configuration information displayed when the screen is off, which is convenient for user configuration, meets personalized needs, ensures the stability of configuration permissions, improves security, and avoids confusion in configuration permissions.

在本申请的一个可选实施例中,该熄屏配置信息还包括熄屏显示内容;In an optional embodiment of the present application, the screen-off configuration information also includes screen-off display content;

该进行熄屏显示包括:在该移动设备的屏幕上显示该熄屏显示内容。The performing screen-off display includes: displaying the screen-off display content on the screen of the mobile device.

其中,熄屏显示内容即AOD界面显示内容,可根据用户需要配置,如可为时间、天气、PM值等。天气可包括类型、气温、湿度等至少一种。类型可为晴、阴、雨、雪等,可以采用对应的图标显示。气温可为当地温度,如20摄氏度等。Among them, the off-screen display content, i.e., the AOD interface display content, can be configured according to user needs, such as time, weather, PM value, etc. The weather may include at least one of type, temperature, humidity, etc. The type may be sunny, cloudy, rainy, snowy, etc., and may be displayed using corresponding icons. The temperature may be the local temperature, such as 20 degrees Celsius, etc.

在本申请的一个可选实施例中,系统可提供多个熄屏显示内容供用户选择,第一操作系统获取用户选择的熄屏显示内容,并将该熄屏显示内容发送给第二操作系统。In an optional embodiment of the present application, the system may provide multiple off-screen display contents for the user to select, the first operating system obtains the off-screen display content selected by the user, and sends the off-screen display content to the second operating system.

在本申请的一个可选实施例中,每个熄屏显示内容可对应唯一的内容标号,第一操作系统获取用户选择的目标内容标号,并将该目标内容标号发送给第二操作系统,在熄屏显示时,第二操作系统根据该目标内容标识获取对应的熄屏显示内容进行熄屏显示。通过将内容标号发送给第二操作系统,可以减少第一操作系统和第二操作系统之间通讯的数据传输量,节省系统资源。In an optional embodiment of the present application, each off-screen display content may correspond to a unique content label, the first operating system obtains the target content label selected by the user, and sends the target content label to the second operating system, when the screen is off, the second operating system obtains the corresponding off-screen display content according to the target content identifier and displays it off. By sending the content label to the second operating system, the amount of data transmission between the first operating system and the second operating system can be reduced, saving system resources.

在本申请的一个可选实施例中,该至少两个操作系统包括第一操作系统和第二操作系统,该移动设备运行该第一操作系统的功耗大于运行该第二操作系统的功耗;该目标操作系统为该第二操作系统;In an optional embodiment of the present application, the at least two operating systems include a first operating system and a second operating system, and the power consumption of the mobile device running the first operating system is greater than the power consumption of the mobile device running the second operating system; the target operating system is the second operating system;

步骤204中的将该移动设备的屏幕控制权切换为第二操作系统,包括:该第一操作系统发送屏幕控制权的切换指令,并接收与该切换指令对应的切换结果,该切换结果为根据该切换指令将该移动设备的屏幕控制权从该第一操作系统切换为该第二操作系统的切换结果;该第一操作系统在确定该切换结果为屏幕控制权切换成功后,发送屏幕切换成功消息给该第二操作系统,由该第二操作系统控制该移动设备的屏幕。Switching the screen control of the mobile device to the second operating system in step 204 includes: the first operating system sends a switching instruction for screen control, and receives a switching result corresponding to the switching instruction, the switching result being a switching result of switching the screen control of the mobile device from the first operating system to the second operating system according to the switching instruction; after the first operating system determines that the switching result is a successful screen control switch, the first operating system sends a screen switching success message to the second operating system, and the second operating system controls the screen of the mobile device.

在移动设备满足熄屏显示条件的情况下,第一操作系统向屏幕驱动发送屏幕控制权的切换指令;屏幕驱动根据切换指令将第一操作系统的屏幕控制权移交给第二操作系统,得到切换结果,并将切换结果返回给第一操作系统;第一操作系统在确定切换结果为屏幕控制权切换成功后,发送屏幕切换成功消息给第二操作系统,由第二操作系统控制该移动设备的屏幕。When the mobile device meets the conditions for turning off the screen, the first operating system sends a switching instruction for screen control to the screen driver; the screen driver transfers the screen control of the first operating system to the second operating system according to the switching instruction, obtains the switching result, and returns the switching result to the first operating system; after determining that the switching result is that the screen control is successfully switched, the first operating system sends a screen switching success message to the second operating system, and the second operating system controls the screen of the mobile device.

在一个可选的实施例中,屏幕驱动返回屏幕切换参数给第一操作系统,该屏幕切换参数用于表征屏幕控制权的归属。第一操作系统根据屏幕切换参数确定屏幕切换成功,则发送屏幕切换成功消息给第二操作系统,由第二操作系统控制该移动设备的屏幕。In an optional embodiment, the screen driver returns a screen switching parameter to the first operating system, and the screen switching parameter is used to characterize the ownership of the screen control right. The first operating system determines that the screen switching is successful according to the screen switching parameter, and then sends a screen switching success message to the second operating system, and the second operating system controls the screen of the mobile device.

在一个可选的实施例中,第一操作系统对应的第一处理器和第二操作系统对应的第二处理器可以通过屏幕控制开关与屏幕相连。在同一时刻,只有一个处理器通过屏幕控制开关与屏幕相连,此时,通过屏幕控制开关与屏幕相连的处理器所运行的操作系统获取屏幕控制权。在移动设备满足熄屏显示条件的情况下,第一操作系统向屏幕控制开关发送屏幕控制权的切换指令;屏幕控制开关根据切换指令将第一操作系统的屏幕控制权移交给第二操作系统,即屏幕控制开关控制第二处理器与屏幕相连,得到切换结果,并将切换结果返回给第一操作系统;第一操作系统在确定切换结果为屏幕控制权切换成功后,发送屏幕切换成功消息给第二操作系统,由第二操作系统控制该移动设备的屏幕。In an optional embodiment, the first processor corresponding to the first operating system and the second processor corresponding to the second operating system can be connected to the screen through a screen control switch. At the same time, only one processor is connected to the screen through the screen control switch. At this time, the operating system run by the processor connected to the screen through the screen control switch obtains the screen control right. When the mobile device meets the screen off display condition, the first operating system sends a switching instruction for the screen control right to the screen control switch; the screen control switch transfers the screen control right of the first operating system to the second operating system according to the switching instruction, that is, the screen control switch controls the second processor to connect to the screen, obtains the switching result, and returns the switching result to the first operating system; after determining that the switching result is that the screen control right is successfully switched, the first operating system sends a screen switching success message to the second operating system, and the second operating system controls the screen of the mobile device.

在一个可选的实施例中,屏幕控制开关返回屏幕切换参数给第一操作系统,该屏幕切换参数用于表征屏幕控制权的归属。In an optional embodiment, the screen control switch returns a screen switching parameter to the first operating system, where the screen switching parameter is used to indicate ownership of the screen control right.

在本申请的一个可选实施例中,在该进行熄屏显示后,该方法还包括:在检测到该移动设备满足熄屏显示退出条件的情况下,退出熄屏显示。In an optional embodiment of the present application, after the screen-off display is performed, the method further includes: exiting the screen-off display when it is detected that the mobile device meets the screen-off display exit condition.

其中,熄屏显示退出条件可根据需要设置,通常熄屏显示退出条件可包括主动退出条件和被动退出条件。主动退出条件是指与熄屏显示控制相关的条件。主动退出条件可包括当前时间超出熄屏显示时间范围。被动退出条件是指被其他应用程序打断熄屏显示的条件。被动退出条件可包括被预设事件触发,需要唤醒功能多且性能强的操作系统来处理。通过设置熄屏显示退出条件,可以实现自动退出熄屏显示。Among them, the screen-off display exit conditions can be set as needed, and usually the screen-off display exit conditions may include active exit conditions and passive exit conditions. Active exit conditions refer to conditions related to screen-off display control. Active exit conditions may include the current time exceeding the screen-off display time range. Passive exit conditions refer to conditions where the screen-off display is interrupted by other applications. Passive exit conditions may include being triggered by a preset event and needing to wake up an operating system with multiple functions and high performance to handle it. By setting the screen-off display exit conditions, you can automatically exit the screen-off display.

在本申请的一个可选实施例中,该检测到所述移动设备满足熄屏显示退出条件的情况下,退出熄屏显示,包括:在检测到当前时刻超出熄屏显示时间范围,退出熄屏显示。In an optional embodiment of the present application, when it is detected that the mobile device meets the screen-off display exit condition, the screen-off display is exited, including: when it is detected that the current time exceeds the screen-off display time range, the screen-off display is exited.

熄屏显示时间范围是指预先设置的熄屏显示的时间区间,包括熄屏显示开始时刻和熄屏显示结束时刻。在进入熄屏显示后,再检测当前时刻是否在熄屏显示时间范围内,若不在熄屏显示时间范围内,则表示该移动设备满足熄屏显示退出条件,退出熄屏显示。The screen off display time range refers to the pre-set screen off display time interval, including the screen off display start time and the screen off display end time. After entering the screen off display, it is detected whether the current time is within the screen off display time range. If it is not within the screen off display time range, it means that the mobile device meets the screen off display exit condition and exits the screen off display.

在本申请的一个可选实施例中,检测到所述移动设备满足熄屏显示退出条件的情况下,退出熄屏显示,包括:在检测到存在预设事件的情况下,则退出熄屏显示。预设事件为预先设置的退出熄屏显示的事件,如闹钟事件、来电事件、充电事件等。通过配置预设事件来触发退出熄屏显示,可以保证移动设备的一些基本功能,如闹钟功能、来电接听功能、充电检测功能等。In an optional embodiment of the present application, when it is detected that the mobile device meets the screen-off display exit condition, the screen-off display is exited, including: when a preset event is detected, the screen-off display is exited. The preset event is a pre-set event for exiting the screen-off display, such as an alarm event, an incoming call event, a charging event, etc. By configuring the preset event to trigger the exit of the screen-off display, some basic functions of the mobile device can be guaranteed, such as the alarm function, the incoming call answering function, the charging detection function, etc.

在本申请的一个可选实施例中,该至少两个操作系统包括第一操作系统和第二操作系统,该移动设备运行该第一操作系统的功耗大于运行该第二操作系统的功耗。In an optional embodiment of the present application, the at least two operating systems include a first operating system and a second operating system, and the power consumption of the mobile device running the first operating system is greater than the power consumption of the mobile device running the second operating system.

该退出熄屏显示,包括:唤醒该第一操作系统,将该移动设备的屏幕控制权从该第二操作系统切换至该第一操作系统;该第一操作系统通知该第二操作系统退出熄屏显示。The exiting the screen-off display includes: waking up the first operating system, switching the screen control of the mobile device from the second operating system to the first operating system; and the first operating system notifying the second operating system to exit the screen-off display.

具体地,唤醒第一操作系统后,第一操作系统向屏幕驱动或屏幕控制开关发送屏幕切换指令,屏幕驱动或屏幕控制开关根据该屏幕切换指令将移动设备的屏幕控制权从第二操作系统切换至第一操作系统。第一操作系统通知第二操作系统退出熄屏显示,即AOD界面显示,由第一操作系统接管屏幕。Specifically, after waking up the first operating system, the first operating system sends a screen switching instruction to the screen driver or screen control switch, and the screen driver or screen control switch switches the screen control of the mobile device from the second operating system to the first operating system according to the screen switching instruction. The first operating system notifies the second operating system to exit the off-screen display, i.e., the AOD interface display, and the first operating system takes over the screen.

通过唤醒第一操作系统,实现屏幕切换操作,可以防止任何系统或应用都可以切换屏幕的情况发生,防止屏幕状态控制的错乱。By waking up the first operating system and implementing the screen switching operation, it is possible to prevent the situation where any system or application can switch screens and prevent confusion in screen state control.

在本申请的一个可选实施例中,在检测到所述移动设备满足熄屏显示退出条件的情况下,退出熄屏显示之后,所述方法还包括:在屏幕上显示第二操作系统的界面内容。In an optional embodiment of the present application, when it is detected that the mobile device meets the screen-off display exit condition, after exiting the screen-off display, the method further includes: displaying the interface content of the second operating system on the screen.

具体地,当在第二操作系统控制移动设备的屏幕的情况下,检测到满足熄屏显示退出条件,退出熄屏显示后,直接在第二操作系统控制屏幕的情况下进行正常显示,即在屏幕上显示第二操作系统的界面内容。Specifically, when the second operating system controls the screen of the mobile device, it is detected that the screen-off display exit condition is met, and after exiting the screen-off display, normal display is performed directly when the second operating system controls the screen, that is, the interface content of the second operating system is displayed on the screen.

在本申请的一个可选实施例中,在该移动设备处于熄屏状态下之前,该熄屏显示控制方法还包括:获取该移动设备当前时刻的使用状态,并保存该使用状态。In an optional embodiment of the present application, before the mobile device is in the screen-off state, the screen-off display control method further includes: obtaining the current usage status of the mobile device and saving the usage status.

在该退出熄屏显示后,该方法还包括:读取该使用状态,恢复至该使用状态。After exiting the screen-off display, the method further includes: reading the usage status and restoring to the usage status.

通过保存移动设备进行熄屏显示前的使用状态,在退出熄屏显示时,能够读取该使用状态,并然后移动设备恢复至该使用状态,节省了用户操作时间,提高了人机交互效率。By saving the usage status of the mobile device before the screen is turned off, the usage status can be read when the screen is turned off, and then the mobile device is restored to the usage status, which saves user operation time and improves human-computer interaction efficiency.

在本申请的一个可选实施例中,该读取该使用状态,恢复至该使用状态,包括:读取该使用状态,在检测到该使用状态为预设使用状态的情况下,恢复至该使用状态。In an optional embodiment of the present application, reading the usage status and restoring to the usage status includes: reading the usage status, and restoring to the usage status when detecting that the usage status is a preset usage status.

预设使用状态可为预先设置的使用状态,如音频播放状态、运动检测状态等。预设使用状态一般为用户需要使用的状态,退出熄屏显示后,自动恢复至该使用状态,不需要用户再进行操作,减少了用户操作,提高了人机交互效率。The preset usage state may be a pre-set usage state, such as an audio playback state, a motion detection state, etc. The preset usage state is generally a state that the user needs to use. After exiting the off-screen display, it automatically returns to the usage state without the user having to operate again, thereby reducing user operations and improving human-computer interaction efficiency.

为了使本申请所提供的熄屏显示控制方法的方案更加明确,下面以移动设备上运行双系统为例描述熄屏显示控制方法的具体过程。图4为一个实施例中基于双系统的移动设备的AOD节电显示控制结构框图。如图4所示,移动设备400包括显示屏410、第一操作系统420和第二操作系统430。显示屏410由第一操作系统420和第二操作系统430共享,某一时刻只有一种操作系统可以使用显示屏410,屏幕控制权可以根据移动设备的当前状态在第一操作系统420和第二操作系统430之间实现切换。当移动设备满足AOD显示条件时,第一操作系统420主动放弃屏幕控制权,并将屏幕控制权切换到第二操作系统430,第一操作系统420通过双核通讯通知第二操作系统420进入AOD显示状态,并同步AOD配置信息等给第二操作系统430。第二操作系统430开始接管显示屏410,根据第一操作系统420同步的AOD配置信息中的熄屏显示内容绘制相应的AOD界面,并负责AOD界面的显示和刷新操作。In order to make the scheme of the off-screen display control method provided by the present application clearer, the specific process of the off-screen display control method is described below by taking the running of dual systems on a mobile device as an example. Figure 4 is a block diagram of the AOD power-saving display control structure of a mobile device based on a dual system in one embodiment. As shown in Figure 4, the mobile device 400 includes a display screen 410, a first operating system 420 and a second operating system 430. The display screen 410 is shared by the first operating system 420 and the second operating system 430. At a certain moment, only one operating system can use the display screen 410, and the screen control right can be switched between the first operating system 420 and the second operating system 430 according to the current state of the mobile device. When the mobile device meets the AOD display condition, the first operating system 420 actively gives up the screen control right and switches the screen control right to the second operating system 430. The first operating system 420 notifies the second operating system 420 to enter the AOD display state through dual-core communication, and synchronizes the AOD configuration information to the second operating system 430. The second operating system 430 begins to take over the display screen 410, draws the corresponding AOD interface according to the off-screen display content in the AOD configuration information synchronized by the first operating system 420, and is responsible for the display and refresh operation of the AOD interface.

图5为应用于图4的移动设备的熄屏显示控制方法的流程图。如图5所示,该熄屏显示控制方法,包括:FIG5 is a flow chart of a screen-off display control method applied to the mobile device of FIG4. As shown in FIG5, the screen-off display control method includes:

步骤502,双系统移动设备正常启动后,首先由第一操作系统接管屏幕控制权,在移动设备屏幕上显示第一操作系统界面。Step 502: After the dual-system mobile device is normally started, the first operating system first takes over the screen control right and displays the first operating system interface on the mobile device screen.

步骤504,在第一操作系统界面上获取AOD配置信息。AOD配置信息包括AOD功能开关、AOD时间范围、AOD界面显示内容等。Step 504: Acquire AOD configuration information on the first operating system interface. The AOD configuration information includes AOD function switches, AOD time range, AOD interface display content, and the like.

AOD配置信息即熄屏显示配置信息。AOD功能开关即熄屏显示功能开关。AOD时间范围,即熄屏显示时间范围,包括熄屏显示开始时刻和结束时刻,用于确定AOD进入或退出时间。AOD界面显示内容即熄屏显示内容,用于决定显示什么样的AOD界面。AOD configuration information refers to the off-screen display configuration information. AOD function switch refers to the off-screen display function switch. AOD time range refers to the off-screen display time range, including the off-screen display start time and end time, which is used to determine the AOD entry or exit time. AOD interface display content refers to the off-screen display content, which is used to determine what kind of AOD interface is displayed.

步骤506,移动设备接收熄屏指令,控制屏幕熄屏。Step 506: The mobile device receives the screen-off instruction and controls the screen to turn off.

移动设备检测达到熄屏时长阈值未接收到触发信号,产生熄屏指令,或者接收到用户触发操作或语音操作产生的熄屏指令,控制屏幕熄灭。The mobile device detects that the screen-off time threshold is reached without receiving a trigger signal, generates a screen-off instruction, or receives a screen-off instruction generated by a user trigger operation or voice operation, and controls the screen to turn off.

步骤508,移动设备根据AOD配置信息判断移动设备是否满足AOD显示条件,首先会获取AOD配置信息中的AOD功能开关状态,若AOD功能开关状态为打开状态,则表示AOD功能开启,进一步获取移动设备的当前时刻,将当前时刻与AOD时间范围进行匹配,若当前时刻在AOD时间范围内,则AOD显示条件满足。若AOD功能开关状态为关闭状态,或者当前时刻不在AOD时间范围内,则AOD显示条件不满足。Step 508, the mobile device determines whether the mobile device meets the AOD display condition according to the AOD configuration information, first obtains the AOD function switch state in the AOD configuration information, if the AOD function switch state is on, it means that the AOD function is turned on, further obtains the current time of the mobile device, matches the current time with the AOD time range, if the current time is within the AOD time range, the AOD display condition is met. If the AOD function switch state is off, or the current time is not within the AOD time range, the AOD display condition is not met.

步骤510,若AOD显示条件判断失败,则移动设备不满足AOD显示条件,控制屏幕熄屏休眠。Step 510: If the AOD display condition determination fails, the mobile device does not meet the AOD display condition, and the screen is controlled to turn off and sleep.

步骤512,若移动设备满足AOD显示条件,则第一操作系统向屏幕驱动发起屏幕切换操作,屏幕驱动将屏幕控制权由第一操作系统切换到第二操作系统,屏幕切换成功后,第一操作系统通过双核通讯消息通知第二操作系统屏幕切换成功,此时由第二操作系统接管屏幕。Step 512, if the mobile device meets the AOD display conditions, the first operating system initiates a screen switching operation to the screen driver, and the screen driver switches the screen control from the first operating system to the second operating system. After the screen switching is successful, the first operating system notifies the second operating system of the screen switching success through a dual-core communication message, and the second operating system takes over the screen at this time.

步骤514,第一操作系统切换完屏幕后进入休眠状态,除了闹钟事件、来电事件或充电事件等预设事件发生时第一操作系统被唤醒外,其余时间处于休眠状态,因在熄屏显示状态下,第一操作系统不再需要刷新AOD界面显示内容,是否了CPU使用,节省了移动设备功耗。Step 514, the first operating system enters a sleep state after switching the screen. Except for being awakened by preset events such as alarm events, incoming call events or charging events, the first operating system is in a sleep state for the rest of the time. Because in the off-screen display state, the first operating system no longer needs to refresh the AOD interface display content, thereby saving CPU usage and saving power consumption of the mobile device.

步骤516,第二操作系统接管屏幕显示后,根据第一操作系统通过双核通讯传递的AOD配置信息,启动AOD界面绘制和显示,并负责AOD界面周期刷新操作。第二操作系统可以按照固定的刷新频率进行屏幕刷新。屏幕刷新过程中可对屏幕进行分区域刷新,对于屏幕内容没有变化的区域不进行刷新,对变化的区域进行刷新,从而减少刷新时间和功耗。Step 516, after the second operating system takes over the screen display, it starts drawing and displaying the AOD interface according to the AOD configuration information transmitted by the first operating system through dual-core communication, and is responsible for the periodic refresh operation of the AOD interface. The second operating system can refresh the screen at a fixed refresh frequency. During the screen refresh process, the screen can be refreshed in different areas. The areas where the screen content has not changed are not refreshed, and the areas where the screen content has changed are refreshed, thereby reducing the refresh time and power consumption.

步骤518,第二操作系统在显示AOD界面同时,实时监测移动设备是否满足AOD退出条件。AOD退出条件分为主动退出条件和被动退出条件两种。当第二操作系统根据AOD配置信息中的AOD时间范围,检测到当前时刻超出了AOD显示时间段(即AOD时间范围),则主动唤醒第一操作系统发起退出熄屏显示;当第二操作系统检测到发生来电事件、闹钟事件或充电事件等预设事件,处于休眠状态的第一操作系统被唤醒,第一操作系统被唤醒后发起退出熄屏显示。Step 518, while displaying the AOD interface, the second operating system monitors in real time whether the mobile device meets the AOD exit condition. AOD exit conditions are divided into active exit conditions and passive exit conditions. When the second operating system detects that the current time exceeds the AOD display time period (i.e., the AOD time range) according to the AOD time range in the AOD configuration information, it actively wakes up the first operating system to initiate exiting the off-screen display; when the second operating system detects a preset event such as an incoming call event, an alarm event, or a charging event, the first operating system in a dormant state is awakened, and the first operating system initiates exiting the off-screen display after being awakened.

步骤520,唤醒第一操作系统。Step 520: wake up the first operating system.

步骤522,第一操作系统唤醒后向屏幕驱动发起屏幕切换指令,由屏幕驱动将屏幕控制权从第二操作系统切换至第一操作系统,第一操作系统通知第二操作系统退出AOD界面显示,由第一操作系统重新接管屏幕。Step 522, after waking up, the first operating system initiates a screen switching instruction to the screen driver, and the screen driver switches the screen control from the second operating system to the first operating system. The first operating system notifies the second operating system to exit the AOD interface display, and the first operating system takes over the screen again.

本实施例中,利用第二操作系统低功耗特性,AOD界面显示和刷新由第二操作系统完成,第一操作系统进入休眠状态,相比于传统的AOD显示过程第一操作系统必须处于唤醒状态,节省了移动设备的待机功耗,延长了移动设备的续航时长。第一操作系统和第二操作系统屏幕切换、界面显示和刷新以及AOD显示的进入和退出过程完全由移动设备自动完成,提高了交互效率。In this embodiment, the AOD interface display and refresh are completed by the second operating system by utilizing the low power consumption characteristics of the second operating system, and the first operating system enters a dormant state. Compared with the traditional AOD display process, the first operating system must be in an awake state, which saves the standby power consumption of the mobile device and extends the battery life of the mobile device. The screen switching between the first operating system and the second operating system, the interface display and refresh, and the entry and exit process of the AOD display are completely completed automatically by the mobile device, which improves the interaction efficiency.

在本申请的一个可选实施例中,一种熄屏显示控制方法,应用于移动设备,所述移动设备能够运行至少两个操作系统,所述方法包括:在所述移动设备处于熄屏状态下,若所述移动设备满足熄屏显示条件,将所述移动设备的屏幕控制权切换为目标操作系统,所述目标操作系统为所述至少两个操作系统中除功耗最高外的其他任一操作系统;在所述目标操作系统控制所述移动设备的屏幕的情况下,进行熄屏显示。In an optional embodiment of the present application, a screen-off display control method is applied to a mobile device, wherein the mobile device is capable of running at least two operating systems, and the method comprises: when the mobile device is in a screen-off state, if the mobile device meets a screen-off display condition, switching the screen control right of the mobile device to a target operating system, wherein the target operating system is any other operating system among the at least two operating systems except the operating system with the highest power consumption; and when the target operating system controls the screen of the mobile device, performing screen-off display.

移动设备上多个操作系统共用同一屏幕,一个处理器对应运行一个操作系统,同一时刻只能有一个处理器具有屏幕的控制权,只有获得屏幕控制权的操作系统才可以显示内容在屏幕上,为了实现熄屏显示节省功耗,当满足熄屏显示条件后,将屏幕控制权切换至功耗较小的目标操作系统。Multiple operating systems on a mobile device share the same screen. One processor runs one operating system. Only one processor can have control of the screen at the same time. Only the operating system that obtains control of the screen can display content on the screen. In order to save power by turning off the screen, when the conditions for turning off the screen are met, the screen control is switched to the target operating system with lower power consumption.

当移动设备上运行有三个或三个以上操作系统时,可以比较各个操作系统运行时功耗,然后按照功耗从大到小或从小到大对操作系统进行排序,然后按照功耗选取目标操作系统,该目标操作系统的功耗不是功耗最高的操作系统。When three or more operating systems are running on a mobile device, the power consumption of each operating system can be compared, and then the operating systems can be sorted from large to small or from small to large according to the power consumption, and then a target operating system is selected according to the power consumption, and the power consumption of the target operating system is not the highest power consumption operating system.

当移动设备上运行第一操作系统和第二操作系统时,将功耗小的第二操作系统作为目标操作系统。When the first operating system and the second operating system are running on the mobile device, the second operating system with low power consumption is used as the target operating system.

可以通过屏幕驱动实现屏幕控制权的切换,将通过屏幕驱动将屏幕控制权移交给目标操作系统,当然也可以上述的其他方式实现,在此不做赘述。The switching of screen control rights can be achieved through the screen driver, and the screen control rights are transferred to the target operating system through the screen driver. Of course, it can also be achieved in other ways mentioned above, which will not be described in detail here.

本实施例中熄屏显示控制方法应用于能够运行至少两个操作系统的移动设备上,在移动设备熄屏处于状态下,检测移动设备满足熄屏显示条件时,将移动设备的屏幕控制权切换至除功耗最高外的其他任一操作系统,并在目标操作系统下进行熄屏显示,避免了功耗最高操作因需要刷新屏幕而导致功耗大,降低了功耗,延长了移动设备的续航时长。In the present embodiment, the screen-off display control method is applied to a mobile device capable of running at least two operating systems. When the mobile device is in a screen-off state and it is detected that the mobile device meets the screen-off display condition, the screen control of the mobile device is switched to any other operating system except the one with the highest power consumption, and the screen is displayed off under the target operating system, thereby avoiding high power consumption due to the need to refresh the screen in the operation with the highest power consumption, reducing power consumption and extending the battery life of the mobile device.

在本申请的一个可选实施例中,上述熄屏显示控制方法还包括:在移动设备的屏幕控制权属于至少两个操作系统中最高功耗的操作系统情况下,获取输入的熄屏显示配置信息,该熄屏显示配置信息包括熄屏显示功能开关的状态和熄屏显示时间范围;该最高功耗的操作系统将该熄屏显示配置信息传输给该目标操作系统。在一个可选的实施例中,该熄屏显示配置信息还可包括熄屏显示内容。该熄屏显示内容可根据需要配置,如显示时间、天气等。In an optional embodiment of the present application, the above-mentioned screen-off display control method further includes: when the screen control right of the mobile device belongs to the operating system with the highest power consumption among at least two operating systems, obtaining input screen-off display configuration information, the screen-off display configuration information including the state of the screen-off display function switch and the screen-off display time range; the operating system with the highest power consumption transmits the screen-off display configuration information to the target operating system. In an optional embodiment, the screen-off display configuration information may also include screen-off display content. The screen-off display content may be configured as needed, such as displaying time, weather, etc.

通过功能多且性能强的操作系统控制屏幕的情况下,获取用户输入的配置信息,实现用户个性化配置熄屏显示相关信息,满足个性化需求,确保配置权限的稳定性,提高安全性,避免配置权限混乱。When the screen is controlled by a multi-functional and high-performance operating system, the configuration information input by the user is obtained, and the user's personalized configuration of the off-screen display related information is realized to meet personalized needs, ensure the stability of configuration permissions, improve security, and avoid configuration permission confusion.

在本申请的一个可选实施例中,该目标操作系统为该至少两个操作系统中功耗最低的操作系统;上述熄屏显示控制方法还包括:关闭该至少两个操作系统中除该目标操作系统外的其他操作系统,或者控制该至少两个操作系统中除该目标操作系统外的其他操作系统休眠。In an optional embodiment of the present application, the target operating system is the operating system with the lowest power consumption among the at least two operating systems; the above-mentioned screen off display control method also includes: shutting down other operating systems among the at least two operating systems except the target operating system, or controlling other operating systems among the at least two operating systems except the target operating system to sleep.

利用功耗最低的操作系统控制屏幕进行熄屏显示,可以降低功耗,延长移动设备的续航时长。通过关闭其他操作系统,避免其他操作系统在后台消耗功耗,进一步降低功耗。Using the operating system with the lowest power consumption to control the screen to turn off the screen can reduce power consumption and extend the battery life of the mobile device. By shutting down other operating systems, other operating systems are prevented from consuming power in the background, further reducing power consumption.

应该理解的是,虽然图2和图5的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2和图5中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that, although the various steps in the flowcharts of Fig. 2 and Fig. 5 are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in Fig. 2 and Fig. 5 may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with at least a part of other steps or sub-steps or stages of other steps.

本申请一个实施例还提供了一种用于实现熄屏显示控制方法的熄屏显示控制装置。如图6所示,一种熄屏显示控制装置,应用于移动设备,移动设备能够运行的操作系统包括第一操作系统和第二操作系统,所述移动设备运行所述第一操作系统的功耗大于运行所述第二操作系统的功耗;该装置包括:切换控制模块610和显示控制模块620。An embodiment of the present application also provides a screen-off display control device for implementing the screen-off display control method. As shown in FIG6 , a screen-off display control device is applied to a mobile device, the operating systems that the mobile device can run include a first operating system and a second operating system, and the power consumption of the mobile device running the first operating system is greater than the power consumption of running the second operating system; the device includes: a switching control module 610 and a display control module 620.

切换控制模块610,用于在所述移动设备熄屏状态下,若所述移动设备满足熄屏显示条件,将所述移动设备的屏幕控制权切换为第二操作系统;A switching control module 610 is used to switch the screen control right of the mobile device to the second operating system when the mobile device meets the screen-off display condition in the screen-off state of the mobile device;

显示控制模块620,用于在所述目标操作系统控制所述移动设备的屏幕的情况下,进行熄屏显示。本实施例中,熄屏显示控制应用于能够运行至少两个操作系统的移动设备上,在移动设备熄屏状态下,在移动设备处于熄屏状态下,检测到移动设备满足熄屏显示条件,将移动设备的屏幕控制权切换至第二操作系统,并在第二操作系统下进行熄屏显示,避免了在功耗高的第一操作系统下刷新屏幕而导致功耗大,降低了功耗,延长了移动设备的续航时长。The display control module 620 is used to perform screen-off display when the target operating system controls the screen of the mobile device. In this embodiment, the screen-off display control is applied to a mobile device that can run at least two operating systems. When the mobile device is in the screen-off state, it is detected that the mobile device meets the screen-off display condition, and the screen control of the mobile device is switched to the second operating system, and the screen is off under the second operating system, which avoids high power consumption caused by refreshing the screen under the first operating system with high power consumption, reduces power consumption, and extends the battery life of the mobile device.

在本申请的一个可选实施例中,切换控制模块610具体用于接收熄屏指令,根据该熄屏指令控制屏幕熄屏,进入熄屏状态。熄屏指令可为移动设备超时自动产生的熄屏指令或移动设备接收用户主动操作产生的熄屏指令。In an optional embodiment of the present application, the switching control module 610 is specifically used to receive a screen-off instruction, control the screen to be off according to the screen-off instruction, and enter the screen-off state. The screen-off instruction can be a screen-off instruction automatically generated by the mobile device when it times out or a screen-off instruction generated by the mobile device receiving an active operation of the user.

在一个可选实施例中,切换控制模块610具体用于检测达到该熄屏时长阈值未接收到触发信号,则产生熄屏指令。In an optional embodiment, the switching control module 610 is specifically used to detect that when the screen-off time threshold is reached and no trigger signal is received, a screen-off instruction is generated.

在一个可选实施例中,切换控制模块610具体用于接收到用户触发操作或语音操作产生的熄屏指令。该触发操作可包括对电源键的操作,或者对屏幕上熄屏控件的触发操作,或者对音量按键的操作等。语音操作产生的熄屏指令可包括移动设备接收用户发出的语音信息,对语音信息进行识别得到对应的语音熄屏指令。In an optional embodiment, the switching control module 610 is specifically used to receive a screen-off instruction generated by a user trigger operation or a voice operation. The trigger operation may include an operation on a power button, or a trigger operation on a screen-off control on the screen, or an operation on a volume button, etc. The screen-off instruction generated by the voice operation may include the mobile device receiving a voice message sent by the user, and recognizing the voice message to obtain a corresponding voice screen-off instruction.

在本申请的一个可选实施例中,切换控制模块610具体用于根据熄屏指令控制屏幕熄屏,可以通过监听应用监听熄屏广播消息通知,当接收到熄屏广播消息通知,确定屏幕进入熄屏状态。In an optional embodiment of the present application, the switching control module 610 is specifically used to control the screen to turn off according to the screen off instruction. The screen off broadcast message notification can be monitored by a monitoring application. When the screen off broadcast message notification is received, it is determined that the screen enters the screen off state.

在本申请的一个可选实施例中,切换控制模块610具体用于当移动设备上运行有三个或三个以上操作系统时,可以比较各个操作系统运行时功耗,然后按照功耗从大到小或从小到大对操作系统进行排序,然后按照功耗选取目标操作系统,该目标操作系统的功耗不是功耗最高的操作系统;以及当移动设备上运行两个操作系统时,将功耗小的操作系统作为目标操作系统。In an optional embodiment of the present application, the switching control module 610 is specifically used to compare the power consumption of each operating system when three or more operating systems are running on the mobile device, and then sort the operating systems from large to small or from small to large according to the power consumption, and then select the target operating system according to the power consumption, and the power consumption of the target operating system is not the operating system with the highest power consumption; and when two operating systems are running on the mobile device, the operating system with the lowest power consumption is selected as the target operating system.

在本申请的一个可选实施例中,切换控制模块610具体用于若该熄屏显示功能开关处于打开状态且当前时刻处于所述熄屏显示时间范围内,则将该移动设备的屏幕控制权切换为第二操作系统。In an optional embodiment of the present application, the switching control module 610 is specifically used to switch the screen control of the mobile device to the second operating system if the screen-off display function switch is in an on state and the current moment is within the screen-off display time range.

具体地,切换控制模块610检测当前时刻是否处于熄屏显示时间范围内;当该当前时刻处于该熄屏显示时间范围内,则表示移动设备满足熄屏显示条件;当该当前时间未处于该熄屏显示时间范围内,则表示移动设备不满足熄屏显示条件。Specifically, the switching control module 610 detects whether the current time is within the screen-off display time range; when the current time is within the screen-off display time range, it indicates that the mobile device meets the screen-off display condition; when the current time is not within the screen-off display time range, it indicates that the mobile device does not meet the screen-off display condition.

在本申请的一个可选实施例中,切换控制模块610具体用于检测当前时刻是否处于熄屏显示时间范围内,即将当前时刻与熄屏显示时间范围的开始时刻和结束时刻分别进行比较,判断当前时刻是否大于开始时刻,小于结束时刻,当当前时刻大于或等于开始时刻且小于或等于结束时刻,则该当前时刻处于熄屏显示时间范围内,表示移动设备满足熄屏显示条件;当该当前时刻小于开始时刻或大于结束时刻,则当前时间不在熄屏显示时间范围内,则表示移动设备不满足熄屏显示条件。In an optional embodiment of the present application, the switching control module 610 is specifically used to detect whether the current time is within the screen-off display time range, that is, to compare the current time with the start time and end time of the screen-off display time range, respectively, to determine whether the current time is greater than the start time and less than the end time. When the current time is greater than or equal to the start time and less than or equal to the end time, the current time is within the screen-off display time range, indicating that the mobile device meets the screen-off display condition; when the current time is less than the start time or greater than the end time, the current time is not within the screen-off display time range, indicating that the mobile device does not meet the screen-off display condition.

在本申请的一个可选实施例中,每个熄屏显示内容可对应唯一的内容标号,切换控制模块610具体用于通过第一操作系统获取用户选择的目标内容标号,并将该目标内容标号发送给第二操作系统,在熄屏显示时,第二操作系统根据该目标内容标识获取对应的熄屏显示内容进行熄屏显示。In an optional embodiment of the present application, each off-screen display content may correspond to a unique content label. The switching control module 610 is specifically used to obtain the target content label selected by the user through the first operating system, and send the target content label to the second operating system. When the screen is off, the second operating system obtains the corresponding off-screen display content according to the target content identifier and displays it on the off-screen.

在本申请的一个可选实施例中,切换控制模块610具体还用于若该熄屏显示功能开关处于打开状态且当前时刻处于所述熄屏显示时间范围内,则将该移动设备的屏幕控制权切换为第二操作系统。In an optional embodiment of the present application, the switching control module 610 is specifically used to switch the screen control of the mobile device to the second operating system if the screen-off display function switch is in an on state and the current moment is within the screen-off display time range.

在本申请的一个可选实施例中,切换控制模块610具体还用于在该检测当前时刻是否处于熄屏显示时间范围内之前,检测熄屏显示功能开关的状态;当该熄屏显示功能开关处于关闭状态,则表示移动设备不满足熄屏显示条件;当该熄屏显示功能开关处于打开状态,则继续检测当前时刻是否处于熄屏显示时间范围内。In an optional embodiment of the present application, the switching control module 610 is specifically used to detect the state of the screen off display function switch before detecting whether the current moment is within the screen off display time range; when the screen off display function switch is in the off state, it indicates that the mobile device does not meet the screen off display conditions; when the screen off display function switch is in the on state, it continues to detect whether the current moment is within the screen off display time range.

在本申请的一个可选实施例中,如图7所示,该装置还包括参数配置模块630。In an optional embodiment of the present application, as shown in FIG. 7 , the device further includes a parameter configuration module 630 .

参数配置模块630用于在该移动设备的屏幕控制权属于第一操作系统的情况下,获取输入的熄屏显示配置信息,该熄屏显示配置信息包括熄屏显示功能开关的状态和熄屏显示时间范围;通过该第一操作系统将该熄屏显示配置信息传输给该第二操作系统。The parameter configuration module 630 is used to obtain input screen-off display configuration information when the screen control of the mobile device belongs to the first operating system, and the screen-off display configuration information includes the status of the screen-off display function switch and the screen-off display time range; and transmit the screen-off display configuration information to the second operating system through the first operating system.

在本申请的一个可选实施例中,该熄屏配置信息还包括熄屏显示内容;In an optional embodiment of the present application, the screen-off configuration information also includes screen-off display content;

显示控制模块620还用于在该移动设备的屏幕上显示该熄屏显示内容。The display control module 620 is further configured to display the off-screen display content on the screen of the mobile device.

在本申请的一个可选实施例中,In an optional embodiment of the present application,

切换控制模块610还用于通过该第一操作系统发送屏幕控制权的切换指令,并接收与该切换指令对应的切换结果,该切换结果为根据该切换指令将该移动设备的屏幕控制权从该第一操作系统切换为该第二操作系统的切换结果;该第一操作系统在确定该切换结果为屏幕控制权切换成功后,发送屏幕切换成功消息给该第二操作系统,由该第二操作系统控制该移动设备的屏幕。The switching control module 610 is also used to send a switching instruction for screen control rights through the first operating system, and receive a switching result corresponding to the switching instruction, wherein the switching result is a switching result of switching the screen control rights of the mobile device from the first operating system to the second operating system according to the switching instruction; after the first operating system determines that the switching result is a successful switching of the screen control rights, it sends a screen switching success message to the second operating system, and the second operating system controls the screen of the mobile device.

在一个实施例中,切换控制模块610还用于通过该第一操作系统向屏幕驱动发送屏幕控制权的切换指令,并接收该屏幕驱动返回的切换结果,该切换结果为该屏幕驱动根据该切换指令将该移动设备的屏幕控制权从该第一操作系统切换为该第二操作系统的切换结果;以及通过该第一操作系统在确定该切换结果为屏幕控制权切换成功后,发送屏幕切换成功消息给该第二操作系统,由该第二操作系统控制该移动设备的屏幕。In one embodiment, the switching control module 610 is also used to send a switching instruction for screen control to the screen driver through the first operating system, and receive a switching result returned by the screen driver, wherein the switching result is the switching result of the screen driver switching the screen control of the mobile device from the first operating system to the second operating system according to the switching instruction; and after the first operating system determines that the switching result is a successful screen control switch, it sends a screen switching success message to the second operating system, and the second operating system controls the screen of the mobile device.

在本申请的一个可选实施例中,该装置还包括关闭模块或休眠模块。关闭模块用于关闭该第一操作系统。In an optional embodiment of the present application, the device further includes a shutdown module or a sleep module. The shutdown module is used to shut down the first operating system.

休眠模块用于控制第一操作系统休眠。The sleep module is used to control the first operating system to sleep.

在本申请的一个可选实施例中,显示控制模块620还用于在该进行熄屏显示后,在检测到该移动设备满足熄屏显示退出条件的情况下,退出熄屏显示。In an optional embodiment of the present application, the display control module 620 is further configured to exit the screen off display after the screen off display is performed if it is detected that the mobile device meets the screen off display exit condition.

在本申请的一个可选实施例中,显示控制模块620还用于在检测到当前时刻超出熄屏显示时间范围,退出熄屏显示。In an optional embodiment of the present application, the display control module 620 is further used to exit the screen-off display when it is detected that the current time exceeds the screen-off display time range.

在本申请的一个可选实施例中,显示控制模块620还用于在检测到存在预设事件的情况下,退出熄屏显示。In an optional embodiment of the present application, the display control module 620 is also used to exit the screen-off display when a preset event is detected.

在本申请的一个可选实施例中,显示控制模块620还用于唤醒该第一操作系统,切换控制模块610还用于将该移动设备的屏幕控制权从该第二操作系统切换至该第一操作系统;显示控制模块620还用于通过该第一操作系统通知该第二操作系统退出熄屏显示。In an optional embodiment of the present application, the display control module 620 is also used to wake up the first operating system, and the switching control module 610 is also used to switch the screen control of the mobile device from the second operating system to the first operating system; the display control module 620 is also used to notify the second operating system through the first operating system to exit the off-screen display.

在本申请的一个可选实施例中,显示控制模块620还用于在检测到存在预设事件的情况下,退出熄屏显示之后,在屏幕上显示第二操作系统的界面内容。In an optional embodiment of the present application, the display control module 620 is further configured to display the interface content of the second operating system on the screen after exiting the screen-off display when a preset event is detected.

具体地,当在第二操作系统控制移动设备的屏幕的情况下,检测到满足熄屏显示退出条件,退出熄屏显示后,直接在第二操作系统控制屏幕的情况下进行正常显示,即在屏幕上显示第二操作系统的界面内容。Specifically, when the second operating system controls the screen of the mobile device, it is detected that the screen-off display exit condition is met, and after exiting the screen-off display, normal display is performed directly when the second operating system controls the screen, that is, the interface content of the second operating system is displayed on the screen.

在本申请的一个可选实施例中,上述熄屏显示控制装置还包括状态保存模块。状态保存模块用于在检测模块检测移动设备是否满足熄屏显示条件之前,获取该移动设备当前时刻的使用状态,并保存该使用状态;显示控制模块620还用于在该退出熄屏显示后,读取该使用状态,恢复至该使用状态。In an optional embodiment of the present application, the above-mentioned screen-off display control device further includes a state saving module. The state saving module is used to obtain the current usage state of the mobile device and save the usage state before the detection module detects whether the mobile device meets the screen-off display condition; the display control module 620 is also used to read the usage state and restore to the usage state after exiting the screen-off display.

在本申请的一个可选实施例中,显示控制模块620还用于读取该使用状态,在检测到该使用状态为预设使用状态的情况下,恢复至该使用状态。In an optional embodiment of the present application, the display control module 620 is further configured to read the usage state, and restore to the usage state when it is detected that the usage state is a preset usage state.

本申请一个实施例还提供了一种用于实现熄屏显示控制方法的熄屏显示控制装置。一种熄屏显示控制装置,应用于移动设备,移动设备能够运行至少两个操作系统。An embodiment of the present application also provides an off-screen display control device for implementing an off-screen display control method. An off-screen display control device is applied to a mobile device, and the mobile device can run at least two operating systems.

切换控制模块610用于在所述移动设备处于熄屏状态下,若所述移动设备满足熄屏显示条件,将所述移动设备的屏幕控制权切换为目标操作系统,所述目标操作系统为所述至少两个操作系统中除功耗最高外的其他任一操作系统;The switching control module 610 is used for switching the screen control right of the mobile device to the target operating system when the mobile device is in the screen-off state and the mobile device meets the screen-off display condition, wherein the target operating system is any other operating system among the at least two operating systems except the one with the highest power consumption;

显示控制模块620用于在所述目标操作系统控制所述移动设备的屏幕的情况下,进行熄屏显示。The display control module 620 is used to turn off the screen when the target operating system controls the screen of the mobile device.

本实施例中,熄屏显示控制应用于能够运行至少两个操作系统的移动设备上,在移动设备熄屏状态下,检测移动设备是否满足熄屏显示条件,当满足熄屏显示条件时,将移动设备的屏幕控制权切换至除功耗最高外的其他任一操作系统,并在该操作系统下进行熄屏显示,避免了功耗最高操作系统因需要刷新屏幕而导致功耗大,降低了功耗,延长了移动设备的续航时长。In this embodiment, the screen-off display control is applied to a mobile device that can run at least two operating systems. When the mobile device is in the screen-off state, it is detected whether the mobile device meets the screen-off display conditions. When the screen-off display conditions are met, the screen control of the mobile device is switched to any other operating system except the one with the highest power consumption, and the screen is displayed off under the operating system, thereby avoiding high power consumption of the operating system with the highest power consumption due to the need to refresh the screen, reducing power consumption, and extending the battery life of the mobile device.

在本申请的一个可选实施例中,该目标操作系统为该至少两个操作系统中功耗最低的操作系统;该装置还包括关闭模块或休眠模块。In an optional embodiment of the present application, the target operating system is the operating system with the lowest power consumption among the at least two operating systems; and the device further includes a shutdown module or a sleep module.

关闭模块用于关闭该至少两个操作系统中除该目标操作系统外的其他操作系统。The closing module is used to close other operating systems among the at least two operating systems except the target operating system.

休眠模块用于控制该至少两个操作系统中除该目标操作系统外的其他操作系统休眠。The sleep module is used to control the other operating systems among the at least two operating systems except the target operating system to sleep.

上述熄屏显示控制装置中各个模块的划分仅仅用于举例说明,在其他实施例中,可将熄屏显示控制装置按照需要划分为不同的模块,以完成上述熄屏显示控制装置的全部或部分功能。The division of the various modules in the above-mentioned off-screen display control device is only for illustration. In other embodiments, the off-screen display control device can be divided into different modules as needed to complete all or part of the functions of the above-mentioned off-screen display control device.

关于熄屏显示控制装置的具体限定可以参见上文中对于熄屏显示控制方法的限定,在此不再赘述。上述熄屏显示控制装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific definition of the off-screen display control device, please refer to the definition of the off-screen display control method above, which will not be repeated here. Each module in the above-mentioned off-screen display control device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

图8为另一个实施例中熄屏显示控制装置的内部结构框图。如图8所示,该熄屏显示控制装置包括AOD参数配置模块810、系统切换控制模块820和AOD显示控制模块830。其中,AOD参数配置模块810、系统切换控制模块820位于第一操作系统下,AOD显示控制模块830位于第二操作系统下。AOD参数配置模块810用于在第一操作系统控制屏幕控制权的情况下接收用户输入的AOD配置信息,AOD配置信息包括AOD开关的状态、AOD时间范围和AOD界面显示内容等。AOD开关的状态包括打开和关闭状态。AOD时间范围包括进入(即开始时刻)和退出(即结束时刻)时间段。系统切换控制模块820在检测到移动设备熄屏后,读取AOD参数配置模块810保存的AOD配置信息和当前时刻的使用状态,根据AOD配置信息来判断是否满足AOD显示条件,如果满足AOD显示条件,则系统切换控制模块820将移动设备的屏幕控制权转交给第二操作系统中的AOD显示控制模块830,并通知第二操作系统中的AOD显示控制模块830进入AOD显示状态。完成上述操作后,第一操作系统进入休眠状态,减少设备待机功耗。AOD显示控制模块830接收系统切换控制模块820转交的屏幕控制权后,根据AOD参数配置模块810传递的AOD界面内容,启动AOD界面的显示,并负责AOD界面刷新。AOD显示退出分两种情况,一种是AOD显示控制模块830主动发起的退出操作。AOD显示控制模块830根据用户设置的AOD显示时间范围,判断当前时刻是否在AOD显示时间范围内,如果不在AOD显示时间范围内,则主动发起退出操作。第二种是由第一操作系统下的系统切换控制模块820主动发起的退出操作。当来电事件、闹钟事件或充电事件等预设事件发生,第一操作系统被唤醒后,会向AOD显示控制模块830发送退出AOD界面显示,并切换屏幕控制权到第一操作系统。FIG8 is a block diagram of the internal structure of a screen-off display control device in another embodiment. As shown in FIG8 , the screen-off display control device includes an AOD parameter configuration module 810, a system switching control module 820, and an AOD display control module 830. Among them, the AOD parameter configuration module 810 and the system switching control module 820 are located under the first operating system, and the AOD display control module 830 is located under the second operating system. The AOD parameter configuration module 810 is used to receive AOD configuration information input by the user when the first operating system controls the screen control right. The AOD configuration information includes the state of the AOD switch, the AOD time range, and the AOD interface display content. The state of the AOD switch includes an open and closed state. The AOD time range includes an entry (i.e., start time) and an exit (i.e., end time) time period. After detecting that the mobile device turns off the screen, the system switching control module 820 reads the AOD configuration information and the current usage status saved by the AOD parameter configuration module 810, and determines whether the AOD display condition is met according to the AOD configuration information. If the AOD display condition is met, the system switching control module 820 transfers the screen control right of the mobile device to the AOD display control module 830 in the second operating system, and notifies the AOD display control module 830 in the second operating system to enter the AOD display state. After completing the above operations, the first operating system enters a dormant state to reduce the standby power consumption of the device. After the AOD display control module 830 receives the screen control right transferred by the system switching control module 820, according to the AOD interface content transmitted by the AOD parameter configuration module 810, the display of the AOD interface is started, and the AOD interface is refreshed. There are two situations for AOD display exit, one is the exit operation actively initiated by the AOD display control module 830. The AOD display control module 830 determines whether the current moment is within the AOD display time range according to the AOD display time range set by the user, and if it is not within the AOD display time range, the exit operation is actively initiated. The second is an exit operation actively initiated by the system switching control module 820 under the first operating system. When a preset event such as an incoming call event, an alarm event, or a charging event occurs, the first operating system is awakened and sends a message to the AOD display control module 830 to exit the AOD interface display, and switches the screen control to the first operating system.

图9为一个实施例中移动设备的内部结构示意图。如图9所示,该移动设备包括通过系统总线连接的处理器和存储器。其中,该处理器用于提供计算和控制能力,支撑整个移动设备的运行。存储器可包括非易失性存储介质及内存储器。非易失性存储介质存储有操作系统和计算机程序。该计算机程序可被处理器所执行,以用于实现以下各个实施例所提供的一种熄屏显示控制方法。内存储器为非易失性存储介质中的操作系统计算机程序提供高速缓存的运行环境。该移动设备可以是智能手机、穿戴式设备等运行多个操作系统的设备。穿戴式设备可为智能手环、智能手表、智能眼镜等。Figure 9 is a schematic diagram of the internal structure of a mobile device in an embodiment. As shown in Figure 9, the mobile device includes a processor and a memory connected via a system bus. Among them, the processor is used to provide computing and control capabilities to support the operation of the entire mobile device. The memory may include a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program can be executed by the processor to implement a screen-off display control method provided in each of the following embodiments. The internal memory provides a cached operating environment for the operating system computer program in the non-volatile storage medium. The mobile device can be a smart phone, a wearable device, or other device running multiple operating systems. The wearable device can be a smart bracelet, a smart watch, smart glasses, etc.

本申请实施例中提供的熄屏显示控制装置中的各个模块的实现可为计算机程序的形式。该计算机程序可在终端或服务器上运行。该计算机程序构成的程序模块可存储在电子设备的存储器上。该计算机程序被处理器执行时,实现本申请实施例中所描述方法的步骤。The implementation of each module in the off-screen display control device provided in the embodiment of the present application may be in the form of a computer program. The computer program may be run on a terminal or a server. The program modules constituted by the computer program may be stored in the memory of the electronic device. When the computer program is executed by the processor, the steps of the method described in the embodiment of the present application are implemented.

本申请实施例还提供了一种计算机可读存储介质。一个或多个包含计算机可执行指令的非易失性计算机可读存储介质,当所述计算机可执行指令被一个或多个处理器执行时,使得所述处理器执行熄屏显示控制方法的步骤。The embodiment of the present application also provides a computer-readable storage medium. One or more non-volatile computer-readable storage media containing computer-executable instructions, when the computer-executable instructions are executed by one or more processors, the processors execute the steps of the screen-off display control method.

一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行熄屏显示控制方法。A computer program product containing instructions, when running on a computer, enables the computer to execute a screen-off display control method.

本申请所使用的对存储器、存储、数据库或其它介质的任何引用可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM),它用作外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDR SDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)。Any reference to memory, storage, database or other medium used in this application may include non-volatile and/or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM), which is used as an external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims (23)

1. The screen-off display control method is characterized by being applied to mobile equipment, wherein an operating system capable of running of the mobile equipment comprises a first operating system and a second operating system, and the power consumption of the mobile equipment for running the first operating system is larger than that of the mobile equipment for running the second operating system; the method comprises the following steps:
If the mobile equipment meets the screen-off display condition in the screen-off state of the mobile equipment, switching the screen control right of the mobile equipment into a second operating system; the switching the screen control right of the mobile device to a second operating system comprises the following steps: the first operating system sends a switching instruction of screen control right and receives a switching result corresponding to the switching instruction, wherein the switching result is obtained by switching the screen control right of the mobile device from the first operating system to the second operating system according to the switching instruction;
and under the condition that the second operating system controls the screen of the mobile equipment, performing off-screen display.
2. The method of claim 1, wherein switching screen control of the mobile device to a second operating system if the mobile device satisfies an off-screen display condition comprises:
And if the current moment is detected to be in the screen-off display time range, switching the screen control right of the mobile equipment into a second operating system.
3. The method of claim 1, wherein switching screen control of the mobile device to the second operating system if the mobile device satisfies an off-screen display condition comprises:
And if the screen-off display function switch is in an on state and the current moment is in the screen-off display time range, switching the screen control right of the mobile equipment into a second operating system.
4. A method according to claim 1 or 3, characterized in that the method further comprises:
acquiring input off-screen display configuration information under the condition that the screen control right of the mobile equipment belongs to the first operating system, wherein the off-screen display configuration information comprises a state of an off-screen display function switch and an off-screen display time range;
And the first operating system transmits the off-screen display configuration information to the second operating system.
5. The method of claim 4, wherein the off-screen display configuration information further comprises off-screen display content;
the screen-off display comprises:
And displaying the off-screen display content on a screen of the mobile device.
6. The method of claim 5, wherein the off-screen display content includes one or more of time, weather, PM values.
7. The method of claim 1, wherein the switching screen control of the mobile device to a second operating system further comprises:
And after the first operating system determines that the switching result is that the screen control right is successfully switched, sending a screen switching success message to the second operating system, and controlling the screen of the mobile equipment by the second operating system.
8. The method of claim 1, wherein after said off-screen display, the method further comprises:
And under the condition that the mobile equipment is detected to meet the screen-off display exit condition, the screen-off display is exited.
9. The method of claim 8, wherein the detecting that the mobile device satisfies an off-screen display exit condition, exiting an off-screen display, comprises:
and when the current moment is detected to exceed the off-screen display time range, the off-screen display is exited.
10. The method of claim 8, wherein the detecting that the mobile device satisfies an off-screen display exit condition, exiting an off-screen display, comprises:
and if the preset event is detected, the screen-off display is exited.
11. The method of claim 10, wherein the preset event comprises at least one of an incoming call event, an alarm event, and a charging event.
12. The method of any one of claims 8 to 11, wherein the exiting the off screen display comprises:
Waking up the first operating system, and switching screen control rights of the mobile device from the second operating system to the first operating system; and the first operating system informs the second operating system to exit the screen-off display.
13. The method according to any one of claims 8 to 11, wherein before the mobile device is in an off-screen state, the method further comprises:
Acquiring a use state of the mobile equipment at the current moment, and storing the use state;
after the screen-off display is exited, the method further comprises:
reading the use state and recovering to the use state.
14. The method of claim 1, wherein the off-screen display is to display off-screen content in an off-screen state, wherein the off-screen content is preset content or system default content.
15. The method of claim 14, wherein the preset content comprises time and the system default content comprises time.
16. The method of claim 1, wherein the first operating system and the second operating system communicate via dual-core communication.
17. The method of claim 1, wherein the first processor corresponding to the first operating system and the second processor corresponding to the second operating system are connected to a screen through a screen control switch; the screen control right is acquired by an operating system operated by a processor connected with the screen through a screen control switch.
18. The method according to claim 17, wherein the first operating system sends a screen control right switching instruction to the screen control switch in case that the mobile device satisfies a screen off display condition; the screen control switch transfers the screen control right of the first operating system to the second operating system according to the switching instruction, and the screen control switch controls the second processor to be connected with the screen to obtain a switching result and returns the switching result to the first operating system; and after the first operating system determines that the screen control right is successfully switched, the first operating system sends a screen switching success message to the second operating system, and the second operating system controls the screen of the mobile device.
19. The method of claim 1, wherein the interface display and refreshing of the off-screen display is accomplished by the second operating system, the method further comprising:
And the second operating system detects the changed area in the screen, refreshes the changed area and does not refresh the area without change.
20. The screen-off display control device is characterized by being applied to mobile equipment, wherein an operating system capable of running of the mobile equipment comprises a first operating system and a second operating system, and the power consumption of the mobile equipment for running the first operating system is larger than that of the mobile equipment for running the second operating system; the device comprises:
the switching control module is used for switching the screen control right of the mobile equipment into a second operating system if the mobile equipment meets the screen-off display condition under the screen-off state of the mobile equipment; the first operating system sends a switching instruction of screen control right and receives a switching result corresponding to the switching instruction, wherein the switching result is obtained by switching the screen control right of the mobile device from the first operating system to the second operating system according to the switching instruction;
And the display control module is used for performing off-screen display under the condition that the second operating system controls the screen of the mobile equipment.
21. A mobile device comprising a memory and a processor, the memory having stored therein a computer program which, when executed by the processor, causes the processor to perform the off-screen display control method of any one of claims 1 to 19.
22. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when executed by a processor, implements the off-screen display control method according to any one of claims 1 to 19.
23. A computer program product containing instructions which, when run on a computer, cause the computer to perform the off-screen display control method as claimed in any one of claims 1 to 19.
CN202110243623.1A 2021-03-05 2021-03-05 Screen-off display control method, device, mobile device and computer storage medium Active CN115033092B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202411395211.XA CN119440216A (en) 2021-03-05 2021-03-05 Screen-off display control method, device, mobile device and computer storage medium
CN202110243623.1A CN115033092B (en) 2021-03-05 2021-03-05 Screen-off display control method, device, mobile device and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110243623.1A CN115033092B (en) 2021-03-05 2021-03-05 Screen-off display control method, device, mobile device and computer storage medium

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202411395211.XA Division CN119440216A (en) 2021-03-05 2021-03-05 Screen-off display control method, device, mobile device and computer storage medium

Publications (2)

Publication Number Publication Date
CN115033092A CN115033092A (en) 2022-09-09
CN115033092B true CN115033092B (en) 2024-10-25

Family

ID=83118428

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202110243623.1A Active CN115033092B (en) 2021-03-05 2021-03-05 Screen-off display control method, device, mobile device and computer storage medium
CN202411395211.XA Pending CN119440216A (en) 2021-03-05 2021-03-05 Screen-off display control method, device, mobile device and computer storage medium

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202411395211.XA Pending CN119440216A (en) 2021-03-05 2021-03-05 Screen-off display control method, device, mobile device and computer storage medium

Country Status (1)

Country Link
CN (2) CN115033092B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115576409A (en) * 2022-09-26 2023-01-06 歌尔科技有限公司 Screen switching method and device of wearable device, wearable device and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108227895A (en) * 2017-07-26 2018-06-29 珠海市魅族科技有限公司 One kind puts out screen display methods and terminal, computer installation and readable storage medium storing program for executing
WO2019183786A1 (en) * 2018-03-26 2019-10-03 华为技术有限公司 Method and electronic device for displaying indication information

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100714677B1 (en) * 2004-05-21 2007-05-07 삼성전자주식회사 Computer system and method for performing switch-over of operating system
US9411394B2 (en) * 2013-03-15 2016-08-09 Seagate Technology Llc PHY based wake up from low power mode operation
KR102573689B1 (en) * 2016-09-29 2023-09-04 엘지디스플레이 주식회사 Display device, always-on-display control method and mobile terminal using the same
CN107491160A (en) * 2017-06-22 2017-12-19 深圳天珑无线科技有限公司 A kind of application method of dual operating systems, storage device and intelligent terminal
CN108337363A (en) * 2017-12-26 2018-07-27 努比亚技术有限公司 A kind of terminal puts out screen display control method, terminal
CN110928394A (en) * 2018-08-31 2020-03-27 Oppo广东移动通信有限公司 Screen display method and electronic device
CN111831099B (en) * 2020-07-06 2022-05-31 Oppo广东移动通信有限公司 Electronic device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108227895A (en) * 2017-07-26 2018-06-29 珠海市魅族科技有限公司 One kind puts out screen display methods and terminal, computer installation and readable storage medium storing program for executing
WO2019183786A1 (en) * 2018-03-26 2019-10-03 华为技术有限公司 Method and electronic device for displaying indication information

Also Published As

Publication number Publication date
CN119440216A (en) 2025-02-14
CN115033092A (en) 2022-09-09

Similar Documents

Publication Publication Date Title
CN114422992B (en) Dual-system Bluetooth devices and electronic equipment
WO2020224658A1 (en) Standby optimization method and apparatus, and computer device and storage medium
EP2656170B1 (en) Minimizing resource latency between processor application states in a portable computing device by scheduling resource set transitions
US8108704B2 (en) Method for automatically switching power states
US20140157026A1 (en) Methods and apparatus for dynamically adjusting a power level of an electronic device
CN108040292B (en) Television standby starting method, television and computer readable storage medium
CN107783790B (en) Terminal awakening method and device
CN111782281B (en) Data processing method, device and computer readable storage medium
US9285856B2 (en) Method and system for rapid entry into and for rapid exiting from sleep states for processors of a portable computing device
WO2022127341A1 (en) System switching method and apparatus, device, and storage medium
CN114595006A (en) Quick starting method and device for intelligent wearable equipment and storage medium
US20120291043A1 (en) Minimizing Resource Latency Between Processor Application States In A Portable Computing Device By Using A Next-Active State Set
CN115033092B (en) Screen-off display control method, device, mobile device and computer storage medium
CN106484075A (en) Method and device for adjusting application program wake-up time
CN114816031B (en) Power saving method for terminal equipment, terminal equipment and medium
CN110300447B (en) Control method and device
CN108536547A (en) Information processing method, device, computer device, and computer-readable storage medium
WO2014176893A1 (en) Method and device for powering off mobile terminal
CN116132740B (en) Energy saving method and device for video watching equipment, video watching equipment and readable storage medium
CN108646909B (en) Information processing method, device, mobile terminal and computer readable storage medium
CN116932057A (en) Event processing method, device, electronic device and computer-readable storage medium
CN114554579B (en) Application control method, device, electronic equipment and computer readable storage medium
CN106020416B (en) Screen display method, device and smart machine
CN108650384B (en) Information processing method, device, mobile terminal, and computer-readable storage medium
CN109992377B (en) Information processing method, apparatus, computer device, 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