CN115175279A - Screen-turning control method and device and storage medium - Google Patents

Screen-turning control method and device and storage medium Download PDF

Info

Publication number
CN115175279A
CN115175279A CN202210688677.3A CN202210688677A CN115175279A CN 115175279 A CN115175279 A CN 115175279A CN 202210688677 A CN202210688677 A CN 202210688677A CN 115175279 A CN115175279 A CN 115175279A
Authority
CN
China
Prior art keywords
screen
state
terminal
current
control parameter
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
CN202210688677.3A
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202210688677.3A priority Critical patent/CN115175279A/en
Publication of CN115175279A publication Critical patent/CN115175279A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0267Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components
    • H04W52/027Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components by controlling a display operation or backlight unit
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a screen-off control method, a screen-off control device and a storage medium, which relate to the technical field of intelligent terminals and are used for controlling different screen-off processes of a terminal according to different interface types so as to reduce the power consumption of the terminal, and the method comprises the following steps: determining the current interface type of the current display interface of the terminal; determining a current screen-turning control parameter corresponding to the current interface type, wherein the current screen-turning control parameter comprises a plurality of different screen brightnesses used in the process that the terminal is converted from the screen-lighting state to the screen-turning state, and the time corresponding to each of the plurality of different screen brightnesses; and according to the current screen-turning-off control parameter, the control terminal is converted from the screen-lighting state to the screen-turning-off state.

Description

