CN108647048A - Doze mode regulating methods, device, mobile terminal and storage medium - Google Patents

Doze mode regulating methods, device, mobile terminal and storage medium Download PDF

Info

Publication number
CN108647048A
CN108647048A CN201810474566.6A CN201810474566A CN108647048A CN 108647048 A CN108647048 A CN 108647048A CN 201810474566 A CN201810474566 A CN 201810474566A CN 108647048 A CN108647048 A CN 108647048A
Authority
CN
China
Prior art keywords
mobile terminal
current
state
time span
scene
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.)
Pending
Application number
CN201810474566.6A
Other languages
Chinese (zh)
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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201810474566.6A priority Critical patent/CN108647048A/en
Publication of CN108647048A publication Critical patent/CN108647048A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the present application discloses a kind of Doze mode regulating methods, device, mobile terminal and storage medium, is related to technical field of mobile terminals.The Doze mode regulating methods are applied to mobile terminal, the method includes:The current state of detection mobile terminal obtains the current scene of mobile terminal when the current state meets preset condition, determines that mobile terminal enters the time span of Doze patterns according to current scene.The use habit that Doze mode regulating methods, device, mobile terminal and storage medium provided by the embodiments of the present application pass through acquisition user, predict that user may use the time range and spatial dimension of mobile terminal, the time that adjustment mobile terminal is waken up promotes user experience.

Description

