CN110198558B - Standby optimization method and device, computer equipment and storage medium - Google Patents
Standby optimization method and device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN110198558B CN110198558B CN201910385635.0A CN201910385635A CN110198558B CN 110198558 B CN110198558 B CN 110198558B CN 201910385635 A CN201910385635 A CN 201910385635A CN 110198558 B CN110198558 B CN 110198558B
- Authority
- CN
- China
- Prior art keywords
- terminal device
- screen
- preset
- data
- power saving
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0251—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0251—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
- H04W52/0254—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity detecting a user operation or a tactile contact or a motion of the device
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0251—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
- H04W52/0258—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity controlling an operation mode according to history or models of usage information, e.g. activity schedule or time of day
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Power Sources (AREA)
Abstract
本申请涉及一种待机优化方法、装置、计算机设备和存储介质,通过终端设备检测屏幕状态,在屏幕状态为灭屏状态,且灭屏状态的持续时间超过预设时长时,开始判断终端设备当前状态是否满足预设的节电条件,在确定满足预设的节电条件时,则开启最佳节电模式,其中预设的节电条件包括当前时刻是否处于所述终端设备的休眠时间。由于该方法中,终端设备开启最佳节电模式时是通过自动根据预设的条件判断并开启的,其中开启最佳节电模式的判断的条件是可以自行设定,在开启最佳节电模式限制的应用也可以根据用户的需求进行限制,这样,用户的睡眠时间既达到省电和免打扰需求,又不限制用户的个别应用需求,从而大大提高了用户体验。
The present application relates to a standby optimization method, device, computer equipment and storage medium. The screen state is detected by a terminal device, and when the screen state is an off-screen state, and the duration of the off-screen state exceeds a preset time period, it starts to determine the current state of the terminal device. Whether the state satisfies the preset power saving condition, when it is determined that the preset power saving condition is met, the optimal power saving mode is enabled, wherein the preset power saving condition includes whether the current moment is in the sleep time of the terminal device. Because in this method, when the terminal device turns on the optimal power saving mode, it is automatically judged and turned on according to the preset conditions, and the condition for judging to turn on the optimal power saving mode can be set by itself. Mode-restricted applications can also be restricted according to the user's needs. In this way, the user's sleep time not only meets the requirements of power saving and non-disturbance, but also does not limit the user's individual application requirements, thereby greatly improving the user experience.
Description
技术领域technical field
本申请涉及通信技术领域,特别是涉及一种待机优化方法、装置、计算机设备和存储介质。The present application relates to the field of communication technologies, and in particular, to a standby optimization method, apparatus, computer device and storage medium.
背景技术Background technique
随着通信技术的发展,由于智能终端(例如:手机)在沟通与生活方面为人们带来了极大的便利,已经成为日常工作生活中不可或缺的设备,但渐渐地也出现了越来越多意想不到的麻烦,例如,在用户处于睡眠时间时,由于此时手机处于空闲状态,如果手机中的APP均在运行状态时既耗电又会打扰到用户睡眠。With the development of communication technology, because smart terminals (such as mobile phones) have brought great convenience to people in terms of communication and life, they have become indispensable devices in daily work and life, but gradually more and more devices have appeared. More unexpected troubles, for example, when the user is in sleep time, because the mobile phone is in an idle state at this time, if the APP in the mobile phone is in the running state, it will not only consume power but also disturb the user's sleep.
目前,很多智能终端均有内置模式来实现省电或者免打扰的功能,例如:有些手机具有节电模式(Battery Saver),可以降低装置效能、限制定位服务及大部份背景数据传输,且可以停用非系统的同步功能,以延长电池续航力;或低电耗模式(Doze Mode),在设备长时间处于闲置状态时,会阻止应用访问网络并推迟其作业、并同步和标准闹铃。At present, many smart terminals have built-in modes to achieve power saving or do not disturb functions. For example, some mobile phones have a battery saver mode, which can reduce device performance, limit location services and most background data transmission, and can Disable non-system sync features to extend battery life; or Doze Mode, which blocks apps from accessing the network and delays their work, syncing, and standard alarms when the device is idle for extended periods of time.
但是上述节电模式限制的功能太多,而低电耗模式限制虽然较宽松,却无法符合省电和免打扰的需求,因此,如何达到省电和免打扰需求,又不限制用户的个别应用需求,成为亟待解决的问题。However, the above-mentioned power saving mode has too many functions, and the low power consumption mode has relatively loose restrictions, but it cannot meet the needs of power saving and DND. Therefore, how to achieve the requirements of power saving and DND without restricting individual applications of users demand has become an urgent problem to be solved.
发明内容SUMMARY OF THE INVENTION
基于此,有必要针对上述如何达到省电和免打扰需求,又不限制用户的个别应用需求的技术问题,提供一种待机优化方法、装置、计算机设备和存储介质。Based on this, it is necessary to provide a standby optimization method, apparatus, computer equipment and storage medium for the above technical problem of how to achieve the requirements of power saving and non-disturbance without restricting individual application requirements of users.
第一方面,本发明实施例提供一种待机优化方法,所述方法包括:In a first aspect, an embodiment of the present invention provides a standby optimization method, the method includes:
检测终端设备的屏幕状态;Detect the screen status of the terminal device;
在所述屏幕状态为灭屏状态,且所述灭屏状态的持续时间超过预设时长时,判断所述终端设备是否满足预设的节电条件;所述预设的节电条件包括当前时刻是否处于所述终端设备的休眠时间;When the screen state is an off-screen state, and the duration of the off-screen state exceeds a preset duration, it is determined whether the terminal device satisfies a preset power saving condition; the preset power saving condition includes the current moment Whether it is in the sleep time of the terminal device;
若是,则开启最佳节电模式;所述最佳节电模式用于指示所述终端设备停止运行预设的应用。If so, turn on the best power saving mode; the best power saving mode is used to instruct the terminal device to stop running the preset application.
在其中一个实施例中,所述预设的节电条件还包括:In one embodiment, the preset power saving conditions further include:
所述终端设备为低电耗模式、且所述终端设备未运行播放应用。The terminal device is in a low power consumption mode, and the terminal device is not running a playback application.
在其中一个实施例中,在所述判断所述终端设备是否满足预设的节电条件之前,所述方法包括:In one of the embodiments, before judging whether the terminal device satisfies a preset power saving condition, the method includes:
获取所述终端设备的历史休眠数据;obtaining historical sleep data of the terminal device;
根据所述历史休眠数据,确定所述终端设备的休眠时间;所述休眠时间包括所述终端设备进入休眠状态的开始时间和持续时长。According to the historical sleep data, the sleep time of the terminal device is determined; the sleep time includes the start time and the duration of the terminal device entering the sleep state.
在其中一个实施例中,所述获取所述终端设备的历史休眠数据,包括:In one embodiment, the acquiring the historical sleep data of the terminal device includes:
获取所述终端设备每一次的灭屏时刻和对应的亮屏时刻之间的时间间隔;Obtain the time interval between each screen-off moment of the terminal device and the corresponding screen-on moment;
将满足预设间隔条件的灭屏时刻和对应的亮屏时刻之间的数据记录为历史休眠数据,并增加所述历史休眠数据的总数量。The data between the screen-off moment that meets the preset interval condition and the corresponding screen-on moment is recorded as historical sleep data, and the total quantity of the historical sleep data is increased.
在其中一个实施例中,在所述将满足预设间隔条件的灭屏时刻和对应的亮屏时刻之间的数据记录为历史休眠数据之前,所述方法还包括:In one embodiment, before the data between the screen-off moment that meets the preset interval condition and the corresponding screen-on moment is recorded as historical sleep data, the method further includes:
判断所述历史休眠数据的总数量是否大于或等于预设阈值;Determine whether the total amount of the historical dormancy data is greater than or equal to a preset threshold;
若是,则移除所述历史休眠数据中记录时间最早的休眠数据。If so, remove the hibernation data with the earliest recording time in the historical hibernation data.
在其中一个实施例中,所述根据所述历史休眠数据,确定所述终端设备的休眠时间,包括:In one embodiment, the determining the sleep time of the terminal device according to the historical sleep data includes:
将所述历史休眠数据的数据格式转换为二维坐标格式,得到所述历史休眠数据对应的坐标数据;所述二维坐标的横坐标为灭屏开始时刻,纵坐标为灭屏持续时长;Converting the data format of the historical dormancy data into a two-dimensional coordinate format to obtain coordinate data corresponding to the historical dormancy data; the abscissa of the two-dimensional coordinates is the screen-off start time, and the ordinate is the screen-off duration;
根据所述坐标数据,采用预设的算法计算所述终端设备的休眠时间。According to the coordinate data, a preset algorithm is used to calculate the sleep time of the terminal device.
在其中一个实施例中,在所述开启最佳节电模式之后,所述方法还包括:In one of the embodiments, after the turning on the optimal power saving mode, the method further includes:
在所述终端设备亮屏时或者在所述休眠时间结束前的预设时刻到达时,从所述最佳节电模式切换至工作模式。When the screen of the terminal device is on or when a preset time before the end of the sleep time arrives, the optimal power saving mode is switched to the working mode.
第二方面,本发明实施例提供一种待机优化装置,所述装置包括:In a second aspect, an embodiment of the present invention provides a standby optimization device, and the device includes:
检测模块,用于检测终端设备的屏幕状态;The detection module is used to detect the screen status of the terminal device;
判断模块,用于在所述屏幕状态为灭屏状态,且灭屏持续时间超过预设时长时,判断所述终端设备是否满足预设的节电条件;所述预设的节电条件包括当前时刻是否处于所述终端设备的休眠时间;a judgment module, configured to judge whether the terminal device satisfies a preset power saving condition when the screen state is a screen-off state and the screen-off duration exceeds a preset duration; the preset power-saving conditions include the current Whether the moment is in the sleep time of the terminal device;
开启模块,用于若所述终端设备满足预设的节电条件,则开启最佳节电模式;所述最佳节电模式用于指示所述终端设备停止运行预设的应用。The enabling module is configured to enable the best power saving mode if the terminal device satisfies the preset power saving condition; the best power saving mode is used to instruct the terminal device to stop running the preset application.
第二方面,本发明实施例提供一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现上述第一方面实施例任一方法的步骤。In a second aspect, an embodiment of the present invention provides a computer device, including a memory and a processor, where the memory stores a computer program, and when the processor executes the computer program, the processor implements the steps of any of the methods in the above-mentioned first aspect embodiment .
第三方面,本发明实施例提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述第一方面实施例任一方法的步骤。In a third aspect, an embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the steps of any of the methods in the above-mentioned first aspect.
本申请提供的待机优化方法、装置、计算机设备和存储介质,通过终端设备检测屏幕状态,在屏幕状态为灭屏状态,且灭屏状态的持续时间超过预设时长时,开始判断终端设备当前状态是否满足预设的节电条件,在确定满足预设的节电条件时,则开启最佳节电模式,其中预设的节电条件包括当前时刻是否处于所述终端设备的休眠时间。由于该方法中,终端设备开启最佳节电模式时是通过自动根据预设的条件判断并开启的,其中开启最佳节电模式的判断的条件是可以自行设定,在开启最佳节电模式限制的应用也可以根据用户的需求进行限制,这样,在用户的睡眠时间既达到省电和免打扰需求,又不限制用户的个别应用需求,从而大大提高了用户体验。In the standby optimization method, device, computer equipment and storage medium provided by the present application, the screen state is detected by the terminal device, and when the screen state is the off-screen state, and the duration of the off-screen state exceeds the preset time period, the current state of the terminal device starts to be judged Whether the preset power saving condition is met, when it is determined that the preset power saving condition is met, the optimal power saving mode is turned on, wherein the preset power saving condition includes whether the current moment is in the sleep time of the terminal device. Because in this method, when the terminal device turns on the optimal power saving mode, it is automatically judged and turned on according to the preset conditions, and the condition for judging the optimal power saving mode can be set by itself. The mode-restricted applications can also be restricted according to the user's needs. In this way, the user's sleep time not only meets the needs of power saving and non-disturbance, but also does not limit the user's individual application needs, thereby greatly improving the user experience.
附图说明Description of drawings
图1为一个实施例中待机优化方法的应用环境图;FIG. 1 is an application environment diagram of the standby optimization method in one embodiment;
图2为一个实施例提供的待机优化方法的流程示意图;FIG. 2 is a schematic flowchart of a standby optimization method provided by an embodiment;
图3为一个实施例提供的待机优化方法的流程示意图;3 is a schematic flowchart of a standby optimization method provided by an embodiment;
图4为一个实施例提供的待机优化方法的流程示意图;4 is a schematic flowchart of a standby optimization method provided by an embodiment;
图5为一个实施例提供的待机优化方法的流程示意图;5 is a schematic flowchart of a standby optimization method provided by an embodiment;
图5.1为一个实施例提供历史休眠数据记录流程图;Figure 5.1 provides a flowchart of historical dormancy data recording for one embodiment;
图6为一个实施例提供的待机优化方法的流程示意图;6 is a schematic flowchart of a standby optimization method provided by an embodiment;
图6.1为一个实施例提供的灭屏数据坐标格式示意图;Figure 6.1 is a schematic diagram of the coordinate format of screen-off data provided by an embodiment;
图6.2为一个实施例提供的正规化灭屏数据示意图;Figure 6.2 is a schematic diagram of normalized screen-off data provided by an embodiment;
图6.3为一个实施例提供的确定最大数据群示意图;Figure 6.3 is a schematic diagram of determining the largest data group provided by an embodiment;
图6.4为一个实施例提供的确定休眠时间示意图;Figure 6.4 is a schematic diagram of determining sleep time provided by an embodiment;
图7为一个实施例提供的待机优化装置的结构框图;7 is a structural block diagram of a standby optimization device provided by an embodiment;
图8为一个实施例提供的待机优化装置的结构框图;8 is a structural block diagram of a standby optimization apparatus provided by an embodiment;
图9为一个实施例提供的待机优化装置的结构框图;FIG. 9 is a structural block diagram of a standby optimization apparatus provided by an embodiment;
图10为一个实施例提供的待机优化装置的结构框图。FIG. 10 is a structural block diagram of a standby optimization apparatus provided by an embodiment.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
本申请提供的一种待机优化方法,可以应用于如图1所示的应用环境中,该终端设备可以是服务器,该终端设备包括通过系统总线连接的处理器、存储器、网络接口和数据库。其中,该终端设备的处理器用于提供计算和控制能力。该终端设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机程序和数据库。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该终端设备的数据库用于存储待机优化方法的数据。该终端设备的网络接口用于与外部的其他设备通过网络连接通信。该计算机程序被处理器执行时以实现一种待机优化方法。The standby optimization method provided by the present application can be applied to the application environment shown in FIG. 1 . The terminal device can be a server, and the terminal device includes a processor, a memory, a network interface and a database connected through a system bus. The processor of the terminal device is used to provide computing and control capabilities. The memory of the terminal device includes a non-volatile storage medium and an internal memory. The nonvolatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium. The database of the terminal device is used to store the data of the standby optimization method. The network interface of the terminal device is used to communicate with other external devices through a network connection. The computer program when executed by a processor implements a standby optimization method.
本申请的实施例提供一种待机优化方法、装置、计算机设备和存储介质,旨在解决如何达到省电和免打扰需求,又不限制用户的个别应用需求的技术问题。下面将通过实施例并结合附图具体地对本申请的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。需要说明的是,本申请提供的一种待机优化方法,其执行主体为终端设备,其中,该执行主体还可以为计算机设备,或者是待机优化装置,其中该装置可以通过软件、硬件或者软硬件结合的方式实现成为数据分析终端的部分或者全部。Embodiments of the present application provide a standby optimization method, apparatus, computer device, and storage medium, which aim to solve the technical problem of how to achieve power saving and non-disturbing requirements without restricting individual application requirements of users. The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems will be specifically described in detail below with reference to the accompanying drawings. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. It should be noted that, in a standby optimization method provided by this application, the execution subject is a terminal device, wherein the execution subject may also be a computer device, or a standby optimization device, wherein the device can be implemented through software, hardware or software and hardware. The combination is realized as part or all of the data analysis terminal.
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, but not all embodiments.
在一个实施例中,图2提供了一种待机优化方法,本实施例涉及的是终端设备在屏幕的灭屏时间达到的预设时长,且确定其当前的状态满足预设的节电条件时,开启最佳节电模式,以达到既省电、免打扰的需求,又不限制用户使用个别应用的具体过程。如图2所示,该方法包括:In one embodiment, FIG. 2 provides a standby optimization method. This embodiment relates to the preset duration of the screen off time of the terminal device, and it is determined that the current state of the terminal device satisfies the preset power saving condition. , and turn on the best power saving mode to meet the needs of power saving and non-disturbance without restricting the specific process of users using individual applications. As shown in Figure 2, the method includes:
S101,检测终端设备的屏幕状态。S101. Detect a screen state of a terminal device.
其中,终端设备的屏幕状态可以是亮屏状态或者灭屏状态,终端设备检测其屏幕状态的方式可以是通过检测屏幕的参数进行确定,例如检测该屏幕亮度的参数,如果屏幕亮度为0,则该屏幕状态为灭屏状态,如果屏幕亮度的0以上,则该屏幕状态为亮屏状态,示例地,终端设备检测屏幕亮度的参数,在屏幕亮度为0时确定该屏幕状态为灭屏状态。The screen state of the terminal device may be a screen-on state or a screen-off state, and the method of detecting the screen state of the terminal device may be determined by detecting the parameters of the screen, such as detecting the parameters of the screen brightness, if the screen brightness is 0, then The screen state is the off-screen state. If the screen brightness is greater than 0, the screen state is the on-screen state. For example, the terminal device detects the parameters of the screen brightness, and determines that the screen state is the off-screen state when the screen brightness is 0.
S102,在所述屏幕状态为灭屏状态,且所述灭屏状态的持续时间超过预设时长时,判断所述终端设备是否满足预设的节电条件;所述预设的节电条件包括当前时刻是否处于所述终端设备的休眠时间。S102, when the screen state is an off-screen state and the duration of the off-screen state exceeds a preset duration, determine whether the terminal device satisfies a preset power saving condition; the preset power saving condition includes: Whether the current moment is in the sleep time of the terminal device.
本步骤中,基于上述S101中终端设备检测到屏幕状态为灭屏状态时,然后,终端设备检测该屏幕处于灭屏状态的持续时间有多长,该屏幕灭屏时间的检测方式可以是计算屏幕开始灭屏的时刻到当前时刻的间隔时长,在该持续时间超过了预设时长时,终端设备再开始判断当前的状态是否满足预设的节电条件,其中预设的节电条件包括当前时刻是否处于终端设备的休眠时间。In this step, when the terminal device detects that the screen is in the off-screen state in the above-mentioned S101, and then the terminal device detects how long the screen is in the off-screen state, the detection method of the screen off time may be to calculate the screen off state The interval from the moment when the screen is turned off to the current moment. When the duration exceeds the preset duration, the terminal device starts to determine whether the current state satisfies the preset power-saving conditions, where the preset power-saving conditions include the current moment. Whether it is in the sleep time of the terminal device.
其中,预设时长为用户根据实际情况设定的时长,例如:75分钟,用于指示终端设备是否开始判断当前状态是否满足预设的节电条件。其中该预设的节电条件也为用户根据实际需求制定的条件,例如:该节电条件可以是判断当前终端的状态是否处于休眠时间,还可以是判断该终端设备当前的电量是否不足等,本实施例对该节电条件的具体内容不做具体限定。其中,休眠时间表示用户处于睡眠时终端设备的状态时间,其中该休眠时间可以是用户设置的每天的固定时间段,也可以是终端设备根据用户历史睡眠时间推测出的每天的固定时间段,本实施例对该休眠时间的具体确定方式不做限定。示例地,以预设时长为75分钟,预设的节电条件为进入休眠时间为例,在终端设备的屏幕状态处于灭屏状态的持续时长达到75分钟(预设时长)后,终端设备判断当前状态进入休眠时间,如果是,则确定终端设备的当前状态满足预设的节电条件。The preset duration is the duration set by the user according to the actual situation, for example: 75 minutes, which is used to indicate whether the terminal device starts to judge whether the current state meets the preset power saving condition. The preset power-saving condition is also a condition formulated by the user according to actual needs. For example, the power-saving condition can be judging whether the current state of the terminal is in the sleep time, or judging whether the current power of the terminal device is insufficient, etc. This embodiment does not specifically limit the specific content of the power saving condition. The sleep time represents the state time of the terminal device when the user is sleeping, and the sleep time may be a daily fixed time period set by the user, or a daily fixed time period estimated by the terminal device according to the user's historical sleep time. The embodiment does not limit the specific manner of determining the sleep time. For example, taking the preset duration of 75 minutes and the preset power-saving condition as entering the sleep time as an example, after the screen state of the terminal device is in the off-screen state for a duration of 75 minutes (the preset duration), the terminal device determines The current state enters the sleep time, and if yes, it is determined that the current state of the terminal device satisfies the preset power saving condition.
S103,若所述终端设备满足预设的节电条件,则开启最佳节电模式;所述最佳节电模式用于指示所述终端设备停止运行预设的应用。S103, if the terminal device satisfies a preset power saving condition, turn on an optimum power saving mode; the optimum power saving mode is used to instruct the terminal device to stop running a preset application.
基于上述S102中判断的终端设备当前状态满足预设的节电条件时,终端设备开始开启最佳节电模式,其中,该最佳节电模式用于指示该终端设备停止运行预设应用的模式,即表示,终端设备开启最佳节电模式时可以是通过停止运行预设的应用来开启,例如:该预设的应用可以包括网络分享、网络使用、三方应用持锁、三方应用标准闹铃、通知灯周期与亮度、感测器、蓝牙及蓝牙扫描等应用,其中网络分享或使用的限制、通知灯周期与亮度、感测器、蓝牙及蓝牙扫描这些应用可以是整个系统都进行限制,但三方应用持锁、三方应用标准闹铃可以是只针对三方应用,不限制系统应用,其中本实施对预设应用具体包括内容不做限定。具体地,终端设备在确定当前状态满足预设的节电条件后,通过限制预设的应用为终端设备开启最佳的节电模式。When the current state of the terminal device determined in the above S102 satisfies the preset power saving condition, the terminal device starts to enable the best power saving mode, wherein the best power saving mode is used to instruct the terminal device to stop running the preset application mode , which means that when the terminal device turns on the best power saving mode, it can be turned on by stopping running the preset application. For example, the preset application can include network sharing, network usage, three-party application lock, and three-party application standard alarm. , Notification light cycle and brightness, sensors, Bluetooth and Bluetooth scanning and other applications, including network sharing or use restrictions, notification light cycle and brightness, sensors, Bluetooth and Bluetooth scanning, these applications can be restricted by the entire system, However, the third-party application lock and the standard alarm for the third-party application may be only for the third-party application and do not limit the system application, and the present implementation does not limit the specific content of the preset application. Specifically, after determining that the current state satisfies the preset power saving condition, the terminal device enables the best power saving mode for the terminal device by restricting the preset applications.
本实施例提供的一种待机优化方法,通过终端设备检测屏幕状态,在屏幕状态为灭屏状态,且灭屏状态的持续时间超过预设时长时,开始判断终端设备当前状态是否满足预设的节电条件,在确定满足预设的节电条件时,则开启最佳节电模式,其中预设的节电条件包括当前时刻是否处于所述终端设备的休眠时间。由于该方法中,终端设备开启最佳节电模式时是通过自动根据预设的条件判断并开启的,其中开启最佳节电模式的判断的条件是可以自行设定,在开启最佳节电模式限制的应用也可以根据用户的需求进行限制,这样,用户的睡眠时间既达到省电和免打扰需求,又不限制用户的个别应用需求,从而大大提高了用户体验。In a standby optimization method provided by this embodiment, a screen state is detected by a terminal device, and when the screen state is an off-screen state and the duration of the off-screen state exceeds a preset duration, it starts to determine whether the current state of the terminal device satisfies a preset For the power saving condition, when it is determined that the preset power saving condition is satisfied, the optimal power saving mode is turned on, wherein the preset power saving condition includes whether the current moment is in the sleep time of the terminal device. Because in this method, when the terminal device turns on the optimal power saving mode, it is automatically judged and turned on according to the preset conditions, and the condition for judging the optimal power saving mode can be set by itself. Mode-restricted applications can also be restricted according to the user's needs. In this way, the user's sleep time not only meets the requirements of power saving and non-disturbance, but also does not limit the user's individual application requirements, thereby greatly improving the user experience.
基于上述实施例,可选地,所述预设的节电条件还包括:所述终端设备为低电耗模式、且所述终端设备未运行播放应用。其中,终端设备为低电耗模式表示该终端设备自带的一种模式,该自带的模式可以是终端设备原生系统根据终端设备的使用状态自动开启的模式。其中,终端设备未运行播放应用表示的终端设备没有处于未运行播放音频应用的状态。则在实际应用中,终端设备判断当前终端设备的状态是否为低电耗模式(Doze Mode)模式,同时是否有在播放音乐等,示例地,预设的节电条件为进入低电耗模式、休眠时间和没有播放音乐应用为例,在终端设备的屏幕状态处于灭屏状态的持续时长达到预设时长后,终端设备判断当前状态是否同时既进入了低电耗模式和休眠时间又没有播放音乐应用,如果是,则确定终端设备的当前状态满足预设的节电条件。Based on the foregoing embodiment, optionally, the preset power saving condition further includes: the terminal device is in a low power consumption mode, and the terminal device does not run a playback application. The low power consumption mode of the terminal device indicates a mode provided by the terminal device, and the self-contained mode may be a mode that is automatically enabled by the native system of the terminal device according to the usage state of the terminal device. Wherein, the terminal device indicated by the terminal device not running the playing application is not in a state that the playing audio application is not running. In practical applications, the terminal device determines whether the current state of the terminal device is in the Doze Mode mode, and whether music is being played at the same time. Take the sleep time and no music playing application as an example. After the screen state of the terminal device is in the off-screen state for a preset duration, the terminal device determines whether the current state has entered both low power consumption mode and sleep time without playing music at the same time. The application, if yes, determines that the current state of the terminal device satisfies the preset power saving condition.
下面通过几个实施例对休眠时间的确定进行具体说明。The determination of the sleep time will be specifically described below through several embodiments.
在一个实施例中,图3提供了一种待机优化方法,本实施例涉及的是终端设备根据历史休眠数据确定休眠时间,以便使用该休眠时间设定预设的节电条件的具体过程。如图3所示,该方法还包括:In one embodiment, FIG. 3 provides a standby optimization method, and this embodiment relates to a specific process in which a terminal device determines a sleep time according to historical sleep data, so as to use the sleep time to set a preset power saving condition. As shown in Figure 3, the method further includes:
S201,获取所述终端设备的历史休眠数据。S201: Acquire historical sleep data of the terminal device.
在本实施例中,终端设备获取的历史休眠数据表示该终端设备在用户的历史睡眠时间中的所有数据,其中,终端设备获取该历史休眠数据的方式可以是从终端设备的数据库中直接获取,也可以是通过其他方式获取,例如从用户的云端账户中获取,本实施例对此不做限定。In this embodiment, the historical dormancy data acquired by the terminal device represents all the data of the terminal device in the user's historical sleep time, wherein the method of acquiring the historical dormancy data by the terminal device may be obtained directly from the database of the terminal device, It may also be obtained in other ways, for example, obtained from the user's cloud account, which is not limited in this embodiment.
S202,根据所述历史休眠数据,确定所述终端设备的休眠时间;所述休眠时间包括所述终端设备进入休眠状态的开始时间和持续时长。S202: Determine the sleep time of the terminal device according to the historical sleep data; the sleep time includes the start time and duration of the terminal device entering the sleep state.
本步骤中,基于上述S201中终端设备获取的历史休眠数据,根据该历史休眠数据确定终端设备的休眠时间,其中,休眠时间包括终端设备下次进入休眠状态的开始时间和持续时长,其中,终端设备确定休眠时间的方式可以是从历史休眠数据中规律,并根据寻找的规律进行综合后得出下次进入休眠状态的开始时间和持续时长,即,确定了该终端设备的休眠时间,当然也可以是其他方式,例如:终端设备直接采用时间最近的一条休眠数据,将该休眠数据中的休眠状态开始时间和持续时长确定为终端设备的休眠时间,其中本实施例对终端设备根据历史休眠数据确定休眠时间的方式不做限定。In this step, based on the historical dormancy data obtained by the terminal device in S201, the dormancy time of the terminal device is determined according to the historical dormancy data, wherein the dormancy time includes the start time and duration of the next time the terminal device enters the dormant state, wherein the terminal device The way for the device to determine the sleep time may be to obtain the start time and duration of the next sleep state after synthesizing the rules from the historical sleep data and synthesizing the search rules, that is, to determine the sleep time of the terminal device, and of course It can be in other ways, for example: the terminal device directly adopts the latest piece of dormancy data, and determines the dormancy state start time and duration in the dormancy data as the dormancy time of the terminal device. The manner of determining the sleep time is not limited.
可选地,如图4提供的一种待机优化方法,上述S201步骤的一种可实现方式可以包括:Optionally, as shown in a standby optimization method provided in FIG. 4 , an implementable manner of the above step S201 may include:
S301,获取所述终端设备每一次的灭屏时刻和对应的亮屏时刻之间的时间间隔。S301: Acquire a time interval between each screen-off moment of the terminal device and a corresponding screen-on moment.
其中,终端设备先获取每一次的灭屏时刻和对应的亮屏时刻时,可以是同时获取灭屏时刻和对应的亮屏时刻的。其中,该灭屏时刻表示终端设备的屏幕状态为灭屏状态的时刻,其对应的亮屏时刻为该终端设备的屏幕状态从当前灭屏状态转换为亮屏状态的时刻,需要说明的是,每一次的灭屏时刻和对应的亮屏时刻终端设备都会进行记录,使用时直接获取即可。终端设备直接记录每一次的灭屏时刻和对应的亮屏时刻,例如,记录的格式可以是:<item localStart="2018-05-28 12:00:00"localEnd="2018-05-29 00:00:00"duration="PT12H"/>。基于获取的每一次的灭屏时刻和对应的亮屏时刻,终端设备获取每一次的灭屏时刻和对应的亮屏时刻之间的时间间隔,即两个时刻时间的间隔时长。Wherein, when the terminal device first obtains each screen-off time and the corresponding screen-on time, it may obtain the screen-off time and the corresponding screen-on time at the same time. The screen-off moment represents the moment when the screen state of the terminal device is in the off-screen state, and the corresponding screen-on moment is the moment when the screen state of the terminal device is converted from the current screen-off state to the screen-on state. It should be noted that, Each time the screen is off and the corresponding screen-on time will be recorded by the terminal device, which can be obtained directly during use. The terminal device directly records each screen-off moment and the corresponding screen-on moment. For example, the recorded format can be: <item localStart="2018-05-28 12:00:00" localEnd="2018-05-29 00 :00:00"duration="PT12H"/>. Based on each acquired screen-off time and corresponding screen-on time, the terminal device acquires the time interval between each screen-off time and the corresponding screen-on time, that is, the interval length between the two time periods.
S302,将满足预设间隔条件的灭屏时刻和对应的亮屏时刻之间的数据记录为历史休眠数据,并增加所述历史休眠数据的总数量。S302: Record the data between the screen-off time satisfying the preset interval condition and the corresponding screen-on time as historical sleep data, and increase the total quantity of the historical sleep data.
基于上述S301中记录的每一次的灭屏时刻和对应的亮屏时刻之间的时间间隔,终端设备先确定该灭屏时刻和对应的亮屏时刻之间的时间间隔是否满足预设的间隔条件,其中,预设的间隔条件表示的是预设的间隔时长,其可根据用户实际需求进行设定,在确定灭屏时刻和对应的亮屏时刻之间的时间间隔满足预设的间隔条件时,将当前次的灭屏时刻和对应的亮屏时刻之间的数据记录为历史休眠数据,同时,将该终端设备已经存储的历史休眠数据的总数量增加,以便下次判断时使用的总数量记录处于最新状态,可以理解的是存储了几条休眠数据,则总数量相应增加几条休眠数据,以保证终端设备存储的历史休眠数据的总数量为最新的,最正确的。Based on the time interval between each screen-off moment and the corresponding screen-on moment recorded in S301, the terminal device first determines whether the time interval between the screen-off moment and the corresponding screen-on moment satisfies a preset interval condition , where the preset interval condition represents the preset interval duration, which can be set according to the actual needs of the user. When the time interval between the screen-off moment and the corresponding screen-on moment is determined to satisfy the preset interval condition , record the data between the current screen-off moment and the corresponding screen-on moment as historical dormancy data, and at the same time, increase the total amount of historical dormancy data that the terminal device has stored, so that the total amount used in the next judgment If the record is in the latest state, it can be understood that if several pieces of dormancy data are stored, the total number of dormant data will be increased accordingly to ensure that the total number of historical dormancy data stored by the terminal device is the latest and most correct.
考虑到终端设备的内存,可以对历史休眠数据的总数量设定一个最大值,即预设一个阈值,以保证存储的所有休眠数据的总数量不会太多。Considering the memory of the terminal device, a maximum value may be set for the total amount of historical dormancy data, that is, a threshold value is preset to ensure that the total amount of all dormancy data stored will not be too large.
则可选地,如图5所示,本申请提供了一种待机优化方法,在将满足预设间隔条件的灭屏时刻和对应的亮屏时刻之间的数据记录为历史休眠数据之前,所述方法包括:Then optionally, as shown in FIG. 5 , the present application provides a standby optimization method. Before recording the data between the screen-off moment that meets the preset interval condition and the corresponding screen-on moment as historical sleep data, the The methods described include:
S401,判断所述历史休眠数据的总数量是否大于或等于预设阈值。S401. Determine whether the total amount of the historical dormancy data is greater than or equal to a preset threshold.
终端设备判断历史休眠数据的总数量是否大于等于该预设阈值的,其中,历史休眠数据的总数量表示的终端设备记录的每一次的灭屏时刻和对应的亮屏时刻的总数量,预设阈值该总数量的临界值,表示终端设备存储该每一次的灭屏时刻和对应的亮屏时刻的总数量不能超过该临界值,其具体大小可根据用户实际需求进行设定,示例地,如图5.1所示,设定预设的间隔条件为5-15小时(表示灭屏时刻和对应的亮屏时刻之间的时间间隔大于等于5小时且小于等于15小时),总数量的预设阈值为60条,则本步骤中,终端设备根据获取的灭屏时刻和对应的亮屏时刻,确定该时间间隔是否在5-15小时以内,在确定处于5-15小时以内时,再判断终端设备目前已经存储的灭屏时刻和对应的亮屏时刻记录的总数量是否大于等于60条,然后根据判断结果执行下一步。The terminal device determines whether the total number of historical dormancy data is greater than or equal to the preset threshold, wherein the total number of historical dormancy data represents the total number of screen-off moments and corresponding screen-on moments recorded by the terminal device each time, preset Threshold The critical value of the total number, indicating that the terminal device stores the total number of each screen-off time and corresponding screen-on time cannot exceed the critical value, and its specific size can be set according to the actual needs of the user, for example, such as As shown in Figure 5.1, the preset interval condition is set to 5-15 hours (indicating that the time interval between the screen-off moment and the corresponding screen-on moment is greater than or equal to 5 hours and less than or equal to 15 hours), and the preset threshold of the total number of If the number is 60, then in this step, the terminal device determines whether the time interval is within 5-15 hours according to the obtained screen-off time and the corresponding screen-on time, and then determines whether the time interval is within 5-15 hours. Whether the total number of stored screen-off moments and corresponding screen-on moments records is greater than or equal to 60, and then execute the next step according to the judgment result.
S402,若是,则移除所述历史休眠数据中记录时间最早的休眠数据。S402, if yes, remove the hibernation data with the earliest recording time in the historical hibernation data.
其中,基于S401中终端设备判断的历史休眠数据的总数量与预设阈值之间的大小,若总数量大于等于预设阈值,终端设备先移除该历史记录中的时间最早的休眠数据,然后将当前满足预设间隔条件的灭屏时刻和对应的亮屏时刻之间的数据记录进去。这样,终端设备采用用户最新的时间内的一定数量的历史休眠数据,可以实时获取用户最新的使用习惯,使得终端设备根据历史休眠数据确定的休眠时间更加符合用户的需求,也可以节省存储空间。Wherein, based on the size between the total number of historical dormant data determined by the terminal device in S401 and the preset threshold, if the total number is greater than or equal to the preset threshold, the terminal device first removes the dormant data with the earliest time in the historical record, and then Record the data between the screen-off moment that currently satisfies the preset interval condition and the corresponding screen-on moment. In this way, the terminal device uses a certain amount of historical sleep data in the latest time of the user, and can obtain the latest usage habits of the user in real time, so that the sleep time determined by the terminal device according to the historical sleep data is more in line with the needs of the user, and storage space can also be saved.
本实施例提供的一种待机优化方法,通过获取终端设备的历史休眠数据,再根据该历史休眠数据,确定终端设备的休眠时间,由于本实施例中,终端设备获取的历史休眠数据是实时更新的,在历史休眠数据记录达到阈值时,每增加新的记录就移除最早的休眠数据,保证了历史休眠数据一直处于最新状态,又因为,终端设备在根据该历史休眠数据确定下次休眠时间时采用的是算法自动计算的,进一步保证了计算的下次休眠时间的科学性,更加符合用户的实时需求。In a standby optimization method provided by this embodiment, the historical sleep data of the terminal device is obtained, and then the sleep time of the terminal device is determined according to the historical sleep data. In this embodiment, the historical sleep data obtained by the terminal device is updated in real time. When the historical dormancy data record reaches the threshold, the earliest dormancy data is removed every time a new record is added, which ensures that the historical dormancy data is always in the latest state, and because the terminal device determines the next dormancy time according to the historical dormancy data. The algorithm is automatically calculated at the time, which further ensures the scientificity of the calculation of the next sleep time, and is more in line with the real-time needs of users.
可选地,如图6提供的一种待机优化方法,上述步骤S202的一种可选方式可以为包括:Optionally, as shown in a standby optimization method provided in FIG. 6 , an optional manner of the foregoing step S202 may include:
S401,将所述历史休眠数据的数据格式转换为二维坐标格式,得到所述历史休眠数据对应的坐标数据;所述二维坐标的横坐标为灭屏开始时刻,纵坐标为灭屏持续时长。S401: Convert the data format of the historical dormancy data into a two-dimensional coordinate format to obtain coordinate data corresponding to the historical dormancy data; the abscissa of the two-dimensional coordinates is the screen-off start time, and the ordinate is the screen-off duration .
其中,终端设备将上述获取的历史休眠数据,将这些休眠数据转化为二维坐标的格式,如图6.1所示,取其中7组为例,将横坐标使用灭屏开始时刻,纵坐标使用灭屏持续时长,将历史休眠数据转换格式后,即得到上述历史休眠数据对应的坐标数据。Among them, the terminal device converts the acquired historical sleep data into the format of two-dimensional coordinates, as shown in Figure 6.1, taking 7 groups as an example, the abscissa uses the screen-off start time, and the ordinate uses the off-screen start time. The duration of the screen is determined, and after the historical sleep data is converted into a format, the coordinate data corresponding to the above-mentioned historical sleep data is obtained.
S402,根据所述坐标数据,采用预设的算法计算所述终端设备的休眠时间。S402, according to the coordinate data, use a preset algorithm to calculate the sleep time of the terminal device.
本步骤中,终端设备根据上述转换后的历史休眠数据对应的坐标数据,根据该坐标数据,采用预设的算法计算终端设备的休眠时间,其中,预设的算法表示终端设备根据坐标数据计算休眠时间使用的算法,例如:K均值聚类算法,当然还可以是其他的算法,本实施例对此不做限定。示例地,以预设的算法为K均值聚类算法为例,如图6.1-图6.4所示,终端设备先将历史休眠数据对应的坐标数据正规化到坐标系中,即,将上述图6.1中的7组坐标数据正规化为图6.2的坐标系,然后根据各组数据的坐标点划分群体,确定坐标点最多的为最大群,即,图6.3中群2为最大群,最后,将最大群的几何中心所对应的坐标点确定为终端设备的休眠时间的数据,即,图6.4中的群2中的几何中心。这样,采用该算法终端设备自动根据最新的历史秀休眠数据计算下次休眠时间,大大保证了计算的休眠时间最接近用户的实时需求。In this step, the terminal device uses a preset algorithm to calculate the sleep time of the terminal device according to the coordinate data corresponding to the above-mentioned converted historical sleep data, according to the coordinate data, wherein the preset algorithm means that the terminal device calculates the sleep time according to the coordinate data. The algorithm used in time, such as the K-means clustering algorithm, may of course be other algorithms, which are not limited in this embodiment. For example, taking the preset algorithm as the K-means clustering algorithm as an example, as shown in Figure 6.1-Figure 6.4, the terminal device first normalizes the coordinate data corresponding to the historical sleep data into the coordinate system, that is, the above Figure 6.1 The 7 groups of coordinate data in are normalized to the coordinate system of Figure 6.2, and then the groups are divided according to the coordinate points of each group of data, and the largest group is determined with the most coordinate points, that is,
可以理解的是,上述提供的实施例说明的是终端设备在当前状态满足预设的节电条件后为用户开启最佳节电模式的方法,该最佳节电模式可以使用在用户处于睡眠状态的环境下,考虑到用户在睡醒时使用终端设备时,还要对终端设备进行模式切换带来的麻烦,在一个实施例中,在所述开启最佳节电模式之后,所述方法还包括:在所述终端设备亮屏时或者在所述休眠时间结束前的预设时刻到达时,从所述最佳节电模式切换至工作模式。It can be understood that, the above-mentioned embodiments describe the method for enabling the best power saving mode for the user after the current state of the terminal device satisfies the preset power saving condition, and the best power saving mode can be used when the user is in a sleep state. In an environment where the user needs to switch the mode of the terminal device when using the terminal device when waking up, in one embodiment, after the optimal power saving mode is turned on, the method further The method includes: switching from the optimal power saving mode to the working mode when the screen of the terminal device is on or when a preset time before the end of the sleep time arrives.
本实施例中,在终端设备亮屏时或者在休眠时间结束前的预设时刻到达时,从所述最佳节电模式切换至工作模式,其中,终端设备亮屏表示的用户起床的时间处于休眠时间内且距休眠时间的结束时间比较远时,用户自己主动打开终端设备的情况,这种情况下,终端设备检测到屏幕状态切换为亮屏状态了,则为终端设备自动解除最佳节电模式,即,解除对各预设应用的限制,将终端设备切换为工作模式。另外的在休眠时间结束前的预设时刻到达时,表示的是用户的起床时间在休眠时间结束时刻的附近或者之后,终端设备检测到休眠时间结束时刻前的预设时刻到达(例如:结束时刻的前半小时),自动为终端设备解除最佳节电模式,将终端设备切换为工作模式。其中,预设时刻为用户根据需求设定,可以是半小时,也可以是一小时,本实施例对此不做限定。这样,不管用户起床比较早或者起床比较晚,终端设备均可自动的为用户解除最佳节电模式,将终端设备切换为工作模式,大大方便了用户在睡醒时继续使用终端设备。In this embodiment, when the screen of the terminal device is on or when a preset time before the end of the sleep time arrives, the optimal power-saving mode is switched to the working mode, wherein the time when the user wakes up indicated by the bright screen of the terminal device is at In the case where the user actively turns on the terminal device within the sleep time and is far from the end time of the sleep time, in this case, the terminal device detects that the screen state is switched to the bright screen state, and the terminal device automatically cancels the best mode. The power mode, that is, the restriction on each preset application is lifted, and the terminal device is switched to the working mode. In addition, when the preset time before the end of the sleep time arrives, it means that the user's wake-up time is near or after the end of the sleep time, and the terminal device detects that the preset time before the end of the sleep time arrives (for example: the end time the first half an hour), automatically release the best power saving mode for the terminal device, and switch the terminal device to the working mode. The preset time is set by the user according to requirements, which may be half an hour or one hour, which is not limited in this embodiment. In this way, regardless of whether the user gets up early or gets up late, the terminal device can automatically release the optimal power saving mode for the user and switch the terminal device to the working mode, which greatly facilitates the user to continue to use the terminal device when waking up.
应该理解的是,虽然图2-6的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2-6中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the steps in the flowcharts of FIGS. 2-6 are shown in sequence according to the arrows, these steps are not necessarily executed in the sequence shown by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in FIGS. 2-6 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed and completed at the same time, but may be executed at different times. These sub-steps or stages are not necessarily completed at the same time. The order of execution of the steps is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a part of sub-steps or stages of other steps.
另外,本申请实施例还提供一种待机优化装置,用于实现上述实施例提供的一种待机优化方法。在一个实施例中,如图7所示,提供了一种待机优化装置,包括:检测模块10、判断模块11和开启模块12,其中:In addition, an embodiment of the present application further provides a standby optimization device, which is used to implement the standby optimization method provided by the above embodiment. In one embodiment, as shown in FIG. 7, a standby optimization device is provided, including: a detection module 10, a judgment module 11 and an opening module 12, wherein:
检测模块10,用于检测终端设备的屏幕状态;The detection module 10 is used to detect the screen state of the terminal device;
判断模块11,用于在所述屏幕状态为灭屏状态,且灭屏持续时间超过预设时长时,判断所述终端设备是否满足预设的节电条件;所述预设的节电条件包括当前时刻是否处于所述终端设备的休眠时间;The judgment module 11 is configured to judge whether the terminal device satisfies a preset power saving condition when the screen state is a screen-off state and the screen-off duration exceeds a preset duration; the preset power-saving conditions include: Whether the current moment is in the sleep time of the terminal device;
开启模块12,用于若所述终端设备满足预设的节电条件,则开启最佳节电模式;所述最佳节电模式用于指示所述终端设备停止运行预设的应用。The enabling module 12 is configured to enable the optimum power saving mode if the terminal device satisfies the preset power saving condition; the optimum power saving mode is used to instruct the terminal device to stop running the preset application.
上述实施例提供的一种待机优化装置,其实现原理和技术效果与上述方法实施例类似,在此不再赘述。The implementation principle and technical effect of the standby optimization device provided by the above-mentioned embodiment are similar to those of the above-mentioned method embodiment, which will not be repeated here.
在其中一个实施例中,所述预设的节电条件还包括:所述终端设备为低电耗模式、且所述终端设备未运行播放应用。In one embodiment, the preset power saving condition further includes: the terminal device is in a low power consumption mode, and the terminal device does not run a playback application.
上述实施例提供的一种待机优化装置,其实现原理和技术效果与上述方法实施例类似,在此不再赘述。The implementation principle and technical effect of the standby optimization device provided by the above-mentioned embodiment are similar to those of the above-mentioned method embodiment, which will not be repeated here.
在其中一个实施例中,如图8所示,提供了一种待机优化装置,该装置还包括:获取模块13、确定模块14,其中:In one of the embodiments, as shown in FIG. 8, a standby optimization apparatus is provided, and the apparatus further includes: an acquisition module 13 and a determination module 14, wherein:
获取模块13,用于获取所述终端设备的历史休眠数据;an acquisition module 13, configured to acquire historical dormancy data of the terminal device;
确定模块14,用于根据所述历史休眠数据,确定所述终端设备的休眠时间;所述休眠时间包括所述终端设备进入休眠状态的开始时间和持续时长。The determining module 14 is configured to determine the sleep time of the terminal device according to the historical sleep data; the sleep time includes the start time and the duration of the terminal device entering the sleep state.
上述实施例提供的一种待机优化装置,其实现原理和技术效果与上述方法实施例类似,在此不再赘述。The implementation principle and technical effect of the standby optimization device provided by the above-mentioned embodiment are similar to those of the above-mentioned method embodiment, which will not be repeated here.
在其中一个实施例中,如图9所示,提供了一种待机优化装置,上述获取模块13包括:获取单元131、记录单元132,其中:In one of the embodiments, as shown in FIG. 9, a standby optimization device is provided, and the above-mentioned acquisition module 13 includes: an acquisition unit 131 and a recording unit 132, wherein:
获取单元131,用于获取所述终端设备每一次的灭屏时刻和对应的亮屏时刻之间的时间间隔;an obtaining unit 131, configured to obtain the time interval between each screen-off moment of the terminal device and the corresponding screen-on moment;
记录单元132,用于将满足预设间隔条件的灭屏时刻和对应的亮屏时刻之间的数据记录为历史休眠数据,并增加所述历史休眠数据的总数量。The recording unit 132 is configured to record the data between the screen-off moment that meets the preset interval condition and the corresponding screen-on moment as historical sleep data, and to increase the total quantity of the historical sleep data.
上述实施例提供的一种待机优化装置,其实现原理和技术效果与上述方法实施例类似,在此不再赘述。The implementation principle and technical effect of the standby optimization device provided by the above-mentioned embodiment are similar to those of the above-mentioned method embodiment, which will not be repeated here.
在其中一个实施例中,上述获取模块13还包括移除单元,用于判断所述历史休眠数据的总数量是否大于或等于预设阈值;若是,则移除所述历史休眠数据中记录时间最早的休眠数据。In one embodiment, the obtaining module 13 further includes a removing unit for judging whether the total amount of the historical dormancy data is greater than or equal to a preset threshold; if so, remove the oldest recorded time in the historical dormancy data hibernation data.
上述实施例提供的一种待机优化装置,其实现原理和技术效果与上述方法实施例类似,在此不再赘述。The implementation principle and technical effect of the standby optimization device provided by the above-mentioned embodiment are similar to those of the above-mentioned method embodiment, which will not be repeated here.
在其中一个实施例中,如图10所示,提供了一种待机优化装置,上述确定模块14包括:转换单元141、计算单元142,其中:In one of the embodiments, as shown in FIG. 10, a standby optimization device is provided, and the above determination module 14 includes: a conversion unit 141 and a calculation unit 142, wherein:
转换单元141,用于将所述历史休眠数据的数据格式转换为二维坐标格式,得到所述历史休眠数据对应的坐标数据;所述二维坐标的横坐标为灭屏开始时刻,纵坐标为灭屏持续时长;The conversion unit 141 is used to convert the data format of the historical dormancy data into a two-dimensional coordinate format, and obtain the coordinate data corresponding to the historical dormancy data; the abscissa of the two-dimensional coordinates is the screen-off start time, and the ordinate is The duration of the screen off;
计算单元142,用于根据所述坐标数据,采用预设的算法计算所述终端设备的休眠时间。The calculation unit 142 is configured to use a preset algorithm to calculate the sleep time of the terminal device according to the coordinate data.
上述实施例提供的一种待机优化装置,其实现原理和技术效果与上述方法实施例类似,在此不再赘述。The implementation principle and technical effect of the standby optimization device provided by the above-mentioned embodiment are similar to those of the above-mentioned method embodiment, which will not be repeated here.
在其中一个实施例中,所述装置具体还用于在所述终端设备亮屏时或者在所述休眠时间结束前的预设时刻到达时,从所述最佳节电模式切换至工作模式。In one of the embodiments, the apparatus is further configured to switch from the optimal power saving mode to the working mode when the screen of the terminal device is on or when a preset time before the end of the sleep time arrives.
上述实施例提供的一种待机优化装置,其实现原理和技术效果与上述方法实施例类似,在此不再赘述。The implementation principle and technical effect of the standby optimization device provided by the above-mentioned embodiment are similar to those of the above-mentioned method embodiment, which will not be repeated here.
关于待机优化装置的具体限定可以参见上文中对于待机优化方法的限定,在此不再赘述。上述待机优化装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific limitation of the standby optimization device, reference may be made to the definition of the standby optimization method above, which will not be repeated here. Each module in the above-mentioned standby optimization device may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
在一个实施例中,提供了一种计算机设备,该计算机设备可以是终端,其内部结构图可以参见上述图1所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口、显示屏和输入装置。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种待机优化方法。该计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。In one embodiment, a computer device is provided, the computer device may be a terminal, and the internal structure diagram of the computer device can be referred to as shown in FIG. 1 above. The computer equipment includes a processor, memory, a network interface, a display screen, and an input device connected by a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium, an internal memory. The nonvolatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. The computer program when executed by a processor implements a standby optimization method. The display screen of the computer equipment may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment may be a touch layer covered on the display screen, or a button, a trackball or a touchpad set on the shell of the computer equipment , or an external keyboard, trackpad, or mouse.
本领域技术人员可以理解,图1中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 1 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied. Include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.
在一个实施例中,提供了一种计算机设备,包括存储器和处理器,存储器中存储有计算机程序,该处理器执行计算机程序时实现以下步骤:In one embodiment, a computer device is provided, including a memory and a processor, a computer program is stored in the memory, and the processor implements the following steps when executing the computer program:
检测终端设备的屏幕状态;Detect the screen status of the terminal device;
在所述屏幕状态为灭屏状态,且所述灭屏状态的持续时间超过预设时长时,判断所述终端设备是否满足预设的节电条件;所述预设的节电条件包括当前时刻是否处于所述终端设备的休眠时间;When the screen state is an off-screen state, and the duration of the off-screen state exceeds a preset duration, it is determined whether the terminal device satisfies a preset power saving condition; the preset power saving condition includes the current moment Whether it is in the sleep time of the terminal device;
若是,则开启最佳节电模式;所述最佳节电模式用于指示所述终端设备停止运行预设的应用。If so, turn on the best power saving mode; the best power saving mode is used to instruct the terminal device to stop running the preset application.
上述实施例提供的一种计算机设备,其实现原理和技术效果与上述方法实施例类似,在此不再赘述。The implementation principle and technical effect of the computer device provided by the above-mentioned embodiment are similar to those of the above-mentioned method embodiment, which will not be repeated here.
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:In one embodiment, a computer-readable storage medium is provided on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
检测终端设备的屏幕状态;Detect the screen status of the terminal device;
在所述屏幕状态为灭屏状态,且所述灭屏状态的持续时间超过预设时长时,判断所述终端设备是否满足预设的节电条件;所述预设的节电条件包括当前时刻是否处于所述终端设备的休眠时间;When the screen state is an off-screen state, and the duration of the off-screen state exceeds a preset duration, it is determined whether the terminal device satisfies a preset power saving condition; the preset power saving condition includes the current moment Whether it is in the sleep time of the terminal device;
若是,则开启最佳节电模式;所述最佳节电模式用于指示所述终端设备停止运行预设的应用。If so, turn on the best power saving mode; the best power saving mode is used to instruct the terminal device to stop running the preset application.
上述实施例提供的一种计算机可读存储介质,其实现原理和技术效果与上述方法实施例类似,在此不再赘述。The implementation principle and technical effect of the computer-readable storage medium provided by the above-mentioned embodiments are similar to those of the above-mentioned method embodiments, and details are not described herein again.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage In the medium, when the computer program is executed, it may include the processes of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database or other medium used in the various embodiments provided in this application may include non-volatile and/or volatile memory. Nonvolatile 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) or external cache memory. By way of illustration and not limitation, RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Road (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features It is considered to be the range described in this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present application, and the descriptions thereof are specific and detailed, but should not be construed as a limitation on the scope of the invention patent. It should be pointed out that for those skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the scope of protection of the patent of the present application shall be subject to the appended claims.
Claims (10)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910385635.0A CN110198558B (en) | 2019-05-09 | 2019-05-09 | Standby optimization method and device, computer equipment and storage medium |
PCT/CN2020/089352 WO2020224658A1 (en) | 2019-05-09 | 2020-05-09 | Standby optimization method and apparatus, and computer device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910385635.0A CN110198558B (en) | 2019-05-09 | 2019-05-09 | Standby optimization method and device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110198558A CN110198558A (en) | 2019-09-03 |
CN110198558B true CN110198558B (en) | 2022-07-12 |
Family
ID=67752484
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910385635.0A Active CN110198558B (en) | 2019-05-09 | 2019-05-09 | Standby optimization method and device, computer equipment and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110198558B (en) |
WO (1) | WO2020224658A1 (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110198558B (en) * | 2019-05-09 | 2022-07-12 | 深圳市万普拉斯科技有限公司 | Standby optimization method and device, computer equipment and storage medium |
CN111221633A (en) * | 2019-10-31 | 2020-06-02 | RealMe重庆移动通信有限公司 | Terminal control method and device, mobile terminal and storage medium |
CN111050388B (en) * | 2019-12-03 | 2023-01-06 | Oppo广东移动通信有限公司 | Doze mode control method, device, mobile terminal and storage medium |
CN113038580A (en) * | 2021-02-26 | 2021-06-25 | 北京小米松果电子有限公司 | Power saving mode control method, device, equipment and storage medium |
CN112904993A (en) * | 2021-03-16 | 2021-06-04 | 北京小米移动软件有限公司 | Screen control method, device and storage medium |
CN113747346B (en) * | 2021-05-10 | 2023-10-03 | 荣耀终端有限公司 | Standby method of terminal equipment and terminal equipment |
CN113747552B (en) * | 2021-06-18 | 2024-03-19 | 荣耀终端有限公司 | Power consumption optimization method and electronic equipment |
CN113342407B (en) * | 2021-06-25 | 2023-01-24 | 歌尔科技有限公司 | Screen control method and device, electronic equipment and readable storage medium |
CN114326427A (en) * | 2021-12-29 | 2022-04-12 | Tcl家用电器(合肥)有限公司 | A control method, device, intelligent device and storage medium for an intelligent device |
CN114630404A (en) * | 2022-03-15 | 2022-06-14 | 北京小米移动软件有限公司 | Terminal device control method, terminal device control device, storage medium and terminal device |
CN117692998B (en) * | 2023-07-27 | 2024-09-13 | 荣耀终端有限公司 | Data acquisition method under abnormal dormancy condition and electronic equipment |
CN116795196B (en) * | 2023-08-25 | 2023-11-17 | 深圳市德航智能技术有限公司 | Implementation method for reinforcing ultra-long standby of handheld tablet computer |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109222950A (en) * | 2018-10-19 | 2019-01-18 | 深圳和而泰数据资源与云技术有限公司 | Data processing method and device |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU2686673C1 (en) * | 2015-04-14 | 2019-04-30 | Хуавэй Текнолоджиз Ко., Лтд. | Device and method of terminal control and terminal |
CN106095059B (en) * | 2016-06-08 | 2019-03-01 | 维沃移动通信有限公司 | A kind of method and mobile terminal reducing mobile terminal power consumption |
CN106502371A (en) * | 2016-11-08 | 2017-03-15 | 珠海市魅族科技有限公司 | A kind of electricity-saving control method and device |
CN108628560A (en) * | 2017-03-22 | 2018-10-09 | 上海中兴软件有限责任公司 | A kind of display methods and terminal |
CN107277255A (en) * | 2017-06-28 | 2017-10-20 | 维沃移动通信有限公司 | A kind of alarm clock control method and mobile terminal |
CN107708187A (en) * | 2017-09-12 | 2018-02-16 | 北京小米移动软件有限公司 | The control method and device of sleep pattern |
CN108536269A (en) * | 2018-03-26 | 2018-09-14 | 上海康斐信息技术有限公司 | A kind of method and its system reducing terminal standby power consumption |
CN110198558B (en) * | 2019-05-09 | 2022-07-12 | 深圳市万普拉斯科技有限公司 | Standby optimization method and device, computer equipment and storage medium |
-
2019
- 2019-05-09 CN CN201910385635.0A patent/CN110198558B/en active Active
-
2020
- 2020-05-09 WO PCT/CN2020/089352 patent/WO2020224658A1/en active Application Filing
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109222950A (en) * | 2018-10-19 | 2019-01-18 | 深圳和而泰数据资源与云技术有限公司 | Data processing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN110198558A (en) | 2019-09-03 |
WO2020224658A1 (en) | 2020-11-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110198558B (en) | Standby optimization method and device, computer equipment and storage medium | |
CN107360327B (en) | Speech recognition method, apparatus and storage medium | |
JP5734505B2 (en) | Method and system for dynamically controlling power to multiple cores in a multi-core processor of a portable computing device | |
TWI634420B (en) | Terminal device and operating method thereof | |
US20100100716A1 (en) | Conserving Power Using Predictive Modelling and Signaling | |
CN110018901B (en) | Memory recovery method, apparatus, computer device, and computer-readable storage medium | |
CN103049319A (en) | Method and terminal for managing background application program by time period | |
CN110032266B (en) | Information processing method, apparatus, computer device, and computer-readable storage medium | |
CN103345415A (en) | Terminal energy-saving method and device for management timer | |
WO2019047924A1 (en) | Terminal and power consumption control method therefor, device and computer readable storage medium | |
WO2017101362A1 (en) | Method and system for managing and controlling power consumption of intelligent terminal | |
CN109992375B (en) | Information processing method, apparatus, computer device, and computer-readable storage medium | |
CN110032431A (en) | Application processing method and device, electronic equipment and computer readable storage medium | |
CN111163504A (en) | Power-saving processing method, mobile terminal and computer storage medium | |
CN110032397A (en) | Application processing method and apparatus, electronic device, computer-readable storage medium | |
CN106095412B (en) | Application program closing method and device | |
CN110018885B (en) | Application program freezing method and device, storage medium and terminal | |
CN113766611B (en) | Low power consumption control optimization method, device, mobile terminal and storage medium | |
WO2016110056A1 (en) | Terminal and terminal power-saving method | |
CN103257894A (en) | Program management method and electronic terminal | |
CN101995938A (en) | Memory card management method, device and mobile communication terminal | |
CN104601816A (en) | Method and device for reminding user of saving electricity | |
CN105589544A (en) | Method, device and terminal reducing central processor energy consumption | |
CN108471476A (en) | Mobile terminal backward charging management method and mobile terminal | |
CN110045812B (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 | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20250214 Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Country or region after: China Address before: 518000 Room 201, building A, 1 front Bay Road, Shenzhen Qianhai cooperation zone, Shenzhen, Guangdong Patentee before: ONEPLUS TECHNOLOGY (SHENZHEN) Co.,Ltd. Country or region before: China |