Screen-turning control method and device and storage medium
Technical Field
The disclosure relates to the technical field of intelligent terminals, in particular to a screen turning control method, a screen turning control device and a storage medium.
Background
Currently, in order to reduce power consumption of a terminal such as a mobile phone or a notebook computer, when the terminal is not needed to be used, a screen state of the terminal is usually adjusted to a screen-off state. However, in the related art, screen-saving modes for all application scenes of the terminal are the same, and the related technology is not intelligent enough.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a method and apparatus for controlling screen turning, and a storage medium.
According to a first aspect of the embodiments of the present disclosure, a screen turning control method is provided, which is applied to a terminal, and includes determining a current interface type of a current display interface of the terminal; determining a current screen-turning control parameter corresponding to the current interface type, wherein the current screen-turning control parameter comprises a plurality of different screen brightnesses used in the process of converting the screen-on state of the terminal into the screen-turning state, and respective corresponding times of the different screen brightnesses; and controlling the terminal to be converted from a screen-on state to a screen-off state according to the current screen-off control parameter.
In one embodiment, a target interface type is preconfigured in the terminal, and the target interface type corresponds to a first information screen control parameter; the determining of the current screen-turning control parameter corresponding to the current interface type includes: if the current interface type belongs to the target interface type, determining a first screen-turning control parameter as a current screen-turning control parameter corresponding to the current interface type; if the current interface type does not belong to the target interface type, determining a second screen-turning control parameter as a current screen-turning control parameter corresponding to the current interface type; the first screenplay control parameter comprises first time, and the second screenplay control parameter comprises second time; the first time is less than the second time; the first time and the second time are the time for maintaining the initial screen brightness of the terminal in the process of converting the bright screen state into the breath screen state of the terminal.
In another embodiment, the current screenplay control parameter is a first screenplay control parameter; the step of controlling the terminal to be converted from a bright screen state to a first screen state according to the current screen turning control parameter comprises: if the user operation information is not received within the first time, controlling the screen state of the terminal to be switched from the first screen state to the second screen state; if the user operation information is not received within the third time, controlling the screen state of the terminal to be switched from the second screen state to the full-dark state; if the user operation information is not received within the fourth time, controlling the terminal to be switched from a full dark state to an information screen state; the screen brightness of the first screen state is greater than the screen brightness of the second screen state.
In another embodiment, the first screen state is a semi-dark state, and the semi-dark state is a corresponding screen state when the screen brightness of the terminal is reduced to half of the initial screen brightness; the second screen state is a full-dark state, and the full-dark state is a corresponding screen state when the screen of the terminal displays full black.
In another embodiment, the current screen turning control parameter is a second screen turning control parameter; the step of controlling the terminal to be converted from a bright screen state to a breath screen state according to the current breath screen control parameter comprises the following steps: if the user operation information is not received within the second time, controlling the screen state of the terminal to be switched from a bright screen state to a full dark state; if the user operation information is not received within the fifth time, controlling the terminal to be switched from a full dark state to an information screen state; and the full-dark state is a corresponding screen state when the screen of the terminal displays full black.
In another embodiment, the target interface type includes a plurality of different sub-interface types; the time information corresponding to different sub-interface types is different; the time information being different includes at least one of the first time, the third time, and the fourth time being different.
In yet another embodiment, the method further comprises: before the terminal is switched from a full-dark state to an information screen state, if user operation information is detected, controlling the screen state of the terminal to be a bright screen state or a semi-dark state; and before the terminal is switched from the semi-dark state to the full-dark state, if the user operation information is detected, controlling the screen state of the terminal to be a bright screen state.
According to a second aspect of the embodiments of the present disclosure, there is provided a screen turning control apparatus, applied to a terminal, including a determining module, configured to determine a current interface type of a current display interface of the terminal; determining a current screen-turning control parameter corresponding to the current interface type, wherein the current screen-turning control parameter comprises a plurality of different screen brightnesses used in the process that the terminal is converted from a bright screen state to a screen-turning state, and respective corresponding times of the plurality of different screen brightnesses; and the control module is used for controlling the terminal to be converted from a screen-on state to a screen-off state according to the current screen-off control parameter.
In one embodiment, a target interface type is preconfigured in the terminal, and the target interface type corresponds to a first message screen control parameter; the determining module is specifically configured to determine a first screenshot control parameter as a current screenshot control parameter corresponding to the current interface type if the current interface type belongs to the target interface type; if the current interface type does not belong to the target interface type, determining a second screen-turning control parameter as a current screen-turning control parameter corresponding to the current interface type; the first screen turning control parameter comprises first time, and the second screen turning control parameter comprises second time; the first time is less than the second time; the first time and the second time are the time for maintaining the initial screen brightness of the terminal in the process of converting the bright screen state into the breath screen state of the terminal; and the initial screen brightness is the screen brightness when the terminal initially displays the current display interface.
In another embodiment, the current screenshot control parameter is a first screenshot control parameter; the control module is specifically used for controlling the screen state of the terminal to be switched from a bright screen state to a first screen state if the user operation information is not received within a first time; if the user operation information is not received within the third time, controlling the screen state of the terminal to be switched from the first screen state to the second screen state; if the user operation information is not received within the fourth time, controlling the terminal to be switched from the second screen state to the information screen state; the screen brightness of the first screen state is greater than the screen brightness of the second screen state.
In another embodiment, the first screen state is a semi-dark state, and the semi-dark state is a corresponding screen state when the screen brightness of the terminal is reduced to half of the initial screen brightness; the second screen state is a full-dark state, and the full-dark state is a corresponding screen state when the screen of the terminal displays full black.
In another embodiment, the current screen turning control parameter is a second screen turning control parameter; the control module is specifically used for controlling the screen state of the terminal to be switched from a bright screen state to a full dark state if the user operation information is not received within the second time; if the user operation information is not received within the fifth time, controlling the terminal to be switched from a full dark state to an information screen state; and the full-dark state is a corresponding screen state when the screen of the terminal displays full black.
In another embodiment, the target interface type includes a plurality of different sub-interface types; the time information corresponding to different sub-interface types is different; the time information being different includes at least one of the first time, the third time, and the fourth time being different.
In another embodiment, the control module is further configured to, before the terminal is switched from the full-dark state to the information screen state, control the screen state of the terminal to be a bright screen state or a semi-dark state if user operation information is detected; and before the terminal is switched from the semi-dark state to the full-dark state, if the user operation information is detected, controlling the screen state of the terminal to be a bright screen state.
According to a third aspect of the embodiments of the present disclosure, there is provided a screen turning control apparatus including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to: the screen turning control method as described in the first aspect and embodiments thereof above is performed.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium, wherein instructions of the storage medium, when executed by a processor of a terminal, enable the terminal to perform the above-mentioned first aspect and the screen turning control method described in the embodiments thereof.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the method comprises the steps of firstly determining the interface type of a current display interface of a terminal and a current screen-off control parameter corresponding to the current interface type, and further controlling the terminal to be converted from a screen-on state to a screen-off state according to the current screen-off control parameter.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flow chart illustrating a method of screenplay control according to an exemplary embodiment.
Fig. 2 is a flow chart illustrating yet another method of screenplay control according to an example embodiment.
Fig. 3 is a flow chart illustrating yet another method of screenplay control according to an example embodiment.
Fig. 4 is a block diagram illustrating a screenplay control apparatus according to an exemplary embodiment.
Fig. 5 is a block diagram illustrating an apparatus for screenplay control according to an example embodiment.
Fig. 6 is a block diagram illustrating another apparatus for screenplay control according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below do not represent all implementations consistent with the present disclosure.
As described in the background art, in the screen-saving mode of the related art, all application scenes of the terminal are from bright screen to dark screen and finally to screen-saving, taking 2 minutes as an example, 1 minute and 20 seconds are in a bright screen state, and 40 seconds are in a dark screen state and screen-saving after 2 minutes, which is not intelligent enough.
Based on the above problem, the embodiment of the present disclosure provides a screen-off control method, which sets different screen-off control parameters for different interface types, and intelligently controls a screen-off process of a terminal.
Fig. 1 is a flowchart illustrating a screen turn-off control method according to an exemplary embodiment, where as shown in fig. 1, the screen turn-off control method is used in a terminal and includes the following steps.
In step S11, a current interface type of a current display interface of the terminal is determined.
Optionally, interface types corresponding to different interfaces are preconfigured in the terminal system, and when the terminal receives an operation of opening the current display interface by a user, the current interface type corresponding to the current display interface is determined by identifying which interface the current interface is.
The interface types may include, among other things, interface types that are frequently viewed by the user and interface types that are not frequently viewed by the user.
Specifically, the interface type may be configured in advance according to the frequency of the operation information performed by the user when the user uses the interface, the interface that is frequently seen by the user may be configured when the frequency of the operation information performed by the user is greater than or equal to the preset frequency, and the interface that is not frequently seen by the user may be configured when the frequency of the operation information performed by the user is less than the preset frequency.
For example, if the preset frequency is 1/two minutes, and the frequency of the operation information performed on the novel interface by the user is 30 times/s, the novel interface is configured to be frequently seen by the user.
In some embodiments, a browser interface, chat interface, novel interface, camera interface, etc. may be configured as a type of interface that is frequently viewed by a user, and a talk interface, remote control interface, change interface, etc. may be configured as a type of interface that is frequently viewed by a user.
Optionally, interface information of the current display interface may be obtained first, where the interface information may include other information such as an interface name and a uniform resource locator of the current display interface, specifically, the interface information of the current display interface may be obtained by obtaining a stack top page (Activity), that is, a method of the current display interface, for example, the interface information of the current display interface may be obtained by obtaining an instruction (gettoppackageactiv) of a package name of an application program currently running, or the interface information of the current display interface may be directly obtained by obtaining an instruction (gettopactivty) of the stack top interface obtaining instruction (gettopactivty).
After the interface information of the current display interface is obtained, the interface type of the current display interface may be determined according to the interface information, specifically, the interface name of the current display interface may be obtained according to the interface information of the current display interface, and the interface name of the current interface is compared with an interface name corresponding to a pre-configured interface type to determine the current interface type of the current display interface.
In step S12, a current screen-turning control parameter corresponding to the current interface type is determined.
The current screen-turning control parameter comprises a plurality of different screen brightness used in the process of converting the screen-lighting state of the terminal into the screen-turning state, and time corresponding to the different screen brightness.
In step S13, the control terminal is switched from the screen-on state to the screen-off state according to the current screen-off control parameter.
It should be understood that, since the screen-turning-off control parameter includes a plurality of different screen brightnesses used in the process of converting the screen-lighting state of the terminal into the screen-turning-off state, and respective corresponding times of the plurality of different screen brightnesses, in the process of converting the screen-lighting state of the control terminal into the screen-turning-off state, the screen brightness of the screen may be converted for a plurality of times, and the converted time is the corresponding time of the screen brightness in the screen-turning-off control parameter.
For example, the current screenshot control parameter includes a plurality of different screen brightness values and their corresponding time periods as shown in table 1:
TABLE 1
Brightness of screen Time
First screen brightness 20s
Second screen brightness 30s
Third screen brightness 40s
Then, in the process of switching the terminal from the bright screen state to the news screen state, the terminal is controlled to switch from the first screen brightness to the second screen brightness after the first screen brightness is maintained for 20s and 20s, and to switch from the second screen brightness to the third screen brightness after the first screen brightness is maintained for 30s and 30s, and to enter the news screen state after the second screen brightness is maintained for 40s and 40s, wherein brightness values corresponding to the first screen brightness, the second screen brightness and the third screen brightness are smaller and smaller.
The method comprises the steps of firstly determining the interface type of a current display interface of a terminal and a current screen-off control parameter corresponding to the current interface type, and then controlling the terminal to be switched from a screen-on state to a screen-off state according to the current screen-off control parameter.
In some embodiments, when the terminal is pre-configured with a target interface type, the target interface type corresponds to the first information screen control parameter.
Optionally, the target interface type is an interface that the user does not often see, such as a call interface, a remote control interface, a switch interface, and the like.
And if the current interface type belongs to the target interface type, determining the first screen-turning control parameter as the current screen-turning control parameter corresponding to the current interface type. And if the current interface type does not belong to the target interface type, determining the second screen-turning control parameter as the current screen-turning control parameter corresponding to the current interface type.
Optionally, the second screener control parameter is different from the first screener control parameter,
the first screen turning control parameter comprises first time, and the second screen turning control parameter comprises second time; the first time is less than the second time; the first time and the second time are the time for maintaining the initial screen brightness of the terminal in the process of converting the bright screen state into the breath screen state of the terminal; the initial screen brightness is the screen brightness when the terminal initially displays the current display interface.
In the embodiment of the disclosure, by controlling the time for maintaining the initial screen brightness when the terminal is in the target interface type to be shorter than the time for maintaining the initial screen brightness when the terminal is in other interface types, the power consumption of the terminal in the target interface type can be reduced, and the user experience can be improved.
As an implementation manner, when the current screenshot control parameter is the first screenshot control parameter, as shown in fig. 2, step S13 may be specifically implemented as steps S21 to S23:
in step S21, if the user operation information is not received within the first time, the screen state of the control terminal is switched from the bright screen state to the first screen state.
The user operation information may include: operation information such as a click operation, a touch operation, and a slide operation.
Optionally, the first screen state is a half-dark state, and the half-dark state is a corresponding screen state when the screen brightness of the terminal is reduced to half of the initial screen brightness.
In step S22, if the user operation information is not received within the third time, the screen state of the control terminal is switched from the first screen state to the second screen state.
Wherein the screen brightness of the first screen state is greater than the screen brightness of the second screen state
Optionally, the second screen state is a full-dark state, and the full-dark state is a corresponding screen state when the screen of the terminal displays full black.
In step S23, if the user operation information is not received within the fourth time, the control terminal switches from the second screen state to the information screen state.
The screen-turning state indicates that the terminal is in a screen locking state, if a user operates the terminal at the moment, the screen state of the terminal can only be switched from the screen-turning state to a screen-lightening state in the screen-turning state, and the screen-lightening state in the screen-turning state displays screen-turning wallpaper set by the user or system-defined screen-turning wallpaper, so that the user cannot enter a current display interface. The current display interface can be accessed only when the user carries out unlocking operation, and the unlocking operation can be fingerprint unlocking operation, facial recognition unlocking operation or pressing operation for triggering a host key.
Optionally, when the second screen state is a full-dark state, the user may change the screen state of the current display interface by operating the terminal screen without unlocking.
Optionally, the first time, the third time, and the fourth time may be the same or different, and may be set according to actual requirements.
For example, the embodiment of the disclosure may set the first time to be less than the third time, and the third time to be less than the fourth time, so as to control
In the embodiment of the disclosure, when the current interface type of the terminal is the target interface type and the current screen-off control parameter is the first screen-off control parameter, the screen state of the terminal is controlled from a bright screen state, a semi-dark state, a fully-dark state and a screen-off state, and by increasing the semi-dark state, the power consumption of the terminal is reduced in advance, and the user experience is improved.
As another implementation manner, when the current screen mute control parameter is the second screen mute control parameter, as shown in fig. 3, step S13 may be specifically implemented as steps S31 to S32:
in step S31, if the user operation information is not received within the second time, the screen state of the control terminal is switched from the bright screen state to the full dark state.
In step S32, if the user operation information is not received within the fifth time, the control terminal is switched from the full dark state to the information screen state.
In the embodiment of the disclosure, when the current interface type of the terminal is not the target interface type, the corresponding screen-off control parameter is the second screen-off control parameter, and the screen state of the terminal is controlled from the bright screen state, the fully dark state and the screen-off state according to the second screen-off control parameter, so that different screen-off processes corresponding to different interface types are realized, power consumption is optimized, and user experience is improved.
In other embodiments, the interface types may be further divided among the target interface types for more accurate power consumption reduction. In one embodiment, the target interface type includes a plurality of different sub-type interfaces.
The time information corresponding to different sub-interface types is different, and the different time information comprises at least one of different first time, third time and fourth time.
Illustratively, the plurality of different sub-type interfaces include at least a call interface, a remote control interface, and a switch interface, among other interfaces that are not frequently seen by a user.
Further, the time information of the multiple sub-interface types may be as shown in table 2 below:
TABLE 2
Subtype interface Bright screen state Semi-dark state Fully dark state
Interface for communication 20s 20s 20s
Remote controller interface 40s 40s 40s
Change the interface 30s 60s 30s
According to the method and the device, the target interface type is further divided into the plurality of sub-interface types, different time information is set for different sub-interface types, so that the terminal intelligently realizes the screen-off process according to the interface types, compared with the same screen-off process of all interfaces in the related art, the method and the device are more intelligent, and meanwhile, the power consumption of the terminal can be reduced.
It should be noted that, if the terminal is currently in the full-dark state, before the terminal is switched from the full-dark state to the information screen state, if user operation information is detected, the screen state of the terminal is controlled to be directly switched to the bright screen state or switched to the semi-dark state first, and if user operation information is detected again, the screen state is switched to the bright screen state. And if the terminal is currently in a semi-dark state, before the terminal is switched from the semi-dark state to a full-dark state, if user operation information is detected, controlling the screen state of the terminal to be a bright screen state.
The following describes a screen saver control method provided in the embodiments of the present disclosure in terms of a system process: in the system, screen saving control parameters corresponding to each interface type are stored by an xml file, the xml file is loaded into the system after the system is started, when the interface is started, the system can judge the interface type of the current interface, after the screen saving control parameters of the current interface type are obtained, when the interface starts to be drawn, the first time when the terminal enters a semi-dark state can be read from the screen saving control parameters, the first time is transmitted to Power Manager Services for controlling the screen state, a screen state thread is further controlled to start a timing task, if no user operation information is received within the first time, the screen state is adjusted to the semi-dark state after the first time. And then, acquiring a third time from the screen-turning control parameter, controlling the screen state thread to start the timing task, adjusting the screen state to be in a full-dark state after the third time when the user operation information is not received within the third time, similarly, acquiring a fourth time again, starting the timing task, not receiving the user operation information within the fourth time, and adjusting the screen state to be in a screen-turning state after the fourth time. In the screen turning-off process, if user operation information is received at any time, the timing task is cancelled, the first time is obtained again, and the timing task is started until the terminal enters the screen turning-off state and is finished.
According to the method and the device, different screen-off control parameters are set for different interface types, the screen-off process of the terminal can be intelligently controlled, and user experience is improved under the condition of optimizing power consumption.
Based on the same conception, the embodiment of the disclosure also provides a screen turning control device.
It is understood that, in order to implement the above functions, the information screen control device provided in the embodiments of the present disclosure includes a hardware structure and/or a software module corresponding to the execution of each function. The disclosed embodiments can be implemented in hardware or a combination of hardware and computer software, in combination with the exemplary elements and algorithm steps disclosed in the disclosed embodiments. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
Fig. 4 is a block diagram illustrating a screenplay control apparatus according to an exemplary embodiment. Referring to fig. 4, the apparatus includes a determination module 401 and a control module 402.
The determining module 401 is configured to determine a current interface type of a current display interface of the terminal; and determining a current screen-turning control parameter corresponding to the current interface type, wherein the current screen-turning control parameter comprises a plurality of different screen brightnesses used in the process of converting the screen-lighting state into the screen-turning state of the terminal, and the times corresponding to the different screen brightnesses.
The control module 402 is configured to control the terminal to switch from the bright screen state to the flat screen state according to the current flat screen control parameter.
In one embodiment, a target interface type is pre-configured in the terminal, and the target interface type corresponds to a first message screen control parameter; the determining module 401 is configured to determine the first screenshot control parameter as a current screenshot control parameter corresponding to the current interface type if the current interface type belongs to the target interface type; if the current interface type does not belong to the target interface type, determining the second screen-turning control parameter as a current screen-turning control parameter corresponding to the current interface type; the first screen turning control parameter comprises first time, and the second screen turning control parameter comprises second time; the first time is less than the second time; the first time and the second time are the time for maintaining the initial screen brightness of the terminal in the process of converting the bright screen state into the breath screen state of the terminal; the initial screen brightness is the screen brightness when the terminal initially displays the current display interface.
In another embodiment, the current screenplay control parameter is a first screenplay control parameter; the control module 402 is configured to switch the screen state of the control terminal from the bright screen state to the first screen state if the user operation information is not received within the first time; if the user operation information is not received within the third time, switching the screen state of the control terminal from the first screen state to a second screen state; if the user operation information is not received within the fourth time, the control terminal is switched from the second screen state to the information screen state; the screen brightness of the first screen state is greater than the screen brightness of the second screen state.
In another embodiment, the first screen state is a half-dark state, and the half-dark state is a corresponding screen state when the screen brightness of the terminal is reduced to half of the initial screen brightness; the second screen state is a full-dark state, and the full-dark state is a corresponding screen state when the screen of the terminal displays full black.
In another embodiment, the current screen-off control parameter is a second screen-off control parameter; the control module 402 is configured to switch the screen state of the control terminal from a bright screen state to a full dark state if the user operation information is not received within the second time; if the user operation information is not received within the fifth time, the control terminal is switched from the full-dark state to the screen-turning state; the full-dark state is a screen state corresponding to the full-black display of the screen of the terminal.
In another embodiment, the target interface type includes a plurality of different sub-interface types; the time information corresponding to different sub-interface types is different; the time information difference includes that at least one of the first time, the third time, and the fourth time is different.
In another embodiment, the control module 402 is further configured to, before the terminal is switched from the full-dark state to the information screen state, if the user operation information is detected, control the screen state of the terminal to be the bright screen state or the semi-dark state; and before the terminal is switched from the semi-dark state to the full-dark state, if the user operation information is detected, controlling the screen state of the terminal to be a bright screen state.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 5 is a block diagram illustrating an apparatus 100 for screenplay control according to an example embodiment. Referring to fig. 5, the apparatus 100 may include one or more of the following components: a processing component 102, a memory 104, a power component 106, a multimedia component 108, an audio component 110, an input/output (I/O) interface 112, a sensor component 114, and a communication component 116.
The processing component 102 generally controls overall operation of the device 100, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 102 may include one or more processors 120 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the process component 102 can include one or more modules that facilitate interaction between the process component 102 and other components. For example, the processing component 102 can include a multimedia module to facilitate interaction between the multimedia component 108 and the processing component 102.
The memory 104 is configured to store various types of data to support operations at the apparatus 100. Examples of such data include instructions for any application or method operating on device 100, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 104 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power components 106 provide power to the various components of the device 100. The power components 106 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the apparatus 100.
The multimedia component 108 includes a screen that provides an output interface between the device 100 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 108 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 100 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 110 is configured to output and/or input audio signals. For example, audio component 110 includes a Microphone (MIC) configured to receive external audio signals when apparatus 100 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 104 or transmitted via the communication component 116. In some embodiments, the audio component 110 further comprises a speaker for outputting audio signals.
An input/output (I/O) interface 112 provides an interface between the processing component 102 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 114 includes one or more sensors for providing various aspects of status assessment for the device 100. For example, the sensor assembly 114 may detect an open/closed state of the device 100, the relative positioning of components, such as a display and keypad of the device 100, the sensor assembly 114 may also detect a change in the position of the device 100 or a component of the device 100, the presence or absence of user contact with the device 100, orientation or acceleration/deceleration of the device 100, and a change in the temperature of the device 100. The sensor assembly 114 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 114 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 114 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 116 is configured to facilitate wired or wireless communication between the apparatus 100 and other devices. The device 100 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 116 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 116 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 100 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 104 comprising instructions, executable by the processor 120 of the apparatus 100 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Fig. 6 is a block diagram illustrating an apparatus 200 for a method of screenplay control according to an example embodiment. For example, the apparatus 200 may be provided as a server. Referring to fig. 6, the apparatus 200 includes a processing component 222 that further includes one or more processors and memory resources, represented by memory 232, for storing instructions, such as applications, that are executable by the processing component 222. The application programs stored in memory 232 may include one or more modules that each correspond to a set of instructions. Further, the processing component 222 is configured to execute instructions to perform the above-described screen saver control method
The device 200 may also include a power component 226 configured to perform power management of the device 200, a wired or wireless network interface 250 configured to connect the device 200 to a network, and an input/output (I/O) interface 258. The apparatus 200 may operate based on an operating system stored in the memory 232, such as Windows Server, mac OS XTM, unixTM, linuxTM, freeBSDTM, or the like.
It is understood that "a plurality" in this disclosure means two or more, and other words are analogous. "and/or" describes the association relationship of the associated object, indicating that there may be three relationships, for example, a and/or B, which may indicate: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. The singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It will be further understood that the terms "first," "second," and the like are used to describe various information and that such information should not be limited by these terms. These terms are only used to distinguish one type of information from another and do not denote a particular order or importance. Indeed, the terms "first," "second," and the like are fully interchangeable. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure.
It will be further understood that the terms "central," "longitudinal," "lateral," "front," "rear," "upper," "lower," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like are used in an orientation or positional relationship indicated in the drawings for convenience in describing the present embodiment and to simplify the description, but do not indicate or imply that the referenced device or element must have a particular orientation, be constructed and operated in a particular orientation.
It will be further understood that, unless otherwise specified, "connected" includes direct connections between the two without the presence of other elements, as well as indirect connections between the two with the presence of other elements.
It will be further appreciated that while operations are depicted in the drawings in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in serial order, or that all illustrated operations be performed, to achieve desirable results. In certain environments, multitasking and parallel processing may be advantageous.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains.
It will be understood that the present disclosure is not limited to the precise arrangements that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is to be limited only by the scope of the appended claims.