Doze mode regulating methods, device, mobile terminal and storage medium
Technical field
This application involves technical field of mobile terminals, more particularly, to a kind of Doze mode regulating methods, device, shifting Dynamic terminal and storage medium.
Background technology
Android 6.0 proposes Doze patterns (a kind of low power consumpting state of delay background task operation), mobile terminal The application program that can stop under Doze patterns in blacklist is serviced using network, to increase using duration and prolonging for mobile terminal The service life of long battery.But mobile terminal can repeatedly be waken up under Doze patterns at present, and when needing to wake up, But it is not performed, personal settings is not carried out according to user, user experience is not high.
Invention content
In view of the above problems, present applicant proposes a kind of Doze mode regulating methods, device, mobile terminal and storages to be situated between Matter, with by the use habit for obtaining user, prediction user may use the time range and spatial dimension of mobile terminal, intelligence The time that mobile terminal is waken up can be adjusted, user experience is promoted.
In a first aspect, the embodiment of the present application provides a kind of Doze mode regulating methods, it is applied to mobile terminal, the side Method includes:Detect the current state of the mobile terminal;When the current state meets preset condition, obtain described mobile whole The current scene at end;Determine that the mobile terminal enters the time span of Doze patterns according to the current scene.
Second aspect, the embodiment of the present application provide a kind of Doze mode tunings device, are applied to mobile terminal, the dress Set including:Current state detection module, the current state for detecting the mobile terminal;Current scene acquisition module, is used for When the current state meets preset condition, the current scene of the mobile terminal is obtained;Time span determining module, is used for Determine that the mobile terminal enters the time span of Doze patterns according to the current scene.
The third aspect, the embodiment of the present application provide a kind of mobile terminal, including touch screen, memory and processor, The touch screen is couple to the processor, the memory store instruction, when described instruction is by described with the memory It manages processor when device executes and executes the above method.
Fourth aspect, the embodiment of the present application provide it is a kind of with processor can perform program code it is computer-readable Take storage medium, said program code that the processor is made to execute the above method.
A kind of Doze mode regulating methods, device, mobile terminal and storage medium provided by the embodiments of the present application, detection The current state of mobile terminal obtains the current scene of mobile terminal, according to current when the current state meets preset condition Scene determines that mobile terminal enters the time span of Doze patterns, to which by the use habit for obtaining user, prediction user can The time range and spatial dimension of mobile terminal, the time that adjustment mobile terminal is waken up can be used to promote user's body It tests.
These aspects or other aspects of the application can more straightforward in the following description.
Description of the drawings
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present application, for For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 shows the flow diagram for the Doze mode regulating methods that the application first embodiment provides;
Fig. 2 shows the flow diagrams for the Doze mode regulating methods that the application second embodiment provides;
Fig. 3 shows the block schematic illustration of machine learning model provided by the embodiments of the present application;
Fig. 4 shows the flow diagram for the Doze mode regulating methods that the application 3rd embodiment provides;
Fig. 5 shows the module frame chart for the Doze mode tuning devices that the application fourth embodiment provides;
Fig. 6 shows the module frame chart for the Doze mode tuning devices that the 5th embodiment of the application provides;
Fig. 7 shows a kind of structural schematic diagram of mobile terminal provided by the embodiments of the present application;
Fig. 8 shows the block diagram of the mobile terminal for executing the Doze mode regulating methods according to the embodiment of the present application.
Specific implementation mode
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, those of ordinary skill in the art are obtained all other without creative efforts Embodiment shall fall in the protection scope of this application.
Android6.0 has newly increased a kind of new power management:Doze patterns.Wherein, the main function of the pattern It is the service life for extending battery, increases the use duration of the mobile terminal under not charged state.The principle of the technology is:With Family does not operate equipment and equipment is not connected to power supply for a period of time rear (such as 60 minutes periods), and system will stop in blacklist Application program is serviced using network.Inventor is by a large amount of the study found that currently, judging whether that it is basis to enter Doze patterns Mobile terminal turn places the mode still normally placed, and is compared using the time of mobile terminal to determine to be by user It is no to enter Doze patterns, achieve the purpose that power saving, but this mode is more demanding to the operability of user, actually uses process Middle user will not take notice of this time place whether be screen downward, can not be used as whether user use mobile terminal in this way Judgment criteria;Meanwhile this method is customized for the personalization of user, not from true usage scenario, is made It obtains when mobile terminal is not used and is repeatedly waken up, when needing to wake up execution task, is not performed but.For The above problem, inventors herein propose the embodiment of the present application provide provide Doze mode regulating methods, device, mobile terminal and Storage medium, by obtaining the use habit of user, prediction user may use the time range and space model of mobile terminal It encloses, the time that adjustment mobile terminal is waken up, promotes user experience.Wherein, specific Doze mode regulating methods are rear It is described in detail in continuous embodiment.
First embodiment
Referring to Fig. 1, Fig. 1 shows the flow diagram of Doze mode regulating methods provided by the embodiments of the present application.Institute State Doze mode regulating methods for by obtain user use habit, prediction user may using mobile terminal time Range and spatial dimension, the time that adjustment mobile terminal is waken up promote user experience.In the particular embodiment, institute Doze mode regulating methods are stated to be applied to Doze mode tunings device 200 as shown in Figure 5 and be configured with the Doze patterns The mobile terminal (Fig. 7) of regulating device 200.It will illustrate the detailed process of the present embodiment by taking mobile terminal as an example below, certainly, It should be understood that the mobile terminal that the present embodiment is applied can be smart mobile phone, tablet computer, wearable electronic equipment etc., Specific restriction is not done herein.It will be explained in detail below for flow shown in Fig. 3, the Doze mode regulating methods It can specifically include following steps:
Step S110:Detect the current state of the mobile terminal.
In the present embodiment, the current state of mobile terminal is detected first, wherein the current shape of the mobile terminal State may include screen state, motion state and plug-in state, respectively to screen state, motion state and plug-in state into Row detection.Specifically, can be by whether detecting in display module backlight to the detection of screen state as a kind of mode It opens to be judged, it is possible to understand that, when the backlight in display module is opened, judge that the screen state is bright screen, when When backlight in display module is closed, judge that the screen state is to put out screen;Alternatively, to the detection of screen state Can also be to be judged by being detected to screen intensity, wherein mobile terminal pre-sets and is stored with default bright Degree, the predetermined luminance is for the basis for estimation as screen intensity, when the screen intensity of detection is higher than the predetermined luminance, characterization The screen state is bright screen, and when screen intensity is less than the predetermined luminance, it is to put out screen to characterize the screen state.
Further, can be detected to sentence by the acceleration to mobile terminal to the detection of motion state It is disconnected, wherein the acceleration of mobile terminal can be detected by acceleration transducer built in mobile terminal or gyroscope, It does not limit herein.It should be understood that when detecting mobile terminal, there are the movement shapes for when acceleration, characterizing the mobile terminal State is movement, and when detecting that acceleration is not present in mobile terminal, the motion state for characterizing the mobile terminal is static.
Further, can be detected to carry out by the charged state to mobile terminal to the detection of plug-in state Judge, it is possible to understand that, when detecting that mobile terminal is in charged state, the plug-in state for characterizing the mobile terminal is slotting Electricity, when detecting that mobile terminal is in non-charged state, the plug-in state for characterizing the mobile terminal is non-plug-in.
Step S120:When the current state meets preset condition, the current scene of the mobile terminal is obtained.
In the present embodiment, after obtaining current state, current state is detected and whether judges the current state Meet preset condition, wherein when meeting preset condition, obtain the current scene of mobile terminal.Specifically, mobile terminal is advance It is arranged and stores preset condition, the preset condition is for the basis for estimation as current state, as a kind of mode, when current shape When state includes screen state, motion state and plug-in state, the preset condition be screen state be put out screen, motion state is quiet Only and plug-in state be non-plug-in, therefore, in the present embodiment, when judge the screen state in the current state for put out shield, Motion state in current state be static and current state in plug-in state when being non-plug-in, obtain the mobile terminal Current scene.
Wherein, which may include at least one of current time and current location, you can to include current Time may include current location, can also include current time and current location, wherein current time may include current Date and current time, current location can be obtained by the GPS built in mobile terminal.
Step S130:Determine that the mobile terminal enters the time span of Doze patterns according to the current scene.
As an embodiment of the present embodiment, after obtaining current scene, determined based on the current scene mobile whole End into Doze patterns time span, i.e., after obtaining current time and current location, to current time and current location into Row comprehensive analysis is to determine that mobile terminal enters the time span of Doze patterns.For example, when user is on Monday to Friday 1:00 AM To 4:00 AM, mobile terminal is hardly used, then in this period, mobile terminal will not exit Doze entrance Mintenance window, wherein Mintenance window characterization systems allow using the action for completing to be delayed, herein Period can use central processing unit (CPU, Central Processing Unit) and network.It is sent to when there is push message Using user will not perceive;When user in the morning 7 points to 8 points of morning, this period higher using the probability of mobile terminal, The time interval that mobile terminal is in Doze patterns is shorter, appoints when in Mintenance window, background application can execute Business.
The Doze mode regulating methods that the application first embodiment provides, detect the current state of mobile terminal, when deserving When preceding state meets preset condition, the current scene of mobile terminal is obtained, determines that mobile terminal enters Doze according to current scene The time span of pattern, to which by the use habit for obtaining user, prediction user may use the time model of mobile terminal It encloses and spatial dimension, the time that adjustment mobile terminal is waken up promotes user experience.
Second embodiment
Referring to Fig. 2, the flow signal of the Doze mode regulating methods provided Fig. 2 shows the application second embodiment Figure.It will be explained in detail below for flow shown in Fig. 2, shown method can specifically include following steps:
Step S210:Detect screen state, motion state and the plug-in state of mobile terminal.
Step S220:When the screen state is puts out screen, the motion state is that the static and described plug-in state is non- When plug-in, the current scene of the mobile terminal is obtained.
Wherein, the implementation method of step S210- steps S220 specifically please refers to step S110- step S120, herein no longer It repeats.
Step S230:The current scene is inputted into machine learning model, the machine learning model is based on convolutional Neural Network architecture is simultaneously trained acquisition, the multiple scene sample and institute by multiple scene samples and multiple time span samples Multiple time span samples are stated to correspond.
In the present embodiment, mobile terminal is previously stored with machine learning model, and the machine learning model is defeated for receiving Enter information and input information is handled, to export output information corresponding with the input information, wherein in the present embodiment In, after obtaining current scene, the current scene is inputted into pre-stored machine learning model, to pass through the engineering Model is practised to being based on current scene output time length.
Wherein, which established based on convolutional neural networks framework, after the completion of foundation, then by multiple Scene sample and multiple time span samples are trained acquisition, it should be noted that in the present embodiment, multiple scene samples It is corresponded with multiple time span samples, i.e., each scene sample in multiple scene samples corresponds to multiple time span samples In a time span sample.Specifically, multiple scene samples and multiple time span sample standard deviations can pass through historical data It obtains.
Referring to Fig. 3, as a kind of mode that can implement, which increases a study clothes in systems Business, contains input layer (DataCollector) and learning layer (LearningMachine) in the service, wherein:
Input layer:The data that processing sendData is sended over.Data are dispatched to according to typonym corresponding DataCollecter。
Learning layer:OnTrainingComplete readjustments and getPredictValue after the completion of processing study obtain pre- Measured data.LearningMachine can facilitate reception number of users by oneself to being registered in interested DataCollector According to.After Service starts, the learning state for needing heap current is initialized (reading cache data, current learning states), such as Fruit study, which does not complete, to be continued to learn.
DataCollector:Inside completes the parsing and assembling of bundle data by Handler, avoids binder tune With obstruction.When data are saved in it is a certain amount of when (configured according to actual demand), notify LearningMachine in observer into Row update obtains data.Meanwhile it needing data in local cache.
LearningMachine:By in the data buffer storage being collected into local Map, learn need when the data in Map meet When asking, learning tasks are notified to learn to internal Handler, each LearningMchine possesses the Handler of oneself. It notifies all clients to learn to complete by Callback readjustments after the completion of study, while learning outcome locally being preserved, it will It oneself goes to register from DataCollector, no longer receives data.
Client:After the completion of receiving readjustment notice study, sendData need to be terminated and send request, and server-side will not be located Reason.
Step S240:Obtain the time span that the machine learning model is exported based on the current scene.
Step S250:The current scene is added to the scene sample and obtains current scene sample, and will be described Time span is added to the time span sample and obtains current interval sample.
In the present embodiment, it after obtaining current interval corresponding with current scene by machine learning model, learns Acclimatization business meeting continuous collecting enters, exits the user data of Doze patterns, and current scene is added to scene sample and is made jointly Current scene sample is constituted for scene sample, time span is added to time span sample collectively as time span sample structure At current interval sample.
Step S260:Based on machine learning mould described in the current scene sample and the current interval Sample Refreshment Type.
Further, after obtaining current scene sample and current interval sample, based on the current scene sample and Current interval sample is updated machine learning model, to keep newest user's use habit.It specifically, will be current Input vector of the scene sample as machine learning model, using current interval sample as the output of machine learning model to Amount is trained the machine learning model, to update the machine learning model.
The Doze mode regulating methods that the application second embodiment provides detect screen state, the movement shape of mobile terminal State and plug-in state obtain movement when screen state is puts out screen, motion state is static and plug-in state is non-plug-in Current scene is inputted machine learning model by the current scene of terminal, which is based on convolutional neural networks framework And acquisition, multiple scene sample and multiple time spans are trained by multiple scene samples and multiple time span samples Sample corresponds, and obtains the time span that machine learning model is exported based on current scene, current scene is added to scene Sample obtains current scene sample, and time span is added to time span sample and obtains current interval sample, base In current scene sample and current interval Sample Refreshment machine learning model, with by the use habit for obtaining user, and Predict that user may use the time range and spatial dimension of mobile terminal, adjustment mobile terminal quilt by machine learning The time of wake-up promotes user experience.
3rd embodiment
Referring to Fig. 4, Fig. 4 shows the flow signal for the Doze mode regulating methods that the application 3rd embodiment provides Figure.It will be explained in detail below for flow shown in Fig. 4, shown method can specifically include following steps:
Step S310:Detect screen state, motion state and the plug-in state of mobile terminal.
Step S320:When the screen state is puts out screen, the motion state is that the static and described plug-in state is non- When plug-in, the current scene of the mobile terminal is obtained.
Wherein, the implementation method of step S310- steps S320 specifically please refers to step S110- step S120, herein no longer It repeats.
Step S330:Detect whether the mobile terminal is in the Doze patterns.
Step S340:When the mobile terminal is not in the Doze patterns, according to current scene determination Mobile terminal enters the time span of the Doze patterns.
In the present embodiment, after the current scene for obtaining mobile terminal, detect whether mobile terminal is in Doze first Pattern, wherein when detection judgement mobile terminal is in Doze patterns, then mobile terminal keeps Doze patterns not execute other behaviour Make;When detection judgement mobile terminal is in non-Doze patterns, then mobile terminal determines that mobile terminal enters according to current scene The time span of Doze patterns.
Step S350:It controls the mobile terminal and enters the Doze patterns by the time span.
Step S360:When by putting out, screen is switched to bright screen to the screen state, the motion state is switched to movement by static Or the plug-in state, when being switched to plug-in by non-plug-in, the mobile terminal exits the Doze patterns and enters Mintenance window。
After obtaining mobile terminal and entering the time span of Doze patterns, then controls mobile terminal and enter by the time span Doze patterns, it is possible to understand that, at this point, the mobile terminal sleep and suspension.Further, continue to the current of mobile terminal State is detected, wherein is switched to fortune in bright screen, current state by putting out screen when detecting the screen state in current state Dynamic state by it is static be switched to mobile or plug-in state plug-in be switched to by non-plug-in when, i.e., when screen state, motion state with And at least one of plug-in state when being unsatisfactory for preset condition, then mobile terminal exits the Doze patterns and enters Mintenance window, at this time mobile terminal normal operation.
The Doze mode regulating methods that the application 3rd embodiment provides detect screen state, the movement shape of mobile terminal State and plug-in state obtain movement when screen state is puts out screen, motion state is static and plug-in state is non-plug-in The current scene of terminal, whether detection mobile terminal is in Doze patterns, when mobile terminal is not in Doze patterns, according to working as Preceding scene determines that mobile terminal enters the time span of Doze patterns, and temporally length enters Doze patterns to control mobile terminal, When screen state by put out screen be switched to bright screen, motion state by it is static be switched to mobile or plug-in state be switched to by non-plug-in it is slotting When electric, mobile terminal exits Doze patterns and enters Mintenance window, thus the use habit by obtaining user, in advance The time range and spatial dimension of mobile terminal may be used by surveying user, the time that adjustment mobile terminal is waken up, be carried Rise user experience.
Fourth embodiment
Referring to Fig. 5, Fig. 5 shows the module frame for the Doze mode tunings device 200 that the application fourth embodiment provides Figure.It will be illustrated below for block diagram shown in fig. 5, the Doze mode tunings device 200 includes:Current state detects mould Block 210, current scene acquisition module 220 and time span determining module 230, wherein:
Current state detection module 210, the current state for detecting the mobile terminal.
Current scene acquisition module 220, for when the current state meets preset condition, obtaining the mobile terminal Current scene.
Time span determining module 230, for determining that the mobile terminal enters Doze patterns according to the current scene Time span.
5th embodiment
Referring to Fig. 6, Fig. 6 shows the module frame for the Doze mode tunings device 300 that the application fourth embodiment provides Figure.It will be illustrated below for block diagram shown in fig. 6, the Doze mode tunings device 300 includes:Current state detects mould Block 310, current scene acquisition module 320, time span determining module 330, current sample acquisition module 340, machine learning mould Type update module 350, Doze mode control modules 360 and wake-up module 370, wherein:
Current state detection module 310, the current state for detecting the mobile terminal.
Current scene acquisition module 320, for when the current state meets preset condition, obtaining the mobile terminal Current scene.Further, the current scene acquisition module 320 includes:Current scene acquisition submodule, wherein:
Current scene acquisition submodule, for work as the screen state for put out screen, the motion state be static and institute State plug-in state be non-plug-in when, obtain the current scene of the mobile terminal.
Time span determining module 330, for determining that the mobile terminal enters Doze patterns according to the current scene Time span.Further, the time span determining module 330 includes:Current scene input submodule, time span are true Stator modules, Doze mode detections submodule and the second time span determination sub-module, wherein:
Current scene input submodule, for the current scene to be inputted machine learning model, the machine learning mould Type is based on convolutional neural networks framework and is trained acquisition by multiple scene samples and multiple time span samples, described more A scene sample and the multiple time span sample correspond.
First time length determination sub-module is exported based on the current scene for obtaining the machine learning model The time span.
Doze mode detection submodules, for detecting whether the mobile terminal is in the Doze patterns.
Second time span determination sub-module, for when the mobile terminal is not in the Doze patterns, according to institute It states current scene and determines that the mobile terminal enters the time span of the Doze patterns.
Current sample acquisition module 340 obtains current scene for the current scene to be added to the scene sample Sample, and the time span is added to the time span sample and obtains current interval sample.
Machine learning model update module 350, for being based on the current scene sample and the current interval sample This update machine learning model.
Doze mode control modules 360 enter the Doze moulds for controlling the mobile terminal by the time span Formula.
Wake-up module 370 is switched to bright screen, the motion state by static switching for working as the screen state by putting out screen When being switched to plug-in by non-plug-in for the mobile or described plug-in state, the mobile terminal exits the Doze patterns and enters Mintenance window。
In conclusion a kind of Doze mode regulating methods, device, mobile terminal and storage provided by the embodiments of the present application Medium detects the current state of mobile terminal, and when the current state meets preset condition, obtain mobile terminal works as front court Scape determines that mobile terminal enters the time span of Doze patterns according to current scene, thus the use habit by obtaining user, Predict that user may be using the time range and spatial dimension of mobile terminal, the time that adjustment mobile terminal is waken up, Promote user experience.
It should be noted that each embodiment in this specification is described in a progressive manner, each embodiment weight What point illustrated is all the difference with other embodiments, and the same or similar parts between the embodiments can be referred to each other. For device class embodiment, since it is basically similar to the method embodiment, so fairly simple, the related place ginseng of description See the part explanation of embodiment of the method.For arbitrary processing mode described in embodiment of the method, in device reality It applies in example and no longer can be one by one repeated in device embodiment by corresponding processing modules implement.
Referring to Fig. 7, based on above-mentioned Doze mode regulating methods, device, the embodiment of the present application also provides one kind Mobile terminal 100 comprising electronic body portion 10, the electronic body portion 10 include shell 12 and be arranged on the shell 12 Main display 120.Metal can be used in the shell 12, such as steel, aluminium alloy are made.In the present embodiment, the main display 120 generally include display panel 111, may also comprise for responding the circuit etc. for carrying out touch control operation to the display panel 111. The display panel 111 can be a liquid crystal display panel (Liquid Crystal Display, LCD), in some implementations In example, the display panel 111 is a touch screen 109 simultaneously.
Please refer to Fig. 8, in actual application scenarios, the mobile terminal 100 can be used as intelligent mobile phone terminal into It exercises and uses, the electronic body portion 10 also typically includes one or more (only showing one in figure) processors in this case 102, memory 104, RF (Radio Frequency, radio frequency) module 106, voicefrequency circuit 110, sensor 114, input module 118, power module 122.It will appreciated by the skilled person that structure shown in Fig. 8 is only to illustrate, not to described The structure in electronic body portion 10 causes to limit.For example, the electronic body portion 10 may also include than shown in Fig. 8 more or more Few component, or with the configuration different from shown in Fig. 8.
It will appreciated by the skilled person that for the processor 102, all other component belongs to It is coupled by multiple Peripheral Interfaces 124 between peripheral hardware, the processor 102 and these peripheral hardwares.The Peripheral Interface 124 can Based on following standard implementation:Universal Asynchronous Receive/sending device (Universal Asynchronous Receiver/ Transmitter, UART), universal input/output (General Purpose Input Output, GPIO), serial peripheral connect Mouthful (Serial Peripheral Interface, SPI), internal integrated circuit (Inter-Integrated Circuit, I2C), but it is not limited to above-mentioned standard.In some instances, the Peripheral Interface 124 can only include bus;In other examples In, the Peripheral Interface 124 may also include other elements, such as one or more controller, such as connecting the display The display controller of panel 111 or storage control for connecting memory.In addition, these controllers can also be from described Detached in Peripheral Interface 124, and be integrated in the processor 102 or corresponding peripheral hardware in.
The memory 104 can be used for storing software program and module, and the processor 102 is stored in institute by operation The software program and module in memory 104 are stated, to perform various functions application and data processing.The memory 104 may include high speed random access memory, may also include nonvolatile memory, and such as one or more magnetic storage device dodges It deposits or other non-volatile solid state memories.In some instances, the memory 104 can further comprise relative to institute The remotely located memory of processor 102 is stated, these remote memories can pass through network connection to the electronic body portion 10 Or the main display 120.The example of above-mentioned network includes but not limited to internet, intranet, LAN, mobile communication Net and combinations thereof.
The RF modules 106 are used to receive and transmit electromagnetic wave, realize the mutual conversion of electromagnetic wave and electric signal, to It is communicated with communication network or miscellaneous equipment.The RF modules 106 may include various existing for executing these functions Circuit element, for example, antenna, RF transceiver, digital signal processor, encryption/deciphering chip, subscriber identity module (SIM) card, memory etc..The RF modules 106 can be carried out with various networks such as internet, intranet, wireless network Communication is communicated by wireless network and miscellaneous equipment.Above-mentioned wireless network may include cellular telephone networks, wireless LAN or Metropolitan Area Network (MAN).Above-mentioned wireless network can use various communication standards, agreement and technology, including but not limited to Global system for mobile communications (Global System for Mobile Communication, GSM), enhanced mobile communication skill Art (Enhanced Data GSM Environment, EDGE), Wideband CDMA Technology (wideband code Division multiple access, W-CDMA), Code Division Multiple Access (Code division access, CDMA), time-division Multiple access technology (time division multiple access, TDMA), adopting wireless fidelity technology (Wireless, Fidelity, WiFi) (such as American Institute of Electrical and Electronics Engineers's standard IEEE 802.10A, IEEE802.11b, IEEE802.11g and/or IEEE 802.11n), the networking telephone (Voice over internet protocal, VoIP), worldwide interoperability for microwave accesses It is (Worldwide Interoperability for Microwave Access, Wi-Max), other for mail, Instant Messenger Agreement and any other suitable communications protocol of news and short message, or even may include that those are not developed currently yet Agreement.
Voicefrequency circuit 110, receiver 101, sound jack 103, microphone 105 provide user and the electronic body portion jointly Audio interface between 10 or described main displays 120.Specifically, the voicefrequency circuit 110 receives from the processor 102 Voice data is converted to electric signal by voice data, by electric signal transmission to the receiver 101.The receiver 101 is by electric signal Be converted to the sound wave that human ear can be heard.The voicefrequency circuit 110 receives electric signal also from the microphone 105, by electric signal Voice data is converted to, and gives the processor 102 to be further processed data transmission in network telephony.Audio data can be with It is obtained from the memory 104 or by the RF modules 106.In addition, audio data can also be stored to the storage It is sent in device 104 or by the RF modules 106.
The setting of the sensor 114 is in the electronic body portion 10 or in the main display 120, the sensor 114 example includes but is not limited to:Optical sensor, operation sensor, pressure sensor, gravity accelerometer and Other sensors.
Specifically, the sensor 114 may include light sensor 114F, pressure sensor 114G.Wherein, pressure sensing Device 114G can detect the sensor by pressing the pressure generated in mobile terminal 100.That is, pressure sensor 114G detection by with The pressure that contact between family and mobile terminal or pressing generate, for example, by between the ear and mobile terminal of user contact or Press the pressure generated.Therefore, whether pressure sensor 114G may be used to determine occurs between user and mobile terminal 100 Contact or the size of pressing and pressure.
Referring to Fig. 8, specifically in the embodiment shown in fig. 8, the light sensor 114F and the pressure Sensor 114G is arranged adjacent to the display panel 111.The light sensor 114F can have object close to the main display When shielding 120, such as when the electronic body portion 10 is moved in one's ear, the processor 102 closes display output.
As a kind of motion sensor, gravity accelerometer can detect in all directions (generally three axis) and accelerate The size of degree can detect that size and the direction of gravity, can be used to identify the application of 100 posture of the mobile terminal when static (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.. In addition, the electronic body portion 10 can also configure other sensors such as gyroscope, barometer, hygrometer, thermometer, herein no longer It repeats,
In the present embodiment, the input module 118 may include being arranged the touch screen on the main display 120 109, the touch screen 109 collect user on it or neighbouring touch operation (for example user is any using finger, stylus etc. Operation of the suitable object or attachment on the touch screen 109 or near the touch screen 109), and according to presetting The corresponding attachment device of driven by program.Optionally, the touch screen 109 may include touch detecting apparatus and touch controller. Wherein, the touch orientation of the touch detecting apparatus detection user, and the signal that touch operation is brought is detected, it transmits a signal to The touch controller;The touch controller receives touch information from the touch detecting apparatus, and by the touch information It is converted into contact coordinate, then gives the processor 102, and order that the processor 102 is sent can be received and executed. Furthermore, it is possible to realize touching for the touch screen 109 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Touch detection function.In addition to the touch screen 109, in other change embodiments, the input module 118 can also include it Its input equipment, such as button 107.The button 107 for example may include the character keys for inputting character, and for triggering The control button of control function.The example of the control button includes " returning to main screen " button, on/off button etc..
The information and the electronics that the main display 120 is used to show information input by user, is supplied to user The various graphical user interface of body part 10, these graphical user interface can by figure, text, icon, number, video and its Arbitrary to combine to constitute, in an example, the touch screen 109 may be disposed on the display panel 111 thus with described Display panel 111 constitutes an entirety.
The power module 122 is used to provide supply of electric power to the processor 102 and other each components.Specifically, The power module 122 may include power-supply management system, one or more power supply (such as battery or alternating current), charging circuit, Power-fail detection circuit, inverter, indicator of the power supply status and it is other arbitrarily with the electronic body portion 10 or the master The generation, management of electric power and the relevant component of distribution in display screen 120.
The mobile terminal 100 further includes locator 119, and the locator 119 is for determining 100 institute of the mobile terminal The physical location at place.In the present embodiment, the locator 119 realizes the positioning of the mobile terminal 100 using positioning service, The positioning service, it should be understood that the location information of the mobile terminal 100 is obtained by specific location technology (as passed through Latitude coordinate), it is marked on the electronic map by the technology of the position of positioning object or service.
It should be understood that above-mentioned mobile terminal 100 is not limited to intelligent mobile phone terminal, should refer to can move The computer equipment used in dynamic.Specifically, mobile terminal 100, refers to the mobile computer for being equipped with intelligent operating system Equipment, mobile terminal 100 include but not limited to smart mobile phone, smartwatch, tablet computer, etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office It can be combined in any suitable manner in one or more embodiments or example.In addition, without conflicting with each other, the skill of this field Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples It closes and combines.
In addition, term " first ", " second " are used for description purposes only, it is not understood to indicate or imply relative importance Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include at least one this feature.In the description of the present application, the meaning of " plurality " is at least two, such as two, three It is a etc., unless otherwise specifically defined.
Any process or the method description described in other ways in flow chart or herein is construed as, and expression includes It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discuss suitable Sequence, include according to involved function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be by the application Embodiment person of ordinary skill in the field understood.
The logic and/or step for indicating or describing in other ways herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for (system of such as computer based system including processor other can be held from instruction for instruction execution system, device or equipment The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicating, propagating or passing Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment It sets.The more specific example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring Interconnecting piece (mobile terminal), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other suitable Medium, because can be for example by carrying out optical scanner to paper or other media, then into edlin, interpretation or when necessary with it Its suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or combination thereof.Above-mentioned In embodiment, software that multiple steps or method can in memory and by suitable instruction execution system be executed with storage Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal Discrete logic, with suitable combinational logic gate circuit application-specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that realize all or part of step that above-described embodiment method carries Suddenly it is that relevant hardware can be instructed to complete by program, the program can be stored in a kind of computer-readable storage medium In matter, which includes the steps that one or a combination set of embodiment of the method when being executed.In addition, in each embodiment of the application In each functional unit can be integrated in a processing module, can also be that each unit physically exists alone, can also two A or more than two units are integrated in a module.The form that hardware had both may be used in above-mentioned integrated module is realized, also may be used It is realized in the form of using software function module.If the integrated module realized in the form of software function module and as Independent product sale in use, can also be stored in a computer read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above Embodiments herein is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as the limit to the application System, those skilled in the art can be changed above-described embodiment, change, replace and become within the scope of application Type.
Finally it should be noted that:Above example is only to illustrate the technical solution of the application, rather than its limitations;Although The application is described in detail with reference to the foregoing embodiments, those skilled in the art are when understanding:It still can be with Technical scheme described in the above embodiments is modified or equivalent replacement of some of the technical features;And These modifications or replacements, do not drive corresponding technical solution essence be detached from each embodiment technical solution of the application spirit and Range.

Claims (10)

1. a kind of Doze mode regulating methods, which is characterized in that it is applied to mobile terminal, the method includes:
Detect the current state of the mobile terminal;
When the current state meets preset condition, the current scene of the mobile terminal is obtained;
Determine that the mobile terminal enters the time span of Doze patterns according to the current scene.
2. according to the method described in claim 1, it is characterized in that, described determine the mobile terminal according to the current scene Into the time span of Doze patterns, including:
The current scene is inputted into machine learning model, the machine learning model is based on convolutional neural networks framework and passes through Multiple scene samples and multiple time span samples are trained acquisition, the multiple scene sample and the multiple time span Sample corresponds;
Obtain the time span that the machine learning model is exported based on the current scene.
3. according to the method described in claim 2, it is characterized in that, described determine the mobile terminal according to the current scene Into after the time span of Doze patterns, further include:
The current scene is added to the scene sample and obtains current scene sample, and the time span is added to The time span sample obtains current interval sample;
Based on machine learning model described in the current scene sample and the current interval Sample Refreshment.
4. according to the method described in claim 1, it is characterized in that, the current state include screen state, motion state with And plug-in state, it is described when the current state meets preset condition, the current scene of the mobile terminal is obtained, including:
When the screen state be put out screen, the motion state to be the static and described plug-in state be non-plug-in when, acquisition institute State the current scene of mobile terminal.
5. according to the method described in claim 4, it is characterized in that, described determine the mobile terminal according to the current scene Into after the time span of Doze patterns, further include:
It controls the mobile terminal and enters the Doze patterns by the time span;
When by putting out, screen is switched to bright screen to the screen state, the motion state is switched to the mobile or described plug-in state by static When being switched to plug-in by non-plug-in, the mobile terminal exits the Doze patterns and enters Mintenance window.
6. according to the method described in claim 1, it is characterized in that, described determine the mobile terminal according to the current scene Into the time span of Doze patterns, including:
Detect whether the mobile terminal is in the Doze patterns;
When the mobile terminal is not in the Doze patterns, determine that the mobile terminal enters institute according to the current scene State the time span of Doze patterns.
7. according to the method described in claim 1 to 6 any one, which is characterized in that the current scene includes current time At least one of with current location.
8. a kind of Doze mode tunings device, which is characterized in that be applied to mobile terminal, described device includes:
Current state detection module, the current state for detecting the mobile terminal;
Current scene acquisition module, for when the current state meets preset condition, obtaining the current of the mobile terminal Scene;
Time span determining module, for according to the current scene determine the mobile terminal enter Doze patterns time it is long Degree.
9. a kind of mobile terminal, which is characterized in that including touch screen, memory and processor, the touch screen is deposited with described Reservoir is couple to the processor, the memory store instruction, the when executed by the processor processing Device executes such as claim 1-7 any one of them methods.
10. a kind of computer read/write memory medium for the program code that can perform with processor, which is characterized in that the journey Sequence code makes the processor execute such as claim 1-7 any one of them methods.
CN201810474566.6A 2018-05-17 2018-05-17 Doze mode regulating methods, device, mobile terminal and storage medium Pending CN108647048A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810474566.6A CN108647048A (en) 2018-05-17 2018-05-17 Doze mode regulating methods, device, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810474566.6A CN108647048A (en) 2018-05-17 2018-05-17 Doze mode regulating methods, device, mobile terminal and storage medium

Publications (1)

Publication Number Publication Date
CN108647048A true CN108647048A (en) 2018-10-12

Family

ID=63756523

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810474566.6A Pending CN108647048A (en) 2018-05-17 2018-05-17 Doze mode regulating methods, device, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN108647048A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110335599A (en) * 2019-07-08 2019-10-15 深圳开立生物医疗科技股份有限公司 A kind of sound control method, system, equipment and computer readable storage medium
CN110989819A (en) * 2019-12-03 2020-04-10 Oppo广东移动通信有限公司 Doze mode control method, device, mobile terminal and storage medium
CN111031594A (en) * 2019-12-03 2020-04-17 Oppo广东移动通信有限公司 Doze mode control method, device, mobile terminal and storage medium
CN111050388A (en) * 2019-12-03 2020-04-21 Oppo广东移动通信有限公司 Doze mode control method, device, mobile terminal and storage medium
CN111290565A (en) * 2020-01-13 2020-06-16 Oppo广东移动通信有限公司 Doze mode control method, device, terminal and storage medium
WO2020134566A1 (en) * 2018-12-26 2020-07-02 惠州Tcl移动通信有限公司 Control method for doze mode of mobile terminal, storage medium and mobile terminal
CN113050783A (en) * 2019-12-26 2021-06-29 Oppo广东移动通信有限公司 Terminal control method and device, mobile terminal and storage medium
CN113055984A (en) * 2019-12-26 2021-06-29 Oppo广东移动通信有限公司 Terminal control method and device, mobile terminal and storage medium
CN116382786A (en) * 2023-06-07 2023-07-04 荣耀终端有限公司 Method for entering long standby mode, electronic device and readable storage medium
CN116400974A (en) * 2023-06-07 2023-07-07 荣耀终端有限公司 Method for entering long standby mode, electronic device and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8190939B2 (en) * 2009-06-26 2012-05-29 Microsoft Corporation Reducing power consumption of computing devices by forecasting computing performance needs
US8510238B1 (en) * 2012-06-22 2013-08-13 Google, Inc. Method to predict session duration on mobile devices using native machine learning
CN105929927A (en) * 2016-04-19 2016-09-07 乐视控股(北京)有限公司 Method and device for reducing power consumption of intelligent equipment
CN107272872A (en) * 2017-05-31 2017-10-20 广东欧珀移动通信有限公司 Electricity-saving control method and Related product
CN107291213A (en) * 2017-07-28 2017-10-24 广东欧珀移动通信有限公司 Mode selecting method, device, terminal and computer-readable recording medium
CN107835311A (en) * 2017-10-31 2018-03-23 广东欧珀移动通信有限公司 application management method, device, storage medium and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8190939B2 (en) * 2009-06-26 2012-05-29 Microsoft Corporation Reducing power consumption of computing devices by forecasting computing performance needs
US8510238B1 (en) * 2012-06-22 2013-08-13 Google, Inc. Method to predict session duration on mobile devices using native machine learning
CN105929927A (en) * 2016-04-19 2016-09-07 乐视控股(北京)有限公司 Method and device for reducing power consumption of intelligent equipment
CN107272872A (en) * 2017-05-31 2017-10-20 广东欧珀移动通信有限公司 Electricity-saving control method and Related product
CN107291213A (en) * 2017-07-28 2017-10-24 广东欧珀移动通信有限公司 Mode selecting method, device, terminal and computer-readable recording medium
CN107835311A (en) * 2017-10-31 2018-03-23 广东欧珀移动通信有限公司 application management method, device, storage medium and electronic equipment

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11832189B2 (en) 2018-12-26 2023-11-28 Huizhou Tcl Mobile Communication Co., Ltd. Control method for doze mode of mobile terminal, storage medium and mobile terminal
WO2020134566A1 (en) * 2018-12-26 2020-07-02 惠州Tcl移动通信有限公司 Control method for doze mode of mobile terminal, storage medium and mobile terminal
CN110335599A (en) * 2019-07-08 2019-10-15 深圳开立生物医疗科技股份有限公司 A kind of sound control method, system, equipment and computer readable storage medium
CN110335599B (en) * 2019-07-08 2021-12-10 深圳开立生物医疗科技股份有限公司 Voice control method, system, equipment and computer readable storage medium
CN111050388A (en) * 2019-12-03 2020-04-21 Oppo广东移动通信有限公司 Doze mode control method, device, mobile terminal and storage medium
CN110989819B (en) * 2019-12-03 2021-04-13 Oppo广东移动通信有限公司 Doze mode control method, device, mobile terminal and storage medium
CN111031594A (en) * 2019-12-03 2020-04-17 Oppo广东移动通信有限公司 Doze mode control method, 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
CN110989819A (en) * 2019-12-03 2020-04-10 Oppo广东移动通信有限公司 Doze mode control method, device, mobile terminal and storage medium
CN113050783B (en) * 2019-12-26 2023-08-08 Oppo广东移动通信有限公司 Terminal control method and device, mobile terminal and storage medium
CN113050783A (en) * 2019-12-26 2021-06-29 Oppo广东移动通信有限公司 Terminal control method and device, mobile terminal and storage medium
CN113055984A (en) * 2019-12-26 2021-06-29 Oppo广东移动通信有限公司 Terminal control method and device, mobile terminal and storage medium
CN113055984B (en) * 2019-12-26 2022-11-15 Oppo广东移动通信有限公司 Terminal control method and device, mobile terminal and storage medium
CN111290565A (en) * 2020-01-13 2020-06-16 Oppo广东移动通信有限公司 Doze mode control method, device, terminal and storage medium
CN116400974A (en) * 2023-06-07 2023-07-07 荣耀终端有限公司 Method for entering long standby mode, electronic device and readable storage medium
CN116382786B (en) * 2023-06-07 2023-09-01 荣耀终端有限公司 Method for entering long standby mode, electronic device and readable storage medium
CN116382786A (en) * 2023-06-07 2023-07-04 荣耀终端有限公司 Method for entering long standby mode, electronic device and readable storage medium
CN116400974B (en) * 2023-06-07 2023-12-22 荣耀终端有限公司 Method for entering long standby mode, electronic device and readable storage medium

Similar Documents

Publication Publication Date Title
CN108647048A (en) Doze mode regulating methods, device, mobile terminal and storage medium
CN108243282A (en) Message display method, device, mobile terminal and storage medium
CN108646971A (en) Screen sounding control method, device and electronic device
CN108990105A (en) Wireless communication transmission method, device, mobile terminal and computer-readable storage medium
CN108664190A (en) page display method, device, mobile terminal and storage medium
CN109086023B (en) Sound production control method and device, electronic equipment and storage medium
CN108737635A (en) message display method, device, mobile terminal and storage medium
CN108958632B (en) Sound production control method and device, electronic equipment and storage medium
CN109040919B (en) Sound production method, sound production device, electronic device and computer readable medium
CN108762859A (en) Wallpaper displaying method, device, mobile terminal and storage medium
CN108777731A (en) Key configurations method, apparatus, mobile terminal and storage medium
CN108646959A (en) Screen control method, device and mobile terminal
CN108647050A (en) Application program launching method, device and mobile terminal
CN108769327A (en) Method, apparatus, electronic device and the storage medium of display screen sounding
CN108769299A (en) Screen control method, device and mobile terminal
CN108810198A (en) Sounding control method, device, electronic device and computer-readable medium
CN109189360A (en) Screen sounding control method, device and electronic device
CN110221882A (en) Display methods, device, mobile terminal and storage medium
CN108494851B (en) Application program recommended method, device and server
CN108934025A (en) Wireless communication transmission method, device, mobile terminal and computer-readable storage medium
CN108449787A (en) Connect control method, device and electronic equipment
CN106126170A (en) The audio method to set up of a kind of terminal and terminal
CN108683812A (en) volume adjusting method, device and mobile terminal
CN109062533A (en) Sounding control method, device, electronic device and storage medium
CN110119231A (en) Message display method, device, mobile terminal and 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181012

RJ01 Rejection of invention patent application after publication