Claims (14)

1. A screen turning control method is applied to a terminal, and comprises the following steps:
determining the current interface type of the current display interface of the terminal;
determining a current screen-turning control parameter corresponding to the current interface type, wherein the current screen-turning control parameter comprises a plurality of different screen brightnesses used in the process that the terminal is converted from a bright screen state to a screen-turning state, and respective corresponding times of the plurality of different screen brightnesses;
and controlling the terminal to be converted from a screen-on state to a screen-off state according to the current screen-off control parameter.
2. The method according to claim 1, characterized in that a target interface type is preconfigured in the terminal, and the target interface type corresponds to a first information screen control parameter;
the determining of the current screen-turning control parameter corresponding to the current interface type includes:
if the current interface type belongs to the target interface type, determining a first screen-turning control parameter as a current screen-turning control parameter corresponding to the current interface type;
if the current interface type does not belong to the target interface type, determining a second screen-turning control parameter as a current screen-turning control parameter corresponding to the current interface type;
the first screenplay control parameter comprises first time, and the second screenplay control parameter comprises second time;
the first time is less than the second time;
the first time and the second time are the time for maintaining the initial screen brightness of the terminal in the process of converting the bright screen state into the breath screen state of the terminal.
3. The method of claim 2, wherein the current screenplay control parameter is a first screenplay control parameter;
the step of controlling the terminal to be converted from a bright screen state to a breath screen state according to the current breath screen control parameter comprises the following steps:
if the user operation information is not received within the first time, controlling the screen state of the terminal to be switched from a bright screen state to a first screen state;
if the user operation information is not received within the third time, controlling the screen state of the terminal to be switched from the first screen state to the second screen state;
if the user operation information is not received within the fourth time, controlling the terminal to be switched from the second screen state to the information screen state;
the screen brightness of the first screen state is greater than the screen brightness of the second screen state.
4. The method according to claim 3, wherein the first screen state is a semi-dark state, and the semi-dark state is a corresponding screen state when the screen brightness of the terminal is reduced to half of the initial screen brightness;
the second screen state is a full-dark state, and the full-dark state is a corresponding screen state when the screen of the terminal displays full black.
5. The method of claim 2, wherein the current screenplay control parameter is a second screenplay control parameter;
the step of controlling the terminal to be converted from a bright screen state to a breath screen state according to the current breath screen control parameter comprises the following steps:
if the user operation information is not received within the second time, controlling the screen state of the terminal to be switched from a bright screen state to a full dark state;
if the user operation information is not received within the fifth time, controlling the terminal to be switched from a full dark state to an information screen state;
and the full-dark state is a corresponding screen state when the screen of the terminal displays full black.
6. The method of claim 3, wherein the target interface type comprises a plurality of different sub-interface types;
the time information corresponding to different sub-interface types is different;
the time information being different includes at least one of the first time, the third time, and the fourth time being different.
7. The method according to any one of claims 4 to 6, further comprising:
before the terminal is switched from a full-dark state to an information screen state, if user operation information is detected, controlling the screen state of the terminal to be a bright screen state or a semi-dark state;
and before the terminal is switched from the semi-dark state to the full-dark state, if the user operation information is detected, controlling the screen state of the terminal to be a bright screen state.
8. A screen-turning control device is applied to a terminal, and comprises:
the determining module is used for determining the current interface type of the current display interface of the terminal; determining a current screen-turning control parameter corresponding to the current interface type, wherein the current screen-turning control parameter comprises a plurality of different screen brightnesses used in the process that the terminal is converted from a bright screen state to a screen-turning state, and respective corresponding times of the plurality of different screen brightnesses;
and the control module is used for controlling the terminal to be converted from a screen-on state to a screen-off state according to the current screen-off control parameter.
9. The device according to claim 8, wherein a target interface type is preconfigured in the terminal, and the target interface type corresponds to a first information screen control parameter;
the determining module is specifically configured to determine a first screenplay control parameter as a current screenplay control parameter corresponding to the current interface type if the current interface type belongs to the target interface type; if the current interface type does not belong to the target interface type, determining a second screen-turning control parameter as a current screen-turning control parameter corresponding to the current interface type; the first screen turning control parameter comprises first time, and the second screen turning control parameter comprises second time; the first time is less than the second time; the first time and the second time are the time for maintaining the initial screen brightness of the terminal in the process of converting the bright screen state into the breath screen state of the terminal; and the initial screen brightness is the screen brightness when the terminal initially displays the current display interface.
10. The apparatus of claim 9, wherein the current screenplay control parameter is a first screenplay control parameter;
the control module is specifically used for controlling the screen state of the terminal to be switched from a bright screen state to a first screen state if the user operation information is not received within a first time; if no user operation information is received within the third time, controlling the screen state of the terminal to be switched from the first screen state to the second screen state; if no user operation information is received within the fourth time, controlling the terminal to be switched from the second screen state to the screen-off state; the screen brightness of the first screen state is greater than the screen brightness of the second screen state.
11. The apparatus of claim 9, wherein the current screenplay control parameter is a second screenplay control parameter;
the control module is specifically used for controlling the screen state of the terminal to be switched from a bright screen state to a full dark state if the user operation information is not received within the second time; if the user operation information is not received within the fifth time, controlling the terminal to be switched from a full dark state to an information screen state; and the full-dark state is a corresponding screen state when the screen of the terminal displays full black.
12. The apparatus of claim 10 or 11,
the control module is further configured to control the screen state of the terminal to be a bright screen state or a semi-dark state if user operation information is detected before the terminal is switched from the full-dark state to the information screen state; and before the terminal is switched from the semi-dark state to the full-dark state, if the user operation information is detected, controlling the screen state of the terminal to be a bright screen state.
13. A screen turning control device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: performing the screen saver control method of any of claims 1-7.
14. A non-transitory computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of a terminal, enable the terminal to perform the screen saver control method of any one of claims 1-7.
CN202210688677.3A 2022-06-17 2022-06-17 Screen-turning control method and device and storage medium Pending CN115175279A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210688677.3A CN115175279A (en) 2022-06-17 2022-06-17 Screen-turning control method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210688677.3A CN115175279A (en) 2022-06-17 2022-06-17 Screen-turning control method and device and storage medium

Publications (1)

Publication Number Publication Date
CN115175279A true CN115175279A (en) 2022-10-11

Family

ID=83485213

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210688677.3A Pending CN115175279A (en) 2022-06-17 2022-06-17 Screen-turning control method and device and storage medium

Country Status (1)

Country Link
CN (1) CN115175279A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117316084A (en) * 2023-09-19 2023-12-29 荣耀终端有限公司 Screen-off display method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108181981A (en) * 2017-12-27 2018-06-19 上海展扬通信技术有限公司 It goes out and shields processing method, device and terminal
CN108231038A (en) * 2018-01-23 2018-06-29 北京小米移动软件有限公司 Screen luminance adjustment method and device
CN108646966A (en) * 2018-05-10 2018-10-12 维沃移动通信有限公司 One kind, which is gone out, shields time adjusting method and device
WO2021237425A1 (en) * 2020-05-25 2021-12-02 深圳传音控股股份有限公司 Screen brightness adjustment method, terminal and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108181981A (en) * 2017-12-27 2018-06-19 上海展扬通信技术有限公司 It goes out and shields processing method, device and terminal
CN108231038A (en) * 2018-01-23 2018-06-29 北京小米移动软件有限公司 Screen luminance adjustment method and device
CN108646966A (en) * 2018-05-10 2018-10-12 维沃移动通信有限公司 One kind, which is gone out, shields time adjusting method and device
WO2021237425A1 (en) * 2020-05-25 2021-12-02 深圳传音控股股份有限公司 Screen brightness adjustment method, terminal and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117316084A (en) * 2023-09-19 2023-12-29 荣耀终端有限公司 Screen-off display method and electronic equipment
CN117316084B (en) * 2023-09-19 2024-08-16 荣耀终端有限公司 Screen-off display method and electronic equipment

Similar Documents

Publication Publication Date Title
EP3136793B1 (en) Method and apparatus for awakening electronic device
CN106970754B (en) Screen capture processing method and device
CN108040360B (en) Method and device for controlling screen display
EP3306441A1 (en) Temperature control method and apparatus
US10216248B2 (en) Method and device for controlling power consumption
CN110262692B (en) Touch screen scanning method, device and medium
CN105246135A (en) Wireless network accessing method and device, and mobile terminal
CN107197441A (en) The operating mode control method and device of intelligent home device
CN111277984A (en) Wireless local area network access method and device
CN106933111B (en) Method and device for controlling equipment
CN115175279A (en) Screen-turning control method and device and storage medium
US20170220401A1 (en) Method, device, and computer-readable storage medium for calling a process
CN108108213A (en) Instruction set performs method and device
CN112148148A (en) Touch operation identification method and device, mobile terminal and storage medium
CN107422911B (en) Pressure value detection method and device and computer readable storage medium
CN114442792A (en) Method and device for adjusting operating frequency of processor and storage medium
CN107360315B (en) Information display method and device
CN114449542A (en) Cell registration method, device and medium
CN106773753B (en) Equipment control method and device
CN107708106B (en) User identification card management method and user identification card management device
CN105933596A (en) Photographing processing method, device and equipment
CN110784721A (en) Picture data compression method and device, electronic equipment and storage medium
CN111667827A (en) Voice control method and device of application program and storage medium
US20210208556A1 (en) Method and device for processing data, and storage medium
US11789750B2 (en) Data processing method, apparatus, and 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